@freedom-code-compliance/fcc-redesign 0.1.54 → 0.1.55

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.
package/index.d.ts CHANGED
@@ -219,6 +219,18 @@ export interface FCCChatMessageListProps {
219
219
  onMessageCopy?: (message: FCCChatMessage) => void
220
220
  }
221
221
 
222
+ export interface FCCChatAttachmentsListProps {
223
+ attachments?: FCCChatAttachment[]
224
+ renderAttachment?: (attachment: FCCChatAttachment) => ReactNode
225
+ layout?: 'default' | 'ticket' | 'hub'
226
+ compact?: boolean
227
+ }
228
+
229
+ export interface FCCChatAttachmentPreviewProps {
230
+ attachments?: File[]
231
+ onRemove?: (index: number) => void
232
+ }
233
+
222
234
  export interface FCCChatComposerFrameProps {
223
235
  placeholder?: string
224
236
  value?: string
@@ -340,6 +352,8 @@ export interface FCCChatTicketStatusTrackerProps {
340
352
 
341
353
  export function FCCChatSidebar(props: FCCChatSidebarProps): JSX.Element
342
354
  export function FCCChatMessageList(props: FCCChatMessageListProps): JSX.Element
355
+ export function FCCChatAttachmentsList(props: FCCChatAttachmentsListProps): JSX.Element
356
+ export function FCCChatAttachmentPreview(props: FCCChatAttachmentPreviewProps): JSX.Element
343
357
  export function FCCChatComposer(props: FCCChatComposerProps): JSX.Element
344
358
  export function FCCChatComposerFrame(props: FCCChatComposerFrameProps): JSX.Element
345
359
  export function FCCChatNewTicketForm(props: FCCChatNewTicketFormProps): JSX.Element
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@freedom-code-compliance/fcc-redesign",
3
3
  "private": false,
4
- "version": "0.1.54",
4
+ "version": "0.1.55",
5
5
  "description": "Reusable FCC design system components and theme for fccPRO and fccOPS.",
6
6
  "type": "module",
7
7
  "repository": {