@keepkit/ui 0.28.17 → 0.28.18

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 (283) hide show
  1. package/README.md +196 -5
  2. package/dist/chunk-4O5N26YS.js +218 -0
  3. package/dist/chunk-4O5N26YS.js.map +1 -0
  4. package/dist/chunk-5ETQGHPV.js +307 -0
  5. package/dist/chunk-5ETQGHPV.js.map +1 -0
  6. package/dist/chunk-5SFHCUDA.js +200 -0
  7. package/dist/chunk-5SFHCUDA.js.map +1 -0
  8. package/dist/chunk-6753KF4D.js +357 -0
  9. package/dist/chunk-6753KF4D.js.map +1 -0
  10. package/dist/chunk-6JKG6SKJ.js +234 -0
  11. package/dist/chunk-6JKG6SKJ.js.map +1 -0
  12. package/dist/chunk-7DCSOVGM.js +23 -0
  13. package/dist/chunk-7DCSOVGM.js.map +1 -0
  14. package/dist/chunk-7DOB3Z6F.js +565 -0
  15. package/dist/chunk-7DOB3Z6F.js.map +1 -0
  16. package/dist/chunk-AQOSZ6AW.js +287 -0
  17. package/dist/chunk-AQOSZ6AW.js.map +1 -0
  18. package/dist/chunk-BJCZ7MFN.js +322 -0
  19. package/dist/chunk-BJCZ7MFN.js.map +1 -0
  20. package/dist/chunk-BW4SUJIX.js +135 -0
  21. package/dist/chunk-BW4SUJIX.js.map +1 -0
  22. package/dist/chunk-BYYWJGSN.js +220 -0
  23. package/dist/chunk-BYYWJGSN.js.map +1 -0
  24. package/dist/chunk-CIVXLU4D.js +111 -0
  25. package/dist/chunk-CIVXLU4D.js.map +1 -0
  26. package/dist/chunk-DMDBZJPO.js +37 -0
  27. package/dist/chunk-DMDBZJPO.js.map +1 -0
  28. package/dist/chunk-DQ5RMIU5.js +112 -0
  29. package/dist/chunk-DQ5RMIU5.js.map +1 -0
  30. package/dist/chunk-G2JWJKST.js +95 -0
  31. package/dist/chunk-G2JWJKST.js.map +1 -0
  32. package/dist/chunk-G76JVCNJ.js +55 -0
  33. package/dist/chunk-G76JVCNJ.js.map +1 -0
  34. package/dist/chunk-GZEFBTVD.js +37 -0
  35. package/dist/chunk-GZEFBTVD.js.map +1 -0
  36. package/dist/chunk-HFXB4S72.js +160 -0
  37. package/dist/chunk-HFXB4S72.js.map +1 -0
  38. package/dist/chunk-JJ4L5AKR.js +389 -0
  39. package/dist/chunk-JJ4L5AKR.js.map +1 -0
  40. package/dist/chunk-K2L44I7D.js +152 -0
  41. package/dist/chunk-K2L44I7D.js.map +1 -0
  42. package/dist/chunk-LKNVVPTN.js +210 -0
  43. package/dist/chunk-LKNVVPTN.js.map +1 -0
  44. package/dist/chunk-M3UORQXZ.js +2983 -0
  45. package/dist/chunk-M3UORQXZ.js.map +1 -0
  46. package/dist/chunk-M46GROWD.js +116 -0
  47. package/dist/chunk-M46GROWD.js.map +1 -0
  48. package/dist/chunk-MMGM7JIE.js +141 -0
  49. package/dist/chunk-MMGM7JIE.js.map +1 -0
  50. package/dist/chunk-NOPTRHRR.js +26 -0
  51. package/dist/chunk-NOPTRHRR.js.map +1 -0
  52. package/dist/chunk-NSYL6RSY.js +20 -0
  53. package/dist/chunk-NSYL6RSY.js.map +1 -0
  54. package/dist/chunk-NVFKN4NU.js +94 -0
  55. package/dist/chunk-NVFKN4NU.js.map +1 -0
  56. package/dist/chunk-P2WLTFPG.js +46 -0
  57. package/dist/chunk-P2WLTFPG.js.map +1 -0
  58. package/dist/chunk-PE57SLZO.js +798 -0
  59. package/dist/chunk-PE57SLZO.js.map +1 -0
  60. package/dist/chunk-PHFY6LQT.js +167 -0
  61. package/dist/chunk-PHFY6LQT.js.map +1 -0
  62. package/dist/chunk-PZHARNLY.js +208 -0
  63. package/dist/chunk-PZHARNLY.js.map +1 -0
  64. package/dist/chunk-Q6AFJL4Y.js +318 -0
  65. package/dist/chunk-Q6AFJL4Y.js.map +1 -0
  66. package/dist/chunk-Q7IEJ2YF.js +49 -0
  67. package/dist/chunk-Q7IEJ2YF.js.map +1 -0
  68. package/dist/chunk-QOCX37A5.js +69 -0
  69. package/dist/chunk-QOCX37A5.js.map +1 -0
  70. package/dist/chunk-RIWL3IPZ.js +46 -0
  71. package/dist/chunk-RIWL3IPZ.js.map +1 -0
  72. package/dist/chunk-RKYQGWKB.js +229 -0
  73. package/dist/chunk-RKYQGWKB.js.map +1 -0
  74. package/dist/chunk-SYLOO5TX.js +504 -0
  75. package/dist/chunk-SYLOO5TX.js.map +1 -0
  76. package/dist/chunk-URE4EGL2.js +206 -0
  77. package/dist/chunk-URE4EGL2.js.map +1 -0
  78. package/dist/chunk-VM4ROXYF.js +114 -0
  79. package/dist/chunk-VM4ROXYF.js.map +1 -0
  80. package/dist/chunk-VTPSR3LD.js +16 -0
  81. package/dist/chunk-VTPSR3LD.js.map +1 -0
  82. package/dist/chunk-WB6NBGC2.js +112 -0
  83. package/dist/chunk-WB6NBGC2.js.map +1 -0
  84. package/dist/chunk-XJFMMRQR.js +110 -0
  85. package/dist/chunk-XJFMMRQR.js.map +1 -0
  86. package/dist/chunk-XKWDO5VL.js +156 -0
  87. package/dist/chunk-XKWDO5VL.js.map +1 -0
  88. package/dist/chunk-XVOLYEUK.js +65 -0
  89. package/dist/chunk-XVOLYEUK.js.map +1 -0
  90. package/dist/chunk-YCUQ2YTP.js +169 -0
  91. package/dist/chunk-YCUQ2YTP.js.map +1 -0
  92. package/dist/chunk-ZCDLWGQV.js +140 -0
  93. package/dist/chunk-ZCDLWGQV.js.map +1 -0
  94. package/dist/collection-select-X6WKM--x.d.ts +25 -0
  95. package/dist/entries/active-filters-summary.d.ts +58 -0
  96. package/dist/entries/active-filters-summary.js +10 -0
  97. package/dist/entries/active-filters-summary.js.map +1 -0
  98. package/dist/entries/announcements.d.ts +4 -0
  99. package/dist/entries/announcements.js +11 -0
  100. package/dist/entries/announcements.js.map +1 -0
  101. package/dist/entries/announcer.d.ts +4 -0
  102. package/dist/entries/announcer.js +11 -0
  103. package/dist/entries/announcer.js.map +1 -0
  104. package/dist/entries/archive-button.d.ts +4 -0
  105. package/dist/entries/archive-button.js +9 -0
  106. package/dist/entries/archive-button.js.map +1 -0
  107. package/dist/entries/archive-scope-select.d.ts +13 -0
  108. package/dist/entries/archive-scope-select.js +9 -0
  109. package/dist/entries/archive-scope-select.js.map +1 -0
  110. package/dist/entries/archive-undo.d.ts +6 -0
  111. package/dist/entries/archive-undo.js +10 -0
  112. package/dist/entries/archive-undo.js.map +1 -0
  113. package/dist/entries/backup.d.ts +19 -0
  114. package/dist/entries/backup.js +10 -0
  115. package/dist/entries/backup.js.map +1 -0
  116. package/dist/entries/bulk-actions.d.ts +60 -0
  117. package/dist/entries/bulk-actions.js +12 -0
  118. package/dist/entries/bulk-actions.js.map +1 -0
  119. package/dist/entries/button.d.ts +21 -0
  120. package/dist/entries/button.js +10 -0
  121. package/dist/entries/button.js.map +1 -0
  122. package/dist/entries/collection-create.d.ts +19 -0
  123. package/dist/entries/collection-create.js +10 -0
  124. package/dist/entries/collection-create.js.map +1 -0
  125. package/dist/entries/collection-filter.d.ts +3 -0
  126. package/dist/entries/collection-filter.js +10 -0
  127. package/dist/entries/collection-filter.js.map +1 -0
  128. package/dist/entries/collection-manager.d.ts +29 -0
  129. package/dist/entries/collection-manager.js +12 -0
  130. package/dist/entries/collection-manager.js.map +1 -0
  131. package/dist/entries/collection-select.d.ts +3 -0
  132. package/dist/entries/collection-select.js +10 -0
  133. package/dist/entries/collection-select.js.map +1 -0
  134. package/dist/entries/collection.d.ts +11 -0
  135. package/dist/entries/collection.js +32 -0
  136. package/dist/entries/collection.js.map +1 -0
  137. package/dist/entries/empty-state.d.ts +17 -0
  138. package/dist/entries/empty-state.js +10 -0
  139. package/dist/entries/empty-state.js.map +1 -0
  140. package/dist/entries/error-boundary.d.ts +1 -0
  141. package/dist/entries/error-boundary.js +8 -0
  142. package/dist/entries/error-boundary.js.map +1 -0
  143. package/dist/entries/fallback-recovery.d.ts +12 -0
  144. package/dist/entries/fallback-recovery.js +9 -0
  145. package/dist/entries/fallback-recovery.js.map +1 -0
  146. package/dist/entries/floating-tour.d.ts +23 -0
  147. package/dist/entries/floating-tour.js +14 -0
  148. package/dist/entries/floating-tour.js.map +1 -0
  149. package/dist/entries/highlight.d.ts +2 -0
  150. package/dist/entries/highlight.js +8 -0
  151. package/dist/entries/highlight.js.map +1 -0
  152. package/dist/entries/inbox.d.ts +19 -0
  153. package/dist/entries/inbox.js +33 -0
  154. package/dist/entries/inbox.js.map +1 -0
  155. package/dist/entries/item-card-skeleton.d.ts +20 -0
  156. package/dist/entries/item-card-skeleton.js +8 -0
  157. package/dist/entries/item-card-skeleton.js.map +1 -0
  158. package/dist/entries/item-card.d.ts +412 -0
  159. package/dist/entries/item-card.js +17 -0
  160. package/dist/entries/item-card.js.map +1 -0
  161. package/dist/entries/item-checkbox.d.ts +14 -0
  162. package/dist/entries/item-checkbox.js +8 -0
  163. package/dist/entries/item-checkbox.js.map +1 -0
  164. package/dist/entries/item-status-badge.d.ts +13 -0
  165. package/dist/entries/item-status-badge.js +10 -0
  166. package/dist/entries/item-status-badge.js.map +1 -0
  167. package/dist/entries/kit-provider.d.ts +18 -0
  168. package/dist/entries/kit-provider.js +14 -0
  169. package/dist/entries/kit-provider.js.map +1 -0
  170. package/dist/entries/last-activity.d.ts +12 -0
  171. package/dist/entries/last-activity.js +9 -0
  172. package/dist/entries/last-activity.js.map +1 -0
  173. package/dist/entries/layout.d.ts +21 -0
  174. package/dist/entries/layout.js +9 -0
  175. package/dist/entries/layout.js.map +1 -0
  176. package/dist/entries/list.d.ts +11 -0
  177. package/dist/entries/list.js +23 -0
  178. package/dist/entries/list.js.map +1 -0
  179. package/dist/entries/navigator.d.ts +4 -0
  180. package/dist/entries/navigator.js +11 -0
  181. package/dist/entries/navigator.js.map +1 -0
  182. package/dist/entries/note-editor.d.ts +32 -0
  183. package/dist/entries/note-editor.js +11 -0
  184. package/dist/entries/note-editor.js.map +1 -0
  185. package/dist/entries/pagination.d.ts +3 -0
  186. package/dist/entries/pagination.js +9 -0
  187. package/dist/entries/pagination.js.map +1 -0
  188. package/dist/entries/pin-button.d.ts +4 -0
  189. package/dist/entries/pin-button.js +9 -0
  190. package/dist/entries/pin-button.js.map +1 -0
  191. package/dist/entries/provider.d.ts +1 -0
  192. package/dist/entries/provider.js +8 -0
  193. package/dist/entries/provider.js.map +1 -0
  194. package/dist/entries/prune-stale-button.d.ts +3 -0
  195. package/dist/entries/prune-stale-button.js +12 -0
  196. package/dist/entries/prune-stale-button.js.map +1 -0
  197. package/dist/entries/quick-editor.d.ts +3 -0
  198. package/dist/entries/quick-editor.js +11 -0
  199. package/dist/entries/quick-editor.js.map +1 -0
  200. package/dist/entries/rediscovery-panel.d.ts +12 -0
  201. package/dist/entries/rediscovery-panel.js +24 -0
  202. package/dist/entries/rediscovery-panel.js.map +1 -0
  203. package/dist/entries/rediscovery.d.ts +12 -0
  204. package/dist/entries/rediscovery.js +24 -0
  205. package/dist/entries/rediscovery.js.map +1 -0
  206. package/dist/entries/reorderable-list.d.ts +35 -0
  207. package/dist/entries/reorderable-list.js +10 -0
  208. package/dist/entries/reorderable-list.js.map +1 -0
  209. package/dist/entries/save-popover.d.ts +39 -0
  210. package/dist/entries/save-popover.js +15 -0
  211. package/dist/entries/save-popover.js.map +1 -0
  212. package/dist/entries/save-view-button.d.ts +3 -0
  213. package/dist/entries/save-view-button.js +9 -0
  214. package/dist/entries/save-view-button.js.map +1 -0
  215. package/dist/entries/saved-views.d.ts +3 -0
  216. package/dist/entries/saved-views.js +9 -0
  217. package/dist/entries/saved-views.js.map +1 -0
  218. package/dist/entries/search-input.d.ts +3 -0
  219. package/dist/entries/search-input.js +9 -0
  220. package/dist/entries/search-input.js.map +1 -0
  221. package/dist/entries/shortcut-hint.d.ts +11 -0
  222. package/dist/entries/shortcut-hint.js +8 -0
  223. package/dist/entries/shortcut-hint.js.map +1 -0
  224. package/dist/entries/sort-select.d.ts +3 -0
  225. package/dist/entries/sort-select.js +9 -0
  226. package/dist/entries/sort-select.js.map +1 -0
  227. package/dist/entries/stale-notice.d.ts +3 -0
  228. package/dist/entries/stale-notice.js +12 -0
  229. package/dist/entries/stale-notice.js.map +1 -0
  230. package/dist/entries/status.d.ts +4 -0
  231. package/dist/entries/status.js +11 -0
  232. package/dist/entries/status.js.map +1 -0
  233. package/dist/entries/sync-recovery-dialog.d.ts +18 -0
  234. package/dist/entries/sync-recovery-dialog.js +11 -0
  235. package/dist/entries/sync-recovery-dialog.js.map +1 -0
  236. package/dist/entries/sync-status-banner.d.ts +12 -0
  237. package/dist/entries/sync-status-banner.js +10 -0
  238. package/dist/entries/sync-status-banner.js.map +1 -0
  239. package/dist/entries/tag-editor.d.ts +22 -0
  240. package/dist/entries/tag-editor.js +10 -0
  241. package/dist/entries/tag-editor.js.map +1 -0
  242. package/dist/entries/tag-filter.d.ts +33 -0
  243. package/dist/entries/tag-filter.js +10 -0
  244. package/dist/entries/tag-filter.js.map +1 -0
  245. package/dist/entries/theme-provider.d.ts +2 -0
  246. package/dist/entries/theme-provider.js +9 -0
  247. package/dist/entries/theme-provider.js.map +1 -0
  248. package/dist/entries/tour-bar.d.ts +4 -0
  249. package/dist/entries/tour-bar.js +11 -0
  250. package/dist/entries/tour-bar.js.map +1 -0
  251. package/dist/entries/tour-provider.d.ts +3 -0
  252. package/dist/entries/tour-provider.js +8 -0
  253. package/dist/entries/tour-provider.js.map +1 -0
  254. package/dist/entries/ui-provider.d.ts +5 -0
  255. package/dist/entries/ui-provider.js +8 -0
  256. package/dist/entries/ui-provider.js.map +1 -0
  257. package/dist/entries/undo.d.ts +11 -0
  258. package/dist/entries/undo.js +10 -0
  259. package/dist/entries/undo.js.map +1 -0
  260. package/dist/entries/workspace.d.ts +59 -0
  261. package/dist/entries/workspace.js +37 -0
  262. package/dist/entries/workspace.js.map +1 -0
  263. package/dist/highlight-BFeqa6kU.d.ts +40 -0
  264. package/dist/index.d.ts +63 -1409
  265. package/dist/index.js +198 -10271
  266. package/dist/index.js.map +1 -1
  267. package/dist/list-C350Dche.d.ts +141 -0
  268. package/dist/pin-button-DK3j0atw.d.ts +27 -0
  269. package/dist/quick-editor-BpsvwjQS.d.ts +61 -0
  270. package/dist/rediscovery-F5gTtPUz.d.ts +20 -0
  271. package/dist/saved-views-BXIyAVBn.d.ts +14 -0
  272. package/dist/sort-select-DBlR6ubA.d.ts +40 -0
  273. package/dist/stale-notice-DczSweyn.d.ts +24 -0
  274. package/dist/status-xiIQ206y.d.ts +31 -0
  275. package/dist/styles/base.css +87 -55
  276. package/dist/styles/collection.css +1 -0
  277. package/dist/tailwind.css +0 -30
  278. package/dist/theme-provider-DFMkjkmm.d.ts +37 -0
  279. package/dist/tour-bar-iiXvVYE8.d.ts +51 -0
  280. package/dist/tour-provider-BqhPK2vS.d.ts +40 -0
  281. package/dist/ui-context-BE201rLI.d.ts +70 -0
  282. package/dist/ui-provider-Bqziw03k.d.ts +7 -0
  283. package/package.json +226 -2
@@ -0,0 +1,58 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, Ref, ReactNode, ReactElement } from 'react';
3
+ import { KeepListQuery } from '@keepkit/core/core';
4
+ import { R as RenderProp } from '../highlight-BFeqa6kU.js';
5
+
6
+ type KeepActiveFiltersSummaryProps<TMeta = Record<string, unknown>> = Omit<HTMLAttributes<HTMLElement>, "children"> & {
7
+ ref?: Ref<HTMLElement> | {
8
+ readonly current: unknown;
9
+ };
10
+ query?: KeepListQuery<TMeta>;
11
+ search?: string;
12
+ tags?: readonly string[];
13
+ collection?: string;
14
+ collectionLabel?: string;
15
+ organization?: KeepListQuery<TMeta>["organization"];
16
+ savedBetween?: KeepListQuery<TMeta>["savedBetween"];
17
+ activity?: KeepListQuery<TMeta>["activity"];
18
+ activityLabel?: string;
19
+ archiveScope?: KeepListQuery<TMeta>["archiveScope"];
20
+ archiveScopeLabel?: string;
21
+ totalCount?: number;
22
+ onSearchChange?: (value: string) => void;
23
+ onTagChange?: (tag: string) => void;
24
+ onCollectionChange?: (collectionId?: string) => void;
25
+ onOrganizationChange?: (organization?: KeepListQuery<TMeta>["organization"]) => void;
26
+ onSavedBetweenChange?: (range?: KeepListQuery<TMeta>["savedBetween"]) => void;
27
+ onActivityChange?: (activity?: KeepListQuery<TMeta>["activity"]) => void;
28
+ onArchiveScopeChange?: (scope: NonNullable<KeepListQuery<TMeta>["archiveScope"]>) => void;
29
+ onClear?: () => void;
30
+ onReset?: () => void;
31
+ canReset?: boolean;
32
+ children?: ReactNode | RenderProp<KeepActiveFiltersSummaryState>;
33
+ asChild?: boolean;
34
+ };
35
+ type KeepActiveFiltersSummaryState = {
36
+ search: string;
37
+ tags: string[];
38
+ collection?: string;
39
+ organization?: KeepListQuery["organization"];
40
+ savedBetween?: KeepListQuery["savedBetween"];
41
+ activity?: KeepListQuery["activity"];
42
+ archiveScope?: KeepListQuery["archiveScope"];
43
+ totalCount?: number;
44
+ hasFilters: boolean;
45
+ clear: () => void;
46
+ removeSearch: () => void;
47
+ removeTag: (tag: string) => void;
48
+ removeCollection: () => void;
49
+ removeOrganization: (field: "collection" | "tags" | "note") => void;
50
+ removeSavedBetween: () => void;
51
+ removeActivity: () => void;
52
+ removeArchiveScope: () => void;
53
+ reset: () => void;
54
+ };
55
+ /** Lists active query filters with one-tap recovery actions. */
56
+ declare function KeepActiveFiltersSummary<TMeta = Record<string, unknown>>({ query, search: providedSearch, tags: providedTags, collection: providedCollection, collectionLabel: providedCollectionLabel, organization: providedOrganization, savedBetween: providedSavedBetween, activity: providedActivity, activityLabel: providedActivityLabel, archiveScope: providedArchiveScope, archiveScopeLabel: providedArchiveScopeLabel, totalCount, onSearchChange, onTagChange, onCollectionChange, onOrganizationChange, onSavedBetweenChange, onActivityChange, onArchiveScopeChange, onClear, onReset, canReset, children, asChild, className, ...rootProps }: KeepActiveFiltersSummaryProps<TMeta>): ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
57
+
58
+ export { KeepActiveFiltersSummary, type KeepActiveFiltersSummaryProps, type KeepActiveFiltersSummaryState };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepActiveFiltersSummary
4
+ } from "../chunk-JJ4L5AKR.js";
5
+ import "../chunk-LKNVVPTN.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepActiveFiltersSummary
9
+ };
10
+ //# sourceMappingURL=active-filters-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { K as KeepAnnouncements, a as KeepAnnouncementsProps } from '../status-xiIQ206y.js';
2
+ import 'react';
3
+ import '@keepkit/core/core';
4
+ import '../highlight-BFeqa6kU.js';
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import {
3
+ KeepAnnouncements
4
+ } from "../chunk-DQ5RMIU5.js";
5
+ import "../chunk-RIWL3IPZ.js";
6
+ import "../chunk-LKNVVPTN.js";
7
+ import "../chunk-M3UORQXZ.js";
8
+ export {
9
+ KeepAnnouncements
10
+ };
11
+ //# sourceMappingURL=announcements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { a as KeepAnnouncementsProps, b as KeepAnnouncer } from '../status-xiIQ206y.js';
2
+ import 'react';
3
+ import '@keepkit/core/core';
4
+ import '../highlight-BFeqa6kU.js';
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import {
3
+ KeepAnnouncer
4
+ } from "../chunk-DQ5RMIU5.js";
5
+ import "../chunk-RIWL3IPZ.js";
6
+ import "../chunk-LKNVVPTN.js";
7
+ import "../chunk-M3UORQXZ.js";
8
+ export {
9
+ KeepAnnouncer
10
+ };
11
+ //# sourceMappingURL=announcer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,4 @@
1
+ export { K as KeepArchiveButton, a as KeepArchiveButtonProps, b as KeepArchiveButtonState } from '../pin-button-DK3j0atw.js';
2
+ import 'react';
3
+ import '@keepkit/core/core';
4
+ import '@keepkit/core/react';
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ KeepArchiveButton
4
+ } from "../chunk-NVFKN4NU.js";
5
+ import "../chunk-M3UORQXZ.js";
6
+ export {
7
+ KeepArchiveButton
8
+ };
9
+ //# sourceMappingURL=archive-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,13 @@
1
+ import * as react from 'react';
2
+ import { SelectHTMLAttributes } from 'react';
3
+
4
+ type KeepArchiveScope = "active" | "archived" | "all";
5
+ type KeepArchiveScopeSelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, "value" | "defaultValue" | "onChange"> & {
6
+ value?: KeepArchiveScope;
7
+ defaultValue?: KeepArchiveScope;
8
+ onValueChange?: (value: KeepArchiveScope) => void;
9
+ };
10
+ /** A localized active/archived/all selector for a KeepCollection query. */
11
+ declare function KeepArchiveScopeSelect({ value: controlledValue, defaultValue, onValueChange, "aria-label": ariaLabel, ...props }: KeepArchiveScopeSelectProps): react.JSX.Element;
12
+
13
+ export { type KeepArchiveScope, KeepArchiveScopeSelect, type KeepArchiveScopeSelectProps };
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ KeepArchiveScopeSelect
4
+ } from "../chunk-Q7IEJ2YF.js";
5
+ import "../chunk-M3UORQXZ.js";
6
+ export {
7
+ KeepArchiveScopeSelect
8
+ };
9
+ //# sourceMappingURL=archive-scope-select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,6 @@
1
+ import * as react from 'react';
2
+
3
+ /** Offers to restore the most recently archived item. */
4
+ declare function KeepArchiveUndo<TMeta = Record<string, unknown>>(): react.JSX.Element | null;
5
+
6
+ export { KeepArchiveUndo };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepArchiveUndo
4
+ } from "../chunk-G76JVCNJ.js";
5
+ import "../chunk-LKNVVPTN.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepArchiveUndo
9
+ };
10
+ //# sourceMappingURL=archive-undo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes } from 'react';
3
+ import { ImportItemsResult } from '@keepkit/core/core';
4
+
5
+ type KeepBackupProps<TMeta = Record<string, unknown>> = Omit<HTMLAttributes<HTMLElement>, "children"> & {
6
+ filename?: string;
7
+ markdownFilename?: string;
8
+ /** Enables a button to export saved items as a portable Markdown list. */
9
+ allowMarkdownExport?: boolean;
10
+ /** Requires confirmation with a backup summary before replacing current storage data. */
11
+ confirmReplace?: boolean;
12
+ onExport?: (data: string) => void;
13
+ onExportMarkdown?: (markdown: string) => void;
14
+ onImported?: (result: ImportItemsResult<TMeta>) => void;
15
+ };
16
+ /** Accessible JSON backup controls backed by the current KeepProvider storage. */
17
+ declare function KeepBackup<TMeta = Record<string, unknown>>({ filename, markdownFilename, allowMarkdownExport, confirmReplace, onExport, onExportMarkdown, onImported, ...props }: KeepBackupProps<TMeta>): react.JSX.Element;
18
+
19
+ export { KeepBackup, type KeepBackupProps };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepBackup
4
+ } from "../chunk-BJCZ7MFN.js";
5
+ import "../chunk-LKNVVPTN.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepBackup
9
+ };
10
+ //# sourceMappingURL=backup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,60 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+ import { KeepListQuery, KeepItem } from '@keepkit/core/core';
4
+ import { KeepCollectionSummary } from '@keepkit/core/react';
5
+ import { R as RenderProp } from '../highlight-BFeqa6kU.js';
6
+
7
+ type KeepBulkActionsState<TMeta = Record<string, unknown>> = {
8
+ items: KeepItem<TMeta>[];
9
+ selectedIds: string[];
10
+ selectedCount: number;
11
+ isAllSelected: boolean;
12
+ allSelected: boolean;
13
+ tagsInput: string;
14
+ setTagsInput: (value: string) => void;
15
+ toggle: (id: string) => void;
16
+ toggleSelectAll: () => void;
17
+ toggleAll: () => void;
18
+ remove: () => Promise<void>;
19
+ requestRemoval: () => Promise<void>;
20
+ confirmRemoval: () => Promise<void>;
21
+ cancelRemoval: () => void;
22
+ removalConfirmation: {
23
+ ids: readonly string[];
24
+ count: number;
25
+ } | null;
26
+ updateTags: () => Promise<void>;
27
+ addTags: () => Promise<void>;
28
+ removeTags: () => Promise<void>;
29
+ collectionId: string;
30
+ setCollectionId: (value: string) => void;
31
+ collections: KeepCollectionSummary[];
32
+ moveToCollection: () => Promise<void>;
33
+ archive: () => Promise<void>;
34
+ unarchive: () => Promise<void>;
35
+ pin: () => Promise<void>;
36
+ unpin: () => Promise<void>;
37
+ isMutating: boolean;
38
+ error: unknown | null;
39
+ selectionScope: KeepSelectionScope;
40
+ setSelectionScope: (scope: KeepSelectionScope) => void;
41
+ };
42
+ type KeepSelectionScope = "page" | "query" | "all";
43
+ type KeepBulkActionsProps<TMeta = Record<string, unknown>> = Omit<HTMLAttributes<HTMLElement>, "children"> & {
44
+ query?: KeepListQuery<TMeta>;
45
+ selectedIds?: string[];
46
+ defaultSelectedIds?: string[];
47
+ onSelectedIdsChange?: (ids: string[]) => void;
48
+ renderItem?: (item: KeepItem<TMeta>, selected: boolean) => ReactNode;
49
+ onCompleted?: (action: "remove" | "tags", ids: string[]) => void;
50
+ selectionScope?: KeepSelectionScope;
51
+ onSelectionScopeChange?: (scope: KeepSelectionScope) => void;
52
+ /** Requires confirmation before removing the full selection, including items on other pages. */
53
+ confirmRemoval?: boolean;
54
+ render?: RenderProp<KeepBulkActionsState<TMeta>>;
55
+ children?: ReactNode | RenderProp<KeepBulkActionsState<TMeta>>;
56
+ };
57
+ /** Selects visible items and performs one storage operation for the whole selection. */
58
+ declare function KeepBulkActions<TMeta = Record<string, unknown>>({ query, selectedIds: controlledSelectedIds, defaultSelectedIds, onSelectedIdsChange, renderItem, onCompleted, selectionScope: controlledScope, onSelectionScopeChange, confirmRemoval, render, children, ...props }: KeepBulkActionsProps<TMeta>): react.JSX.Element;
59
+
60
+ export { KeepBulkActions, type KeepBulkActionsProps, type KeepBulkActionsState, type KeepSelectionScope };
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import {
3
+ KeepBulkActions
4
+ } from "../chunk-SYLOO5TX.js";
5
+ import "../chunk-GZEFBTVD.js";
6
+ import "../chunk-NOPTRHRR.js";
7
+ import "../chunk-LKNVVPTN.js";
8
+ import "../chunk-M3UORQXZ.js";
9
+ export {
10
+ KeepBulkActions
11
+ };
12
+ //# sourceMappingURL=bulk-actions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,21 @@
1
+ import { KeepButtonProps as KeepButtonProps$1 } from '@keepkit/core/react';
2
+ export { KeepButtonState } from '@keepkit/core/react';
3
+ import * as react from 'react';
4
+ import { Ref } from 'react';
5
+ import { c as KeepButtonLabels, K as KeepButtonIcons } from '../highlight-BFeqa6kU.js';
6
+ export { a as KeepButtonIcon, b as KeepButtonIconProps } from '../highlight-BFeqa6kU.js';
7
+
8
+ type KeepButtonProps<TMeta = Record<string, unknown>> = KeepButtonProps$1<TMeta> & {
9
+ ref?: Ref<HTMLElement> | {
10
+ readonly current: unknown;
11
+ };
12
+ labels?: KeepButtonLabels;
13
+ icons?: KeepButtonIcons;
14
+ iconOnly?: boolean;
15
+ showLabel?: boolean;
16
+ iconClassName?: string;
17
+ };
18
+ /** A style-free save toggle with localized labels and the core button's ARIA/asChild behavior. */
19
+ declare function KeepButton<TMeta = Record<string, unknown>>({ labels, icons, iconOnly, showLabel, iconClassName, onClick, onToggleError, ...props }: KeepButtonProps<TMeta>): react.JSX.Element;
20
+
21
+ export { KeepButton, KeepButtonIcons, KeepButtonLabels, type KeepButtonProps };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepButton
4
+ } from "../chunk-BW4SUJIX.js";
5
+ import "../chunk-NOPTRHRR.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepButton
9
+ };
10
+ //# sourceMappingURL=button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ import * as react from 'react';
2
+ import { InputHTMLAttributes, ReactNode } from 'react';
3
+
4
+ type KeepCollectionCreateProps = Omit<InputHTMLAttributes<HTMLInputElement>, "onSubmit" | "onChange"> & {
5
+ /** Called with the new collection ID after successful creation. */
6
+ onCreated?: (id: string) => void;
7
+ /** Called when creation fails (e.g. duplicate name). */
8
+ onError?: (error: unknown) => void;
9
+ /** Custom label for the input field. */
10
+ label?: ReactNode;
11
+ /** Custom label for the submit button. */
12
+ submitLabel?: ReactNode;
13
+ /** Placeholder text for the input. */
14
+ placeholder?: string;
15
+ };
16
+ /** A compact form for creating new named collections. */
17
+ declare function KeepCollectionCreate(props: KeepCollectionCreateProps): react.JSX.Element;
18
+
19
+ export { KeepCollectionCreate, type KeepCollectionCreateProps };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepCollectionCreate
4
+ } from "../chunk-M46GROWD.js";
5
+ import "../chunk-LKNVVPTN.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepCollectionCreate
9
+ };
10
+ //# sourceMappingURL=collection-create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,3 @@
1
+ export { K as KeepCollectionControlProps, a as KeepCollectionFilter, b as KeepCollectionOption } from '../collection-select-X6WKM--x.js';
2
+ import 'react';
3
+ import '@keepkit/core/core';
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepCollectionFilter
4
+ } from "../chunk-CIVXLU4D.js";
5
+ import "../chunk-NOPTRHRR.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepCollectionFilter
9
+ };
10
+ //# sourceMappingURL=collection-filter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,29 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ type KeepCollectionManagerProps = Omit<HTMLAttributes<HTMLElement>, "children" | "title" | "onError"> & {
5
+ /** Enables the built-in collection creation form. */
6
+ allowCreate?: boolean;
7
+ /** Enables inline collection renaming. */
8
+ allowRename?: boolean;
9
+ /** Enables inline collection deletion with confirmation. */
10
+ allowDelete?: boolean;
11
+ /** Shows item counts beside collection names. */
12
+ showCounts?: boolean;
13
+ /** Optional heading content. Defaults to the localized management label. */
14
+ title?: ReactNode;
15
+ /** Optional description rendered below the heading. */
16
+ description?: ReactNode;
17
+ /** Optional content rendered when there are no collections. */
18
+ empty?: ReactNode;
19
+ /** Replaces derived collection names in the management list. */
20
+ collectionLabels?: Record<string, string>;
21
+ onCreated?: (id: string) => void;
22
+ onRenamed?: (id: string, name: string) => void | Promise<void>;
23
+ onDeleted?: (id: string) => void | Promise<void>;
24
+ onError?: (error: unknown) => void;
25
+ };
26
+ /** A headless collection manager for creating, renaming, and removing collections. */
27
+ declare function KeepCollectionManager<TMeta = Record<string, unknown>>({ allowCreate, allowRename, allowDelete, showCounts, title, description, empty, collectionLabels, onCreated, onRenamed, onDeleted, onError, className, ...rootProps }: KeepCollectionManagerProps): react.JSX.Element;
28
+
29
+ export { KeepCollectionManager, type KeepCollectionManagerProps };
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import {
3
+ KeepCollectionManager
4
+ } from "../chunk-5ETQGHPV.js";
5
+ import "../chunk-M46GROWD.js";
6
+ import "../chunk-NOPTRHRR.js";
7
+ import "../chunk-LKNVVPTN.js";
8
+ import "../chunk-M3UORQXZ.js";
9
+ export {
10
+ KeepCollectionManager
11
+ };
12
+ //# sourceMappingURL=collection-manager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,3 @@
1
+ export { K as KeepCollectionControlProps, b as KeepCollectionOption, c as KeepCollectionSelect } from '../collection-select-X6WKM--x.js';
2
+ import 'react';
3
+ import '@keepkit/core/core';
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepCollectionSelect
4
+ } from "../chunk-CIVXLU4D.js";
5
+ import "../chunk-NOPTRHRR.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepCollectionSelect
9
+ };
10
+ //# sourceMappingURL=collection-select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ export { a as KeepCollection, b as KeepCollectionFeature, K as KeepCollectionProps, c as KeepCollectionRevealRequest, d as KeepCollectionRevealResult, e as KeepCollectionSlots, f as KeepCollectionToolbarContent, g as KeepCollectionToolbarGroup, h as KeepCollectionToolbarLayout, i as KeepCollectionToolbarVariant, k as KeepLayoutPreset } from '../list-C350Dche.js';
2
+ import 'react';
3
+ import '@keepkit/core/core';
4
+ import '@keepkit/core/react';
5
+ import '../highlight-BFeqa6kU.js';
6
+ import './item-card.js';
7
+ import '../pin-button-DK3j0atw.js';
8
+ import './button.js';
9
+ import '../quick-editor-BpsvwjQS.js';
10
+ import './last-activity.js';
11
+ import './archive-scope-select.js';
@@ -0,0 +1,32 @@
1
+ "use client";
2
+ import {
3
+ KeepCollection
4
+ } from "../chunk-PE57SLZO.js";
5
+ import "../chunk-YCUQ2YTP.js";
6
+ import "../chunk-6JKG6SKJ.js";
7
+ import "../chunk-PZHARNLY.js";
8
+ import "../chunk-RKYQGWKB.js";
9
+ import "../chunk-K2L44I7D.js";
10
+ import "../chunk-QOCX37A5.js";
11
+ import "../chunk-VTPSR3LD.js";
12
+ import "../chunk-7DOB3Z6F.js";
13
+ import "../chunk-BYYWJGSN.js";
14
+ import "../chunk-6753KF4D.js";
15
+ import "../chunk-WB6NBGC2.js";
16
+ import "../chunk-P2WLTFPG.js";
17
+ import "../chunk-SYLOO5TX.js";
18
+ import "../chunk-GZEFBTVD.js";
19
+ import "../chunk-BW4SUJIX.js";
20
+ import "../chunk-M46GROWD.js";
21
+ import "../chunk-CIVXLU4D.js";
22
+ import "../chunk-NOPTRHRR.js";
23
+ import "../chunk-JJ4L5AKR.js";
24
+ import "../chunk-RIWL3IPZ.js";
25
+ import "../chunk-NVFKN4NU.js";
26
+ import "../chunk-Q7IEJ2YF.js";
27
+ import "../chunk-LKNVVPTN.js";
28
+ import "../chunk-M3UORQXZ.js";
29
+ export {
30
+ KeepCollection
31
+ };
32
+ //# sourceMappingURL=collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,17 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ type KeepEmptyStateVariant = "empty-storage" | "empty-filtered";
5
+ type KeepEmptyStateProps = Omit<HTMLAttributes<HTMLElement>, "children" | "title"> & {
6
+ title?: ReactNode;
7
+ description?: ReactNode;
8
+ action?: ReactNode;
9
+ children?: ReactNode;
10
+ variant?: KeepEmptyStateVariant;
11
+ onClearFilters?: () => void;
12
+ asChild?: boolean;
13
+ };
14
+ /** An accessible empty state that distinguishes an empty store from an empty filter result. */
15
+ declare function KeepEmptyState({ title, description, action, children, variant, onClearFilters, asChild, className, ...rootProps }: KeepEmptyStateProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
16
+
17
+ export { KeepEmptyState, type KeepEmptyStateProps, type KeepEmptyStateVariant };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ KeepEmptyState
4
+ } from "../chunk-RIWL3IPZ.js";
5
+ import "../chunk-LKNVVPTN.js";
6
+ import "../chunk-M3UORQXZ.js";
7
+ export {
8
+ KeepEmptyState
9
+ };
10
+ //# sourceMappingURL=empty-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ export { KeepErrorBoundary, KeepErrorBoundaryProps } from '@keepkit/core/react';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+
3
+ // src/entries/error-boundary.ts
4
+ import { KeepErrorBoundary } from "@keepkit/core/react";
5
+ export {
6
+ KeepErrorBoundary
7
+ };
8
+ //# sourceMappingURL=error-boundary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/entries/error-boundary.ts"],"sourcesContent":["\"use client\";\n\nexport { KeepErrorBoundary, type KeepErrorBoundaryProps } from \"@keepkit/core/react\";\n"],"mappings":";;;AAEA,SAAS,yBAAsD;","names":[]}
@@ -0,0 +1,12 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes } from 'react';
3
+ import { KeepStorageRecovery } from '@keepkit/core/storage';
4
+
5
+ type KeepFallbackRecoveryProps<TMeta = Record<string, unknown>> = Omit<HTMLAttributes<HTMLElement>, "children"> & {
6
+ /** Pass a standalone local adapter's capability before initializing remote synchronization. */
7
+ recovery: KeepStorageRecovery<TMeta>;
8
+ };
9
+ /** Compares persisted versions without writing; only an explicit reviewed apply commits a repair. */
10
+ declare function KeepFallbackRecovery<TMeta = Record<string, unknown>>({ recovery, ...props }: KeepFallbackRecoveryProps<TMeta>): react.JSX.Element;
11
+
12
+ export { KeepFallbackRecovery, type KeepFallbackRecoveryProps };
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ KeepFallbackRecovery
4
+ } from "../chunk-AQOSZ6AW.js";
5
+ import "../chunk-M3UORQXZ.js";
6
+ export {
7
+ KeepFallbackRecovery
8
+ };
9
+ //# sourceMappingURL=fallback-recovery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,23 @@
1
+ import * as react from 'react';
2
+ import { CSSProperties, ReactNode } from 'react';
3
+ import { KeepItem } from '@keepkit/core/core';
4
+
5
+ type KeepFloatingTourProps<TMeta = Record<string, unknown>> = {
6
+ currentId?: string;
7
+ getItemHref?: (item: KeepItem<TMeta>) => string;
8
+ getBackHref?: () => string;
9
+ onNavigate?: (direction: "prev" | "next", item: KeepItem<TMeta>) => void;
10
+ onBack?: () => void | Promise<void>;
11
+ position?: "bottom-center" | "bottom-left" | "bottom-right";
12
+ offset?: number | string;
13
+ zIndex?: number;
14
+ className?: string;
15
+ style?: CSSProperties;
16
+ keyboardShortcuts?: boolean;
17
+ showShortcutHint?: boolean;
18
+ children?: ReactNode;
19
+ };
20
+ /** A fixed, portal-rendered tour bar that does not consume host layout space. */
21
+ declare function KeepFloatingTour<TMeta = Record<string, unknown>>({ currentId, getItemHref, getBackHref, onNavigate, onBack, position, offset, zIndex, className, style, keyboardShortcuts, showShortcutHint, }: KeepFloatingTourProps<TMeta>): react.ReactPortal | null;
22
+
23
+ export { KeepFloatingTour, type KeepFloatingTourProps };
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import {
3
+ KeepFloatingTour
4
+ } from "../chunk-XKWDO5VL.js";
5
+ import "../chunk-HFXB4S72.js";
6
+ import "../chunk-ZCDLWGQV.js";
7
+ import "../chunk-URE4EGL2.js";
8
+ import "../chunk-NSYL6RSY.js";
9
+ import "../chunk-LKNVVPTN.js";
10
+ import "../chunk-M3UORQXZ.js";
11
+ export {
12
+ KeepFloatingTour
13
+ };
14
+ //# sourceMappingURL=floating-tour.js.map