@bigbinary/neetoui-rn 3.3.4 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts +2 -1
  2. package/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts.map +1 -1
  3. package/lib/typescript/src/components/ChatInput/ChatInput.d.ts +85 -0
  4. package/lib/typescript/src/components/ChatInput/ChatInput.d.ts.map +1 -1
  5. package/lib/typescript/src/components/ChatInput/MentionSuggestionList.d.ts +9 -0
  6. package/lib/typescript/src/components/ChatInput/MentionSuggestionList.d.ts.map +1 -0
  7. package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts +3 -1
  8. package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts.map +1 -1
  9. package/lib/typescript/src/components/ChatInput/SegmentedOptions.d.ts +10 -0
  10. package/lib/typescript/src/components/ChatInput/SegmentedOptions.d.ts.map +1 -0
  11. package/lib/typescript/src/components/ChatInput/constants.d.ts +3 -0
  12. package/lib/typescript/src/components/ChatInput/constants.d.ts.map +1 -1
  13. package/lib/typescript/src/components/ChatInput/index.d.ts +1 -1
  14. package/lib/typescript/src/components/ChatInput/index.d.ts.map +1 -1
  15. package/lib/typescript/src/components/ChatInput/mentions.d.ts +2 -0
  16. package/lib/typescript/src/components/ChatInput/mentions.d.ts.map +1 -1
  17. package/lib/typescript/src/components/RichTextEditor/LazyRichTextEditor.d.ts +3 -0
  18. package/lib/typescript/src/components/RichTextEditor/LazyRichTextEditor.d.ts.map +1 -0
  19. package/lib/typescript/src/components/RichTextEditor/MentionSuggestionBar.d.ts +8 -0
  20. package/lib/typescript/src/components/RichTextEditor/MentionSuggestionBar.d.ts.map +1 -0
  21. package/lib/typescript/src/components/RichTextEditor/RichTextEditor.d.ts +45 -0
  22. package/lib/typescript/src/components/RichTextEditor/RichTextEditor.d.ts.map +1 -0
  23. package/lib/typescript/src/components/RichTextEditor/RichTextToolbar.d.ts +11 -0
  24. package/lib/typescript/src/components/RichTextEditor/RichTextToolbar.d.ts.map +1 -0
  25. package/lib/typescript/src/components/RichTextEditor/bridges/CodeBlockBridge.d.ts +13 -0
  26. package/lib/typescript/src/components/RichTextEditor/bridges/CodeBlockBridge.d.ts.map +1 -0
  27. package/lib/typescript/src/components/RichTextEditor/bridges/ComposerBridge.d.ts +27 -0
  28. package/lib/typescript/src/components/RichTextEditor/bridges/ComposerBridge.d.ts.map +1 -0
  29. package/lib/typescript/src/components/RichTextEditor/bridges/FigureBridge.d.ts +16 -0
  30. package/lib/typescript/src/components/RichTextEditor/bridges/FigureBridge.d.ts.map +1 -0
  31. package/lib/typescript/src/components/RichTextEditor/bridges/MentionBridge.d.ts +35 -0
  32. package/lib/typescript/src/components/RichTextEditor/bridges/MentionBridge.d.ts.map +1 -0
  33. package/lib/typescript/src/components/RichTextEditor/bridges/VariableBridge.d.ts +3 -0
  34. package/lib/typescript/src/components/RichTextEditor/bridges/VariableBridge.d.ts.map +1 -0
  35. package/lib/typescript/src/components/RichTextEditor/bridges/index.d.ts +8 -0
  36. package/lib/typescript/src/components/RichTextEditor/bridges/index.d.ts.map +1 -0
  37. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Figure.d.ts +3 -0
  38. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Figure.d.ts.map +1 -0
  39. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Mention.d.ts +3 -0
  40. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Mention.d.ts.map +1 -0
  41. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Variable.d.ts +3 -0
  42. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Variable.d.ts.map +1 -0
  43. package/lib/typescript/src/components/RichTextEditor/bridges/types.d.ts +8 -0
  44. package/lib/typescript/src/components/RichTextEditor/bridges/types.d.ts.map +1 -0
  45. package/lib/typescript/src/components/RichTextEditor/editorCss.d.ts +21 -0
  46. package/lib/typescript/src/components/RichTextEditor/editorCss.d.ts.map +1 -0
  47. package/lib/typescript/src/components/RichTextEditor/icons/index.d.ts +9 -0
  48. package/lib/typescript/src/components/RichTextEditor/icons/index.d.ts.map +1 -0
  49. package/lib/typescript/src/components/RichTextEditor/index.d.ts +4 -0
  50. package/lib/typescript/src/components/RichTextEditor/index.d.ts.map +1 -0
  51. package/lib/typescript/src/components/RichTextEditor/injectableText.d.ts +2 -0
  52. package/lib/typescript/src/components/RichTextEditor/injectableText.d.ts.map +1 -0
  53. package/lib/typescript/src/components/RichTextEditor/types.d.ts +6 -0
  54. package/lib/typescript/src/components/RichTextEditor/types.d.ts.map +1 -0
  55. package/lib/typescript/src/components/RichTextEditor/web/build/editorHtml.d.ts +2 -0
  56. package/lib/typescript/src/components/RichTextEditor/web/build/editorHtml.d.ts.map +1 -0
  57. package/lib/typescript/src/index.d.ts +2 -1
  58. package/lib/typescript/src/index.d.ts.map +1 -1
  59. package/package.json +30 -7
  60. package/src/components/ChatInput/AttachmentsView.tsx +6 -0
  61. package/src/components/ChatInput/ChatInput.tsx +569 -91
  62. package/src/components/ChatInput/MentionSuggestionList.tsx +71 -0
  63. package/src/components/ChatInput/MentionsInput.tsx +34 -46
  64. package/src/components/ChatInput/SegmentedOptions.tsx +84 -0
  65. package/src/components/ChatInput/constants.ts +10 -0
  66. package/src/components/ChatInput/index.ts +3 -0
  67. package/src/components/ChatInput/mentions.ts +22 -0
  68. package/src/components/RichTextEditor/LazyRichTextEditor.tsx +19 -0
  69. package/src/components/RichTextEditor/MentionSuggestionBar.tsx +79 -0
  70. package/src/components/RichTextEditor/RichTextEditor.tsx +227 -0
  71. package/src/components/RichTextEditor/RichTextToolbar.tsx +476 -0
  72. package/src/components/RichTextEditor/bridges/CodeBlockBridge.ts +29 -0
  73. package/src/components/RichTextEditor/bridges/ComposerBridge.ts +107 -0
  74. package/src/components/RichTextEditor/bridges/FigureBridge.ts +38 -0
  75. package/src/components/RichTextEditor/bridges/MentionBridge.ts +79 -0
  76. package/src/components/RichTextEditor/bridges/VariableBridge.ts +7 -0
  77. package/src/components/RichTextEditor/bridges/index.ts +66 -0
  78. package/src/components/RichTextEditor/bridges/nodes/Figure.ts +127 -0
  79. package/src/components/RichTextEditor/bridges/nodes/Mention.ts +48 -0
  80. package/src/components/RichTextEditor/bridges/nodes/Variable.ts +68 -0
  81. package/src/components/RichTextEditor/bridges/types.ts +26 -0
  82. package/src/components/RichTextEditor/editorCss.ts +69 -0
  83. package/src/components/RichTextEditor/icons/index.tsx +41 -0
  84. package/src/components/RichTextEditor/index.ts +3 -0
  85. package/src/components/RichTextEditor/injectableText.ts +11 -0
  86. package/src/components/RichTextEditor/types.ts +1 -0
  87. package/src/components/RichTextEditor/web/build/editorHtml.ts +3 -0
  88. package/src/index.ts +9 -0
package/src/index.ts CHANGED
@@ -18,10 +18,13 @@ export {
18
18
  ChatInput,
19
19
  OPTION_TYPES,
20
20
  convertMentionsToHTMLAndPlainText,
21
+ type ChatInputFocusTarget,
22
+ type ChatInputLayout,
21
23
  type ChatInputOption,
22
24
  type ChatInputPayload,
23
25
  type ChatInputProps,
24
26
  type ChatInputRef,
27
+ type ChatInputResizable,
25
28
  type MentionSuggestion,
26
29
  } from "./components/ChatInput";
27
30
  export { CheckBox, type CheckBoxProps } from "./components/CheckBox";
@@ -57,6 +60,12 @@ export {
57
60
  } from "./components/OnBoarding";
58
61
  export { ParentView, type ParentViewProps } from "./components/ParentView";
59
62
  export { RadioButton, type RadioButtonProps } from "./components/RadioButton";
63
+ export {
64
+ RichTextEditor,
65
+ type RichTextEditorProps,
66
+ type RichTextEditorRef,
67
+ type RichTextImage,
68
+ } from "./components/RichTextEditor";
60
69
  export { ScrollView, type ScrollViewProps } from "./components/ScrollView";
61
70
  export { SearchBar, type SearchBarProps } from "./components/SearchBar";
62
71
  export { TextWithUrl, type TextWithUrlProps } from "./components/TextWithUrl";