@layers-app/shared 0.4.4 → 0.4.5

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 (176) hide show
  1. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +13 -13
  2. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  3. package/dist/components/AppContainer/components/SidebarToggleButton.d.ts.map +1 -1
  4. package/dist/components/AppContainer/components/SidebarToggleButton.js +25 -16
  5. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  6. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  7. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
  8. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +33 -33
  9. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts.map +1 -1
  10. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +54 -36
  11. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  12. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +2 -0
  13. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
  14. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +82 -41
  15. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +7 -7
  16. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
  17. package/dist/components/AttachmentsPreview/AttachmentsPreview.js +11 -12
  18. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  19. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  20. package/dist/components/Chat/CallMessage/CallMessage.module.css.js +15 -0
  21. package/dist/components/Chat/CallMessage/index.d.ts +21 -0
  22. package/dist/components/Chat/CallMessage/index.d.ts.map +1 -0
  23. package/dist/components/Chat/CallMessage/index.js +49 -0
  24. package/dist/components/Chat/ChatBubble/ChatBubble.module.css.js +9 -0
  25. package/dist/components/Chat/ChatBubble/index.d.ts +14 -0
  26. package/dist/components/Chat/ChatBubble/index.d.ts.map +1 -0
  27. package/dist/components/Chat/ChatBubble/index.js +32 -0
  28. package/dist/components/Chat/ChatHeader/ChatHeader.module.css.js +17 -0
  29. package/dist/components/Chat/ChatHeader/index.d.ts +42 -0
  30. package/dist/components/Chat/ChatHeader/index.d.ts.map +1 -0
  31. package/dist/components/Chat/ChatHeader/index.js +78 -0
  32. package/dist/components/Chat/ChatInput/ChatInput.module.css.js +37 -0
  33. package/dist/components/Chat/ChatInput/index.d.ts +46 -0
  34. package/dist/components/Chat/ChatInput/index.d.ts.map +1 -0
  35. package/dist/components/Chat/ChatInput/index.js +228 -0
  36. package/dist/components/Chat/ChatLayout/ChatLayout.module.css.js +15 -0
  37. package/dist/components/Chat/ChatLayout/index.d.ts +17 -0
  38. package/dist/components/Chat/ChatLayout/index.d.ts.map +1 -0
  39. package/dist/components/Chat/ChatLayout/index.js +43 -0
  40. package/dist/components/Chat/ChatMessage/ChatMessage.module.css.js +21 -0
  41. package/dist/components/Chat/ChatMessage/index.d.ts +45 -0
  42. package/dist/components/Chat/ChatMessage/index.d.ts.map +1 -0
  43. package/dist/components/Chat/ChatMessage/index.js +188 -0
  44. package/dist/components/Chat/ChatPill/ChatPill.module.css.js +11 -0
  45. package/dist/components/Chat/ChatPill/index.d.ts +12 -0
  46. package/dist/components/Chat/ChatPill/index.d.ts.map +1 -0
  47. package/dist/components/Chat/ChatPill/index.js +21 -0
  48. package/dist/components/Chat/DayMeta/index.d.ts +11 -0
  49. package/dist/components/Chat/DayMeta/index.d.ts.map +1 -0
  50. package/dist/components/Chat/DayMeta/index.js +9 -0
  51. package/dist/components/Chat/DialogItem/DialogItem.module.css.js +17 -0
  52. package/dist/components/Chat/DialogItem/index.d.ts +41 -0
  53. package/dist/components/Chat/DialogItem/index.d.ts.map +1 -0
  54. package/dist/components/Chat/DialogItem/index.js +107 -0
  55. package/dist/components/Chat/DialogList/DialogList.module.css.js +7 -0
  56. package/dist/components/Chat/DialogList/index.d.ts +11 -0
  57. package/dist/components/Chat/DialogList/index.d.ts.map +1 -0
  58. package/dist/components/Chat/DialogList/index.js +19 -0
  59. package/dist/components/Chat/MediaDocument/MediaDocument.module.css.js +13 -0
  60. package/dist/components/Chat/MediaDocument/index.d.ts +15 -0
  61. package/dist/components/Chat/MediaDocument/index.d.ts.map +1 -0
  62. package/dist/components/Chat/MediaDocument/index.js +73 -0
  63. package/dist/components/Chat/MessageActions/MessageActions.module.css.js +7 -0
  64. package/dist/components/Chat/MessageActions/index.d.ts +16 -0
  65. package/dist/components/Chat/MessageActions/index.d.ts.map +1 -0
  66. package/dist/components/Chat/MessageActions/index.js +65 -0
  67. package/dist/components/Chat/MessageAuthor/index.d.ts +20 -0
  68. package/dist/components/Chat/MessageAuthor/index.d.ts.map +1 -0
  69. package/dist/components/Chat/MessageAuthor/index.js +36 -0
  70. package/dist/components/Chat/MessageForward/MessageForward.module.css.js +7 -0
  71. package/dist/components/Chat/MessageForward/index.d.ts +13 -0
  72. package/dist/components/Chat/MessageForward/index.d.ts.map +1 -0
  73. package/dist/components/Chat/MessageForward/index.js +30 -0
  74. package/dist/components/Chat/MessageList/MessageList.module.css.js +17 -0
  75. package/dist/components/Chat/MessageList/index.d.ts +12 -0
  76. package/dist/components/Chat/MessageList/index.d.ts.map +1 -0
  77. package/dist/components/Chat/MessageList/index.js +71 -0
  78. package/dist/components/Chat/MessageMeta/MessageMeta.module.css.js +13 -0
  79. package/dist/components/Chat/MessageMeta/index.d.ts +16 -0
  80. package/dist/components/Chat/MessageMeta/index.d.ts.map +1 -0
  81. package/dist/components/Chat/MessageMeta/index.js +33 -0
  82. package/dist/components/Chat/MessageReactions/MessageReactions.module.css.js +15 -0
  83. package/dist/components/Chat/MessageReactions/index.d.ts +15 -0
  84. package/dist/components/Chat/MessageReactions/index.d.ts.map +1 -0
  85. package/dist/components/Chat/MessageReactions/index.js +40 -0
  86. package/dist/components/Chat/MessageReply/MessageReply.module.css.js +15 -0
  87. package/dist/components/Chat/MessageReply/index.d.ts +15 -0
  88. package/dist/components/Chat/MessageReply/index.d.ts.map +1 -0
  89. package/dist/components/Chat/MessageReply/index.js +40 -0
  90. package/dist/components/Chat/MessageStatus/MessageStatus.module.css.js +9 -0
  91. package/dist/components/Chat/MessageStatus/index.d.ts +14 -0
  92. package/dist/components/Chat/MessageStatus/index.d.ts.map +1 -0
  93. package/dist/components/Chat/MessageStatus/index.js +53 -0
  94. package/dist/components/Chat/ServiceMessage/ServiceMessage.module.css.js +11 -0
  95. package/dist/components/Chat/ServiceMessage/index.d.ts +13 -0
  96. package/dist/components/Chat/ServiceMessage/index.d.ts.map +1 -0
  97. package/dist/components/Chat/ServiceMessage/index.js +21 -0
  98. package/dist/components/Chat/UnreadSeparator/index.d.ts +11 -0
  99. package/dist/components/Chat/UnreadSeparator/index.d.ts.map +1 -0
  100. package/dist/components/Chat/UnreadSeparator/index.js +13 -0
  101. package/dist/components/Chat/colors.d.ts +7 -0
  102. package/dist/components/Chat/colors.d.ts.map +1 -0
  103. package/dist/components/Chat/colors.js +30 -0
  104. package/dist/components/Chat/icons.d.ts +9 -0
  105. package/dist/components/Chat/icons.d.ts.map +1 -0
  106. package/dist/components/Chat/icons.js +49 -0
  107. package/dist/components/Chat/index.d.ts +24 -0
  108. package/dist/components/Chat/index.d.ts.map +1 -0
  109. package/dist/components/Chat/mock-data.d.ts +32 -0
  110. package/dist/components/Chat/mock-data.d.ts.map +1 -0
  111. package/dist/components/Chat/types.d.ts +159 -0
  112. package/dist/components/Chat/types.d.ts.map +1 -0
  113. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  114. package/dist/components/ColorPicker/ColorPicker.module.css.js +24 -24
  115. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  116. package/dist/components/CommentComposer/types.js +9 -0
  117. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  118. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  119. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  120. package/dist/components/EmojiPicker/EmojiPicker.d.ts +8 -1
  121. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  122. package/dist/components/EmojiPicker/EmojiPicker.js +53 -50
  123. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  124. package/dist/components/EntityIcon.d.ts.map +1 -1
  125. package/dist/components/EntityIcon.js +36 -27
  126. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  127. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  128. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  129. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  130. package/dist/components/FilePicker/FilePicker.js +135 -161
  131. package/dist/components/FilePicker/FilePicker.module.css.js +8 -12
  132. package/dist/components/FilePicker/FilePickerGallery.js +13 -13
  133. package/dist/components/FilePicker/FilePickerGiphy.js +4 -4
  134. package/dist/components/FilePicker/FilePickerGoogleDrive.js +3 -3
  135. package/dist/components/FilePicker/FilePickerUnsplash.js +18 -18
  136. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  137. package/dist/components/FilePicker/FilePickerUpload.js +55 -47
  138. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  139. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  140. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  141. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  142. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  143. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  144. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  145. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  146. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  147. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  148. package/dist/components/Loaders/styles.module.css.js +6 -6
  149. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  150. package/dist/components/MusicPlayerBar/MusicPlayerBar.module.css.js +23 -23
  151. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  152. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  153. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  154. package/dist/components/Notification/Notification.module.css.js +1 -1
  155. package/dist/components/PillTabs/PillTabs.d.ts +19 -0
  156. package/dist/components/PillTabs/PillTabs.d.ts.map +1 -0
  157. package/dist/components/PillTabs/PillTabs.js +50 -0
  158. package/dist/components/PillTabs/PillTabs.module.css.js +11 -0
  159. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  160. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  161. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  162. package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
  163. package/dist/components/modals/RemoveConfirmModal.js +1 -1
  164. package/dist/components/table/FrontTable.d.ts.map +1 -1
  165. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  166. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  167. package/dist/helpers/showNotifications.module.css.js +1 -1
  168. package/dist/index.css +1 -1
  169. package/dist/index.d.ts +3 -0
  170. package/dist/index.d.ts.map +1 -1
  171. package/dist/index.js +573 -522
  172. package/dist/lang/locales/ui_en.json.js +5 -5
  173. package/dist/lang/locales/ui_es.json.js +1 -1
  174. package/dist/lang/locales/ui_ru.json.js +1 -1
  175. package/docs/README.md +499 -499
  176. package/package.json +78 -75
@@ -0,0 +1,159 @@
1
+ /**
2
+ * Chat Message Schema — Universal message structure for the chat system.
3
+ *
4
+ * Design principles (from Matrix, Telegram, Slack, Signal):
5
+ * 1. Envelope + Content separation: shared metadata vs type-specific payload
6
+ * 2. Discriminated union on `type`: TypeScript narrows `content` automatically
7
+ * 3. Attachments as first-class: separate from message type (any message can have files)
8
+ * 4. Reactions/replies on envelope: they apply to any message type
9
+ * 5. Extensible: `metadata` bag for app-specific data, new types don't break old code
10
+ *
11
+ * Compatible with existing backend patterns:
12
+ * - ApiComments.Comment (parentType/parentId for entity binding)
13
+ * - BackendMessage (meet package text chat)
14
+ * - LivekitStreamEvent (discriminated union pattern)
15
+ */
16
+ export type ChatMessageStatus = 'sending' | 'sent' | 'delivered' | 'read' | 'failed';
17
+ export interface MessageReaction {
18
+ emoji: string;
19
+ count: number;
20
+ userIds?: string[];
21
+ active?: boolean;
22
+ }
23
+ export interface MessageAttachment {
24
+ id: string;
25
+ name: string;
26
+ mimeType: string;
27
+ size: number;
28
+ url: string;
29
+ thumbnailUrl?: string;
30
+ width?: number;
31
+ height?: number;
32
+ duration?: number;
33
+ }
34
+ export interface MessageEnvelope {
35
+ id: string;
36
+ chatId: string;
37
+ senderId: string;
38
+ timestamp: number;
39
+ status?: ChatMessageStatus;
40
+ editedAt?: number;
41
+ replyToId?: string;
42
+ replyToPreview?: {
43
+ senderId: string;
44
+ senderName: string;
45
+ text: string;
46
+ };
47
+ forwardFromId?: string;
48
+ forwardFromName?: string;
49
+ threadId?: string;
50
+ reactions?: MessageReaction[];
51
+ attachments?: MessageAttachment[];
52
+ metadata?: Record<string, unknown>;
53
+ }
54
+ export interface TextContent {
55
+ body: string;
56
+ format?: 'plain' | 'markdown' | 'html';
57
+ mentions?: string[];
58
+ }
59
+ export interface MediaContent {
60
+ mediaType: 'image' | 'video' | 'audio';
61
+ url: string;
62
+ mimeType: string;
63
+ size: number;
64
+ name?: string;
65
+ thumbnailUrl?: string;
66
+ width?: number;
67
+ height?: number;
68
+ duration?: number;
69
+ caption?: string;
70
+ }
71
+ export interface FileContent {
72
+ url: string;
73
+ name: string;
74
+ mimeType: string;
75
+ size: number;
76
+ }
77
+ export interface CallContent {
78
+ callStatus: 'active' | 'ended' | 'missed' | 'declined';
79
+ callType: 'audio' | 'video';
80
+ duration?: number;
81
+ participantCount?: number;
82
+ participantIds?: string[];
83
+ }
84
+ export type ServiceAction = 'user_joined' | 'user_left' | 'user_invited' | 'user_removed' | 'channel_created' | 'channel_renamed' | 'channel_archived' | 'pinned_message' | 'unpinned_message' | 'call_started' | 'call_ended';
85
+ export interface ServiceContent {
86
+ action: ServiceAction;
87
+ actorId?: string;
88
+ targetId?: string;
89
+ title?: string;
90
+ description?: string;
91
+ }
92
+ export interface ChatTextMessage extends MessageEnvelope {
93
+ type: 'text';
94
+ content: TextContent;
95
+ }
96
+ export interface ChatMediaMessage extends MessageEnvelope {
97
+ type: 'media';
98
+ content: MediaContent;
99
+ }
100
+ export interface ChatFileMessage extends MessageEnvelope {
101
+ type: 'file';
102
+ content: FileContent;
103
+ }
104
+ export interface ChatCallMessage extends MessageEnvelope {
105
+ type: 'call';
106
+ content: CallContent;
107
+ }
108
+ export interface ChatServiceMessage extends MessageEnvelope {
109
+ type: 'service';
110
+ content: ServiceContent;
111
+ }
112
+ /**
113
+ * Union of all message types.
114
+ * Use `switch (msg.type)` to narrow and access type-specific `content`.
115
+ *
116
+ * @example
117
+ * function renderMessage(msg: ChatMessageData) {
118
+ * switch (msg.type) {
119
+ * case 'text': return <TextBubble body={msg.content.body} />;
120
+ * case 'media': return <MediaBubble url={msg.content.url} />;
121
+ * case 'call': return <CallBubble status={msg.content.callStatus} />;
122
+ * case 'service': return <ServiceBanner action={msg.content.action} />;
123
+ * case 'file': return <FileCard name={msg.content.name} />;
124
+ * }
125
+ * }
126
+ */
127
+ export type ChatMessageData = ChatTextMessage | ChatMediaMessage | ChatFileMessage | ChatCallMessage | ChatServiceMessage;
128
+ export type ChatType = 'dm' | 'group' | 'channel';
129
+ export interface Chat {
130
+ id: string;
131
+ type: ChatType;
132
+ name: string;
133
+ icon?: string;
134
+ avatarUrl?: string;
135
+ memberCount?: number;
136
+ lastMessage?: {
137
+ senderId: string;
138
+ senderName?: string;
139
+ text: string;
140
+ timestamp: number;
141
+ type: ChatMessageData['type'];
142
+ };
143
+ unreadCount?: number;
144
+ muted?: boolean;
145
+ pinned?: boolean;
146
+ draft?: string;
147
+ createdAt: number;
148
+ metadata?: Record<string, unknown>;
149
+ }
150
+ export type ParticipantRole = 'owner' | 'admin' | 'member' | 'guest';
151
+ export interface ChatParticipant {
152
+ userId: string;
153
+ name: string;
154
+ avatarUrl?: string;
155
+ role: ParticipantRole;
156
+ online?: boolean;
157
+ lastSeen?: number;
158
+ }
159
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;AAIrF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAID,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,M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of7x_1", c = "_accordionControl_1of7x_9", n = "_accordionItem_1of7x_17", t = {
2
2
  accordionRoot: o,
3
3
  accordionControl: c,
4
4
  accordionItem: n
@@ -1,31 +1,31 @@
1
- const i = "_section_lidow_2", t = "_sectionLabel_lidow_15", n = "_listItem_lidow_46", e = "_listItemActive_lidow_72", l = "_listItemLabel_lidow_76", o = "_listItemSwatch_lidow_84", c = "_grid_lidow_92", _ = "_inlineSection_lidow_162", s = "_inlineSectionLabel_lidow_172", w = "_inlineRow_lidow_180", a = "_inlineSwatch_lidow_189", d = "_inlineSwatchActive_lidow_215", S = "_inlineSwatchRound_lidow_225", h = {
2
- section: i,
3
- sectionLabel: t,
1
+ const t = "_section_tyqb8_3", i = "_sectionLabel_tyqb8_29", n = "_listItem_tyqb8_91", e = "_listItemActive_tyqb8_143", c = "_listItemLabel_tyqb8_151", l = "_listItemSwatch_tyqb8_167", _ = "_grid_tyqb8_183", s = "_inlineSection_tyqb8_323", o = "_inlineSectionLabel_tyqb8_343", a = "_inlineRow_tyqb8_359", b = "_inlineSwatch_tyqb8_377", S = "_inlineSwatchActive_tyqb8_429", w = "_inlineSwatchRound_tyqb8_449", y = {
2
+ section: t,
3
+ sectionLabel: i,
4
4
  listItem: n,
5
5
  listItemActive: e,
6
- listItemLabel: l,
7
- listItemSwatch: o,
8
- grid: c,
9
- inlineSection: _,
10
- inlineSectionLabel: s,
11
- inlineRow: w,
12
- inlineSwatch: a,
13
- inlineSwatchActive: d,
14
- inlineSwatchRound: S
6
+ listItemLabel: c,
7
+ listItemSwatch: l,
8
+ grid: _,
9
+ inlineSection: s,
10
+ inlineSectionLabel: o,
11
+ inlineRow: a,
12
+ inlineSwatch: b,
13
+ inlineSwatchActive: S,
14
+ inlineSwatchRound: w
15
15
  };
16
16
  export {
17
- h as default,
18
- c as grid,
19
- w as inlineRow,
20
- _ as inlineSection,
21
- s as inlineSectionLabel,
22
- a as inlineSwatch,
23
- d as inlineSwatchActive,
24
- S as inlineSwatchRound,
17
+ y as default,
18
+ _ as grid,
19
+ a as inlineRow,
20
+ s as inlineSection,
21
+ o as inlineSectionLabel,
22
+ b as inlineSwatch,
23
+ S as inlineSwatchActive,
24
+ w as inlineSwatchRound,
25
25
  n as listItem,
26
26
  e as listItemActive,
27
- l as listItemLabel,
28
- o as listItemSwatch,
29
- i as section,
30
- t as sectionLabel
27
+ c as listItemLabel,
28
+ l as listItemSwatch,
29
+ t as section,
30
+ i as sectionLabel
31
31
  };
@@ -1,15 +1,15 @@
1
- const o = "_commentComposerWrapper_17oei_1", e = "_commentComposerFloat_17oei_68", r = "_composerContainer_17oei_97", t = "_editorWrapper_17oei_113", p = "_editMode_17oei_192", m = {
1
+ const o = "_commentComposerWrapper_jn3k1_1", e = "_commentComposerFloat_jn3k1_135", r = "_composerContainer_jn3k1_193", t = "_editorWrapper_jn3k1_225", n = "_editMode_jn3k1_383", p = {
2
2
  commentComposerWrapper: o,
3
3
  commentComposerFloat: e,
4
4
  composerContainer: r,
5
5
  editorWrapper: t,
6
- editMode: p
6
+ editMode: n
7
7
  };
8
8
  export {
9
9
  e as commentComposerFloat,
10
10
  o as commentComposerWrapper,
11
11
  r as composerContainer,
12
- m as default,
13
- p as editMode,
12
+ p as default,
13
+ n as editMode,
14
14
  t as editorWrapper
15
15
  };
@@ -0,0 +1,9 @@
1
+ var o;
2
+ ((T) => {
3
+ ((e) => {
4
+ e.None = "NONE", e.Project = "PROJECT", e.Sprint = "SPRINT", e.Folder = "FOLDER", e.Workspace = "WORKSPACE", e.Page = "PAGE", e.Task = "PROJECTTASK", e.Form = "FORM", e.Attachment = "ATTACHMENT", e.User = "USER", e.Comment = "COMMENT", e.Flow = "FLOW";
5
+ })(T.Entity || (T.Entity = {}));
6
+ })(o || (o = {}));
7
+ export {
8
+ o as CommentComposerTypes
9
+ };
@@ -1,4 +1,4 @@
1
- const s = "_section_s7rqu_1", t = {
1
+ const s = "_section_6nzxb_1", t = {
2
2
  section: s
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const r = "_brandingWrapper_vvk0o_1", a = {
1
+ const r = "_brandingWrapper_ag0no_1", a = {
2
2
  brandingWrapper: r
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const o = "_root_195do_1", t = {
1
+ const o = "_root_122b9_1", t = {
2
2
  root: o
3
3
  };
4
4
  export {
@@ -22,6 +22,13 @@ export type EmojiPickerProps = {
22
22
  typingSeq?: number;
23
23
  /** If true, clicking the random icon button will not close the popover. Default: false */
24
24
  keepOpenOnRandom?: boolean;
25
+ /**
26
+ * If false, picking an emoji does NOT close the popover — useful for chat
27
+ * composers where users typically want to insert several emoji at once.
28
+ * Click-outside still closes. Default: true (preserves legacy behavior of
29
+ * one-shot icon pickers in Pages/Projects).
30
+ */
31
+ closeOnSelect?: boolean;
25
32
  };
26
33
  export type EmojiPickerLocales = {
27
34
  emojis?: string;
@@ -34,5 +41,5 @@ export type EmojiPickerLocales = {
34
41
  icons?: string;
35
42
  emojiCategory?: Record<string, string>;
36
43
  };
37
- export declare const EmojiPicker: ({ project, value, querySearch, children, onChange, position, popoverProps, showIcons, showColors, defaultActiveTab, showEmojis, withinPortal, locales: _locales, openWhen, triggerRegex, typingSeq, showRemoveButton, keepOpenOnRandom, }: PropsWithChildren<EmojiPickerProps>) => import("react/jsx-runtime").JSX.Element;
44
+ export declare const EmojiPicker: ({ project, value, querySearch, children, onChange, position, popoverProps, showIcons, showColors, defaultActiveTab, showEmojis, withinPortal, locales: _locales, openWhen, triggerRegex, typingSeq, showRemoveButton, keepOpenOnRandom, closeOnSelect, }: PropsWithChildren<EmojiPickerProps>) => import("react/jsx-runtime").JSX.Element;
38
45
  //# sourceMappingURL=EmojiPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAIL,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C,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,0PAoBzB,iBAAiB,CAAC,gBAAgB,CAAC,4CAiNrC,CAAC"}
@@ -1,32 +1,33 @@
1
1
  import { jsxs as j, jsx as o } from "react/jsx-runtime";
2
- import { useState as d, useMemo as $, useEffect as v } from "react";
3
- import { useTranslation as A } from "react-i18next";
4
- import { Popover as k, Center as E, Tabs as t, Flex as T, Button as G } from "@mantine/core";
5
- import { IconEntity as J } from "../ProjectIcon/ProjectIcon.js";
6
- import { EmojiPanel as K } from "./EmojiPanel.js";
7
- import { IconsPanel as U } from "./IconsPanel.js";
2
+ import { useState as d, useMemo as A, useEffect as T } from "react";
3
+ import { useTranslation as E } from "react-i18next";
4
+ import { Popover as k, Center as G, Tabs as t, Flex as C, Button as J } from "@mantine/core";
5
+ import { IconEntity as K } from "../ProjectIcon/ProjectIcon.js";
6
+ import { EmojiPanel as U } from "./EmojiPanel.js";
7
+ import { IconsPanel as V } from "./IconsPanel.js";
8
8
  import f from "./EmojiPicker.module.css.js";
9
- const ee = ({
10
- project: C,
9
+ const oe = ({
10
+ project: N,
11
11
  value: i,
12
12
  querySearch: l,
13
- children: N,
13
+ children: R,
14
14
  onChange: p,
15
- position: R = "bottom-start",
15
+ position: D = "bottom-start",
16
16
  popoverProps: P,
17
17
  showIcons: u,
18
- showColors: D,
19
- defaultActiveTab: I = null,
18
+ showColors: I,
19
+ defaultActiveTab: w = null,
20
20
  showEmojis: s = !0,
21
- withinPortal: w = !1,
21
+ withinPortal: L = !1,
22
22
  locales: h,
23
23
  openWhen: g = "click",
24
24
  triggerRegex: b = /(^|\s):([^\s:]{1,})$/,
25
- typingSeq: c,
26
- showRemoveButton: L = !0,
27
- keepOpenOnRandom: M = !1
25
+ typingSeq: n,
26
+ showRemoveButton: M = !0,
27
+ keepOpenOnRandom: z = !1,
28
+ closeOnSelect: y = !0
28
29
  }) => {
29
- const { t: e } = A("ui"), [n, r] = d(!1), [O, y] = d(I), [z, B] = d(i || null), [x, F] = d(null), a = $(() => ({
30
+ const { t: e } = E("ui"), [c, r] = d(!1), [B, x] = d(w), [F, H] = d(i || null), [v, O] = d(null), a = A(() => ({
30
31
  emojis: e("emojis"),
31
32
  remove: e("remove"),
32
33
  search: e("search"),
@@ -50,30 +51,30 @@ const ee = ({
50
51
  },
51
52
  ...h
52
53
  }), [e, h]);
53
- v(() => {
54
- const m = u && J.parse(i)?.icon ? "icons" : s ? "emojis" : null;
55
- !n && m && y(m);
56
- }, [n, s, u, i]), v(() => {
57
- if (g !== "realtime" || typeof c != "number" || x === c) return;
58
- F(c);
59
- const m = l ?? "", Q = !!s && b.test(m);
60
- r(Q);
54
+ T(() => {
55
+ const m = u && K.parse(i)?.icon ? "icons" : s ? "emojis" : null;
56
+ !c && m && x(m);
57
+ }, [c, s, u, i]), T(() => {
58
+ if (g !== "realtime" || typeof n != "number" || v === n) return;
59
+ O(n);
60
+ const m = l ?? "", $ = !!s && b.test(m);
61
+ r($);
61
62
  }, [
62
63
  g,
63
- c,
64
- x,
64
+ n,
65
+ v,
65
66
  l,
66
67
  b,
67
68
  s
68
69
  ]);
69
- const H = typeof l == "string";
70
+ const Q = typeof l == "string";
70
71
  return /* @__PURE__ */ j(
71
72
  k,
72
73
  {
73
- withinPortal: w,
74
- opened: n,
74
+ withinPortal: L,
75
+ opened: c,
75
76
  onChange: r,
76
- position: R,
77
+ position: D,
77
78
  radius: "var(--mantine-spacing-sm)",
78
79
  styles: {
79
80
  dropdown: {
@@ -99,17 +100,17 @@ const ee = ({
99
100
  ...P || {},
100
101
  children: [
101
102
  /* @__PURE__ */ o(k.Target, { children: /* @__PURE__ */ o(
102
- E,
103
+ G,
103
104
  {
104
- onClick: g === "click" && !P?.disabled ? () => r(!n) : void 0,
105
- children: N ?? z
105
+ onClick: g === "click" && !P?.disabled ? () => r(!c) : void 0,
106
+ children: R ?? F
106
107
  }
107
108
  ) }),
108
109
  /* @__PURE__ */ o(k.Dropdown, { w: "380px", children: /* @__PURE__ */ j(
109
110
  t,
110
111
  {
111
- value: O,
112
- onChange: y,
112
+ value: B,
113
+ onChange: x,
113
114
  keepMounted: !1,
114
115
  h: "100%",
115
116
  styles: {
@@ -126,7 +127,7 @@ const ee = ({
126
127
  }
127
128
  },
128
129
  children: [
129
- !H && /* @__PURE__ */ j(
130
+ !Q && /* @__PURE__ */ j(
130
131
  t.List,
131
132
  {
132
133
  style: {
@@ -142,7 +143,7 @@ const ee = ({
142
143
  h: "100%",
143
144
  p: 0,
144
145
  value: "emojis",
145
- children: /* @__PURE__ */ o(T, { className: f.customTab, px: "sm", h: 36, children: a.emojis })
146
+ children: /* @__PURE__ */ o(C, { className: f.customTab, px: "sm", h: 36, children: a.emojis })
146
147
  }
147
148
  ),
148
149
  u && /* @__PURE__ */ o(
@@ -152,11 +153,11 @@ const ee = ({
152
153
  h: "100%",
153
154
  p: 0,
154
155
  value: "icons",
155
- children: /* @__PURE__ */ o(T, { className: f.customTab, px: "sm", h: 36, children: a.icons })
156
+ children: /* @__PURE__ */ o(C, { className: f.customTab, px: "sm", h: 36, children: a.icons })
156
157
  }
157
158
  ),
158
- !!String(i) && L && /* @__PURE__ */ o(
159
- G,
159
+ !!String(i) && M && /* @__PURE__ */ o(
160
+ J,
160
161
  {
161
162
  variant: "subtle",
162
163
  fz: "sm",
@@ -174,14 +175,15 @@ const ee = ({
174
175
  }
175
176
  ),
176
177
  /* @__PURE__ */ o(t.Panel, { mah: 470, style: { overflow: "auto" }, value: "emojis", children: /* @__PURE__ */ o(
177
- K,
178
+ U,
178
179
  {
179
180
  onChange: p,
180
181
  value: i,
181
182
  querySearch: l,
182
183
  locales: a,
183
- setRandomIcon: B,
184
- onClose: () => r(!1)
184
+ setRandomIcon: H,
185
+ onClose: y ? () => r(!1) : () => {
186
+ }
185
187
  }
186
188
  ) }),
187
189
  /* @__PURE__ */ o(
@@ -192,15 +194,16 @@ const ee = ({
192
194
  style: { overflow: "auto" },
193
195
  value: "icons",
194
196
  children: /* @__PURE__ */ o(
195
- U,
197
+ V,
196
198
  {
197
- project: C,
199
+ project: N,
198
200
  onChange: p,
199
201
  value: i,
200
202
  locales: a,
201
- showColors: D,
202
- keepOpenOnRandom: M,
203
- onClose: () => r(!1)
203
+ showColors: I,
204
+ keepOpenOnRandom: z,
205
+ onClose: y ? () => r(!1) : () => {
206
+ }
204
207
  }
205
208
  )
206
209
  }
@@ -213,5 +216,5 @@ const ee = ({
213
216
  );
214
217
  };
215
218
  export {
216
- ee as EmojiPicker
219
+ oe as EmojiPicker
217
220
  };
@@ -1,13 +1,13 @@
1
- const o = "_item_o1hlf_1", a = "_randomIcon_o1hlf_26", n = "_originalTab_o1hlf_30", t = "_customTab_o1hlf_36", _ = {
1
+ const o = "_item_s1gb0_1", s = "_randomIcon_s1gb0_51", a = "_originalTab_s1gb0_59", n = "_customTab_s1gb0_71", t = {
2
2
  item: o,
3
- randomIcon: a,
4
- originalTab: n,
5
- customTab: t
3
+ randomIcon: s,
4
+ originalTab: a,
5
+ customTab: n
6
6
  };
7
7
  export {
8
- t as customTab,
9
- _ as default,
8
+ n as customTab,
9
+ t as default,
10
10
  o as item,
11
- n as originalTab,
12
- a as randomIcon
11
+ a as originalTab,
12
+ s as randomIcon
13
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"EntityIcon.d.ts","sourceRoot":"","sources":["../../src/components/EntityIcon.tsx"],"names":[],"mappings":"AA2BA,MAAM,WAAW,cAAc;IAC7B,IAAI,CA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