@vezham/react 26.0.0-alpha.4 → 26.0.0-alpha.6

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 (438) hide show
  1. package/README.md +2 -0
  2. package/dist/index.css +1 -0
  3. package/dist/index.d.ts +6 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +5 -5
  6. package/dist/lib/components/actions-header/index.d.ts +26 -0
  7. package/dist/lib/components/actions-header/index.d.ts.map +1 -0
  8. package/dist/lib/components/actions-header/index.js +126 -0
  9. package/dist/lib/components/app-icon/index.d.ts +499 -0
  10. package/dist/lib/components/app-icon/index.d.ts.map +1 -0
  11. package/dist/lib/components/app-icon/index.js +513 -0
  12. package/dist/lib/components/app-menu/index.d.ts +22 -0
  13. package/dist/lib/components/app-menu/index.d.ts.map +1 -0
  14. package/dist/lib/components/app-menu/index.js +17 -0
  15. package/dist/lib/components/command/command-dialog.d.ts +10 -0
  16. package/dist/lib/components/command/command-dialog.d.ts.map +1 -0
  17. package/dist/lib/components/command/command-dialog.js +129 -0
  18. package/dist/lib/components/command/command-provider.d.ts +8 -0
  19. package/dist/lib/components/command/command-provider.d.ts.map +1 -0
  20. package/dist/lib/components/command/command-provider.js +44 -0
  21. package/dist/lib/components/command/index.d.ts +3 -0
  22. package/dist/lib/components/command/index.d.ts.map +1 -0
  23. package/dist/lib/components/command/index.js +3 -0
  24. package/dist/lib/components/menu/drawer.d.ts +4 -0
  25. package/dist/lib/components/menu/drawer.d.ts.map +1 -0
  26. package/dist/lib/components/menu/drawer.js +56 -0
  27. package/dist/lib/components/menu/index.d.ts +5 -0
  28. package/dist/lib/components/menu/index.d.ts.map +1 -0
  29. package/dist/lib/components/menu/index.js +138 -0
  30. package/dist/lib/components/menu/sheet.d.ts +15 -0
  31. package/dist/lib/components/menu/sheet.d.ts.map +1 -0
  32. package/dist/lib/components/menu/sheet.js +40 -0
  33. package/dist/lib/components/menu/types.d.ts +30 -0
  34. package/dist/lib/components/menu/types.d.ts.map +1 -0
  35. package/dist/lib/components/menu/types.js +7 -0
  36. package/dist/lib/components/menu/variant.d.ts +27 -0
  37. package/dist/lib/components/menu/variant.d.ts.map +1 -0
  38. package/dist/lib/components/menu/variant.js +28 -0
  39. package/dist/lib/components/mobile-controls/index.d.ts +11 -0
  40. package/dist/lib/components/mobile-controls/index.d.ts.map +1 -0
  41. package/dist/lib/components/mobile-controls/index.js +21 -0
  42. package/dist/lib/components/pagination/index.d.ts +10 -0
  43. package/dist/lib/components/pagination/index.d.ts.map +1 -0
  44. package/dist/lib/components/pagination/index.js +25 -0
  45. package/dist/lib/components/panel/footer/ai/chat-header.d.ts +9 -0
  46. package/dist/lib/components/panel/footer/ai/chat-header.d.ts.map +1 -0
  47. package/dist/lib/components/panel/footer/ai/chat-header.js +63 -0
  48. package/dist/lib/components/panel/footer/ai/composer.d.ts +7 -0
  49. package/dist/lib/components/panel/footer/ai/composer.d.ts.map +1 -0
  50. package/dist/lib/components/panel/footer/ai/composer.js +77 -0
  51. package/dist/lib/components/panel/footer/ai/content.d.ts +13 -0
  52. package/dist/lib/components/panel/footer/ai/content.d.ts.map +1 -0
  53. package/dist/lib/components/panel/footer/ai/content.js +148 -0
  54. package/dist/lib/components/panel/footer/ai/conversation.d.ts +47 -0
  55. package/dist/lib/components/panel/footer/ai/conversation.d.ts.map +1 -0
  56. package/dist/lib/components/panel/footer/ai/conversation.js +222 -0
  57. package/dist/lib/components/panel/footer/ai/index.d.ts +3 -0
  58. package/dist/lib/components/panel/footer/ai/index.d.ts.map +1 -0
  59. package/dist/lib/components/panel/footer/ai/index.js +41 -0
  60. package/dist/lib/components/panel/footer/ai/message-actions.d.ts +8 -0
  61. package/dist/lib/components/panel/footer/ai/message-actions.d.ts.map +1 -0
  62. package/dist/lib/components/panel/footer/ai/message-actions.js +63 -0
  63. package/dist/lib/components/panel/footer/ai/mock-result.d.ts +6 -0
  64. package/dist/lib/components/panel/footer/ai/mock-result.d.ts.map +1 -0
  65. package/dist/lib/components/panel/footer/ai/mock-result.js +121 -0
  66. package/dist/lib/components/panel/footer/ai/model-logo.d.ts +5 -0
  67. package/dist/lib/components/panel/footer/ai/model-logo.d.ts.map +1 -0
  68. package/dist/lib/components/panel/footer/ai/model-logo.js +13 -0
  69. package/dist/lib/components/panel/footer/ai/model-logos.d.ts +2 -0
  70. package/dist/lib/components/panel/footer/ai/model-logos.d.ts.map +1 -0
  71. package/dist/lib/components/panel/footer/ai/model-logos.js +10 -0
  72. package/dist/lib/components/panel/footer/ai/model-picker.d.ts +8 -0
  73. package/dist/lib/components/panel/footer/ai/model-picker.d.ts.map +1 -0
  74. package/dist/lib/components/panel/footer/ai/model-picker.js +166 -0
  75. package/dist/lib/components/panel/footer/ai/models.d.ts +9 -0
  76. package/dist/lib/components/panel/footer/ai/models.d.ts.map +1 -0
  77. package/dist/lib/components/panel/footer/ai/models.js +72 -0
  78. package/dist/lib/components/panel/footer/ai/permission-picker.d.ts +5 -0
  79. package/dist/lib/components/panel/footer/ai/permission-picker.d.ts.map +1 -0
  80. package/dist/lib/components/panel/footer/ai/permission-picker.js +63 -0
  81. package/dist/lib/components/panel/footer/ai/use-chat-scroll.d.ts +9 -0
  82. package/dist/lib/components/panel/footer/ai/use-chat-scroll.d.ts.map +1 -0
  83. package/dist/lib/components/panel/footer/ai/use-chat-scroll.js +57 -0
  84. package/dist/lib/components/panel/footer/control-center/appearance.d.ts +16 -0
  85. package/dist/lib/components/panel/footer/control-center/appearance.d.ts.map +1 -0
  86. package/dist/lib/components/panel/footer/control-center/appearance.js +100 -0
  87. package/dist/lib/components/panel/footer/control-center/configured.d.ts +13 -0
  88. package/dist/lib/components/panel/footer/control-center/configured.d.ts.map +1 -0
  89. package/dist/lib/components/panel/footer/control-center/configured.js +157 -0
  90. package/dist/lib/components/panel/footer/control-center/control-center.d.ts +8 -0
  91. package/dist/lib/components/panel/footer/control-center/control-center.d.ts.map +1 -0
  92. package/dist/lib/components/panel/footer/control-center/control-center.js +180 -0
  93. package/dist/lib/components/panel/footer/control-center/default.d.ts +3 -0
  94. package/dist/lib/components/panel/footer/control-center/default.d.ts.map +1 -0
  95. package/dist/lib/components/panel/footer/control-center/default.js +37 -0
  96. package/dist/lib/components/panel/footer/control-center/direction.d.ts +9 -0
  97. package/dist/lib/components/panel/footer/control-center/direction.d.ts.map +1 -0
  98. package/dist/lib/components/panel/footer/control-center/direction.js +40 -0
  99. package/dist/lib/components/panel/footer/control-center/document.d.ts +5 -0
  100. package/dist/lib/components/panel/footer/control-center/document.d.ts.map +1 -0
  101. package/dist/lib/components/panel/footer/control-center/document.js +19 -0
  102. package/dist/lib/components/panel/footer/control-center/editor.d.ts +25 -0
  103. package/dist/lib/components/panel/footer/control-center/editor.d.ts.map +1 -0
  104. package/dist/lib/components/panel/footer/control-center/editor.js +72 -0
  105. package/dist/lib/components/panel/footer/control-center/footer-context.d.ts +6 -0
  106. package/dist/lib/components/panel/footer/control-center/footer-context.d.ts.map +1 -0
  107. package/dist/lib/components/panel/footer/control-center/footer-context.js +5 -0
  108. package/dist/lib/components/panel/footer/control-center/index.d.ts +15 -0
  109. package/dist/lib/components/panel/footer/control-center/index.d.ts.map +1 -0
  110. package/dist/lib/components/panel/footer/control-center/index.js +11 -0
  111. package/dist/lib/components/panel/footer/control-center/language.d.ts +19 -0
  112. package/dist/lib/components/panel/footer/control-center/language.d.ts.map +1 -0
  113. package/dist/lib/components/panel/footer/control-center/language.js +44 -0
  114. package/dist/lib/components/panel/footer/control-center/options.d.ts +7 -0
  115. package/dist/lib/components/panel/footer/control-center/options.d.ts.map +1 -0
  116. package/dist/lib/components/panel/footer/control-center/options.js +27 -0
  117. package/dist/lib/components/panel/footer/control-center/preview.d.ts +34 -0
  118. package/dist/lib/components/panel/footer/control-center/preview.d.ts.map +1 -0
  119. package/dist/lib/components/panel/footer/control-center/preview.js +366 -0
  120. package/dist/lib/components/panel/footer/control-center/theme.d.ts +6 -0
  121. package/dist/lib/components/panel/footer/control-center/theme.d.ts.map +1 -0
  122. package/dist/lib/components/panel/footer/control-center/theme.js +150 -0
  123. package/dist/lib/components/panel/footer/control-center/tile.d.ts +10 -0
  124. package/dist/lib/components/panel/footer/control-center/tile.d.ts.map +1 -0
  125. package/dist/lib/components/panel/footer/control-center/tile.js +34 -0
  126. package/dist/lib/components/panel/footer/control-center/types.d.ts +94 -0
  127. package/dist/lib/components/panel/footer/control-center/types.d.ts.map +1 -0
  128. package/dist/lib/components/panel/footer/control-center/variant.d.ts +268 -0
  129. package/dist/lib/components/panel/footer/control-center/variant.d.ts.map +1 -0
  130. package/dist/lib/components/panel/footer/control-center/variant.js +89 -0
  131. package/dist/lib/components/panel/footer/data.d.ts +38 -0
  132. package/dist/lib/components/panel/footer/data.d.ts.map +1 -0
  133. package/dist/lib/components/panel/footer/data.js +90 -0
  134. package/dist/lib/components/panel/footer/drawer-accessors.d.ts +46 -0
  135. package/dist/lib/components/panel/footer/drawer-accessors.d.ts.map +1 -0
  136. package/dist/lib/components/panel/footer/drawer-accessors.js +21 -0
  137. package/dist/lib/components/panel/footer/drawer-frame.d.ts +12 -0
  138. package/dist/lib/components/panel/footer/drawer-frame.d.ts.map +1 -0
  139. package/dist/lib/components/panel/footer/drawer-frame.js +19 -0
  140. package/dist/lib/components/panel/footer/index.d.ts +4 -0
  141. package/dist/lib/components/panel/footer/index.d.ts.map +1 -0
  142. package/dist/lib/components/panel/footer/index.js +147 -0
  143. package/dist/lib/components/panel/footer/notification-center/index.d.ts +4 -0
  144. package/dist/lib/components/panel/footer/notification-center/index.d.ts.map +1 -0
  145. package/dist/lib/components/panel/footer/notification-center/index.js +98 -0
  146. package/dist/lib/components/panel/footer/notification-center/types.d.ts +525 -0
  147. package/dist/lib/components/panel/footer/notification-center/types.d.ts.map +1 -0
  148. package/dist/lib/components/panel/footer/notification-center/types.js +62 -0
  149. package/dist/lib/components/panel/footer/notification-center/variant.d.ts +322 -0
  150. package/dist/lib/components/panel/footer/notification-center/variant.d.ts.map +1 -0
  151. package/dist/lib/components/panel/footer/notification-center/variant.js +119 -0
  152. package/dist/lib/components/panel/footer/notification-center/widget-tiles.d.ts +49 -0
  153. package/dist/lib/components/panel/footer/notification-center/widget-tiles.d.ts.map +1 -0
  154. package/dist/lib/components/panel/footer/notification-center/widget-tiles.js +182 -0
  155. package/dist/lib/components/panel/footer/preferences/data.d.ts +14 -0
  156. package/dist/lib/components/panel/footer/preferences/data.d.ts.map +1 -0
  157. package/dist/lib/components/panel/footer/preferences/data.js +304 -0
  158. package/dist/lib/components/panel/footer/preferences/modal.d.ts +8 -0
  159. package/dist/lib/components/panel/footer/preferences/modal.d.ts.map +1 -0
  160. package/dist/lib/components/panel/footer/preferences/modal.js +75 -0
  161. package/dist/lib/components/panel/footer/preferences/sidebar.d.ts +9 -0
  162. package/dist/lib/components/panel/footer/preferences/sidebar.d.ts.map +1 -0
  163. package/dist/lib/components/panel/footer/preferences/sidebar.js +105 -0
  164. package/dist/lib/components/panel/footer/preferences/user-settings/account/index.d.ts +3 -0
  165. package/dist/lib/components/panel/footer/preferences/user-settings/account/index.d.ts.map +1 -0
  166. package/dist/lib/components/panel/footer/preferences/user-settings/account/index.js +16 -0
  167. package/dist/lib/components/panel/footer/preferences/user-settings/content-social/index.d.ts +3 -0
  168. package/dist/lib/components/panel/footer/preferences/user-settings/content-social/index.d.ts.map +1 -0
  169. package/dist/lib/components/panel/footer/preferences/user-settings/content-social/index.js +16 -0
  170. package/dist/lib/components/panel/footer/preferences/user-settings/data-privacy/index.d.ts +3 -0
  171. package/dist/lib/components/panel/footer/preferences/user-settings/data-privacy/index.d.ts.map +1 -0
  172. package/dist/lib/components/panel/footer/preferences/user-settings/data-privacy/index.js +101 -0
  173. package/dist/lib/components/panel/footer/preferences/user-settings/family-center/index.d.ts +3 -0
  174. package/dist/lib/components/panel/footer/preferences/user-settings/family-center/index.d.ts.map +1 -0
  175. package/dist/lib/components/panel/footer/preferences/user-settings/family-center/index.js +24 -0
  176. package/dist/lib/components/panel/footer/preferences/user-settings/profiles/index.d.ts +3 -0
  177. package/dist/lib/components/panel/footer/preferences/user-settings/profiles/index.d.ts.map +1 -0
  178. package/dist/lib/components/panel/footer/preferences/user-settings/profiles/index.js +103 -0
  179. package/dist/lib/components/panel/footer/tabs.d.ts +12 -0
  180. package/dist/lib/components/panel/footer/tabs.d.ts.map +1 -0
  181. package/dist/lib/components/panel/footer/tabs.js +23 -0
  182. package/dist/lib/components/panel/footer/types.d.ts +39 -0
  183. package/dist/lib/components/panel/footer/types.d.ts.map +1 -0
  184. package/dist/lib/components/panel/footer/user-menu.d.ts +10 -0
  185. package/dist/lib/components/panel/footer/user-menu.d.ts.map +1 -0
  186. package/dist/lib/components/panel/footer/user-menu.js +290 -0
  187. package/dist/lib/components/panel/header/application-menu-sheet.d.ts +21 -0
  188. package/dist/lib/components/panel/header/application-menu-sheet.d.ts.map +1 -0
  189. package/dist/lib/components/panel/header/application-menu-sheet.js +227 -0
  190. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.d.ts +5 -0
  191. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.d.ts.map +1 -0
  192. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/index.js +225 -0
  193. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/types.d.ts +13 -0
  194. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/types.d.ts.map +1 -0
  195. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.d.ts +28 -0
  196. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.d.ts.map +1 -0
  197. package/dist/lib/components/panel/header/bookmarks/bookmark-file-tree/variants.js +249 -0
  198. package/dist/lib/components/panel/header/bookmarks/context-menu/index.d.ts +5 -0
  199. package/dist/lib/components/panel/header/bookmarks/context-menu/index.d.ts.map +1 -0
  200. package/dist/lib/components/panel/header/bookmarks/context-menu/index.js +147 -0
  201. package/dist/lib/components/panel/header/bookmarks/context-menu/types.d.ts +25 -0
  202. package/dist/lib/components/panel/header/bookmarks/context-menu/types.d.ts.map +1 -0
  203. package/dist/lib/components/panel/header/bookmarks/data.d.ts +2 -0
  204. package/dist/lib/components/panel/header/bookmarks/data.d.ts.map +1 -0
  205. package/dist/lib/components/panel/header/bookmarks/empty-state.d.ts +8 -0
  206. package/dist/lib/components/panel/header/bookmarks/empty-state.d.ts.map +1 -0
  207. package/dist/lib/components/panel/header/bookmarks/empty-state.js +15 -0
  208. package/dist/lib/components/panel/header/bookmarks/favorites/data.d.ts +2 -0
  209. package/dist/lib/components/panel/header/bookmarks/favorites/data.d.ts.map +1 -0
  210. package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.d.ts +4 -0
  211. package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.d.ts.map +1 -0
  212. package/dist/lib/components/panel/header/bookmarks/favorites/grid-list.js +65 -0
  213. package/dist/lib/components/panel/header/bookmarks/favorites/index.d.ts +5 -0
  214. package/dist/lib/components/panel/header/bookmarks/favorites/index.d.ts.map +1 -0
  215. package/dist/lib/components/panel/header/bookmarks/favorites/index.js +76 -0
  216. package/dist/lib/components/panel/header/bookmarks/favorites/types.d.ts +12 -0
  217. package/dist/lib/components/panel/header/bookmarks/favorites/types.d.ts.map +1 -0
  218. package/dist/lib/components/panel/header/bookmarks/favorites/variant.d.ts +211 -0
  219. package/dist/lib/components/panel/header/bookmarks/favorites/variant.d.ts.map +1 -0
  220. package/dist/lib/components/panel/header/bookmarks/favorites/variant.js +77 -0
  221. package/dist/lib/components/panel/header/bookmarks/folder-modal/index.d.ts +7 -0
  222. package/dist/lib/components/panel/header/bookmarks/folder-modal/index.d.ts.map +1 -0
  223. package/dist/lib/components/panel/header/bookmarks/folder-modal/index.js +221 -0
  224. package/dist/lib/components/panel/header/bookmarks/folder-modal/types.d.ts +25 -0
  225. package/dist/lib/components/panel/header/bookmarks/folder-modal/types.d.ts.map +1 -0
  226. package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.d.ts +14 -0
  227. package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.d.ts.map +1 -0
  228. package/dist/lib/components/panel/header/bookmarks/folder-modal/variants.js +95 -0
  229. package/dist/lib/components/panel/header/bookmarks/index.d.ts +5 -0
  230. package/dist/lib/components/panel/header/bookmarks/index.d.ts.map +1 -0
  231. package/dist/lib/components/panel/header/bookmarks/index.js +247 -0
  232. package/dist/lib/components/panel/header/bookmarks/membership.d.ts +14 -0
  233. package/dist/lib/components/panel/header/bookmarks/membership.d.ts.map +1 -0
  234. package/dist/lib/components/panel/header/bookmarks/membership.js +13 -0
  235. package/dist/lib/components/panel/header/bookmarks/quick-access/index.d.ts +4 -0
  236. package/dist/lib/components/panel/header/bookmarks/quick-access/index.d.ts.map +1 -0
  237. package/dist/lib/components/panel/header/bookmarks/quick-access/index.js +224 -0
  238. package/dist/lib/components/panel/header/bookmarks/quick-access/types.d.ts +38 -0
  239. package/dist/lib/components/panel/header/bookmarks/quick-access/types.d.ts.map +1 -0
  240. package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.d.ts +11 -0
  241. package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.d.ts.map +1 -0
  242. package/dist/lib/components/panel/header/bookmarks/shortcut-context-menu.js +39 -0
  243. package/dist/lib/components/panel/header/bookmarks/tree-data.d.ts +4 -0
  244. package/dist/lib/components/panel/header/bookmarks/tree-data.d.ts.map +1 -0
  245. package/dist/lib/components/panel/header/bookmarks/tree-data.js +97 -0
  246. package/dist/lib/components/panel/header/bookmarks/types.d.ts +648 -0
  247. package/dist/lib/components/panel/header/bookmarks/types.d.ts.map +1 -0
  248. package/dist/lib/components/panel/header/bookmarks/types.js +198 -0
  249. package/dist/lib/components/panel/header/bookmarks/variant.d.ts +334 -0
  250. package/dist/lib/components/panel/header/bookmarks/variant.d.ts.map +1 -0
  251. package/dist/lib/components/panel/header/bookmarks/variant.js +121 -0
  252. package/dist/lib/components/panel/header/index.d.ts +4 -0
  253. package/dist/lib/components/panel/header/index.d.ts.map +1 -0
  254. package/dist/lib/components/panel/header/index.js +366 -0
  255. package/dist/lib/components/panel/header/storage/archive/index.d.ts +4 -0
  256. package/dist/lib/components/panel/header/storage/archive/index.d.ts.map +1 -0
  257. package/dist/lib/components/panel/header/storage/archive/index.js +138 -0
  258. package/dist/lib/components/panel/header/storage/archive/types.d.ts +27 -0
  259. package/dist/lib/components/panel/header/storage/archive/types.d.ts.map +1 -0
  260. package/dist/lib/components/panel/header/storage/archive/variants.d.ts +6 -0
  261. package/dist/lib/components/panel/header/storage/archive/variants.d.ts.map +1 -0
  262. package/dist/lib/components/panel/header/storage/archive/variants.js +8 -0
  263. package/dist/lib/components/panel/header/storage/data.d.ts +2 -0
  264. package/dist/lib/components/panel/header/storage/data.d.ts.map +1 -0
  265. package/dist/lib/components/panel/header/storage/history-actions.d.ts +16 -0
  266. package/dist/lib/components/panel/header/storage/history-actions.d.ts.map +1 -0
  267. package/dist/lib/components/panel/header/storage/history-actions.js +18 -0
  268. package/dist/lib/components/panel/header/storage/history-date-group.d.ts +9 -0
  269. package/dist/lib/components/panel/header/storage/history-date-group.d.ts.map +1 -0
  270. package/dist/lib/components/panel/header/storage/history-date-group.js +19 -0
  271. package/dist/lib/components/panel/header/storage/history-item-content.d.ts +11 -0
  272. package/dist/lib/components/panel/header/storage/history-item-content.d.ts.map +1 -0
  273. package/dist/lib/components/panel/header/storage/history-item-content.js +17 -0
  274. package/dist/lib/components/panel/header/storage/history-shell.d.ts +8 -0
  275. package/dist/lib/components/panel/header/storage/history-shell.d.ts.map +1 -0
  276. package/dist/lib/components/panel/header/storage/history-shell.js +19 -0
  277. package/dist/lib/components/panel/header/storage/history-utils.d.ts +7 -0
  278. package/dist/lib/components/panel/header/storage/history-utils.d.ts.map +1 -0
  279. package/dist/lib/components/panel/header/storage/history-utils.js +25 -0
  280. package/dist/lib/components/panel/header/storage/index.d.ts +5 -0
  281. package/dist/lib/components/panel/header/storage/index.d.ts.map +1 -0
  282. package/dist/lib/components/panel/header/storage/index.js +120 -0
  283. package/dist/lib/components/panel/header/storage/trash/index.d.ts +4 -0
  284. package/dist/lib/components/panel/header/storage/trash/index.d.ts.map +1 -0
  285. package/dist/lib/components/panel/header/storage/trash/index.js +126 -0
  286. package/dist/lib/components/panel/header/storage/trash/types.d.ts +27 -0
  287. package/dist/lib/components/panel/header/storage/trash/types.d.ts.map +1 -0
  288. package/dist/lib/components/panel/header/storage/trash/variants.d.ts +6 -0
  289. package/dist/lib/components/panel/header/storage/trash/variants.d.ts.map +1 -0
  290. package/dist/lib/components/panel/header/storage/trash/variants.js +12 -0
  291. package/dist/lib/components/panel/header/storage/types.d.ts +482 -0
  292. package/dist/lib/components/panel/header/storage/types.d.ts.map +1 -0
  293. package/dist/lib/components/panel/header/storage/types.js +155 -0
  294. package/dist/lib/components/panel/header/storage/variant.d.ts +289 -0
  295. package/dist/lib/components/panel/header/storage/variant.d.ts.map +1 -0
  296. package/dist/lib/components/panel/header/storage/variant.js +106 -0
  297. package/dist/lib/components/panel/header/types.d.ts +26 -0
  298. package/dist/lib/components/panel/header/types.d.ts.map +1 -0
  299. package/dist/lib/components/panel/info-panel/container.d.ts +9 -0
  300. package/dist/lib/components/panel/info-panel/container.d.ts.map +1 -0
  301. package/dist/lib/components/panel/info-panel/container.js +90 -0
  302. package/dist/lib/components/panel/info-panel/container.module.css +48 -0
  303. package/dist/lib/components/panel/info-panel/container.module.js +8 -0
  304. package/dist/lib/components/panel/info-panel/index.d.ts +4 -0
  305. package/dist/lib/components/panel/info-panel/index.d.ts.map +1 -0
  306. package/dist/lib/components/panel/info-panel/provider.d.ts +7 -0
  307. package/dist/lib/components/panel/info-panel/provider.d.ts.map +1 -0
  308. package/dist/lib/components/panel/info-panel/provider.js +104 -0
  309. package/dist/lib/components/panel/info-panel/sheet.d.ts +9 -0
  310. package/dist/lib/components/panel/info-panel/sheet.d.ts.map +1 -0
  311. package/dist/lib/components/panel/info-panel/sheet.js +70 -0
  312. package/dist/lib/components/panel/info-panel/styles.d.ts +6 -0
  313. package/dist/lib/components/panel/info-panel/styles.d.ts.map +1 -0
  314. package/dist/lib/components/panel/info-panel/styles.js +8 -0
  315. package/dist/lib/components/panel/info-panel/types.d.ts +21 -0
  316. package/dist/lib/components/panel/info-panel/types.d.ts.map +1 -0
  317. package/dist/lib/components/panel/menu/index.d.ts +4 -0
  318. package/dist/lib/components/panel/menu/index.d.ts.map +1 -0
  319. package/dist/lib/components/panel/menu/index.js +156 -0
  320. package/dist/lib/components/panel/menu/types.d.ts +522 -0
  321. package/dist/lib/components/panel/menu/types.d.ts.map +1 -0
  322. package/dist/lib/components/panel/menu/types.js +71 -0
  323. package/dist/lib/components/panel/menu/variant.d.ts +259 -0
  324. package/dist/lib/components/panel/menu/variant.d.ts.map +1 -0
  325. package/dist/lib/components/panel/menu/variant.js +131 -0
  326. package/dist/lib/components/panel/responsive.d.ts +3 -0
  327. package/dist/lib/components/panel/responsive.d.ts.map +1 -0
  328. package/dist/lib/components/panel/responsive.js +5 -0
  329. package/dist/lib/components/responsive-toolbar-action/index.d.ts +11 -0
  330. package/dist/lib/components/responsive-toolbar-action/index.d.ts.map +1 -0
  331. package/dist/lib/components/responsive-toolbar-action/index.js +21 -0
  332. package/dist/lib/components/shortcut-key/index.d.ts +18 -0
  333. package/dist/lib/components/shortcut-key/index.d.ts.map +1 -0
  334. package/dist/lib/components/shortcut-key/index.js +44 -0
  335. package/dist/lib/components/toolbar-actions/index.d.ts +31 -0
  336. package/dist/lib/components/toolbar-actions/index.d.ts.map +1 -0
  337. package/dist/lib/components/toolbar-actions/index.js +75 -0
  338. package/dist/lib/components/workspace-navigation/index.d.ts +24 -0
  339. package/dist/lib/components/workspace-navigation/index.d.ts.map +1 -0
  340. package/dist/lib/components/workspace-navigation/index.js +74 -0
  341. package/dist/lib/layouts/app/frame.d.ts +8 -0
  342. package/dist/lib/layouts/app/frame.d.ts.map +1 -0
  343. package/dist/lib/layouts/app/frame.js +20 -0
  344. package/dist/lib/layouts/app/index.d.ts +27 -0
  345. package/dist/lib/layouts/app/index.d.ts.map +1 -0
  346. package/dist/lib/layouts/app/index.js +89 -0
  347. package/dist/lib/layouts/menu-layout/home-navigation-bubble.d.ts +7 -0
  348. package/dist/lib/layouts/menu-layout/home-navigation-bubble.d.ts.map +1 -0
  349. package/dist/lib/layouts/menu-layout/home-navigation-bubble.js +22 -0
  350. package/dist/lib/layouts/menu-layout/index-md.d.ts +4 -0
  351. package/dist/lib/layouts/menu-layout/index-md.d.ts.map +1 -0
  352. package/dist/lib/layouts/menu-layout/index-md.js +142 -0
  353. package/dist/lib/layouts/menu-layout/index-sm.d.ts +5 -0
  354. package/dist/lib/layouts/menu-layout/index-sm.d.ts.map +1 -0
  355. package/dist/lib/layouts/menu-layout/index-sm.js +124 -0
  356. package/dist/lib/layouts/menu-layout/index.d.ts +8 -0
  357. package/dist/lib/layouts/menu-layout/index.d.ts.map +1 -0
  358. package/dist/lib/layouts/menu-layout/index.js +17 -0
  359. package/dist/lib/layouts/section/index.d.ts +29 -0
  360. package/dist/lib/layouts/section/index.d.ts.map +1 -0
  361. package/dist/lib/layouts/section/index.js +285 -0
  362. package/dist/lib/layouts/section/preferences.d.ts +10 -0
  363. package/dist/lib/layouts/section/preferences.d.ts.map +1 -0
  364. package/dist/lib/layouts/section/preferences.js +41 -0
  365. package/dist/lib/layouts/section/sidebar-state.d.ts +7 -0
  366. package/dist/lib/layouts/section/sidebar-state.d.ts.map +1 -0
  367. package/dist/lib/layouts/section/sidebar-state.js +35 -0
  368. package/dist/lib/layouts/section/sidebar.d.ts +11 -0
  369. package/dist/lib/layouts/section/sidebar.d.ts.map +1 -0
  370. package/dist/lib/layouts/section/sidebar.js +84 -0
  371. package/dist/lib/layouts/section/sort-menu.d.ts +27 -0
  372. package/dist/lib/layouts/section/sort-menu.d.ts.map +1 -0
  373. package/dist/lib/layouts/section/sort-menu.js +72 -0
  374. package/dist/lib/layouts/section/toolbar-content.d.ts +11 -0
  375. package/dist/lib/layouts/section/toolbar-content.d.ts.map +1 -0
  376. package/dist/lib/layouts/section/toolbar-content.js +31 -0
  377. package/dist/lib/layouts/section/toolbar-more-sheet.d.ts +38 -0
  378. package/dist/lib/layouts/section/toolbar-more-sheet.d.ts.map +1 -0
  379. package/dist/lib/layouts/section/toolbar-more-sheet.js +288 -0
  380. package/dist/lib/layouts/section/toolbar.d.ts +60 -0
  381. package/dist/lib/layouts/section/toolbar.d.ts.map +1 -0
  382. package/dist/lib/layouts/section/toolbar.js +518 -0
  383. package/dist/lib/layouts/settings/index.d.ts +5 -0
  384. package/dist/lib/layouts/settings/index.d.ts.map +1 -0
  385. package/dist/lib/layouts/settings/index.js +9 -0
  386. package/dist/lib/navigation-toolbar.d.ts +32 -0
  387. package/dist/lib/navigation-toolbar.d.ts.map +1 -0
  388. package/dist/lib/navigation-toolbar.js +29 -0
  389. package/dist/lib/navigation.d.ts +21 -0
  390. package/dist/lib/navigation.d.ts.map +1 -0
  391. package/dist/lib/navigation.js +39 -0
  392. package/dist/lib/pages/settings/index.d.ts +17 -0
  393. package/dist/lib/pages/settings/index.d.ts.map +1 -0
  394. package/dist/lib/pages/settings/index.js +276 -0
  395. package/dist/lib/pages/settings/navigation.d.ts +4 -0
  396. package/dist/lib/pages/settings/navigation.d.ts.map +1 -0
  397. package/dist/lib/pages/settings/navigation.js +6 -0
  398. package/dist/lib/pages/settings/settings-content.d.ts +5 -0
  399. package/dist/lib/pages/settings/settings-content.d.ts.map +1 -0
  400. package/dist/lib/pages/settings/settings-content.js +213 -0
  401. package/dist/lib/pages/settings/tile-gallery.d.ts +19 -0
  402. package/dist/lib/pages/settings/tile-gallery.d.ts.map +1 -0
  403. package/dist/lib/pages/settings/tile-gallery.js +411 -0
  404. package/dist/lib/store/useBookmarks/action.d.ts +6 -0
  405. package/dist/lib/store/useBookmarks/action.d.ts.map +1 -0
  406. package/dist/lib/store/useBookmarks/action.js +7 -0
  407. package/dist/lib/store/useBookmarks/data.d.ts +4 -0
  408. package/dist/lib/store/useBookmarks/data.d.ts.map +1 -0
  409. package/dist/lib/store/useBookmarks/data.js +231 -0
  410. package/dist/lib/store/useBookmarks/index.d.ts +12 -0
  411. package/dist/lib/store/useBookmarks/index.d.ts.map +1 -0
  412. package/dist/lib/store/useBookmarks/index.js +29 -0
  413. package/dist/lib/store/useBookmarks/types.d.ts +30 -0
  414. package/dist/lib/store/useBookmarks/types.d.ts.map +1 -0
  415. package/dist/lib/store/useStorage/action.d.ts +6 -0
  416. package/dist/lib/store/useStorage/action.d.ts.map +1 -0
  417. package/dist/lib/store/useStorage/action.js +7 -0
  418. package/dist/lib/store/useStorage/data.d.ts +3 -0
  419. package/dist/lib/store/useStorage/data.d.ts.map +1 -0
  420. package/dist/lib/store/useStorage/data.js +219 -0
  421. package/dist/lib/store/useStorage/index.d.ts +7 -0
  422. package/dist/lib/store/useStorage/index.d.ts.map +1 -0
  423. package/dist/lib/store/useStorage/index.js +13 -0
  424. package/dist/lib/store/useStorage/types.d.ts +20 -0
  425. package/dist/lib/store/useStorage/types.d.ts.map +1 -0
  426. package/dist/lib/store/users/useUserStore.d.ts +22 -0
  427. package/dist/lib/store/users/useUserStore.d.ts.map +1 -0
  428. package/dist/lib/store/users/useUserStore.js +46 -0
  429. package/dist/lib/utils/date.d.ts +2 -0
  430. package/dist/lib/utils/date.d.ts.map +1 -0
  431. package/dist/lib/utils/date.js +8 -0
  432. package/dist/lib/utils/url.d.ts +4 -0
  433. package/dist/lib/utils/url.d.ts.map +1 -0
  434. package/dist/lib/utils/url.js +19 -0
  435. package/dist/react.css +49 -0
  436. package/package.json +90 -2
  437. package/dist/lib/react.d.ts +0 -2
  438. package/dist/lib/react.d.ts.map +0 -1
@@ -0,0 +1,366 @@
1
+ import { useAppMenu } from "../../app-menu/index.js";
2
+ import { AppIcon } from "../../app-icon/index.js";
3
+ import { useCommand } from "../../command/index.js";
4
+ import "../responsive.js";
5
+ import { useInfoPanel } from "../info-panel/provider.js";
6
+ import { ShortcutKey, ShortcutTooltipLabel } from "../../shortcut-key/index.js";
7
+ import { ApplicationMenuSheet } from "./application-menu-sheet.js";
8
+ import { BookmarksTrigger } from "./bookmarks/index.js";
9
+ import { StorageTrigger } from "./storage/index.js";
10
+ import { useCallback, useState } from "react";
11
+ import { Avatar, Button, Dropdown, Label, Separator, Surface, Tooltip, useMediaQuery } from "@vezham/react-v3";
12
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
+ import { AltArrowDown, Archive, Bookmark, Magnifier, SidebarMinimalistic } from "@vezham/icons-react";
14
+ //#region src/lib/components/panel/header/index.tsx
15
+ var Header = ({ users, showSearch = false, showBookamarks = false, showStorage = false, onAvatarClick, onSearchClick, isDockHidden = false, onToggleDock, isSidebarOpen = false, onToggleSidebar, extraActions, className, compact = false, hideSeparator = false, showMenuUtilities = true }) => {
16
+ const [open, setOpen] = useState(false);
17
+ const { openCommand } = useCommand();
18
+ const showHistoryNavigation = useMediaQuery("(max-width: 1023px)", { initializeWithValue: false });
19
+ const onToggleNavigation = onToggleSidebar ?? onToggleDock;
20
+ const navigationLabel = onToggleSidebar ? isSidebarOpen ? "Hide Sidebar" : "Show Sidebar" : isDockHidden ? "Show Dock" : "Hide Dock";
21
+ const handleSearch = useCallback(() => {
22
+ onSearchClick?.();
23
+ openCommand();
24
+ }, [onSearchClick, openCommand]);
25
+ const handleMenuSearch = useCallback(() => {
26
+ handleSearch();
27
+ setOpen(false);
28
+ }, [handleSearch]);
29
+ if (compact) return /* @__PURE__ */ jsxs(Surface, {
30
+ variant: "transparent",
31
+ className: `flex items-center ${className ?? ""}`,
32
+ "data-vx": "header",
33
+ children: [/* @__PURE__ */ jsxs("div", {
34
+ role: "group",
35
+ "aria-label": "Application controls",
36
+ "data-hovered": open || void 0,
37
+ className: "button button--ghost flex h-8 items-center gap-0 px-1 transition-transform duration-300",
38
+ children: [/* @__PURE__ */ jsx("button", {
39
+ type: "button",
40
+ "aria-label": "Application",
41
+ className: "flex h-full items-center bg-transparent p-0",
42
+ onClick: () => {
43
+ onAvatarClick?.(users);
44
+ setOpen(true);
45
+ },
46
+ children: /* @__PURE__ */ jsx(HeaderAvatar, { user: users })
47
+ }), /* @__PURE__ */ jsx(HeaderApplicationMenu, {
48
+ isOpen: open,
49
+ onOpenChange: setOpen,
50
+ onClose: () => setOpen(false),
51
+ onSearch: handleMenuSearch,
52
+ navigationLabel,
53
+ onToggleNavigation,
54
+ showHistoryNavigation,
55
+ showMenuUtilities,
56
+ showBookamarks,
57
+ showStorage,
58
+ children: /* @__PURE__ */ jsxs(Button, {
59
+ variant: "ghost",
60
+ isIconOnly: true,
61
+ "aria-label": "Open application menu",
62
+ size: "sm",
63
+ className: "h-6 w-6 min-w-0 p-0",
64
+ children: [/* @__PURE__ */ jsx("span", {
65
+ className: "sr-only",
66
+ children: "Application menu"
67
+ }), /* @__PURE__ */ jsx(AltArrowDown, {
68
+ size: 8,
69
+ className: "text-muted-foreground",
70
+ "aria-hidden": "true"
71
+ })]
72
+ })
73
+ })]
74
+ }), onToggleNavigation && /* @__PURE__ */ jsxs(Tooltip, {
75
+ delay: 0,
76
+ children: [/* @__PURE__ */ jsx(Tooltip.Trigger, { children: /* @__PURE__ */ jsx(Button, {
77
+ "aria-label": navigationLabel,
78
+ "aria-keyshortcuts": "Meta+S",
79
+ isIconOnly: true,
80
+ size: "sm",
81
+ variant: "ghost",
82
+ className: "text-muted hover:text-foreground",
83
+ onPress: onToggleNavigation,
84
+ children: /* @__PURE__ */ jsx(SidebarMinimalistic, {
85
+ size: 16,
86
+ className: "size-4",
87
+ "aria-hidden": "true"
88
+ })
89
+ }) }), /* @__PURE__ */ jsx(Tooltip.Content, {
90
+ placement: "right",
91
+ children: /* @__PURE__ */ jsx(ShortcutTooltipLabel, {
92
+ label: navigationLabel,
93
+ shortcut: "⌘ S"
94
+ })
95
+ })]
96
+ })]
97
+ });
98
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Surface, {
99
+ variant: "transparent",
100
+ className: `flex flex-row items-center gap-1 md:flex-col md:gap-3 ${className ?? ""}`,
101
+ "data-vx": "header",
102
+ children: [
103
+ /* @__PURE__ */ jsx(HeaderApplicationMenu, {
104
+ isOpen: open,
105
+ onOpenChange: setOpen,
106
+ onClose: () => setOpen(false),
107
+ onSearch: handleMenuSearch,
108
+ navigationLabel,
109
+ onToggleNavigation,
110
+ showHistoryNavigation,
111
+ showMenuUtilities,
112
+ showBookamarks: false,
113
+ showStorage: false,
114
+ children: /* @__PURE__ */ jsxs(Button, {
115
+ variant: "ghost",
116
+ className: "flex h-10 items-center gap-2 px-2 transition-transform duration-300",
117
+ "aria-label": "Open application menu",
118
+ onPress: () => onAvatarClick?.(users),
119
+ children: [
120
+ /* @__PURE__ */ jsx(HeaderAvatar, { user: users }),
121
+ /* @__PURE__ */ jsx("span", {
122
+ className: "sr-only",
123
+ children: "Application menu"
124
+ }),
125
+ /* @__PURE__ */ jsx(AltArrowDown, {
126
+ size: 8,
127
+ className: "text-muted-foreground",
128
+ "aria-hidden": "true"
129
+ })
130
+ ]
131
+ })
132
+ }),
133
+ showSearch && /* @__PURE__ */ jsxs(Tooltip, {
134
+ delay: 0,
135
+ children: [/* @__PURE__ */ jsx(Tooltip.Trigger, {
136
+ className: "size-5 leading-none",
137
+ children: /* @__PURE__ */ jsx("button", {
138
+ type: "button",
139
+ "aria-label": "Open command palette",
140
+ className: "inline-flex size-5 items-center justify-center bg-transparent p-0",
141
+ onClick: handleSearch,
142
+ children: /* @__PURE__ */ jsx(Magnifier, {
143
+ className: "text-muted cursor-pointer",
144
+ size: 20,
145
+ "aria-hidden": "true"
146
+ })
147
+ })
148
+ }), /* @__PURE__ */ jsx(Tooltip.Content, {
149
+ placement: "right",
150
+ children: /* @__PURE__ */ jsx(ShortcutTooltipLabel, {
151
+ label: "Search",
152
+ shortcut: "Mod K"
153
+ })
154
+ })]
155
+ }),
156
+ showBookamarks && /* @__PURE__ */ jsx(BookmarksTrigger, {}),
157
+ showStorage && /* @__PURE__ */ jsx(StorageTrigger, {}),
158
+ extraActions
159
+ ]
160
+ }), !hideSeparator && /* @__PURE__ */ jsx(Separator, { className: "hidden md:block" })] });
161
+ };
162
+ var HeaderAvatar = ({ user }) => /* @__PURE__ */ jsxs(Avatar, {
163
+ className: "h-5 w-5",
164
+ children: [user.avatar && /* @__PURE__ */ jsx(Avatar.Image, {
165
+ src: user.avatar,
166
+ alt: user.name
167
+ }), /* @__PURE__ */ jsx(Avatar.Fallback, { children: user.name?.[0]?.toUpperCase() })]
168
+ });
169
+ var HeaderApplicationMenu = ({ children, isOpen, onOpenChange, ...props }) => {
170
+ if (useMediaQuery("(width < 640px)", { initializeWithValue: false })) return /* @__PURE__ */ jsx(ApplicationMenuSheet, {
171
+ ...props,
172
+ isOpen,
173
+ onOpenChange,
174
+ trigger: children
175
+ });
176
+ return /* @__PURE__ */ jsxs(Dropdown, {
177
+ isOpen,
178
+ onOpenChange,
179
+ children: [children, /* @__PURE__ */ jsx(HeaderApplicationMenuContent, { ...props })]
180
+ });
181
+ };
182
+ var HeaderApplicationMenuContent = ({ onClose, onSearch, navigationLabel, onToggleNavigation, showHistoryNavigation, showMenuUtilities, showBookamarks, showStorage }) => {
183
+ const appMenu = useAppMenu();
184
+ return /* @__PURE__ */ jsx(Dropdown.Popover, { children: /* @__PURE__ */ jsxs(Dropdown.Menu, {
185
+ "aria-label": "Application menu",
186
+ children: [
187
+ /* @__PURE__ */ jsx(Dropdown.Item, {
188
+ id: "home",
189
+ textValue: "Back to home",
190
+ onPress: onClose,
191
+ children: /* @__PURE__ */ jsx(Label, { children: "Back to home" })
192
+ }),
193
+ showHistoryNavigation && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Dropdown.Item, {
194
+ id: "back",
195
+ textValue: "Back",
196
+ "aria-keyshortcuts": "Meta+ArrowLeft",
197
+ onPress: () => {
198
+ onClose();
199
+ window.history.back();
200
+ },
201
+ children: [
202
+ /* @__PURE__ */ jsx(AppIcon, {
203
+ icon: "vx:arrow-left",
204
+ size: 18,
205
+ "aria-hidden": "true"
206
+ }),
207
+ /* @__PURE__ */ jsx(Label, { children: "Back" }),
208
+ /* @__PURE__ */ jsx(ShortcutKey, {
209
+ className: "ms-auto",
210
+ shortcut: "⌘ ←"
211
+ })
212
+ ]
213
+ }), /* @__PURE__ */ jsxs(Dropdown.Item, {
214
+ id: "forward",
215
+ textValue: "Forward",
216
+ "aria-keyshortcuts": "Meta+ArrowRight",
217
+ onPress: () => {
218
+ onClose();
219
+ window.history.forward();
220
+ },
221
+ children: [
222
+ /* @__PURE__ */ jsx(AppIcon, {
223
+ icon: "vx:arrow-right",
224
+ size: 18,
225
+ "aria-hidden": "true"
226
+ }),
227
+ /* @__PURE__ */ jsx(Label, { children: "Forward" }),
228
+ /* @__PURE__ */ jsx(ShortcutKey, {
229
+ className: "ms-auto",
230
+ shortcut: "⌘ →"
231
+ })
232
+ ]
233
+ })] }),
234
+ !showMenuUtilities && /* @__PURE__ */ jsx(Separator, {}),
235
+ showMenuUtilities && onToggleNavigation && /* @__PURE__ */ jsxs(Dropdown.Item, {
236
+ id: "toggle-navigation",
237
+ textValue: navigationLabel,
238
+ "aria-keyshortcuts": "Meta+S",
239
+ onPress: () => {
240
+ onClose();
241
+ onToggleNavigation();
242
+ },
243
+ children: [
244
+ /* @__PURE__ */ jsx(SidebarMinimalistic, {
245
+ size: 18,
246
+ "aria-hidden": "true"
247
+ }),
248
+ /* @__PURE__ */ jsx(Label, { children: navigationLabel }),
249
+ /* @__PURE__ */ jsx(ShortcutKey, {
250
+ className: "ms-auto",
251
+ shortcut: "⌘ S"
252
+ })
253
+ ]
254
+ }),
255
+ showMenuUtilities && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Separator, {}), /* @__PURE__ */ jsxs(Dropdown.Item, {
256
+ id: "search",
257
+ textValue: "Search",
258
+ "aria-label": "Open command palette",
259
+ onPress: onSearch,
260
+ children: [
261
+ /* @__PURE__ */ jsx(AppIcon, {
262
+ icon: "vx:search",
263
+ size: 18,
264
+ "aria-hidden": "true"
265
+ }),
266
+ /* @__PURE__ */ jsx(Label, { children: "Search" }),
267
+ /* @__PURE__ */ jsx(ShortcutKey, {
268
+ className: "ms-auto",
269
+ shortcut: "Mod K"
270
+ })
271
+ ]
272
+ })] }),
273
+ (showBookamarks || showStorage) && /* @__PURE__ */ jsx(HeaderPanelMenuItems, {
274
+ showBookamarks,
275
+ showStorage,
276
+ onClose
277
+ }),
278
+ (showMenuUtilities || showBookamarks || showStorage) && /* @__PURE__ */ jsx(Separator, {}),
279
+ appMenu?.items.map((menu) => /* @__PURE__ */ jsxs(Dropdown.SubmenuTrigger, { children: [/* @__PURE__ */ jsxs(Dropdown.Item, {
280
+ id: menu.key,
281
+ textValue: menu.label,
282
+ children: [
283
+ menu.icon && /* @__PURE__ */ jsx(AppIcon, {
284
+ icon: menu.icon,
285
+ size: 18,
286
+ "aria-hidden": "true"
287
+ }),
288
+ /* @__PURE__ */ jsx(Label, { children: menu.label }),
289
+ /* @__PURE__ */ jsx(Dropdown.SubmenuIndicator, {})
290
+ ]
291
+ }), /* @__PURE__ */ jsx(Dropdown.Popover, {
292
+ placement: "right top",
293
+ children: /* @__PURE__ */ jsx(Dropdown.Menu, {
294
+ "aria-label": menu.label,
295
+ children: menu.groups.flatMap((group, index) => [...index ? [/* @__PURE__ */ jsx(Separator, {}, `${menu.key}-separator-${index}`)] : [], ...group.map((action) => /* @__PURE__ */ jsxs(Dropdown.Item, {
296
+ id: action.key,
297
+ textValue: action.label,
298
+ onPress: () => {
299
+ onClose();
300
+ appMenu.onAction(action);
301
+ },
302
+ children: [
303
+ action.icon && /* @__PURE__ */ jsx(AppIcon, {
304
+ icon: action.icon,
305
+ size: 18,
306
+ "aria-hidden": "true"
307
+ }),
308
+ /* @__PURE__ */ jsx(Label, { children: action.label }),
309
+ action.shortcut && /* @__PURE__ */ jsx(ShortcutKey, {
310
+ className: "ms-auto",
311
+ shortcut: action.shortcut
312
+ })
313
+ ]
314
+ }, action.key))])
315
+ })
316
+ })] }, menu.key))
317
+ ]
318
+ }) });
319
+ };
320
+ var HeaderPanelMenuItems = ({ showBookamarks, showStorage, onClose }) => {
321
+ const { toggleInfoPanel, activeInfoPanel, isOpen } = useInfoPanel();
322
+ return /* @__PURE__ */ jsxs(Fragment, { children: [showBookamarks && /* @__PURE__ */ jsxs(Dropdown.Item, {
323
+ id: "bookmarks",
324
+ textValue: "Bookmarks",
325
+ "aria-label": "Bookmarks",
326
+ "aria-keyshortcuts": "Meta+Shift+B Control+Shift+B",
327
+ onPress: () => {
328
+ onClose();
329
+ toggleInfoPanel("bookmarks");
330
+ },
331
+ children: [
332
+ /* @__PURE__ */ jsx(Bookmark, {
333
+ size: 18,
334
+ weight: isOpen && activeInfoPanel === "bookmarks" ? "filled" : "outline",
335
+ "aria-hidden": "true"
336
+ }),
337
+ /* @__PURE__ */ jsx(Label, { children: "Bookmarks" }),
338
+ /* @__PURE__ */ jsx(ShortcutKey, {
339
+ className: "ms-auto",
340
+ shortcut: "Mod ⇧ B"
341
+ })
342
+ ]
343
+ }), showStorage && /* @__PURE__ */ jsxs(Dropdown.Item, {
344
+ id: "storage",
345
+ textValue: "Storage",
346
+ "aria-label": "Storage",
347
+ "aria-keyshortcuts": "Meta+Shift+S Control+Shift+S",
348
+ onPress: () => {
349
+ onClose();
350
+ toggleInfoPanel("storage");
351
+ },
352
+ children: [
353
+ /* @__PURE__ */ jsx(Archive, {
354
+ size: 18,
355
+ "aria-hidden": "true"
356
+ }),
357
+ /* @__PURE__ */ jsx(Label, { children: "Storage" }),
358
+ /* @__PURE__ */ jsx(ShortcutKey, {
359
+ className: "ms-auto",
360
+ shortcut: "Mod ⇧ S"
361
+ })
362
+ ]
363
+ })] });
364
+ };
365
+ //#endregion
366
+ export { Header };
@@ -0,0 +1,4 @@
1
+ import { ArchiveProps } from './types';
2
+ declare const Archive: (props: ArchiveProps) => import("react").JSX.Element;
3
+ export { Archive };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/panel/header/storage/archive/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKtC,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,gCA2MnC,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -0,0 +1,138 @@
1
+ import { getAppPath, getOpenUrl } from "../../../../../utils/url.js";
2
+ import { StorageHistoryActions } from "../history-actions.js";
3
+ import { filterHistoryItems, groupHistoryItemsByDate } from "../history-utils.js";
4
+ import { StorageHistoryDateGroup } from "../history-date-group.js";
5
+ import { StorageHistoryItemContent } from "../history-item-content.js";
6
+ import { StorageHistoryShell } from "../history-shell.js";
7
+ import { archiveActions } from "./variants.js";
8
+ import { useNavigate } from "@tanstack/react-router";
9
+ import { Button, Input } from "@vezham/react-v3";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ import { Archive, ArchiveUp, TrashBinTrash } from "@vezham/icons-react";
12
+ import { EmptyState } from "@vezham/react-pro-v3/empty-state";
13
+ //#region src/lib/components/panel/header/storage/archive/index.tsx
14
+ var SearchInput = Input;
15
+ var Archive$1 = (props) => {
16
+ const navigate = useNavigate();
17
+ const { archiveItems, archiveSearch, setArchiveSearch, setInternalArchiveItems, getSearchInputProps, getActionsBarProps, getClearAllButtonProps, getContainerProps, getEmptyContainerProps, getEmptyIconProps, getItemsContainerProps, getDateGroupProps, getDateHeaderProps, getDateLabelProps, getDateDividerProps, getItemsListProps, getItemProps, getItemFaviconProps, getItemFallbackIconProps, getItemContentProps, getItemTitleProps, getItemUrlProps, getItemActionsProps, getUnarchiveButtonProps, getDeleteButtonProps, getActionIconProps, onUnarchive, onDeleteFromArchive, onClearAllArchive, onItemClick, renderArchiveItem } = props;
18
+ const filteredArchiveItems = filterHistoryItems(archiveItems, archiveSearch);
19
+ const archiveByDate = groupHistoryItemsByDate(filteredArchiveItems, (item) => item.archivedDate);
20
+ const handleUnarchive = (id) => {
21
+ if (onUnarchive) onUnarchive(id);
22
+ else setInternalArchiveItems((prev) => prev.filter((item) => item.id !== id));
23
+ };
24
+ const handleDeleteFromArchive = (id) => {
25
+ if (onDeleteFromArchive) onDeleteFromArchive(id);
26
+ else setInternalArchiveItems((prev) => prev.filter((item) => item.id !== id));
27
+ };
28
+ const handleClearAllArchive = () => {
29
+ if (onClearAllArchive) onClearAllArchive();
30
+ else setInternalArchiveItems([]);
31
+ };
32
+ const handleItemClick = (url) => {
33
+ if (onItemClick) onItemClick(url);
34
+ else if (url && url !== "#") {
35
+ const appPath = getAppPath(url, window.location.origin);
36
+ if (appPath) navigate({ to: appPath });
37
+ else window.open(getOpenUrl(url), "_blank", "noopener,noreferrer");
38
+ }
39
+ };
40
+ const hasArchiveItems = filteredArchiveItems.length > 0;
41
+ const renderArchiveContent = () => {
42
+ if (!hasArchiveItems) return /* @__PURE__ */ jsx("div", {
43
+ ...getEmptyContainerProps(),
44
+ children: /* @__PURE__ */ jsxs(EmptyState, {
45
+ className: "rounded-2xl",
46
+ children: [/* @__PURE__ */ jsx(EmptyState.Media, { children: /* @__PURE__ */ jsx(Archive, {
47
+ ...getEmptyIconProps(),
48
+ weight: "outline",
49
+ "aria-hidden": "true"
50
+ }) }), /* @__PURE__ */ jsx(EmptyState.Title, { children: "Archive is Empty" })]
51
+ })
52
+ });
53
+ return /* @__PURE__ */ jsx("div", {
54
+ ...getItemsContainerProps(),
55
+ children: Object.entries(archiveByDate).map(([date, items]) => /* @__PURE__ */ jsx(StorageHistoryDateGroup, {
56
+ date,
57
+ getDateGroupProps,
58
+ getDateHeaderProps,
59
+ getDateLabelProps,
60
+ getDateDividerProps,
61
+ getItemsListProps,
62
+ children: items.map((item) => {
63
+ if (renderArchiveItem) return renderArchiveItem({
64
+ item,
65
+ onAction: (action) => {
66
+ if (action === "unarchive") handleUnarchive(item.id);
67
+ if (action === "delete") handleDeleteFromArchive(item.id);
68
+ }
69
+ });
70
+ return /* @__PURE__ */ jsxs("div", {
71
+ ...getItemProps(),
72
+ children: [/* @__PURE__ */ jsx("button", {
73
+ type: "button",
74
+ className: "flex min-w-0 flex-1 items-center gap-3 text-left",
75
+ onClick: () => handleItemClick(item.url),
76
+ children: /* @__PURE__ */ jsx(StorageHistoryItemContent, {
77
+ item,
78
+ getItemFaviconProps,
79
+ getItemFallbackIconProps,
80
+ getItemContentProps,
81
+ getItemTitleProps,
82
+ getItemUrlProps
83
+ })
84
+ }), /* @__PURE__ */ jsxs("div", {
85
+ ...getItemActionsProps(),
86
+ children: [/* @__PURE__ */ jsx(Button, {
87
+ isIconOnly: true,
88
+ variant: "ghost",
89
+ ...getUnarchiveButtonProps(),
90
+ onPress: () => {
91
+ handleUnarchive(item.id);
92
+ },
93
+ children: /* @__PURE__ */ jsx(ArchiveUp, {
94
+ ...getActionIconProps("default"),
95
+ weight: "outline",
96
+ "aria-hidden": "true"
97
+ })
98
+ }), /* @__PURE__ */ jsx(Button, {
99
+ isIconOnly: true,
100
+ variant: "ghost",
101
+ ...getDeleteButtonProps(),
102
+ onPress: () => {
103
+ handleDeleteFromArchive(item.id);
104
+ },
105
+ children: /* @__PURE__ */ jsx(TrashBinTrash, {
106
+ ...getActionIconProps("danger"),
107
+ weight: "outline",
108
+ "aria-hidden": "true"
109
+ })
110
+ })]
111
+ })]
112
+ }, item.id);
113
+ })
114
+ }, date))
115
+ });
116
+ };
117
+ const actions = archiveActions.map((action) => ({
118
+ ...action,
119
+ props: getClearAllButtonProps(),
120
+ onPress: handleClearAllArchive
121
+ }));
122
+ return /* @__PURE__ */ jsx(StorageHistoryShell, {
123
+ containerProps: getContainerProps(),
124
+ search: /* @__PURE__ */ jsx(SearchInput, {
125
+ ...getSearchInputProps(true),
126
+ value: archiveSearch,
127
+ onChange: (e) => setArchiveSearch(e.target.value)
128
+ }),
129
+ actions: /* @__PURE__ */ jsx(StorageHistoryActions, {
130
+ visible: hasArchiveItems,
131
+ actions,
132
+ barProps: getActionsBarProps(false)
133
+ }),
134
+ children: renderArchiveContent()
135
+ });
136
+ };
137
+ //#endregion
138
+ export { Archive$1 as Archive };
@@ -0,0 +1,27 @@
1
+ import { Dispatch, ReactNode, SetStateAction } from 'react';
2
+ import type { useProps } from '../types';
3
+ export interface ArchiveItem {
4
+ id: string;
5
+ title: string;
6
+ url: string;
7
+ archivedDate: string;
8
+ favicon?: string;
9
+ }
10
+ export interface ArchiveItemRendererProps {
11
+ item: ArchiveItem;
12
+ onAction?: (action: string, item: ArchiveItem) => void;
13
+ }
14
+ type StorageProps = ReturnType<typeof useProps>;
15
+ export interface ArchiveProps extends Pick<StorageProps, 'getSearchInputProps' | 'getActionsBarProps' | 'getClearAllButtonProps' | 'getContainerProps' | 'getEmptyContainerProps' | 'getEmptyIconProps' | 'getEmptyTitleProps' | 'getEmptyDescriptionProps' | 'getItemsContainerProps' | 'getDateGroupProps' | 'getDateHeaderProps' | 'getDateLabelProps' | 'getDateDividerProps' | 'getItemsListProps' | 'getItemProps' | 'getItemFaviconProps' | 'getItemFallbackIconProps' | 'getItemContentProps' | 'getItemTitleProps' | 'getItemUrlProps' | 'getItemActionsProps' | 'getUnarchiveButtonProps' | 'getDeleteButtonProps' | 'getActionIconProps'> {
16
+ archiveItems: ArchiveItem[];
17
+ archiveSearch: string;
18
+ setArchiveSearch: Dispatch<SetStateAction<string>>;
19
+ setInternalArchiveItems: Dispatch<SetStateAction<ArchiveItem[]>>;
20
+ onUnarchive?: (id: string) => void;
21
+ onDeleteFromArchive?: (id: string) => void;
22
+ onClearAllArchive?: () => void;
23
+ onItemClick?: (url: string) => void;
24
+ renderArchiveItem?: (props: ArchiveItemRendererProps) => ReactNode;
25
+ }
26
+ export {};
27
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/panel/header/storage/archive/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,WAAW,CAAA;IACjB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;CACvD;AAED,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAA;AAE/C,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,YAAY,EACV,qBAAqB,GACrB,oBAAoB,GACpB,wBAAwB,GACxB,mBAAmB,GACnB,wBAAwB,GACxB,mBAAmB,GACnB,oBAAoB,GACpB,0BAA0B,GAC1B,wBAAwB,GACxB,mBAAmB,GACnB,oBAAoB,GACpB,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,GACnB,cAAc,GACd,qBAAqB,GACrB,0BAA0B,GAC1B,qBAAqB,GACrB,mBAAmB,GACnB,iBAAiB,GACjB,qBAAqB,GACrB,yBAAyB,GACzB,sBAAsB,GACtB,oBAAoB,CACvB;IACC,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAA;IAClD,uBAAuB,EAAE,QAAQ,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC,CAAA;IAChE,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,mBAAmB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,SAAS,CAAA;CACnE"}
@@ -0,0 +1,6 @@
1
+ export declare const archiveActions: {
2
+ type: string;
3
+ icon: string;
4
+ label: string;
5
+ }[];
6
+ //# sourceMappingURL=variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/components/panel/header/storage/archive/variants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;GAM1B,CAAA"}
@@ -0,0 +1,8 @@
1
+ //#region src/lib/components/panel/header/storage/archive/variants.ts
2
+ var archiveActions = [{
3
+ type: "clear",
4
+ icon: "vx:trash",
5
+ label: "Clear All"
6
+ }];
7
+ //#endregion
8
+ export { archiveActions };
@@ -0,0 +1,2 @@
1
+ export * from '../../../../store/useStorage/data';
2
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/panel/header/storage/data.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA"}
@@ -0,0 +1,16 @@
1
+ import type { ComponentProps } from 'react';
2
+ import { Button } from '@vezham/react-v3';
3
+ type Action = {
4
+ type: string;
5
+ icon: string;
6
+ label: string;
7
+ props: ComponentProps<typeof Button>;
8
+ onPress: () => void;
9
+ };
10
+ export declare const StorageHistoryActions: ({ visible, actions, barProps }: {
11
+ visible: boolean;
12
+ actions: readonly Action[];
13
+ barProps: ComponentProps<"div">;
14
+ }) => import("react").JSX.Element | null;
15
+ export {};
16
+ //# sourceMappingURL=history-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history-actions.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/panel/header/storage/history-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAIzC,KAAK,MAAM,GAAG;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;IACpC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,gCAInC;IACD,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IAC1B,QAAQ,EAAE,cAAc,CAAC,KAAK,CAAC,CAAA;CAChC,uCAUS,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { AppIcon } from "../../../app-icon/index.js";
2
+ import { Button } from "@vezham/react-v3";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/lib/components/panel/header/storage/history-actions.tsx
5
+ var StorageHistoryActions = ({ visible, actions, barProps }) => visible && actions.length > 0 ? /* @__PURE__ */ jsx("div", {
6
+ ...barProps,
7
+ children: actions.map((action) => /* @__PURE__ */ jsxs(Button, {
8
+ ...action.props,
9
+ onPress: action.onPress,
10
+ children: [/* @__PURE__ */ jsx(AppIcon, {
11
+ icon: action.icon,
12
+ size: 16,
13
+ "aria-hidden": "true"
14
+ }), action.label]
15
+ }, action.type))
16
+ }) : null;
17
+ //#endregion
18
+ export { StorageHistoryActions };
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { useProps } from './types';
3
+ type Props = Pick<ReturnType<typeof useProps>, 'getDateGroupProps' | 'getDateHeaderProps' | 'getDateLabelProps' | 'getDateDividerProps' | 'getItemsListProps'> & {
4
+ date: string;
5
+ children: ReactNode;
6
+ };
7
+ export declare const StorageHistoryDateGroup: ({ date, children, getDateGroupProps, getDateHeaderProps, getDateLabelProps, getDateDividerProps, getItemsListProps }: Props) => import("react").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=history-date-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history-date-group.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/panel/header/storage/history-date-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,KAAK,GAAG,IAAI,CACf,UAAU,CAAC,OAAO,QAAQ,CAAC,EACzB,mBAAmB,GACnB,oBAAoB,GACpB,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,CACtB,GAAG;IACF,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,sHAQrC,KAAK,gCAUP,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { formatHistoryDate } from "./history-utils.js";
2
+ import { Typography } from "@vezham/react-v3";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/lib/components/panel/header/storage/history-date-group.tsx
5
+ var StorageHistoryDateGroup = ({ date, children, getDateGroupProps, getDateHeaderProps, getDateLabelProps, getDateDividerProps, getItemsListProps }) => /* @__PURE__ */ jsxs("div", {
6
+ ...getDateGroupProps(),
7
+ children: [/* @__PURE__ */ jsxs("div", {
8
+ ...getDateHeaderProps(),
9
+ children: [/* @__PURE__ */ jsx(Typography.Paragraph, {
10
+ ...getDateLabelProps(),
11
+ children: formatHistoryDate(date)
12
+ }), /* @__PURE__ */ jsx("div", { ...getDateDividerProps() })]
13
+ }), /* @__PURE__ */ jsx("div", {
14
+ ...getItemsListProps(),
15
+ children
16
+ })]
17
+ });
18
+ //#endregion
19
+ export { StorageHistoryDateGroup };
@@ -0,0 +1,11 @@
1
+ import type { useProps } from './types';
2
+ type Props = Pick<ReturnType<typeof useProps>, 'getItemFaviconProps' | 'getItemFallbackIconProps' | 'getItemContentProps' | 'getItemTitleProps' | 'getItemUrlProps'> & {
3
+ item: {
4
+ favicon?: string;
5
+ title: string;
6
+ url: string;
7
+ };
8
+ };
9
+ export declare const StorageHistoryItemContent: ({ item, getItemFaviconProps, getItemFallbackIconProps, getItemContentProps, getItemTitleProps, getItemUrlProps }: Props) => import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=history-item-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history-item-content.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/panel/header/storage/history-item-content.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,KAAK,GAAG,IAAI,CACf,UAAU,CAAC,OAAO,QAAQ,CAAC,EACzB,qBAAqB,GACrB,0BAA0B,GAC1B,qBAAqB,GACrB,mBAAmB,GACnB,iBAAiB,CACpB,GAAG;IACF,IAAI,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;CACvD,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,kHAOvC,KAAK,gCAgBP,CAAA"}