@qtalo/qt-ui-library 0.3.4 → 0.4.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.
package/dist/index.d.ts CHANGED
@@ -241,6 +241,8 @@ export declare type BetaResizeHandleProps = {
241
241
  className?: string;
242
242
  };
243
243
 
244
+ export declare function BriefcaseOutlineIcon({ pathProps, ...props }: IconProps): JSX.Element;
245
+
244
246
  export declare function BuildingIcon({ pathProps, ...props }: IconProps): JSX.Element;
245
247
 
246
248
  export declare function BuildingOutlineIcon({ pathProps, ...props }: IconProps): JSX.Element;
@@ -360,6 +362,8 @@ declare type CardTitleProps = {
360
362
  className?: string;
361
363
  };
362
364
 
365
+ export declare function CheckBoldIcon({ pathProps, ...props }: IconProps): JSX.Element;
366
+
363
367
  export declare function Checkbox({ checked, defaultChecked, icon, indeterminate, indeterminateIcon, onChange, disabled, children, className, }: CheckboxProps): JSX.Element;
364
368
 
365
369
  export declare function CheckboxIcon({ pathProps, ...props }: IconProps): JSX.Element;
@@ -382,14 +386,20 @@ export declare function CheckCircleIcon({ pathProps, ...props }: IconProps): JSX
382
386
 
383
387
  export declare function CheckIcon({ pathProps, ...props }: IconProps): JSX.Element;
384
388
 
389
+ export declare function CheckOutlineIcon({ pathProps, ...props }: IconProps): JSX.Element;
390
+
385
391
  export declare function CheckSquareIcon({ pathProps, ...props }: IconProps): JSX.Element;
386
392
 
393
+ export declare function ChevronRightIcon({ pathProps, ...props }: IconProps): JSX.Element;
394
+
387
395
  export declare function ClickUpIcon(props: IconProps): JSX.Element;
388
396
 
389
397
  export declare function CloseBoldIcon({ pathProps, ...props }: IconProps): JSX.Element;
390
398
 
391
399
  export declare function CloseIcon({ pathProps, ...props }: IconProps): JSX.Element;
392
400
 
401
+ export declare function CloseOutlineIcon({ pathProps, ...props }: IconProps): JSX.Element;
402
+
393
403
  export declare function cn(...inputs: ClassValue[]): string;
394
404
 
395
405
  /**
@@ -430,6 +440,35 @@ declare type ConfirmationToastProps = ConfirmationTemplateProps & {
430
440
 
431
441
  export declare function CopyIcon({ pathProps, ...props }: IconProps): JSX.Element;
432
442
 
443
+ export declare function CursorTooltip({ content, children, position, multiline, className, }: CursorTooltipProps): JSX.Element;
444
+
445
+ export declare type CursorTooltipProps = {
446
+ content: string;
447
+ children: ReactNode;
448
+ position?: "top" | "top-right";
449
+ multiline?: boolean;
450
+ className?: string;
451
+ };
452
+
453
+ export declare function CustomerGroupHeader({ label, count, open, onToggle, allOpen, onToggleAll, className, }: CustomerGroupHeaderProps): JSX.Element;
454
+
455
+ export declare type CustomerGroupHeaderProps = {
456
+ label: string;
457
+ count: number;
458
+ open: boolean;
459
+ onToggle: () => void;
460
+ allOpen?: boolean;
461
+ onToggleAll?: () => void;
462
+ className?: string;
463
+ };
464
+
465
+ export declare function CustomerGroupHeaderSkeleton({ labelWidthClassName, className, }: CustomerGroupHeaderSkeletonProps): JSX.Element;
466
+
467
+ export declare type CustomerGroupHeaderSkeletonProps = {
468
+ labelWidthClassName?: string;
469
+ className?: string;
470
+ };
471
+
433
472
  export declare function DarkIcon({ pathProps, ...props }: IconProps): JSX.Element;
434
473
 
435
474
  declare type DateFormatOptions = {
@@ -825,6 +864,22 @@ export declare function EventSummaryFireButton({ active, onClick, }: Pick<EventS
825
864
 
826
865
  export declare type EventType = "email" | "message" | "ticket" | "calendar";
827
866
 
867
+ export declare function EvidenceHeader({ icon, title, muted, meta, className, }: EvidenceHeaderProps): JSX.Element;
868
+
869
+ export declare type EvidenceHeaderProps = {
870
+ icon: ReactNode;
871
+ title: string;
872
+ muted?: boolean;
873
+ meta?: string;
874
+ className?: string;
875
+ };
876
+
877
+ export declare function EvidenceHeaderSkeleton({ className, }: EvidenceHeaderSkeletonProps): JSX.Element;
878
+
879
+ export declare type EvidenceHeaderSkeletonProps = {
880
+ className?: string;
881
+ };
882
+
828
883
  export declare function EvidenceTimeline({ items, canExpandThread, tone, threadTitle, clientCompany, contactName, teamCompanyName, recipientLabel, className, ...props }: EvidenceTimelineProps): JSX.Element;
829
884
 
830
885
  export declare type EvidenceTimelineDirection = "external_inbound" | "internal_outbound";
@@ -866,6 +921,8 @@ export declare type EvidenceTimelineTone = "fire" | "review" | "resolved";
866
921
 
867
922
  export declare function ExternalLinkIcon({ pathProps, ...props }: IconProps): JSX.Element;
868
923
 
924
+ export declare function ExternalLinkOutlineIcon({ pathProps, ...props }: IconProps): JSX.Element;
925
+
869
926
  export declare function EyeFillIcon({ pathProps, ...props }: IconProps): JSX.Element;
870
927
 
871
928
  export declare function EyeIcon({ pathProps, ...props }: IconProps): JSX.Element;
@@ -1159,6 +1216,8 @@ export declare type IconProps = SVGProps<SVGSVGElement> & {
1159
1216
 
1160
1217
  export declare function InboxIcon({ pathProps, ...props }: IconProps): JSX.Element;
1161
1218
 
1219
+ export declare function InfoFillIcon({ pathProps, ...props }: IconProps): JSX.Element;
1220
+
1162
1221
  export declare function InfoTooltip({ className, ...props }: InfoTooltipProps): JSX.Element;
1163
1222
 
1164
1223
  export declare type InfoTooltipProps = TooltipProps;
@@ -1314,6 +1373,14 @@ export declare function MinusIcon({ pathProps, ...props }: IconProps): JSX.Eleme
1314
1373
 
1315
1374
  export declare function MoreIcon({ pathProps, ...props }: IconProps): JSX.Element;
1316
1375
 
1376
+ export declare function MsIcon({ name, size, className }: MsIconProps): JSX.Element;
1377
+
1378
+ export declare type MsIconProps = {
1379
+ name: string;
1380
+ size?: number;
1381
+ className?: string;
1382
+ };
1383
+
1317
1384
  export declare function NoEyeIcon({ pathProps, ...props }: IconProps): JSX.Element;
1318
1385
 
1319
1386
  export declare function NormalDensityIcon({ pathProps, ...props }: IconProps): JSX.Element;
@@ -1488,6 +1555,58 @@ export declare type PulseFilterChipSkeletonProps = {
1488
1555
 
1489
1556
  export declare type PulseFilterChipTone = "fire" | "review" | "neutral" | "brand";
1490
1557
 
1558
+ export declare function PulseGmailIcon({ pathProps, ...props }: IconProps): JSX.Element;
1559
+
1560
+ export declare function PulseSignalCard({ timeText, severity, slaLabel, move, subject, askAuthor, askText, nextLabel, nextText, owner, sources, tone, selected, onClick, onOpenThread, className, }: PulseSignalCardProps): JSX.Element;
1561
+
1562
+ export declare type PulseSignalCardMove = PulseSignalStatusMove;
1563
+
1564
+ export declare type PulseSignalCardProps = {
1565
+ timeText?: string;
1566
+ severity: PulseSignalCardSeverity;
1567
+ slaLabel: string;
1568
+ move?: PulseSignalCardMove;
1569
+ subject: string;
1570
+ askAuthor?: string;
1571
+ askText?: string;
1572
+ nextLabel?: string;
1573
+ nextText?: string;
1574
+ owner?: string;
1575
+ sources?: ReactNode;
1576
+ tone: PulseSignalCardTone;
1577
+ selected?: boolean;
1578
+ onClick?: () => void;
1579
+ onOpenThread?: () => void;
1580
+ className?: string;
1581
+ };
1582
+
1583
+ export declare type PulseSignalCardSeverity = PulseSignalStatusSeverity;
1584
+
1585
+ export declare function PulseSignalCardSkeleton({ className, }: PulseSignalCardSkeletonProps): JSX.Element;
1586
+
1587
+ export declare type PulseSignalCardSkeletonProps = {
1588
+ className?: string;
1589
+ };
1590
+
1591
+ export declare type PulseSignalCardTone = "response" | "review" | "spark";
1592
+
1593
+ export declare function PulseSignalStatus({ timeText, severity, slaLabel, move, keepSize, className, }: PulseSignalStatusProps): JSX.Element;
1594
+
1595
+ export declare type PulseSignalStatusMove = "respond" | "decide" | "observe";
1596
+
1597
+ export declare type PulseSignalStatusProps = {
1598
+ timeText?: string;
1599
+ severity: PulseSignalStatusSeverity;
1600
+ slaLabel: string;
1601
+ move?: PulseSignalStatusMove;
1602
+ keepSize?: boolean;
1603
+ className?: string;
1604
+ };
1605
+
1606
+ export declare type PulseSignalStatusSeverity = "fire" | "spark" | "watching";
1607
+
1608
+ export declare function PulseSlackIcon({ pathProps, ...props }: IconProps): JSX.Element;
1609
+
1491
1610
  export declare function QtaloBlueImage({ size, className, ...props }: QtaloImageProps_2): JSX.Element;
1492
1611
 
1493
1612
  export declare function QtaloImage({ size, className, ...props }: QtaloImageProps): JSX.Element;
@@ -1504,6 +1623,14 @@ export declare function ReadIcon({ pathProps, ...props }: IconProps): JSX.Elemen
1504
1623
 
1505
1624
  export declare function ReplyIoIcon(props: IconProps): JSX.Element;
1506
1625
 
1626
+ export declare function ResizeDivider({ isResizing, onMouseDown, className, }: ResizeDividerProps): JSX.Element;
1627
+
1628
+ export declare type ResizeDividerProps = {
1629
+ isResizing?: boolean;
1630
+ onMouseDown: (event: React.MouseEvent) => void;
1631
+ className?: string;
1632
+ };
1633
+
1507
1634
  export declare function RichContent({ content, className }: RichContentProps): JSX.Element;
1508
1635
 
1509
1636
  export declare type RichContentProps = {
@@ -1714,6 +1841,117 @@ export declare type SignalDetailSeverity = "fire" | "spark" | "watching";
1714
1841
 
1715
1842
  export declare type SignalDetailStatusTone = "fire" | "review" | "resolved";
1716
1843
 
1844
+ export declare function SignalSummaryActionButton({ icon, label, className, ...props }: SignalSummaryActionButtonProps): JSX.Element;
1845
+
1846
+ export declare type SignalSummaryActionButtonProps = Omit<ButtonProps, "children"> & {
1847
+ icon: ReactNode;
1848
+ label: string;
1849
+ };
1850
+
1851
+ export declare function SignalSummaryActionsSection({ title, children, className, }: SignalSummaryActionsSectionProps): JSX.Element;
1852
+
1853
+ export declare type SignalSummaryActionsSectionProps = {
1854
+ title: string;
1855
+ children: ReactNode;
1856
+ className?: string;
1857
+ };
1858
+
1859
+ export declare function SignalSummaryActionsSectionSkeleton({ className, }: SignalSummaryActionsSectionSkeletonProps): JSX.Element;
1860
+
1861
+ export declare type SignalSummaryActionsSectionSkeletonProps = {
1862
+ className?: string;
1863
+ };
1864
+
1865
+ export declare function SignalSummaryClaimSection({ title, claim, guardrail, className, }: SignalSummaryClaimSectionProps): JSX.Element;
1866
+
1867
+ export declare type SignalSummaryClaimSectionProps = {
1868
+ title: string;
1869
+ claim: string;
1870
+ guardrail?: string;
1871
+ className?: string;
1872
+ };
1873
+
1874
+ export declare function SignalSummaryClaimSectionSkeleton({ className, }: SignalSummaryClaimSectionSkeletonProps): JSX.Element;
1875
+
1876
+ export declare type SignalSummaryClaimSectionSkeletonProps = {
1877
+ className?: string;
1878
+ };
1879
+
1880
+ export declare type SignalSummaryDismissOption = {
1881
+ id: string;
1882
+ label: string;
1883
+ };
1884
+
1885
+ export declare function SignalSummaryDismissReasons({ prompt, options, selectedId, onSelect, confirmLabel, cancelLabel, insteadLabel, onConfirm, onCancel, onInstead, className, }: SignalSummaryDismissReasonsProps): JSX.Element;
1886
+
1887
+ export declare type SignalSummaryDismissReasonsProps = {
1888
+ prompt: string;
1889
+ options: SignalSummaryDismissOption[];
1890
+ selectedId: string | null;
1891
+ onSelect: (id: string) => void;
1892
+ confirmLabel: string;
1893
+ cancelLabel: string;
1894
+ insteadLabel: string;
1895
+ onConfirm: () => void;
1896
+ onCancel: () => void;
1897
+ onInstead: () => void;
1898
+ className?: string;
1899
+ };
1900
+
1901
+ export declare function SignalSummaryHeader({ status, onClose, from, to, className, }: SignalSummaryHeaderProps): JSX.Element;
1902
+
1903
+ export declare type SignalSummaryHeaderProps = {
1904
+ status: ReactNode;
1905
+ onClose?: () => void;
1906
+ from: {
1907
+ name: string;
1908
+ company?: string;
1909
+ address?: string;
1910
+ };
1911
+ to?: {
1912
+ name: string;
1913
+ tooltip?: string;
1914
+ addresses?: string[];
1915
+ icon: ReactNode;
1916
+ };
1917
+ className?: string;
1918
+ };
1919
+
1920
+ export declare function SignalSummaryHeaderSkeleton({ className, }: SignalSummaryHeaderSkeletonProps): JSX.Element;
1921
+
1922
+ export declare type SignalSummaryHeaderSkeletonProps = {
1923
+ className?: string;
1924
+ };
1925
+
1926
+ export declare function SignalSummaryReviewSection({ title, decision, reasons, className, }: SignalSummaryReviewSectionProps): JSX.Element;
1927
+
1928
+ export declare type SignalSummaryReviewSectionProps = {
1929
+ title: string;
1930
+ decision: string;
1931
+ reasons?: string[];
1932
+ className?: string;
1933
+ };
1934
+
1935
+ export declare function SignalSummarySlaSection({ title, statusLabel, status, percentUsed, actual, window, className, }: SignalSummarySlaSectionProps): JSX.Element;
1936
+
1937
+ export declare type SignalSummarySlaSectionProps = {
1938
+ title: string;
1939
+ statusLabel: string;
1940
+ status: SignalSummarySlaStatus;
1941
+ percentUsed: number;
1942
+ actual: string;
1943
+ window: string;
1944
+ className?: string;
1945
+ };
1946
+
1947
+ export declare function SignalSummarySlaSectionSkeleton({ className, }: SignalSummarySlaSectionSkeletonProps): JSX.Element;
1948
+
1949
+ export declare type SignalSummarySlaSectionSkeletonProps = {
1950
+ className?: string;
1951
+ };
1952
+
1953
+ export declare type SignalSummarySlaStatus = "met" | "on_track" | "approaching" | "overdue" | "way_overdue";
1954
+
1717
1955
  export declare function SignOutIcon({ pathProps, ...props }: IconProps): JSX.Element;
1718
1956
 
1719
1957
  export declare function Skeleton({ className }: SkeletonProps): JSX.Element;
@@ -1824,6 +2062,61 @@ export declare function SystemIcon({ pathProps, ...props }: IconProps): JSX.Elem
1824
2062
 
1825
2063
  export declare function TeamsIcon(props: IconProps): JSX.Element;
1826
2064
 
2065
+ export declare function ThreadDateDivider({ label, className, }: ThreadDateDividerProps): JSX.Element;
2066
+
2067
+ export declare type ThreadDateDividerProps = {
2068
+ label: string;
2069
+ className?: string;
2070
+ };
2071
+
2072
+ export declare function ThreadDateDividerSkeleton({ className, }: ThreadDateDividerSkeletonProps): JSX.Element;
2073
+
2074
+ export declare type ThreadDateDividerSkeletonProps = {
2075
+ className?: string;
2076
+ };
2077
+
2078
+ export declare function ThreadEmailMessage({ icon, sourceLabel, onOpenSource, senderName, senderCompany, senderAddress, recipientName, recipientCompany, recipientAddresses, recipientNote, timestamp, body, className, }: ThreadEmailMessageProps): JSX.Element;
2079
+
2080
+ export declare type ThreadEmailMessageProps = {
2081
+ icon: ReactNode;
2082
+ sourceLabel: string;
2083
+ onOpenSource?: () => void;
2084
+ senderName: string;
2085
+ senderCompany?: string;
2086
+ senderAddress?: string;
2087
+ recipientName?: string;
2088
+ recipientCompany?: string;
2089
+ recipientAddresses?: string[];
2090
+ recipientNote?: string;
2091
+ timestamp: string;
2092
+ body: string;
2093
+ className?: string;
2094
+ };
2095
+
2096
+ export declare function ThreadEmailMessageSkeleton({ className, }: ThreadEmailMessageSkeletonProps): JSX.Element;
2097
+
2098
+ export declare type ThreadEmailMessageSkeletonProps = {
2099
+ className?: string;
2100
+ };
2101
+
2102
+ export declare function ThreadSlackMessage({ sourceLabel, onOpenSource, senderName, timestamp, body, className, }: ThreadSlackMessageProps): JSX.Element;
2103
+
2104
+ export declare type ThreadSlackMessageProps = {
2105
+ sourceLabel: string;
2106
+ onOpenSource?: () => void;
2107
+ senderName: string;
2108
+ timestamp: string;
2109
+ body: string;
2110
+ className?: string;
2111
+ };
2112
+
2113
+ export declare function ThreadSlackMessageSkeleton({ bodyWidthClassName, className, }: ThreadSlackMessageSkeletonProps): JSX.Element;
2114
+
2115
+ export declare type ThreadSlackMessageSkeletonProps = {
2116
+ bodyWidthClassName?: string;
2117
+ className?: string;
2118
+ };
2119
+
1827
2120
  export declare type TicketDetail = {
1828
2121
  summary?: string;
1829
2122
  priorityText?: string;
@@ -1941,6 +2234,16 @@ export declare const toastStore: {
1941
2234
  */
1942
2235
  export declare function toMondayBased(dayOfWeek: number): number;
1943
2236
 
2237
+ export declare function ToolbarButton({ label, icon, count, variant, selected, className, ...props }: ToolbarButtonProps): JSX.Element;
2238
+
2239
+ export declare type ToolbarButtonProps = Omit<ButtonProps, "children"> & {
2240
+ label: string;
2241
+ icon?: ReactNode;
2242
+ count?: number | string;
2243
+ variant?: "tab" | "menu";
2244
+ selected?: boolean;
2245
+ };
2246
+
1944
2247
  export declare function Tooltip({ children, content, position, delay, className, }: TooltipProps): JSX.Element;
1945
2248
 
1946
2249
  export declare type TooltipPosition = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
@@ -1980,6 +2283,8 @@ export declare function useLongPress(onLongPress: () => void, onClick: () => voi
1980
2283
  onClick: () => void;
1981
2284
  };
1982
2285
 
2286
+ export declare function UserOutlineIcon({ pathProps, ...props }: IconProps): JSX.Element;
2287
+
1983
2288
  export declare function WarningIcon({ pathProps, ...props }: IconProps): JSX.Element;
1984
2289
 
1985
2290
  export { }