@freedom-code-compliance/fcc-redesign 0.1.53 → 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
@@ -358,6 +372,16 @@ export const FCC_CHAT_BREAKPOINTS: {
358
372
  mobile: number
359
373
  smallDesktop: number
360
374
  }
375
+ export interface FCCChatSidebarWidths {
376
+ viewport: FCCChatViewport
377
+ railWidth: number
378
+ detailWidth: number
379
+ collapsedWidth: number
380
+ expandedWidth: number
381
+ currentWidth: number
382
+ }
383
+ export function useFCCChatViewport(): FCCChatViewport
384
+ export function useFCCChatSidebarWidths(detailOpen?: boolean): FCCChatSidebarWidths
361
385
 
362
386
  export type FCCCallsSidePanelTab = 'dial' | 'calls' | 'voicemail'
363
387
 
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.53",
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": {