@proteos/ui 0.50.1 → 0.51.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.cjs +682 -304
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +238 -8
- package/dist/index.d.ts +238 -8
- package/dist/index.js +675 -308
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/badge/badge.stories.tsx +25 -0
- package/src/components/badge/badge.test.tsx +22 -0
- package/src/components/badge/badge.tsx +41 -10
- package/src/components/badge-multi-select/badge-multi-select.tsx +16 -11
- package/src/components/conversation-brief-card/conversation-brief-card.stories.tsx +81 -0
- package/src/components/conversation-brief-card/conversation-brief-card.tsx +102 -0
- package/src/components/conversation-brief-card/conversation-brief-preview.tsx +193 -0
- package/src/components/conversation-brief-card/conversation-brief-review.test.tsx +250 -0
- package/src/components/conversation-brief-card/conversation-brief-review.tsx +196 -0
- package/src/components/conversation-brief-card/create-conversation-brief-client.ts +18 -0
- package/src/components/conversation-brief-card/index.ts +24 -0
- package/src/components/conversation-brief-card/types.ts +50 -0
- package/src/components/data-table/data-table.test.tsx +62 -0
- package/src/components/data-table/data-table.tsx +75 -7
- package/src/components/record-filter/chip-value.tsx +2 -0
- package/src/index.ts +1 -0
- package/src/styles.css +1 -0
package/dist/index.d.cts
CHANGED
|
@@ -6,9 +6,9 @@ import * as react from 'react';
|
|
|
6
6
|
import { HTMLAttributes, ReactNode, AnchorHTMLAttributes, Ref, MouseEvent, KeyboardEvent as KeyboardEvent$1, RefObject, Key as Key$1 } from 'react';
|
|
7
7
|
import * as react_aria_components from 'react-aria-components';
|
|
8
8
|
import { Key, BreadcrumbsProps as BreadcrumbsProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, CheckboxGroupProps as CheckboxGroupProps$1, ComboBoxProps, DateValue, DatePickerProps as DatePickerProps$1, TextFieldProps, InputProps as InputProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, PopoverProps, MenuTrigger as MenuTrigger$1, DialogTriggerProps, ModalOverlayProps, DialogProps, HeadingProps, DisclosureProps, ProgressBarProps as ProgressBarProps$1, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, SeparatorProps as SeparatorProps$1, SwitchProps as SwitchProps$1, TabsProps, TabListProps, TabProps, TabPanelProps, TextAreaProps, TimeValue, TimeFieldProps as TimeFieldProps$1, ToastOptions as ToastOptions$1, UNSTABLE_ToastQueue, TooltipProps as TooltipProps$1, TooltipTriggerComponentProps } from 'react-aria-components';
|
|
9
|
-
import { ColumnDef, SortingState, OnChangeFn, Row } from '@tanstack/react-table';
|
|
10
9
|
import * as tailwind_merge from 'tailwind-merge';
|
|
11
|
-
import { Message, Conversation, UpdateDraftRequest, ContactAddress,
|
|
10
|
+
import { ConversationBrief, Contact, ConversationClient, Message, Conversation, UpdateDraftRequest, ContactAddress, SendRecipient } from '@proteos/sdk';
|
|
11
|
+
import { ColumnDef, SortingState, OnChangeFn, Row } from '@tanstack/react-table';
|
|
12
12
|
import { OrbState, OrbTheme } from 'thinking-orbs';
|
|
13
13
|
import { ClassValue } from 'clsx';
|
|
14
14
|
|
|
@@ -202,6 +202,14 @@ declare const badgeStyles: tailwind_variants.TVReturnType<{
|
|
|
202
202
|
danger: string[];
|
|
203
203
|
custom: string[];
|
|
204
204
|
};
|
|
205
|
+
shape: {
|
|
206
|
+
pill: string;
|
|
207
|
+
rounded: string;
|
|
208
|
+
};
|
|
209
|
+
hasDot: {
|
|
210
|
+
true: string;
|
|
211
|
+
false: string;
|
|
212
|
+
};
|
|
205
213
|
}, undefined, string[], {
|
|
206
214
|
variant: {
|
|
207
215
|
default: string;
|
|
@@ -212,6 +220,14 @@ declare const badgeStyles: tailwind_variants.TVReturnType<{
|
|
|
212
220
|
danger: string[];
|
|
213
221
|
custom: string[];
|
|
214
222
|
};
|
|
223
|
+
shape: {
|
|
224
|
+
pill: string;
|
|
225
|
+
rounded: string;
|
|
226
|
+
};
|
|
227
|
+
hasDot: {
|
|
228
|
+
true: string;
|
|
229
|
+
false: string;
|
|
230
|
+
};
|
|
215
231
|
}, undefined, tailwind_variants.TVReturnType<{
|
|
216
232
|
variant: {
|
|
217
233
|
default: string;
|
|
@@ -222,6 +238,14 @@ declare const badgeStyles: tailwind_variants.TVReturnType<{
|
|
|
222
238
|
danger: string[];
|
|
223
239
|
custom: string[];
|
|
224
240
|
};
|
|
241
|
+
shape: {
|
|
242
|
+
pill: string;
|
|
243
|
+
rounded: string;
|
|
244
|
+
};
|
|
245
|
+
hasDot: {
|
|
246
|
+
true: string;
|
|
247
|
+
false: string;
|
|
248
|
+
};
|
|
225
249
|
}, undefined, string[], unknown, unknown, undefined>>;
|
|
226
250
|
type BadgeVariants = VariantProps<typeof badgeStyles>;
|
|
227
251
|
type BadgeProps = HTMLAttributes<HTMLSpanElement> & BadgeVariants & {
|
|
@@ -230,7 +254,7 @@ type BadgeProps = HTMLAttributes<HTMLSpanElement> & BadgeVariants & {
|
|
|
230
254
|
/** Lucide icon name (any casing). Replaces the leading dot; unknown names keep the dot. */
|
|
231
255
|
icon?: string;
|
|
232
256
|
};
|
|
233
|
-
declare function Badge({ variant, color, icon, className, style, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
257
|
+
declare function Badge({ variant, shape, hasDot, color, icon, className, style, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
234
258
|
|
|
235
259
|
declare const fieldControlStyles: tailwind_variants.TVReturnType<{
|
|
236
260
|
size: {
|
|
@@ -346,6 +370,10 @@ type BadgeMultiSelectOption<T extends Key = Key> = {
|
|
|
346
370
|
label: string;
|
|
347
371
|
/** Badge color register. Defaults to `default`. */
|
|
348
372
|
variant?: BadgeVariants['variant'];
|
|
373
|
+
/** Badge corner shape. Defaults to `pill`; enum chips use `rounded`. */
|
|
374
|
+
shape?: BadgeVariants['shape'];
|
|
375
|
+
/** Leading dot. Defaults to on; enum chips turn it off. */
|
|
376
|
+
hasDot?: boolean;
|
|
349
377
|
/** `#rrggbb` tint — overrides `variant` (see Badge). */
|
|
350
378
|
color?: string;
|
|
351
379
|
/** Lucide icon name; replaces the badge dot. */
|
|
@@ -647,6 +675,193 @@ declare function useEscapeKey(handler: (event: KeyboardEvent) => void, options?:
|
|
|
647
675
|
|
|
648
676
|
declare function useDiscoveryActive(): boolean;
|
|
649
677
|
|
|
678
|
+
/**
|
|
679
|
+
* The minimal fetch surface the conversation-brief surfaces need, injected per host:
|
|
680
|
+
* the web app builds it from `useSdk().conversation`, custom components from
|
|
681
|
+
* `useSdk().conversations` — both via {@link createConversationBriefClient}.
|
|
682
|
+
*/
|
|
683
|
+
interface ConversationBriefClient {
|
|
684
|
+
/** One brief — also resolves terminal states (used / discarded) by id. */
|
|
685
|
+
getConversationBrief(conversationBriefId: string): Promise<ConversationBrief>;
|
|
686
|
+
/** One of the brief's contacts: name + addresses (the phone numbers to dial). */
|
|
687
|
+
getContact(contactId: string): Promise<Contact>;
|
|
688
|
+
}
|
|
689
|
+
/** A brief's terminal state — what the card shows once it can no longer be
|
|
690
|
+
* opened for a call. */
|
|
691
|
+
type ConversationBriefOutcome = 'used' | 'discarded';
|
|
692
|
+
/** The terminal outcome for a brief status, or null while it is open. */
|
|
693
|
+
declare function conversationBriefOutcomeFor(status: ConversationBrief['status']): ConversationBriefOutcome | null;
|
|
694
|
+
/** Whether a brief can be turned into a phone call from the platform: pinned
|
|
695
|
+
* to the phone channel, or not pinned at all (any channel). */
|
|
696
|
+
declare function isDialableConversationBrief(brief: Pick<ConversationBrief, 'channel'>): boolean;
|
|
697
|
+
/** The dialable numbers of a contact: its phone addresses, canonical (E.164)
|
|
698
|
+
* value first-served, deduplicated. */
|
|
699
|
+
declare function contactPhoneNumbers(contact: Pick<Contact, 'addresses'> | null | undefined): string[];
|
|
700
|
+
|
|
701
|
+
declare const conversationBriefCardStyles: tailwind_variants.TVReturnType<{
|
|
702
|
+
[key: string]: {
|
|
703
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
704
|
+
body?: tailwind_merge.ClassNameValue;
|
|
705
|
+
summary?: tailwind_merge.ClassNameValue;
|
|
706
|
+
title?: tailwind_merge.ClassNameValue;
|
|
707
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
708
|
+
action?: tailwind_merge.ClassNameValue;
|
|
709
|
+
outcome?: tailwind_merge.ClassNameValue;
|
|
710
|
+
eyebrow?: tailwind_merge.ClassNameValue;
|
|
711
|
+
root?: tailwind_merge.ClassNameValue;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
} | {
|
|
715
|
+
[x: string]: {
|
|
716
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
717
|
+
body?: tailwind_merge.ClassNameValue;
|
|
718
|
+
summary?: tailwind_merge.ClassNameValue;
|
|
719
|
+
title?: tailwind_merge.ClassNameValue;
|
|
720
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
721
|
+
action?: tailwind_merge.ClassNameValue;
|
|
722
|
+
outcome?: tailwind_merge.ClassNameValue;
|
|
723
|
+
eyebrow?: tailwind_merge.ClassNameValue;
|
|
724
|
+
root?: tailwind_merge.ClassNameValue;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
} | {}, {
|
|
728
|
+
root: string[];
|
|
729
|
+
icon: string[];
|
|
730
|
+
body: string;
|
|
731
|
+
eyebrow: string;
|
|
732
|
+
title: string;
|
|
733
|
+
summary: string;
|
|
734
|
+
action: string[];
|
|
735
|
+
outcome: string;
|
|
736
|
+
}, undefined, {
|
|
737
|
+
[key: string]: {
|
|
738
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
739
|
+
body?: tailwind_merge.ClassNameValue;
|
|
740
|
+
summary?: tailwind_merge.ClassNameValue;
|
|
741
|
+
title?: tailwind_merge.ClassNameValue;
|
|
742
|
+
icon?: tailwind_merge.ClassNameValue;
|
|
743
|
+
action?: tailwind_merge.ClassNameValue;
|
|
744
|
+
outcome?: tailwind_merge.ClassNameValue;
|
|
745
|
+
eyebrow?: tailwind_merge.ClassNameValue;
|
|
746
|
+
root?: tailwind_merge.ClassNameValue;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
} | {}, {
|
|
750
|
+
root: string[];
|
|
751
|
+
icon: string[];
|
|
752
|
+
body: string;
|
|
753
|
+
eyebrow: string;
|
|
754
|
+
title: string;
|
|
755
|
+
summary: string;
|
|
756
|
+
action: string[];
|
|
757
|
+
outcome: string;
|
|
758
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
759
|
+
root: string[];
|
|
760
|
+
icon: string[];
|
|
761
|
+
body: string;
|
|
762
|
+
eyebrow: string;
|
|
763
|
+
title: string;
|
|
764
|
+
summary: string;
|
|
765
|
+
action: string[];
|
|
766
|
+
outcome: string;
|
|
767
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
768
|
+
declare const CONVERSATION_BRIEF_OUTCOME_LABEL: Record<ConversationBriefOutcome, string>;
|
|
769
|
+
interface ConversationBriefCardProps {
|
|
770
|
+
/** Headline: the brief's subject, else the contact's name. */
|
|
771
|
+
title: string;
|
|
772
|
+
/** Second line: the contact, channel, type and/or the opening line. */
|
|
773
|
+
summary?: string;
|
|
774
|
+
/** Default 'Conversation brief — prepared'. */
|
|
775
|
+
eyebrow?: ReactNode;
|
|
776
|
+
/** Default 'Open Brief'. */
|
|
777
|
+
openLabel?: string;
|
|
778
|
+
/** Terminal outcome. Set ⇒ the action is replaced by its status label. */
|
|
779
|
+
outcome?: ConversationBriefOutcome | null;
|
|
780
|
+
onOpen?: () => void;
|
|
781
|
+
isOpenDisabled?: boolean;
|
|
782
|
+
className?: string;
|
|
783
|
+
}
|
|
784
|
+
declare function ConversationBriefCard({ title, summary, eyebrow, openLabel, outcome, onOpen, isOpenDisabled, className, }: ConversationBriefCardProps): react_jsx_runtime.JSX.Element;
|
|
785
|
+
|
|
786
|
+
interface ConversationBriefPreviewProps {
|
|
787
|
+
brief: ConversationBrief;
|
|
788
|
+
/** The brief's contacts (the resolved subset — a failed lookup is simply
|
|
789
|
+
* absent). Names head the preview; phone addresses are the dial
|
|
790
|
+
* candidates. */
|
|
791
|
+
contacts: Contact[];
|
|
792
|
+
/** Renders the contact/number pickers + Call button. Absent ⇒ read-only
|
|
793
|
+
* preview. Receives the chosen contact and number. */
|
|
794
|
+
onCall?: (contact: Contact, phoneNumber: string) => void;
|
|
795
|
+
/** Disables the Call button (softphone busy, another call running…). */
|
|
796
|
+
isCallDisabled?: boolean;
|
|
797
|
+
/** Explains why calling is disabled (shown under the controls). */
|
|
798
|
+
callDisabledReason?: string;
|
|
799
|
+
/** Host-slotted controls rendered next to the number picker (caller id). */
|
|
800
|
+
controls?: ReactNode;
|
|
801
|
+
/** Hide the built-in Call button — for hosts that render the action in
|
|
802
|
+
* their own footer; pair with `onSelectionChange` to know what to dial. */
|
|
803
|
+
isCallButtonHidden?: boolean;
|
|
804
|
+
/** Fires whenever the chosen contact / number changes (and once on mount),
|
|
805
|
+
* so a host rendering its own Call button knows the current target.
|
|
806
|
+
* `phoneNumber` is '' when the chosen contact has no number. */
|
|
807
|
+
onSelectionChange?: (contact: Contact | null, phoneNumber: string) => void;
|
|
808
|
+
/** Default 'Call'. */
|
|
809
|
+
callLabel?: string;
|
|
810
|
+
className?: string;
|
|
811
|
+
/** Visual override for the guidance text box (e.g. a max height). */
|
|
812
|
+
contentClassName?: string;
|
|
813
|
+
/** Renders the guidance text (markdown). Absent ⇒ plain pre-wrapped text. */
|
|
814
|
+
renderContent?: (content: string) => ReactNode;
|
|
815
|
+
/** Shows an Edit button on hover over the guidance box. */
|
|
816
|
+
onEdit?: () => void;
|
|
817
|
+
/** Replaces the guidance box wholesale — the host's editing surface. */
|
|
818
|
+
editor?: ReactNode;
|
|
819
|
+
}
|
|
820
|
+
declare function ConversationBriefPreview({ brief, contacts, onCall, isCallDisabled, callDisabledReason, controls, isCallButtonHidden, onSelectionChange, callLabel, className, contentClassName, renderContent, onEdit, editor, }: ConversationBriefPreviewProps): react_jsx_runtime.JSX.Element;
|
|
821
|
+
|
|
822
|
+
interface ConversationBriefReviewProps {
|
|
823
|
+
conversationBriefId: string;
|
|
824
|
+
/** Injected fetch surface — see createConversationBriefClient. */
|
|
825
|
+
client: ConversationBriefClient;
|
|
826
|
+
/**
|
|
827
|
+
* FULL REPLACEMENT for the open action's default (the built-in preview
|
|
828
|
+
* modal). When supplied the built-in modal is never rendered.
|
|
829
|
+
*/
|
|
830
|
+
onOpenCall?: (conversationBriefId: string) => void;
|
|
831
|
+
/** Built-in modal only: place the call to this contact + number (the
|
|
832
|
+
* host's dial). Absent ⇒ the modal is a read-only preview. */
|
|
833
|
+
onCall?: (brief: ConversationBrief, contact: Contact, phoneNumber: string) => void;
|
|
834
|
+
/** Built-in modal only: disable the Call button + explain why. */
|
|
835
|
+
isCallDisabled?: boolean;
|
|
836
|
+
callDisabledReason?: string;
|
|
837
|
+
/** Fires at most once, when the brief is (or becomes) terminal. */
|
|
838
|
+
onOutcome?: (outcome: ConversationBriefOutcome, brief: ConversationBrief) => void;
|
|
839
|
+
/** The brief could not be loaded. The card renders nothing in that case. */
|
|
840
|
+
onLoadError?: (error: Error) => void;
|
|
841
|
+
/** Built-in modal heading. Default 'Prepared conversation'. */
|
|
842
|
+
modalTitle?: string;
|
|
843
|
+
modalClassName?: string;
|
|
844
|
+
/** Built-in modal overlay classes — where a host raises the z tier. */
|
|
845
|
+
overlayClassName?: string;
|
|
846
|
+
openLabel?: string;
|
|
847
|
+
className?: string;
|
|
848
|
+
/** Built-in modal only: markdown renderer for the guidance text. */
|
|
849
|
+
renderContent?: (content: string) => ReactNode;
|
|
850
|
+
}
|
|
851
|
+
declare function ConversationBriefReview({ conversationBriefId, client, onOpenCall, onCall, isCallDisabled, callDisabledReason, onOutcome, onLoadError, modalTitle, modalClassName, overlayClassName, openLabel, className, renderContent, }: ConversationBriefReviewProps): react_jsx_runtime.JSX.Element | null;
|
|
852
|
+
/** The people's names, comma-joined. */
|
|
853
|
+
declare function namesOf(contacts: Contact[]): string;
|
|
854
|
+
/** Who + where + what: the people (when the subject took the headline),
|
|
855
|
+
* the channel, the type, then the opening line. */
|
|
856
|
+
declare function summaryFor(brief: ConversationBrief, contacts: Contact[]): string;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* One-liner adapter from the sdk ConversationClient (web app:
|
|
860
|
+
* `useSdk().conversation`; custom components: `useSdk().conversations`) to
|
|
861
|
+
* the conversation-brief surfaces' injected client. Type-only sdk import.
|
|
862
|
+
*/
|
|
863
|
+
declare function createConversationBriefClient(conversation: Pick<ConversationClient, 'conversationBriefs' | 'contacts'>): ConversationBriefClient;
|
|
864
|
+
|
|
650
865
|
interface CurrencyInputValue {
|
|
651
866
|
amount: string;
|
|
652
867
|
currency_code: string;
|
|
@@ -1033,10 +1248,25 @@ type DataTableProps<TRow> = {
|
|
|
1033
1248
|
* Default false — read-only tables stay borderless in the body.
|
|
1034
1249
|
*/
|
|
1035
1250
|
columnBorders?: boolean;
|
|
1251
|
+
/**
|
|
1252
|
+
* Group consecutive rows under a full-width heading. Returns the group a row
|
|
1253
|
+
* belongs to, or null to leave it ungrouped; a heading is emitted whenever
|
|
1254
|
+
* the group id CHANGES between neighbours, so the caller is responsible for
|
|
1255
|
+
* ordering rows by their group (with server-side sorting, sort by the
|
|
1256
|
+
* grouping column first). That contract is what lets grouping work with
|
|
1257
|
+
* infinite scroll — a group may continue on the next page without the table
|
|
1258
|
+
* having to know the full row set up front.
|
|
1259
|
+
*/
|
|
1260
|
+
groupBy?: (row: TRow) => {
|
|
1261
|
+
id: string;
|
|
1262
|
+
label: ReactNode;
|
|
1263
|
+
} | null;
|
|
1264
|
+
/** Height of a group heading row. Defaults to `rowHeight`. */
|
|
1265
|
+
groupHeaderHeight?: number;
|
|
1036
1266
|
};
|
|
1037
1267
|
/** Column id of the leading checkbox column added by `selectionMode`. */
|
|
1038
1268
|
declare const SELECTION_COLUMN_ID = "__select__";
|
|
1039
|
-
declare function DataTable<TRow>({ query, columns, sorting, onSortingChange, rowHeight, overscan, onRowClick, zebra, emptyState, errorState, loadingState, getRowId, className, ariaLabel, enableColumnReordering, enableColumnRemoval, onReorderColumn, onRemoveColumn, variant, rowWrapper, extraRows, bodyBefore, bodyAfter, selectionMode, selectedIds, onSelectionChange, columnBorders, }: DataTableProps<TRow>): react_jsx_runtime.JSX.Element;
|
|
1269
|
+
declare function DataTable<TRow>({ query, columns, sorting, onSortingChange, rowHeight, overscan, onRowClick, zebra, emptyState, errorState, loadingState, getRowId, className, ariaLabel, enableColumnReordering, enableColumnRemoval, onReorderColumn, onRemoveColumn, variant, rowWrapper, extraRows, bodyBefore, bodyAfter, selectionMode, selectedIds, onSelectionChange, columnBorders, groupBy, groupHeaderHeight, }: DataTableProps<TRow>): react_jsx_runtime.JSX.Element;
|
|
1040
1270
|
|
|
1041
1271
|
type ActionsColumnOptions<TData> = {
|
|
1042
1272
|
id?: string;
|
|
@@ -1309,8 +1539,8 @@ declare const draftMessageCardStyles: tailwind_variants.TVReturnType<{
|
|
|
1309
1539
|
icon?: tailwind_merge.ClassNameValue;
|
|
1310
1540
|
action?: tailwind_merge.ClassNameValue;
|
|
1311
1541
|
outcome?: tailwind_merge.ClassNameValue;
|
|
1312
|
-
root?: tailwind_merge.ClassNameValue;
|
|
1313
1542
|
eyebrow?: tailwind_merge.ClassNameValue;
|
|
1543
|
+
root?: tailwind_merge.ClassNameValue;
|
|
1314
1544
|
recipients?: tailwind_merge.ClassNameValue;
|
|
1315
1545
|
};
|
|
1316
1546
|
};
|
|
@@ -1322,8 +1552,8 @@ declare const draftMessageCardStyles: tailwind_variants.TVReturnType<{
|
|
|
1322
1552
|
icon?: tailwind_merge.ClassNameValue;
|
|
1323
1553
|
action?: tailwind_merge.ClassNameValue;
|
|
1324
1554
|
outcome?: tailwind_merge.ClassNameValue;
|
|
1325
|
-
root?: tailwind_merge.ClassNameValue;
|
|
1326
1555
|
eyebrow?: tailwind_merge.ClassNameValue;
|
|
1556
|
+
root?: tailwind_merge.ClassNameValue;
|
|
1327
1557
|
recipients?: tailwind_merge.ClassNameValue;
|
|
1328
1558
|
};
|
|
1329
1559
|
};
|
|
@@ -1344,8 +1574,8 @@ declare const draftMessageCardStyles: tailwind_variants.TVReturnType<{
|
|
|
1344
1574
|
icon?: tailwind_merge.ClassNameValue;
|
|
1345
1575
|
action?: tailwind_merge.ClassNameValue;
|
|
1346
1576
|
outcome?: tailwind_merge.ClassNameValue;
|
|
1347
|
-
root?: tailwind_merge.ClassNameValue;
|
|
1348
1577
|
eyebrow?: tailwind_merge.ClassNameValue;
|
|
1578
|
+
root?: tailwind_merge.ClassNameValue;
|
|
1349
1579
|
recipients?: tailwind_merge.ClassNameValue;
|
|
1350
1580
|
};
|
|
1351
1581
|
};
|
|
@@ -2776,4 +3006,4 @@ declare function Tooltip({ className, offset, ...props }: TooltipProps): react_j
|
|
|
2776
3006
|
|
|
2777
3007
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2778
3008
|
|
|
2779
|
-
export { ATTRIBUTE_TYPES, ATTRIBUTE_TYPE_ICONS, type ActionsColumnOptions, AttachmentChip, type AttachmentChipProps, type AttachmentChipVariants, AttributePicker, type AttributePickerProps, AttributeType, AttributeTypeIcon, type AttributeTypeIconProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarGroupVariants, type AvatarProps, type AvatarVariants, Badge, BadgeMultiSelect, type BadgeMultiSelectOption, type BadgeMultiSelectProps, type BadgeProps, type BadgeVariants, BooleanCell, type BooleanCellProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, type ButtonVariants, COLUMN_DRAG_KIND, Card, CardBody, CardContent, CardEyebrow, CardFeatureTitle, CardFooter, CardHeader, type CardProps, CardTitle, type CardVariants, ChannelIcon, type ChannelIconProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ChipValue, type ChipValueItemRenderer, type ChipValueProps, ColorInput, type ColorInputProps, type ColumnDragData, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandHint, type CommandHintProps, type CommandHintTone, type CommandProps, type ComparisonOperator, type ComposerAttachment, type ComposerConnectionPicker, type ComposerSendInput, type ComposerValue, CurrencyInput, type CurrencyInputOption, type CurrencyInputProps, type CurrencyInputValue, DRAFT_OUTCOME_LABEL, DataTable, DataTableEmpty, type DataTableEmptyProps, DataTableError, type DataTableErrorProps, type DataTableProps, DataTableSkeleton, type DataTableSkeletonProps, DateCell, type DateCellProps, DatePicker, type DatePickerProps, DateTimeCell, type DateTimeCellProps, DateTimePicker, type DateTimePickerProps, type DraftMessageActions, DraftMessageCard, type DraftMessageCardProps, type DraftMessageClient, DraftMessageComposer, type DraftMessageComposerProps, type DraftMessageOutcome, DraftMessageReview, type DraftMessageReviewProps, type DraftReviewOutcome, EmptyState, type EmptyStateProps, type EmptyStateVariants, ErrorAnimation, type ErrorAnimationProps, FIELD_LABEL_SEPARATOR, type FieldAppearance, FieldCaret, type FieldControlVariants, type FieldSize, FileField, type FileFieldProps, type FileFieldValue, FileViewer, FileViewerFallbackCard, type FileViewerFallbackCardProps, type FileViewerFallbackCardVariants, type FileViewerKind, type FileViewerProps, type FileViewerVariants, type FilterElement, type FilterField, type FilterFieldOption, type FilterFieldRelation, type FilterFieldType, type FilterGroup, FilterRow, type FilterRowProps, type FilterValue, FilterValueInput, type FilterValueInputProps, type FilterValueInputRenderer, IconPicker, type IconPickerProps, ImageAttachment, type ImageAttachmentProps, type ImageAttachmentVariants, ImageLightbox, type ImageLightboxProps, type ImageLightboxVariants, type InfiniteQueryLike, Input, type InputProps, Kbd, type KbdProps, type KeyCombo, LinkCell, type LinkCellProps, type LogicalOperator, type LucideIconName, MAX_COMPOSER_ATTACHMENT_BYTES, Menu, MenuItem, type MenuItemProps, MenuPopover, type MenuPopoverProps, type MenuProps, MenuTrigger, MessageComposer, type MessageComposerProps, Modal, ModalBody, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, MultiSelect, type MultiSelectOption, type MultiSelectProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, type NavItemVariants, NavSection, type NavSectionProps, OPERATORS, type OperatorArity, type OperatorDescriptor, OperatorPicker, type OperatorPickerProps, Orb, type OrbProps, type OrbSizeToken, PROTECTED_COMBOS, Popover, PopoverContent, type PopoverContentProps, PopoverPanelBody, PopoverPanelFooter, PopoverPanelHeader, PressableCard, type PressableCardProps, ProgressBar, type ProgressBarProps, type ProgressBarVariants, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RecipientSelect, type RecipientSelectProps, RecordFilterBuilderPanel, type RecordFilterBuilderPanelProps, RecordFilterButton, type RecordFilterButtonProps, RecordFilterChips, type RecordFilterChipsProps, RecordFilterEditor, type RecordFilterEditorProps, RenderChipItemProvider, RenderValueInputProvider, SELECTION_COLUMN_ID, type SearchRecipients, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlVariants, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SkeletonVariants, type SortDirection, SubmenuTrigger, SuccessAnimation, type SuccessAnimationProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderSpacer, type TableProps, TableRow, type TableRowProps, TableScroller, type TableVariants, Tabs, type TabsListProps, type TabsPanelProps, type TabsRootProps, type TabsTriggerProps, type TabsVariants, TagInput, type TagInputProps, type TerminalKind, Textarea, type TextareaProps, TimeField, type TimeFieldProps, type ToastContent, type ToastOptions, type ToastQueue, ToastRegion, type ToastRegionProps, type ToastVariant, type ToastVariants, Tooltip, type TooltipProps, TooltipTrigger, TruncateCell, type TruncateCellProps, type UseCommandOptions, type UseEscapeKeyOptions, type UseInfiniteScrollSentinelOptions, __resetDraftMessageActions, __resetDraftMessageOutcomes, addLeaf as addFilterLeaf, addPendingLeaf, addSubgroup, arityOf, attachmentChipStyles, avatarGroupStyles, avatarStyles, badgeStyles, buttonStyles, cardStyles, channelIcon, cn, countLeaves, createDraftMessageClient, createToastQueue, defaultValueFor, draftMessageCardStyles, draftMessageComposerStyles, draftOutcomeFor, emptyStateStyles, fieldControlStyles, fieldErrorStyles, fieldHintStyles, fieldLabelStyles, fileViewerFallbackCardStyles, fileViewerStyles, formatFileSize, formatValue, iconForContentType, imageAttachmentStyles, imageLightboxStyles, isColumnDragData, isDraftReviewOutcome, isEditableTarget, isPreviewableImageName, joinFieldLabel, makeActionsColumn, messageComposerStyles, navItemStyles, normalizeHexColor, operatorById, operatorsForType, parseCombo, progressBarStyles, publishDraftMessageOutcome, rebaseRowOnFieldChange, rebaseRowOnOperatorChange, registerDraftMessageActions, removeLeaf, removeSubgroup, replaceLeaf, resolveLucideIcon, resolveLucideIconName, segmentedControlStyles, setJoiner, skeletonStyles, subscribeDraftMessageOutcome, tableCellStyles, tableHeaderCellStyles, tabsStyles, terminalKindFor, toastStyles, updateLeaf, updateSubgroup, useAttributeTypeIcon, useCommand, useDiscoveryActive, useDraftMessageActions, useDraftMessageOutcome, useEscapeKey, useInfiniteScrollSentinel, useRenderChipItem, useRenderValueInput, useShowDetails, viewerKindForContentType, wrapLeafInGroup };
|
|
3009
|
+
export { ATTRIBUTE_TYPES, ATTRIBUTE_TYPE_ICONS, type ActionsColumnOptions, AttachmentChip, type AttachmentChipProps, type AttachmentChipVariants, AttributePicker, type AttributePickerProps, AttributeType, AttributeTypeIcon, type AttributeTypeIconProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarGroupVariants, type AvatarProps, type AvatarVariants, Badge, BadgeMultiSelect, type BadgeMultiSelectOption, type BadgeMultiSelectProps, type BadgeProps, type BadgeVariants, BooleanCell, type BooleanCellProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, type ButtonVariants, COLUMN_DRAG_KIND, CONVERSATION_BRIEF_OUTCOME_LABEL, Card, CardBody, CardContent, CardEyebrow, CardFeatureTitle, CardFooter, CardHeader, type CardProps, CardTitle, type CardVariants, ChannelIcon, type ChannelIconProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ChipValue, type ChipValueItemRenderer, type ChipValueProps, ColorInput, type ColorInputProps, type ColumnDragData, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandHint, type CommandHintProps, type CommandHintTone, type CommandProps, type ComparisonOperator, type ComposerAttachment, type ComposerConnectionPicker, type ComposerSendInput, type ComposerValue, ConversationBriefCard, type ConversationBriefCardProps, type ConversationBriefClient, type ConversationBriefOutcome, ConversationBriefPreview, type ConversationBriefPreviewProps, ConversationBriefReview, type ConversationBriefReviewProps, CurrencyInput, type CurrencyInputOption, type CurrencyInputProps, type CurrencyInputValue, DRAFT_OUTCOME_LABEL, DataTable, DataTableEmpty, type DataTableEmptyProps, DataTableError, type DataTableErrorProps, type DataTableProps, DataTableSkeleton, type DataTableSkeletonProps, DateCell, type DateCellProps, DatePicker, type DatePickerProps, DateTimeCell, type DateTimeCellProps, DateTimePicker, type DateTimePickerProps, type DraftMessageActions, DraftMessageCard, type DraftMessageCardProps, type DraftMessageClient, DraftMessageComposer, type DraftMessageComposerProps, type DraftMessageOutcome, DraftMessageReview, type DraftMessageReviewProps, type DraftReviewOutcome, EmptyState, type EmptyStateProps, type EmptyStateVariants, ErrorAnimation, type ErrorAnimationProps, FIELD_LABEL_SEPARATOR, type FieldAppearance, FieldCaret, type FieldControlVariants, type FieldSize, FileField, type FileFieldProps, type FileFieldValue, FileViewer, FileViewerFallbackCard, type FileViewerFallbackCardProps, type FileViewerFallbackCardVariants, type FileViewerKind, type FileViewerProps, type FileViewerVariants, type FilterElement, type FilterField, type FilterFieldOption, type FilterFieldRelation, type FilterFieldType, type FilterGroup, FilterRow, type FilterRowProps, type FilterValue, FilterValueInput, type FilterValueInputProps, type FilterValueInputRenderer, IconPicker, type IconPickerProps, ImageAttachment, type ImageAttachmentProps, type ImageAttachmentVariants, ImageLightbox, type ImageLightboxProps, type ImageLightboxVariants, type InfiniteQueryLike, Input, type InputProps, Kbd, type KbdProps, type KeyCombo, LinkCell, type LinkCellProps, type LogicalOperator, type LucideIconName, MAX_COMPOSER_ATTACHMENT_BYTES, Menu, MenuItem, type MenuItemProps, MenuPopover, type MenuPopoverProps, type MenuProps, MenuTrigger, MessageComposer, type MessageComposerProps, Modal, ModalBody, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, MultiSelect, type MultiSelectOption, type MultiSelectProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, type NavItemVariants, NavSection, type NavSectionProps, OPERATORS, type OperatorArity, type OperatorDescriptor, OperatorPicker, type OperatorPickerProps, Orb, type OrbProps, type OrbSizeToken, PROTECTED_COMBOS, Popover, PopoverContent, type PopoverContentProps, PopoverPanelBody, PopoverPanelFooter, PopoverPanelHeader, PressableCard, type PressableCardProps, ProgressBar, type ProgressBarProps, type ProgressBarVariants, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RecipientSelect, type RecipientSelectProps, RecordFilterBuilderPanel, type RecordFilterBuilderPanelProps, RecordFilterButton, type RecordFilterButtonProps, RecordFilterChips, type RecordFilterChipsProps, RecordFilterEditor, type RecordFilterEditorProps, RenderChipItemProvider, RenderValueInputProvider, SELECTION_COLUMN_ID, type SearchRecipients, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlVariants, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SkeletonVariants, type SortDirection, SubmenuTrigger, SuccessAnimation, type SuccessAnimationProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderSpacer, type TableProps, TableRow, type TableRowProps, TableScroller, type TableVariants, Tabs, type TabsListProps, type TabsPanelProps, type TabsRootProps, type TabsTriggerProps, type TabsVariants, TagInput, type TagInputProps, type TerminalKind, Textarea, type TextareaProps, TimeField, type TimeFieldProps, type ToastContent, type ToastOptions, type ToastQueue, ToastRegion, type ToastRegionProps, type ToastVariant, type ToastVariants, Tooltip, type TooltipProps, TooltipTrigger, TruncateCell, type TruncateCellProps, type UseCommandOptions, type UseEscapeKeyOptions, type UseInfiniteScrollSentinelOptions, __resetDraftMessageActions, __resetDraftMessageOutcomes, addLeaf as addFilterLeaf, addPendingLeaf, addSubgroup, arityOf, attachmentChipStyles, avatarGroupStyles, avatarStyles, badgeStyles, buttonStyles, cardStyles, channelIcon, cn, contactPhoneNumbers, conversationBriefCardStyles, conversationBriefOutcomeFor, countLeaves, createConversationBriefClient, createDraftMessageClient, createToastQueue, defaultValueFor, draftMessageCardStyles, draftMessageComposerStyles, draftOutcomeFor, emptyStateStyles, fieldControlStyles, fieldErrorStyles, fieldHintStyles, fieldLabelStyles, fileViewerFallbackCardStyles, fileViewerStyles, formatFileSize, formatValue, iconForContentType, imageAttachmentStyles, imageLightboxStyles, isColumnDragData, isDialableConversationBrief, isDraftReviewOutcome, isEditableTarget, isPreviewableImageName, joinFieldLabel, makeActionsColumn, messageComposerStyles, namesOf, navItemStyles, normalizeHexColor, operatorById, operatorsForType, parseCombo, progressBarStyles, publishDraftMessageOutcome, rebaseRowOnFieldChange, rebaseRowOnOperatorChange, registerDraftMessageActions, removeLeaf, removeSubgroup, replaceLeaf, resolveLucideIcon, resolveLucideIconName, segmentedControlStyles, setJoiner, skeletonStyles, subscribeDraftMessageOutcome, summaryFor, tableCellStyles, tableHeaderCellStyles, tabsStyles, terminalKindFor, toastStyles, updateLeaf, updateSubgroup, useAttributeTypeIcon, useCommand, useDiscoveryActive, useDraftMessageActions, useDraftMessageOutcome, useEscapeKey, useInfiniteScrollSentinel, useRenderChipItem, useRenderValueInput, useShowDetails, viewerKindForContentType, wrapLeafInGroup };
|