@epam/ai-dial-conversation-panel 0.0.0-dev.0

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 (41) hide show
  1. package/components/ConversationGroup/ConversationGroup.d.ts +29 -0
  2. package/components/ConversationGroup/ConversationGroup.d.ts.map +1 -0
  3. package/components/ConversationGroup/ConversationRow.d.ts +50 -0
  4. package/components/ConversationGroup/ConversationRow.d.ts.map +1 -0
  5. package/components/ConversationGroupHeader/ConversationGroupHeader.d.ts +29 -0
  6. package/components/ConversationGroupHeader/ConversationGroupHeader.d.ts.map +1 -0
  7. package/components/ConversationPanel/ConversationPanel.d.ts +5 -0
  8. package/components/ConversationPanel/ConversationPanel.d.ts.map +1 -0
  9. package/components/ConversationPanel/utils.d.ts +7 -0
  10. package/components/ConversationPanel/utils.d.ts.map +1 -0
  11. package/components/FilterTabs/FilterTabs.d.ts +17 -0
  12. package/components/FilterTabs/FilterTabs.d.ts.map +1 -0
  13. package/components/NewChatButton/NewChatButton.d.ts +13 -0
  14. package/components/NewChatButton/NewChatButton.d.ts.map +1 -0
  15. package/components/RowRenderer/RowRenderer.d.ts +5 -0
  16. package/components/RowRenderer/RowRenderer.d.ts.map +1 -0
  17. package/constants/virtual-list.d.ts +7 -0
  18. package/constants/virtual-list.d.ts.map +1 -0
  19. package/index.css +2 -0
  20. package/index.d.ts +7 -0
  21. package/index.d.ts.map +1 -0
  22. package/index.js +871 -0
  23. package/models/panel-props.d.ts +211 -0
  24. package/models/panel-props.d.ts.map +1 -0
  25. package/models/virtual-row.d.ts +70 -0
  26. package/models/virtual-row.d.ts.map +1 -0
  27. package/package.json +28 -0
  28. package/test-setup.d.ts +1 -0
  29. package/test-setup.d.ts.map +1 -0
  30. package/types/conversation-group-key.d.ts +8 -0
  31. package/types/conversation-group-key.d.ts.map +1 -0
  32. package/types/conversation-source.d.ts +7 -0
  33. package/types/conversation-source.d.ts.map +1 -0
  34. package/types/filter-tab.d.ts +8 -0
  35. package/types/filter-tab.d.ts.map +1 -0
  36. package/types/virtual-row.d.ts +6 -0
  37. package/types/virtual-row.d.ts.map +1 -0
  38. package/utils/conversation-row.d.ts +14 -0
  39. package/utils/conversation-row.d.ts.map +1 -0
  40. package/utils/drag.d.ts +26 -0
  41. package/utils/drag.d.ts.map +1 -0
@@ -0,0 +1,29 @@
1
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
2
+ import { FC } from 'react';
3
+ import { ConversationHistoryItem } from '../../models/panel-props';
4
+ /** Props for `ConversationGroup`. */
5
+ export interface ConversationGroupProps {
6
+ /** Section heading label. */
7
+ label: string;
8
+ /** Conversation items belonging to this group. */
9
+ items: ConversationHistoryItem[];
10
+ /** `id` of the currently active conversation. */
11
+ activeConversationId?: string;
12
+ /** Called when the user selects a conversation row. */
13
+ onSelectConversation: (id: string) => void;
14
+ /**
15
+ * Builds the dropdown menu items for a row.
16
+ * Receives the item so actions can reflect per-item state (e.g. pin toggle).
17
+ * When omitted or returns an empty array, no action trigger is rendered.
18
+ */
19
+ getActions?: (item: ConversationHistoryItem) => DropdownItem[];
20
+ /** Accessible label for the actions trigger button. Defaults to `"More actions"`. */
21
+ actionsLabel?: string;
22
+ /** Typography class applied to the group header button. Defaults to `'dial-tiny-semi-text uppercase'`. */
23
+ groupHeaderClassName?: string;
24
+ /** Typography class applied to the conversation title text. */
25
+ itemTitleClassName?: string;
26
+ }
27
+ /** Collapsible section rendering a labelled group of conversation rows. */
28
+ export declare const ConversationGroup: FC<ConversationGroupProps>;
29
+ //# sourceMappingURL=ConversationGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationGroup/ConversationGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAIxE,qCAAqC;AACrC,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,KAAK,EAAE,uBAAuB,EAAE,CAAC;IACjC,iDAAiD;IACjD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uDAAuD;IACvD,oBAAoB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,YAAY,EAAE,CAAC;IAC/D,qFAAqF;IACrF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0GAA0G;IAC1G,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2EAA2E;AAC3E,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAqDxD,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
2
+ import { FC } from 'react';
3
+ import { ConversationHistoryItem } from '../../models/panel-props';
4
+ import { VirtualRow } from '../../models/virtual-row';
5
+ import { ConversationGroupKey } from '../../types/conversation-group-key';
6
+ export interface ConversationRowProps {
7
+ /** The conversation item to display. */
8
+ item: ConversationHistoryItem;
9
+ /** Whether this row is currently active/selected. */
10
+ isActive: boolean;
11
+ /** Called when the user clicks the row to select the conversation. */
12
+ onSelectConversation: (id: string) => void;
13
+ /**
14
+ * Builds the dropdown menu items for this row.
15
+ * Receives the item so actions can reflect per-item state (e.g. pin toggle).
16
+ * When omitted or returns an empty array, the actions trigger is not rendered.
17
+ */
18
+ getActions?: (item: ConversationHistoryItem) => DropdownItem[];
19
+ /** Accessible label for the actions trigger button. Defaults to `"More actions"`. */
20
+ actionsLabel?: string;
21
+ /** Typography class for the conversation title text. Defaults to `'dial-small-text'`. */
22
+ itemTitleClassName?: string;
23
+ /** CSS class applied to the icon badge. Defaults to `'rounded-full'`. */
24
+ itemIconBadgeClassName?: string;
25
+ /**
26
+ * The group this row belongs to — required to enable drag-and-drop.
27
+ * When absent the row is not draggable (used by `ConversationGroup`).
28
+ */
29
+ rowGroupKey?: ConversationGroupKey;
30
+ /** The full virtual rows array — used to compute drop position. */
31
+ rows?: VirtualRow[];
32
+ /** Id of the conversation currently being dragged. `null` when no drag is active. */
33
+ draggingId?: string | null;
34
+ /** Id of the row currently under the drag cursor. */
35
+ dragOverId?: string | null;
36
+ /** Groups that are valid drop targets for the current drag. `null` when no drag is active. */
37
+ allowedDropGroups?: Set<ConversationGroupKey> | null;
38
+ /** Called when the user starts dragging this row. */
39
+ onDragStart?: (id: string) => void;
40
+ /** Called when the drag ends (drop or cancel). */
41
+ onDragEnd?: () => void;
42
+ /** Called when the drag cursor enters this row. */
43
+ onDragOver?: (id: string) => void;
44
+ /** Called when the drag cursor leaves this row. */
45
+ onDragLeave?: () => void;
46
+ /** Called when the user drops onto this row. */
47
+ onDrop?: (targetId: string, targetGroupKey: ConversationGroupKey, afterId: string | null) => void;
48
+ }
49
+ export declare const ConversationRow: FC<ConversationRowProps>;
50
+ //# sourceMappingURL=ConversationRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationRow.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationGroup/ConversationRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAUL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAyC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAK1E,MAAM,WAAW,oBAAoB;IACnC,wCAAwC;IACxC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,qDAAqD;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,oBAAoB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,YAAY,EAAE,CAAC;IAC/D,qFAAqF;IACrF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,mEAAmE;IACnE,IAAI,CAAC,EAAE,UAAU,EAAE,CAAC;IACpB,qFAAqF;IACrF,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,8FAA8F;IAC9F,iBAAiB,CAAC,EAAE,GAAG,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;IACrD,qDAAqD;IACrD,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,mDAAmD;IACnD,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gDAAgD;IAChD,MAAM,CAAC,EAAE,CACP,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,oBAAoB,EACpC,OAAO,EAAE,MAAM,GAAG,IAAI,KACnB,IAAI,CAAC;CACX;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAgKpD,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { FC } from 'react';
2
+ import { ConversationGroupKey } from '../../types/conversation-group-key';
3
+ /** Props for `ConversationGroupHeader`. */
4
+ export interface ConversationGroupHeaderProps {
5
+ /** Section heading label. */
6
+ label: string;
7
+ /** Whether the group is currently expanded. */
8
+ isExpanded: boolean;
9
+ /** Called when the user clicks the header to toggle expansion. */
10
+ onToggle: () => void;
11
+ /** Typography class applied to the header button. Defaults to `'dial-tiny-text'`. */
12
+ className?: string;
13
+ /**
14
+ * When provided the header acts as a drop zone for drag-and-drop.
15
+ * Only the Pinned group header receives this prop.
16
+ */
17
+ dropZoneGroupKey?: ConversationGroupKey;
18
+ /** Whether the drag cursor is currently over this header. */
19
+ isDragOver?: boolean;
20
+ /** Called when the drag cursor enters this header drop zone. */
21
+ onDragOver?: (id: string) => void;
22
+ /** Called when the drag cursor leaves this header drop zone. */
23
+ onDragLeave?: () => void;
24
+ /** Called when the user drops onto this header drop zone. */
25
+ onDrop?: (targetId: string, targetGroupKey: ConversationGroupKey, afterId: string | null) => void;
26
+ }
27
+ /** Collapsible group header button used in the virtualised conversation list. */
28
+ export declare const ConversationGroupHeader: FC<ConversationGroupHeaderProps>;
29
+ //# sourceMappingURL=ConversationGroupHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationGroupHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationGroupHeader/ConversationGroupHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAa,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG1E,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B;IAC3C,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IACxC,6DAA6D;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gEAAgE;IAChE,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,CACP,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,oBAAoB,EACpC,OAAO,EAAE,MAAM,GAAG,IAAI,KACnB,IAAI,CAAC;CACX;AAED,iFAAiF;AACjF,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAwDpE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ConversationPanelProps } from '../../models/panel-props';
3
+ /** Collapsible left-side panel showing the user's conversation history. */
4
+ export declare const ConversationPanel: FC<ConversationPanelProps>;
5
+ //# sourceMappingURL=ConversationPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/ConversationPanel.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,EAAE,EAOR,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAyBlE,2EAA2E;AAC3E,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA+WxD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ConversationHistoryItem } from '../../models/panel-props';
2
+ import { FilterTab } from '../../types/filter-tab';
3
+ /** Returns whether a conversation item matches the currently selected filter tab. */
4
+ export declare const matchesTab: (item: ConversationHistoryItem, tab: FilterTab) => boolean;
5
+ /** Returns whether a conversation item title matches the current search query. */
6
+ export declare const matchesSearch: (item: ConversationHistoryItem, query: string) => boolean;
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,qFAAqF;AACrF,eAAO,MAAM,UAAU,GACrB,MAAM,uBAAuB,EAC7B,KAAK,SAAS,KACb,OAIF,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,aAAa,GACxB,MAAM,uBAAuB,EAC7B,OAAO,MAAM,KACZ,OAGF,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FC } from 'react';
2
+ import { FilterLabels } from '../../models/panel-props';
3
+ import { FilterTab } from '../../types/filter-tab';
4
+ /** Props for `FilterTabs`. */
5
+ export interface FilterTabsProps {
6
+ /** Currently active tab. */
7
+ activeTab: FilterTab;
8
+ /** Display labels for each tab (provided by the app for i18n). */
9
+ labels: FilterLabels;
10
+ /** Called when the user selects a different tab. */
11
+ onChange: (tab: FilterTab) => void;
12
+ /** Typography class applied to each tab label. Defaults to `'dial-tiny-semi-text'`. */
13
+ tabClassName?: string;
14
+ }
15
+ /** Segmented pill-tab control for filtering conversations by source. */
16
+ export declare const FilterTabs: FC<FilterTabsProps>;
17
+ //# sourceMappingURL=FilterTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterTabs.d.ts","sourceRoot":"","sources":["../../../src/components/FilterTabs/FilterTabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,4BAA4B;IAC5B,SAAS,EAAE,SAAS,CAAC;IACrB,kEAAkE;IAClE,MAAM,EAAE,YAAY,CAAC;IACrB,oDAAoD;IACpD,QAAQ,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAC;IACnC,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AASD,wEAAwE;AACxE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwB1C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ /** Props for `NewChatButton`. */
3
+ export interface NewChatButtonProps {
4
+ /** Button label text (e.g. `"New chat"`). */
5
+ label: string;
6
+ /** Called when the button is clicked or activated via keyboard. */
7
+ onClick: () => void;
8
+ /** Typography class applied to the label. Defaults to `'dial-small-text'`. */
9
+ labelClassName?: string;
10
+ }
11
+ /** Full-width button rendered at the top of the conversation panel to start a new chat. */
12
+ export declare const NewChatButton: FC<NewChatButtonProps>;
13
+ //# sourceMappingURL=NewChatButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewChatButton.d.ts","sourceRoot":"","sources":["../../../src/components/NewChatButton/NewChatButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AAGtC,iCAAiC;AACjC,MAAM,WAAW,kBAAkB;IACjC,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,2FAA2F;AAC3F,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgBhD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { RowComponentProps } from 'react-window';
2
+ import { RowRendererData } from '../../models/virtual-row';
3
+ /** Renders a single virtual row — either a collapsible group header or a conversation item. */
4
+ export declare const RowRenderer: ({ index, style, rows, expandedGroups, onToggleGroup, activeConversationId, onSelectConversation, getActions, actionsLabel, groupHeaderClassName, itemTitleClassName, itemIconBadgeClassName, draggingId, dragOverId, allowedDropGroups, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, }: RowComponentProps<RowRendererData>) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=RowRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/RowRenderer/RowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,0BAA0B,CAAC;AAKhF,+FAA+F;AAC/F,eAAO,MAAM,WAAW,GAAI,oSAqBzB,iBAAiB,CAAC,eAAe,CAAC,4CAiDpC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /** Pixel height of each conversation item row (h-8 = 32px + 4px gap above). */
2
+ export declare const ITEM_ROW_HEIGHT = 36;
3
+ /** Pixel height of a group header row with group-separation space above (h-6 = 24px + 32px gap above). */
4
+ export declare const GROUP_HEADER_ROW_HEIGHT = 56;
5
+ /** Pixel height of the first group header row (h-6 = 24px, no gap above). */
6
+ export declare const FIRST_GROUP_HEADER_ROW_HEIGHT = 24;
7
+ //# sourceMappingURL=virtual-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtual-list.d.ts","sourceRoot":"","sources":["../../src/constants/virtual-list.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,0GAA0G;AAC1G,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,6EAA6E;AAC7E,eAAO,MAAM,6BAA6B,KAAK,CAAC"}
package/index.css ADDED
@@ -0,0 +1,2 @@
1
+ ._filterTabs_3jujg_1{background-color:var(--cp-filter-bg,transparent)}._filterTabs_3jujg_1 ._tab_3jujg_4{color:var(--text-tertiary,#808898);background-color:#0000;border-color:#0000}._filterTabs_3jujg_1 ._tab_3jujg_4:hover{color:var(--text-secondary);background-color:#5c8dea0f}._filterTabs_3jujg_1 ._tab_3jujg_4>span{text-align:center}._filterTabs_3jujg_1 ._tab_3jujg_4._tabActive_3jujg_16{color:var(--text-secondary,#64748b);background-color:#2764d912}._button_1blz1_1{background:var(--cp-new-chat-bg,var(--bg-layer-0,#fff));color:var(--text-accent-primary,#2764d9);border-radius:9999px;transition:box-shadow .15s,background-color .15s;box-shadow:0 1px 3px #5c8dea33,0 2px 10px #a972ff24}._button_1blz1_1:hover{background:var(--cp-new-chat-hover,var(--bg-layer-0,#fff));box-shadow:0 2px 6px #5c8dea47,0 4px 16px #a972ff33}._button_1blz1_1:active{background:var(--cp-new-chat-active,var(--bg-layer-5,#f5f7fa));box-shadow:0 1px 2px #5c8dea26,0 1px 6px #a972ff1a}._header_1o9mn_1,._item_1o9mn_5{color:var(--cp-text,var(--text-primary,#161b2d))}._item_1o9mn_5:hover{background:var(--cp-item-hover,var(--bg-layer-2,#eeeef0))}._item_1o9mn_5._itemActive_1o9mn_11{background:var(--cp-item-active,var(--bg-layer-2,#eeeef0));color:var(--cp-text,var(--text-primary,#161b2d))}._groupHeader_1o9mn_16{color:var(--cp-text-secondary,var(--text-tertiary,#808898));opacity:.55}._trigger_1o9mn_21._triggerActive_1o9mn_21{background:var(--cp-trigger-bg,var(--controls-bg-accent-primary-alpha-active,#7da4ff5c))}._trigger_1o9mn_21._triggerActive_1o9mn_21 ._triggerIcon_1o9mn_24{color:var(--cp-trigger-icon,var(--text-accent-primary,#124ace))}._triggerIcon_1o9mn_24{color:var(--cp-trigger-icon-idle,var(--text-secondary,#575f73))}
2
+ /*$vite$:1*/
package/index.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ export { ConversationPanel } from './components/ConversationPanel/ConversationPanel';
2
+ export type { ConversationMove, ConversationPanelProps, ConversationPanelStyles, ConversationHistoryColors, ConversationHistoryTypography, ConversationHistoryItem, FilterLabels, } from './models/panel-props';
3
+ export type { ConversationGroupProps } from './components/ConversationGroup/ConversationGroup';
4
+ export { ConversationGroupKey } from './types/conversation-group-key';
5
+ export { ConversationSource } from './types/conversation-source';
6
+ export { FilterTab } from './types/filter-tab';
7
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC/F,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC"}