convex-feedback-ui 0.1.1

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 (118) hide show
  1. package/README.md +187 -0
  2. package/dist/.tsbuildinfo +1 -0
  3. package/dist/native/context.d.ts +10 -0
  4. package/dist/native/context.d.ts.map +1 -0
  5. package/dist/native/context.js +33 -0
  6. package/dist/native/context.js.map +1 -0
  7. package/dist/native/index.d.ts +7 -0
  8. package/dist/native/index.d.ts.map +1 -0
  9. package/dist/native/index.js +6 -0
  10. package/dist/native/index.js.map +1 -0
  11. package/dist/native/primitives.d.ts +94 -0
  12. package/dist/native/primitives.d.ts.map +1 -0
  13. package/dist/native/primitives.js +303 -0
  14. package/dist/native/primitives.js.map +1 -0
  15. package/dist/native/screen.d.ts +3 -0
  16. package/dist/native/screen.d.ts.map +1 -0
  17. package/dist/native/screen.js +284 -0
  18. package/dist/native/screen.js.map +1 -0
  19. package/dist/react/context.d.ts +22 -0
  20. package/dist/react/context.d.ts.map +1 -0
  21. package/dist/react/context.js +41 -0
  22. package/dist/react/context.js.map +1 -0
  23. package/dist/react/index.d.ts +7 -0
  24. package/dist/react/index.d.ts.map +1 -0
  25. package/dist/react/index.js +6 -0
  26. package/dist/react/index.js.map +1 -0
  27. package/dist/react/primitives.d.ts +105 -0
  28. package/dist/react/primitives.d.ts.map +1 -0
  29. package/dist/react/primitives.js +217 -0
  30. package/dist/react/primitives.js.map +1 -0
  31. package/dist/react/screen.d.ts +6 -0
  32. package/dist/react/screen.d.ts.map +1 -0
  33. package/dist/react/screen.js +152 -0
  34. package/dist/react/screen.js.map +1 -0
  35. package/dist/react/styles.css +299 -0
  36. package/dist/shared/messages.d.ts +4 -0
  37. package/dist/shared/messages.d.ts.map +1 -0
  38. package/dist/shared/messages.js +85 -0
  39. package/dist/shared/messages.js.map +1 -0
  40. package/dist/shared/render.d.ts +4 -0
  41. package/dist/shared/render.d.ts.map +1 -0
  42. package/dist/shared/render.js +6 -0
  43. package/dist/shared/render.js.map +1 -0
  44. package/dist/shared/theme.d.ts +4 -0
  45. package/dist/shared/theme.d.ts.map +1 -0
  46. package/dist/shared/theme.js +23 -0
  47. package/dist/shared/theme.js.map +1 -0
  48. package/dist/shared/types/board.d.ts +43 -0
  49. package/dist/shared/types/board.d.ts.map +1 -0
  50. package/dist/shared/types/board.js +2 -0
  51. package/dist/shared/types/board.js.map +1 -0
  52. package/dist/shared/types/comment.d.ts +85 -0
  53. package/dist/shared/types/comment.d.ts.map +1 -0
  54. package/dist/shared/types/comment.js +2 -0
  55. package/dist/shared/types/comment.js.map +1 -0
  56. package/dist/shared/types/context.d.ts +68 -0
  57. package/dist/shared/types/context.d.ts.map +1 -0
  58. package/dist/shared/types/context.js +2 -0
  59. package/dist/shared/types/context.js.map +1 -0
  60. package/dist/shared/types/entry.d.ts +41 -0
  61. package/dist/shared/types/entry.d.ts.map +1 -0
  62. package/dist/shared/types/entry.js +2 -0
  63. package/dist/shared/types/entry.js.map +1 -0
  64. package/dist/shared/types/form.d.ts +25 -0
  65. package/dist/shared/types/form.d.ts.map +1 -0
  66. package/dist/shared/types/form.js +2 -0
  67. package/dist/shared/types/form.js.map +1 -0
  68. package/dist/shared/types/helpers.d.ts +2 -0
  69. package/dist/shared/types/helpers.d.ts.map +1 -0
  70. package/dist/shared/types/helpers.js +2 -0
  71. package/dist/shared/types/helpers.js.map +1 -0
  72. package/dist/shared/types/index.d.ts +10 -0
  73. package/dist/shared/types/index.d.ts.map +1 -0
  74. package/dist/shared/types/index.js +2 -0
  75. package/dist/shared/types/index.js.map +1 -0
  76. package/dist/shared/types/messages.d.ts +117 -0
  77. package/dist/shared/types/messages.d.ts.map +1 -0
  78. package/dist/shared/types/messages.js +2 -0
  79. package/dist/shared/types/messages.js.map +1 -0
  80. package/dist/shared/types/render.d.ts +12 -0
  81. package/dist/shared/types/render.d.ts.map +1 -0
  82. package/dist/shared/types/render.js +2 -0
  83. package/dist/shared/types/render.js.map +1 -0
  84. package/dist/shared/types/screen.d.ts +95 -0
  85. package/dist/shared/types/screen.d.ts.map +1 -0
  86. package/dist/shared/types/screen.js +2 -0
  87. package/dist/shared/types/screen.js.map +1 -0
  88. package/dist/shared/types/theme.d.ts +48 -0
  89. package/dist/shared/types/theme.d.ts.map +1 -0
  90. package/dist/shared/types/theme.js +2 -0
  91. package/dist/shared/types/theme.js.map +1 -0
  92. package/package.json +58 -0
  93. package/src/native/README.md +17 -0
  94. package/src/native/context.tsx +74 -0
  95. package/src/native/index.ts +39 -0
  96. package/src/native/primitives.tsx +730 -0
  97. package/src/native/screen.tsx +831 -0
  98. package/src/react/README.md +7 -0
  99. package/src/react/context.tsx +83 -0
  100. package/src/react/index.ts +42 -0
  101. package/src/react/primitives.tsx +589 -0
  102. package/src/react/screen.tsx +633 -0
  103. package/src/react/styles.css +299 -0
  104. package/src/shared/README.md +9 -0
  105. package/src/shared/messages.ts +99 -0
  106. package/src/shared/render.ts +12 -0
  107. package/src/shared/theme.ts +27 -0
  108. package/src/shared/types/board.ts +48 -0
  109. package/src/shared/types/comment.ts +101 -0
  110. package/src/shared/types/context.ts +81 -0
  111. package/src/shared/types/entry.ts +48 -0
  112. package/src/shared/types/form.ts +27 -0
  113. package/src/shared/types/helpers.ts +1 -0
  114. package/src/shared/types/index.ts +45 -0
  115. package/src/shared/types/messages.ts +160 -0
  116. package/src/shared/types/render.ts +12 -0
  117. package/src/shared/types/screen.ts +123 -0
  118. package/src/shared/types/theme.ts +61 -0
@@ -0,0 +1,43 @@
1
+ import type { FeedbackColorProps } from "./context.js";
2
+ import type { RenderChildren } from "./render.js";
3
+ /**
4
+ * Platform-neutral props shared by `FeedbackBoard.Root` implementations.
5
+ *
6
+ * Platform-specific root props extend this interface with their native host
7
+ * element props (`HTMLAttributes` on web and `ViewProps` on React Native).
8
+ */
9
+ export interface BoardRootBaseProps extends FeedbackColorProps {
10
+ /**
11
+ * Overrides provider-level `unstyled` for this board.
12
+ */
13
+ unstyled?: boolean;
14
+ }
15
+ /**
16
+ * State supplied to a custom `FeedbackBoard.Search` render-function child.
17
+ */
18
+ export interface BoardSearchState {
19
+ /** Current controlled search value. */
20
+ value: string;
21
+ /** Updates the controlled search value. */
22
+ setValue: (value: string) => void;
23
+ }
24
+ /**
25
+ * Platform-neutral props shared by `FeedbackBoard.Search` implementations.
26
+ *
27
+ * Web and native search props should extend this interface and add only their
28
+ * host input props.
29
+ */
30
+ export interface BoardSearchBaseProps {
31
+ /** Controlled search value. */
32
+ value: string;
33
+ /** Called whenever the user changes the search value. */
34
+ onValueChange: (value: string) => void;
35
+ /**
36
+ * Normal children replace the default content. A render-function child
37
+ * replaces the complete visual implementation while retaining controlled
38
+ * search state.
39
+ *
40
+ */
41
+ children?: RenderChildren<BoardSearchState> | undefined;
42
+ }
43
+ //# sourceMappingURL=board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"board.d.ts","sourceRoot":"","sources":["../../../src/shared/types/board.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;;;;GAKG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IAEd,2CAA2C;IAC3C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IAEd,yDAAyD;IACzD,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEvC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CACzD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=board.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"board.js","sourceRoot":"","sources":["../../../src/shared/types/board.ts"],"names":[],"mappings":""}
@@ -0,0 +1,85 @@
1
+ import type { FeedbackComment } from "convex-feedback";
2
+ import type { RenderChildren } from "./render.js";
3
+ /**
4
+ * Platform-neutral props shared by `Comment.Root` implementations.
5
+ */
6
+ export interface CommentRootBaseProps {
7
+ /** Comment exposed to every nested `Comment.*` primitive. */
8
+ comment: FeedbackComment;
9
+ }
10
+ /**
11
+ * State and actions exposed to a custom `Comment.Like` renderer.
12
+ */
13
+ export interface CommentLikeState {
14
+ /** Current comment. */
15
+ comment: FeedbackComment;
16
+ /** Whether the current viewer currently likes the comment. */
17
+ active: boolean;
18
+ /** Current total like count. */
19
+ count: number;
20
+ /** Requests the opposite of the current like state. */
21
+ toggle: () => void | Promise<void>;
22
+ }
23
+ /**
24
+ * Platform-neutral props shared by `Comment.Like` implementations.
25
+ */
26
+ export interface CommentLikeBaseProps {
27
+ /**
28
+ * Called with the desired final like state.
29
+ *
30
+ * `true` ensures the viewer likes the comment. `false` ensures the viewer
31
+ * does not like it. The server mutation is idempotent rather than toggle-
32
+ * based.
33
+ */
34
+ onToggle: (desiredState: boolean) => void | Promise<void>;
35
+ /**
36
+ * Normal children replace the default content. A render-function child
37
+ * replaces the complete control and receives `CommentLikeState`.
38
+ */
39
+ children?: RenderChildren<CommentLikeState> | undefined;
40
+ }
41
+ /**
42
+ * State exposed to simple comment action renderers such as `Comment.Reply`.
43
+ */
44
+ export interface CommentActionState {
45
+ /** Current comment. */
46
+ comment: FeedbackComment;
47
+ /** Activates the action. */
48
+ activate: () => void;
49
+ }
50
+ /**
51
+ * Platform-neutral props shared by simple comment action primitives.
52
+ */
53
+ export interface CommentActionBaseProps {
54
+ /** Called when the action is activated. */
55
+ onActivate: () => void;
56
+ /**
57
+ * Normal children replace the default content. A render-function child
58
+ * replaces the complete control and receives `CommentActionState`.
59
+ */
60
+ children?: RenderChildren<CommentActionState> | undefined;
61
+ }
62
+ /**
63
+ * State exposed to a custom lazy-replies control.
64
+ */
65
+ export interface RepliesButtonState extends CommentActionState {
66
+ /** Whether this direct-reply branch is currently expanded. */
67
+ expanded: boolean;
68
+ /** Number of direct replies available for the comment. */
69
+ count: number;
70
+ }
71
+ /**
72
+ * Platform-neutral props shared by `Comment.RepliesButton` implementations.
73
+ */
74
+ export interface RepliesButtonBaseProps {
75
+ /** Whether direct replies are currently displayed. */
76
+ expanded: boolean;
77
+ /** Requests a new expanded/collapsed state. */
78
+ onExpandedChange: (expanded: boolean) => void;
79
+ /**
80
+ * Normal children replace the default content. A render-function child
81
+ * replaces the complete control and receives `RepliesButtonState`.
82
+ */
83
+ children?: RenderChildren<RepliesButtonState> | undefined;
84
+ }
85
+ //# sourceMappingURL=comment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/shared/types/comment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,6DAA6D;IAC7D,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,uBAAuB;IACvB,OAAO,EAAE,eAAe,CAAC;IAEzB,8DAA8D;IAC9D,MAAM,EAAE,OAAO,CAAC;IAEhB,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IAEd,uDAAuD;IACvD,MAAM,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1D;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CACzD;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,uBAAuB;IACvB,OAAO,EAAE,eAAe,CAAC;IAEzB,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,2CAA2C;IAC3C,UAAU,EAAE,MAAM,IAAI,CAAC;IAEvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D,8DAA8D;IAC9D,QAAQ,EAAE,OAAO,CAAC;IAElB,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,sDAAsD;IACtD,QAAQ,EAAE,OAAO,CAAC;IAElB,+CAA+C;IAC/C,gBAAgB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAE9C;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;CAC3D"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../src/shared/types/comment.ts"],"names":[],"mappings":""}
@@ -0,0 +1,68 @@
1
+ import type { ReactNode } from "react";
2
+ import type { FeedbackMessageOverrides, FeedbackMessages } from "./messages";
3
+ import type { FeedbackTheme, FeedbackThemeOverride } from "./theme";
4
+ /**
5
+ * Resolved feedback UI configuration available through `useFeedbackUi`.
6
+ *
7
+ * This contract is shared by the React DOM and React Native implementations.
8
+ */
9
+ export interface FeedbackUiContextValue {
10
+ /** Fully resolved and localized UI messages. */
11
+ messages: FeedbackMessages;
12
+ /** Fully resolved visual theme. */
13
+ theme: FeedbackTheme;
14
+ /**
15
+ * Whether package-provided default styling is disabled.
16
+ *
17
+ * Behavioral and structural functionality remains available when enabled.
18
+ */
19
+ unstyled: boolean;
20
+ }
21
+ /**
22
+ * Props shared by the React DOM and React Native feedback providers.
23
+ */
24
+ export interface FeedbackProviderProps {
25
+ /** Feedback UI rendered within the provider. */
26
+ children: ReactNode;
27
+ /**
28
+ * Partial localization or copy overrides.
29
+ *
30
+ * Unspecified values fall back to the built-in English messages.
31
+ */
32
+ messages?: FeedbackMessageOverrides;
33
+ /**
34
+ * Partial visual-theme overrides.
35
+ *
36
+ * Unspecified values fall back to the default feedback theme.
37
+ */
38
+ theme?: FeedbackThemeOverride;
39
+ /**
40
+ * Disables package-provided default styling.
41
+ *
42
+ * @default false
43
+ */
44
+ unstyled?: boolean;
45
+ }
46
+ /**
47
+ * Convenient semantic color overrides accepted by feedback UI containers.
48
+ *
49
+ * These override equivalent values from the provider theme for the
50
+ * corresponding subtree.
51
+ */
52
+ export interface FeedbackColorProps {
53
+ /** Primary interaction and accent color. */
54
+ primaryColor?: string;
55
+ /** Main background color. */
56
+ backgroundColor?: string;
57
+ /** Card and control surface color. */
58
+ surfaceColor?: string;
59
+ /** Primary text color. */
60
+ textColor?: string;
61
+ /** Secondary and helper text color. */
62
+ mutedColor?: string;
63
+ /** Border and separator color. */
64
+ borderColor?: string;
65
+ /** Destructive and error-state color. */
66
+ dangerColor?: string;
67
+ }
68
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/shared/types/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,gDAAgD;IAChD,QAAQ,EAAE,gBAAgB,CAAC;IAE3B,mCAAmC;IACnC,KAAK,EAAE,aAAa,CAAC;IAErB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,gDAAgD;IAChD,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IAEpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,4CAA4C;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,sCAAsC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/shared/types/context.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ import type { FeedbackEntry } from "convex-feedback";
2
+ import type { RenderChildren } from "./render.js";
3
+ /**
4
+ * Platform-neutral props shared by `FeedbackEntry.Root` implementations.
5
+ */
6
+ export interface EntryRootBaseProps {
7
+ /** Entry exposed to every nested `FeedbackEntry.*` primitive. */
8
+ entry: FeedbackEntry;
9
+ }
10
+ /**
11
+ * State and actions exposed to a custom `FeedbackEntry.Upvote` renderer.
12
+ */
13
+ export interface EntryUpvoteState {
14
+ /** Current entry. */
15
+ entry: FeedbackEntry;
16
+ /** Whether the current viewer has upvoted the entry. */
17
+ active: boolean;
18
+ /** Current total upvote count. */
19
+ count: number;
20
+ /** Requests the opposite of the current upvote state. */
21
+ toggle: () => void | Promise<void>;
22
+ }
23
+ /**
24
+ * Platform-neutral props shared by `FeedbackEntry.Upvote` implementations.
25
+ */
26
+ export interface EntryUpvoteBaseProps {
27
+ /**
28
+ * Called with the desired final upvote state.
29
+ *
30
+ * `true` means ensure the viewer has upvoted the entry. `false` means ensure
31
+ * the viewer has not upvoted it. The server mutation is state-setting rather
32
+ * than toggle-based so it remains idempotent.
33
+ */
34
+ onToggle: (desiredState: boolean) => void | Promise<void>;
35
+ /**
36
+ * Normal children replace the default content. A render-function child
37
+ * replaces the complete control and receives `EntryUpvoteState`.
38
+ */
39
+ children?: RenderChildren<EntryUpvoteState> | undefined;
40
+ }
41
+ //# sourceMappingURL=entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry.d.ts","sourceRoot":"","sources":["../../../src/shared/types/entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,iEAAiE;IACjE,KAAK,EAAE,aAAa,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB;IACrB,KAAK,EAAE,aAAa,CAAC;IAErB,wDAAwD;IACxD,MAAM,EAAE,OAAO,CAAC;IAEhB,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IAEd,yDAAyD;IACzD,MAAM,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1D;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CACzD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../src/shared/types/entry.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import type { RenderChildren } from "./render.js";
2
+ /**
3
+ * State exposed to a custom `FeedbackForm.Submit` renderer.
4
+ */
5
+ export interface FormSubmitState {
6
+ /** Whether form submission is currently in progress. */
7
+ submitting: boolean;
8
+ }
9
+ /**
10
+ * Platform-neutral props shared by `FeedbackForm.Submit` implementations.
11
+ */
12
+ export interface FormSubmitBaseProps {
13
+ /**
14
+ * Whether form submission is currently in progress.
15
+ *
16
+ * @default false
17
+ */
18
+ submitting?: boolean | undefined;
19
+ /**
20
+ * Normal children replace the default content. A render-function child
21
+ * replaces the complete control and receives `FormSubmitState`.
22
+ */
23
+ children?: RenderChildren<FormSubmitState> | undefined;
24
+ }
25
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/shared/types/form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,wDAAwD;IACxD,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;CACxD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.js","sourceRoot":"","sources":["../../../src/shared/types/form.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export type Require<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
2
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/shared/types/helpers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/shared/types/helpers.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export type { BoardRootBaseProps, BoardSearchBaseProps, BoardSearchState, } from "./board.js";
2
+ export type { CommentActionBaseProps, CommentActionState, CommentLikeBaseProps, CommentLikeState, CommentRootBaseProps, RepliesButtonBaseProps, RepliesButtonState, } from "./comment.js";
3
+ export type { FeedbackColorProps, FeedbackProviderProps, FeedbackUiContextValue, } from "./context.js";
4
+ export type { EntryRootBaseProps, EntryUpvoteBaseProps, EntryUpvoteState, } from "./entry.js";
5
+ export type { FormSubmitBaseProps, FormSubmitState } from "./form.js";
6
+ export type { FeedbackMessageOverrides, FeedbackMessages } from "./messages.js";
7
+ export type { RenderChildren } from "./render.js";
8
+ export type { FeedbackActorRenderer, FeedbackCommentTransform, FeedbackScreenBaseProps, FeedbackScreenBodyProps, FeedbackScreenCommentBranchProps, FeedbackScreenEntryBaseProps, FeedbackScreenEntryCardProps, FeedbackScreenEntryDetailProps, FeedbackScreenEntryModalProps, FeedbackScreenReplyListProps, FeedbackScreenRootProps, } from "./screen.js";
9
+ export type { FeedbackColors, FeedbackTheme, FeedbackThemeOverride, } from "./theme.js";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACtE,YAAY,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAChF,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,cAAc,EACd,aAAa,EACb,qBAAqB,GACtB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/types/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,117 @@
1
+ import type { EntryKind, EntryStatus } from "convex-feedback";
2
+ /**
3
+ * Localizable package-owned UI copy used by both React DOM and React Native.
4
+ *
5
+ * User-generated entry and comment content is never translated or rewritten
6
+ * by the UI package.
7
+ */
8
+ export interface FeedbackMessages {
9
+ /** Feedback-board copy. */
10
+ board: {
11
+ /** Main board heading. */
12
+ title: string;
13
+ /** Supporting copy shown near the board heading. */
14
+ subtitle: string;
15
+ /** Search input placeholder. */
16
+ searchPlaceholder: string;
17
+ /** CTA for opening the create-entry flow. */
18
+ createEntry: string;
19
+ /** Empty-state copy when no entries exist. */
20
+ noEntries: string;
21
+ /** Empty-state copy when a search produces no results. */
22
+ noSearchResults: string;
23
+ /** Generic loading copy. */
24
+ loading: string;
25
+ /** Entry pagination CTA. */
26
+ loadMore: string;
27
+ };
28
+ /** Localized display labels for each fixed entry kind. */
29
+ kinds: Record<EntryKind, string>;
30
+ /** Localized display labels for each fixed workflow status. */
31
+ statuses: Record<EntryStatus, string>;
32
+ /** Entry-level action and counter copy. */
33
+ entry: {
34
+ /** Accessible/default label for adding an upvote. */
35
+ upvote: string;
36
+ /** Accessible/default label for removing an upvote. */
37
+ removeUpvote: string;
38
+ /** Formats the total comment count. */
39
+ comments: (count: number) => string;
40
+ /** Label for opening an entry. */
41
+ open: string;
42
+ /** Label for returning to the feedback list. */
43
+ back: string;
44
+ };
45
+ /** Create-entry form copy. */
46
+ form: {
47
+ /** Entry-kind field label. */
48
+ kind: string;
49
+ /** Entry-title field label. */
50
+ title: string;
51
+ /** Entry-title placeholder. */
52
+ titlePlaceholder: string;
53
+ /** Entry-body field label. */
54
+ body: string;
55
+ /** Entry-body placeholder. */
56
+ bodyPlaceholder: string;
57
+ /** Create-entry submit CTA. */
58
+ submit: string;
59
+ /** Generic form/dialog cancel action. */
60
+ cancel: string;
61
+ /** Heading shown when likely duplicate entries are found. */
62
+ possibleDuplicates: string;
63
+ /** Heading shown when an exact normalized-title match exists. */
64
+ exactDuplicate: string;
65
+ /** Warning shown before submitting while duplicate suggestions exist. */
66
+ duplicateWarning: string;
67
+ /** Confirmation action that submits despite duplicate suggestions. */
68
+ submitAnyway: string;
69
+ };
70
+ /** Comment-thread copy. */
71
+ comments: {
72
+ /** Discussion/thread heading. */
73
+ title: string;
74
+ /** Comment/reply input placeholder. */
75
+ placeholder: string;
76
+ /** Top-level comment submit action. */
77
+ submit: string;
78
+ /** Reply action. */
79
+ reply: string;
80
+ /** Cancels an in-progress reply. */
81
+ cancelReply: string;
82
+ /** Adds a comment like. */
83
+ like: string;
84
+ /** Removes a comment like. */
85
+ unlike: string;
86
+ /** Formats the lazy-load-replies action for a direct-reply count. */
87
+ viewReplies: (count: number) => string;
88
+ /** Collapses an expanded reply branch. */
89
+ hideReplies: string;
90
+ /** Placeholder copy for a soft-deleted comment. */
91
+ deleted: string;
92
+ /** Empty-state copy when no comments exist. */
93
+ noComments: string;
94
+ /** Comment/reply pagination CTA. */
95
+ loadMore: string;
96
+ };
97
+ }
98
+ /**
99
+ * Partial localization/copy overrides for the feedback UI.
100
+ *
101
+ * Values not supplied here fall back to the package's built-in English copy.
102
+ */
103
+ export interface FeedbackMessageOverrides {
104
+ /** Board copy overrides. */
105
+ board?: Partial<FeedbackMessages["board"]> | undefined;
106
+ /** Entry-kind label overrides. */
107
+ kinds?: Partial<FeedbackMessages["kinds"]> | undefined;
108
+ /** Workflow-status label overrides. */
109
+ statuses?: Partial<FeedbackMessages["statuses"]> | undefined;
110
+ /** Entry action/counter copy overrides. */
111
+ entry?: Partial<FeedbackMessages["entry"]> | undefined;
112
+ /** Create-entry form copy overrides. */
113
+ form?: Partial<FeedbackMessages["form"]> | undefined;
114
+ /** Comment-thread copy overrides. */
115
+ comments?: Partial<FeedbackMessages["comments"]> | undefined;
116
+ }
117
+ //# sourceMappingURL=messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.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AC;IAEvD,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,GAAG,SAAS,CAAC;IAE7D,2CAA2C;IAC3C,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAEvD,wCAAwC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAErD,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,GAAG,SAAS,CAAC;CAC9D"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/shared/types/messages.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from "react";
2
+ /**
3
+ * Children accepted by replaceable feedback UI primitives.
4
+ *
5
+ * Pass normal React children to replace only the primitive's default content,
6
+ * or pass a render function to replace the complete visual implementation
7
+ * while retaining the primitive's typed state and actions.
8
+ *
9
+ * @typeParam State - State and actions exposed to a render-function child.
10
+ */
11
+ export type RenderChildren<State> = ReactNode | ((state: State) => ReactNode);
12
+ //# sourceMappingURL=render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/shared/types/render.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,CAAC,KAAK,IAAI,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,SAAS,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.js","sourceRoot":"","sources":["../../../src/shared/types/render.ts"],"names":[],"mappings":""}
@@ -0,0 +1,95 @@
1
+ import type { CommentSort, EntryKind, EntrySort, FeedbackComment, FeedbackEntry } from "convex-feedback";
2
+ import type { FeedbackHooks } from "convex-feedback/react";
3
+ import type { ReactNode } from "react";
4
+ import type { FeedbackColorProps, FeedbackProviderProps } from "./context.js";
5
+ import type { Require } from "./helpers.js";
6
+ /**
7
+ * Presentation-only transform applied to one currently loaded comment page.
8
+ *
9
+ * This does not affect Convex ordering, pagination, or which descendants are
10
+ * loaded. It is intended only for host-specific presentation transforms.
11
+ */
12
+ export type FeedbackCommentTransform = (comments: readonly FeedbackComment[]) => readonly FeedbackComment[];
13
+ /**
14
+ * Host renderer for actor information associated with entries/comments.
15
+ *
16
+ * The feedback component stores only stable actor IDs; profile data remains
17
+ * owned by the host application.
18
+ */
19
+ export type FeedbackActorRenderer = (actorId: string) => ReactNode;
20
+ export interface FeedbackScreenBaseProps extends FeedbackColorProps {
21
+ /** Hooks created with `createFeedbackHooks`. */
22
+ hooks: FeedbackHooks;
23
+ /**
24
+ * Server-side ordering used by the feedback board.
25
+ *
26
+ * @default "top"
27
+ */
28
+ entrySort?: EntrySort;
29
+ /**
30
+ * Server-side ordering used independently at every loaded comment/reply
31
+ * level.
32
+ *
33
+ * @default "top"
34
+ */
35
+ commentSort?: CommentSort;
36
+ /**
37
+ * Entry kinds visible in the board/search and available in the create form.
38
+ *
39
+ * The prebuilt screen passes these kinds into the Convex list/search queries;
40
+ * filtering must not be performed after pagination on the client.
41
+ *
42
+ * @default ["feedback", "feature_request", "bug_report"]
43
+ */
44
+ enabledKinds?: readonly EntryKind[];
45
+ /**
46
+ * Maximum nesting depth for which the prebuilt UI exposes a Reply action.
47
+ *
48
+ * The server-side component configuration remains authoritative and may
49
+ * reject a reply if this value exceeds the configured backend maximum.
50
+ *
51
+ * @default 5
52
+ */
53
+ maxCommentDepth?: number;
54
+ /**
55
+ * Optional presentation-only transform applied to each loaded page of
56
+ * comments/replies before rendering.
57
+ */
58
+ transformComments?: FeedbackCommentTransform;
59
+ /**
60
+ * Optional host renderer for actor IDs, useful for names, avatars, or other
61
+ * host-owned profile information.
62
+ */
63
+ renderActor?: FeedbackActorRenderer;
64
+ }
65
+ export interface FeedbackScreenRootProps extends Omit<FeedbackProviderProps, "children">, FeedbackScreenBaseProps {
66
+ }
67
+ export type FeedbackScreenBodyProps = Require<FeedbackScreenBaseProps, "entrySort" | "commentSort" | "enabledKinds" | "maxCommentDepth">;
68
+ export interface FeedbackScreenEntryCardProps {
69
+ entry: FeedbackEntry;
70
+ hooks: FeedbackHooks;
71
+ onOpen: () => void;
72
+ }
73
+ export interface FeedbackScreenEntryModalProps {
74
+ hooks: FeedbackHooks;
75
+ enabledKinds: readonly EntryKind[];
76
+ onCreated: (id: string) => void;
77
+ }
78
+ export interface FeedbackScreenEntryBaseProps {
79
+ entryId: string;
80
+ hooks: FeedbackHooks;
81
+ commentSort: CommentSort;
82
+ maxCommentDepth: number;
83
+ transformComments?: FeedbackScreenBaseProps["transformComments"];
84
+ renderActor?: FeedbackScreenBaseProps["renderActor"];
85
+ }
86
+ export interface FeedbackScreenEntryDetailProps extends FeedbackScreenEntryBaseProps {
87
+ onBack: () => void;
88
+ }
89
+ export interface FeedbackScreenCommentBranchProps extends FeedbackScreenEntryBaseProps {
90
+ comment: FeedbackComment;
91
+ }
92
+ export interface FeedbackScreenReplyListProps extends FeedbackScreenEntryBaseProps {
93
+ parentCommentId: string;
94
+ }
95
+ //# sourceMappingURL=screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../src/shared/types/screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,SAAS,EACT,eAAe,EACf,aAAa,EACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,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nC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,aAAa,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC,mBAAmB,CAAC,CAAC;IACjE,WAAW,CAAC,EAAE,uBAAuB,CAAC,aAAa,CAAC,CAAC;CACtD;AAED,MAAM,WAAW,8BAA+B,SAAQ,4BAA4B;IAClF,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,gCAAiC,SAAQ,4BAA4B;IACpF,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA6B,SAAQ,4BAA4B;IAChF,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=screen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen.js","sourceRoot":"","sources":["../../../src/shared/types/screen.ts"],"names":[],"mappings":""}