@epam/ai-dial-conversation-panel 1.0.0-dev.477 → 1.0.0-dev.480
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/components/ConversationGroup/ConversationGroup.d.ts +4 -8
- package/components/ConversationGroup/ConversationGroup.d.ts.map +1 -1
- package/components/ConversationGroup/ConversationRow.d.ts +7 -7
- package/components/ConversationGroup/ConversationRow.d.ts.map +1 -1
- package/components/ConversationGroupHeader/ConversationGroupHeader.d.ts +5 -3
- package/components/ConversationGroupHeader/ConversationGroupHeader.d.ts.map +1 -1
- package/components/ConversationPanel/ConversationPanel.d.ts +1 -1
- package/components/ConversationPanel/ConversationPanel.d.ts.map +1 -1
- package/components/ConversationPanel/utils.d.ts +4 -4
- package/components/ConversationPanel/utils.d.ts.map +1 -1
- package/components/FilterTabs/FilterTabs.d.ts +2 -5
- package/components/FilterTabs/FilterTabs.d.ts.map +1 -1
- package/components/RowRenderer/RowRenderer.d.ts +1 -1
- package/components/RowRenderer/RowRenderer.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +2 -4
- package/index.d.ts.map +1 -1
- package/index.js +362 -328
- package/models/panel-props.d.ts +64 -60
- package/models/panel-props.d.ts.map +1 -1
- package/models/virtual-row.d.ts +22 -15
- package/models/virtual-row.d.ts.map +1 -1
- package/package.json +4 -4
- package/types/conversation-classification.d.ts +12 -0
- package/types/conversation-classification.d.ts.map +1 -0
- package/utils/drag.d.ts +8 -9
- package/utils/drag.d.ts.map +1 -1
- package/types/conversation-group-key.d.ts +0 -8
- package/types/conversation-group-key.d.ts.map +0 -1
- package/types/conversation-source.d.ts +0 -7
- package/types/conversation-source.d.ts.map +0 -1
- package/types/filter-tab.d.ts +0 -8
- package/types/filter-tab.d.ts.map +0 -1
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ConversationItem } from '../../models/panel-props';
|
|
4
4
|
/** Props for `ConversationGroup`. */
|
|
5
5
|
export interface ConversationGroupProps {
|
|
6
6
|
/** Section heading label. */
|
|
7
7
|
label: string;
|
|
8
8
|
/** Conversation items belonging to this group. */
|
|
9
|
-
items:
|
|
9
|
+
items: ConversationItem[];
|
|
10
10
|
/** `id` of the currently active conversation. */
|
|
11
11
|
activeConversationId?: string;
|
|
12
12
|
/** Called when the user selects a conversation row. */
|
|
13
13
|
onSelectConversation: (id: string) => void;
|
|
14
|
-
/**
|
|
15
|
-
|
|
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[];
|
|
14
|
+
/** Optional function to provide a list of actions for each conversation row. */
|
|
15
|
+
getActions?: (item: ConversationItem) => DropdownItem[];
|
|
20
16
|
/** Accessible label for the actions trigger button. Defaults to `"More actions"`. */
|
|
21
17
|
actionsLabel?: string;
|
|
22
18
|
/** Typography class applied to the group header button. Defaults to `'dial-tiny-semi-text uppercase'`. */
|
|
@@ -1 +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,
|
|
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,EAAyB,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAIjE,qCAAqC;AACrC,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,iDAAiD;IACjD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uDAAuD;IACvD,oBAAoB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,gFAAgF;IAChF,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,YAAY,EAAE,CAAC;IACxD,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,CAiExD,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ConversationItem } from '../../models/panel-props';
|
|
4
4
|
import { VirtualRow } from '../../models/virtual-row';
|
|
5
|
-
import {
|
|
5
|
+
import { FilterTab } from '../../types/conversation-classification';
|
|
6
6
|
export interface ConversationRowProps {
|
|
7
7
|
/** The conversation item to display. */
|
|
8
|
-
item:
|
|
8
|
+
item: ConversationItem;
|
|
9
9
|
/** Whether this row is currently active/selected. */
|
|
10
10
|
isActive: boolean;
|
|
11
11
|
/** Called when the user clicks the row to select the conversation. */
|
|
@@ -17,7 +17,7 @@ export interface ConversationRowProps {
|
|
|
17
17
|
* Receives the item so actions can reflect per-item state (e.g. pin toggle).
|
|
18
18
|
* When omitted or returns an empty array, the actions trigger is not rendered.
|
|
19
19
|
*/
|
|
20
|
-
getActions?: (item:
|
|
20
|
+
getActions?: (item: ConversationItem) => DropdownItem[];
|
|
21
21
|
/** Accessible label for the actions trigger button. Defaults to `"More actions"`. */
|
|
22
22
|
actionsLabel?: string;
|
|
23
23
|
/** Typography class for the conversation title text. Defaults to `'dial-small-text'`. */
|
|
@@ -28,7 +28,7 @@ export interface ConversationRowProps {
|
|
|
28
28
|
* The group this row belongs to — required to enable drag-and-drop.
|
|
29
29
|
* When absent the row is not draggable (used by `ConversationGroup`).
|
|
30
30
|
*/
|
|
31
|
-
rowGroupKey?:
|
|
31
|
+
rowGroupKey?: FilterTab;
|
|
32
32
|
/** The full virtual rows array — used to compute drop position. */
|
|
33
33
|
rows?: VirtualRow[];
|
|
34
34
|
/** Id of the conversation currently being dragged. `null` when no drag is active. */
|
|
@@ -36,7 +36,7 @@ export interface ConversationRowProps {
|
|
|
36
36
|
/** Id of the row currently under the drag cursor. */
|
|
37
37
|
dragOverId?: string | null;
|
|
38
38
|
/** Groups that are valid drop targets for the current drag. `null` when no drag is active. */
|
|
39
|
-
allowedDropGroups?: Set<
|
|
39
|
+
allowedDropGroups?: Set<FilterTab> | null;
|
|
40
40
|
/** Called when the user starts dragging this row. */
|
|
41
41
|
onDragStart?: (id: string) => void;
|
|
42
42
|
/** Called when the drag ends (drop or cancel). */
|
|
@@ -46,7 +46,7 @@ export interface ConversationRowProps {
|
|
|
46
46
|
/** Called when the drag cursor leaves this row. */
|
|
47
47
|
onDragLeave?: () => void;
|
|
48
48
|
/** Called when the user drops onto this row. */
|
|
49
|
-
onDrop?: (targetId: string, targetGroupKey:
|
|
49
|
+
onDrop?: (targetId: string, targetGroupKey: FilterTab, afterId: string | null) => void;
|
|
50
50
|
}
|
|
51
51
|
export declare const ConversationRow: FC<ConversationRowProps>;
|
|
52
52
|
//# sourceMappingURL=ConversationRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationRow.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationGroup/ConversationRow.tsx"],"names":[],"mappings":"AAKA,OAAO,EASL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAyC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ConversationRow.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationGroup/ConversationRow.tsx"],"names":[],"mappings":"AAKA,OAAO,EASL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAyC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAKpE,MAAM,WAAW,oBAAoB;IACnC,wCAAwC;IACxC,IAAI,EAAE,gBAAgB,CAAC;IACvB,qDAAqD;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,oBAAoB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,YAAY,EAAE,CAAC;IACxD,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,SAAS,CAAC;IACxB,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,SAAS,CAAC,GAAG,IAAI,CAAC;IAC1C,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,SAAS,EACzB,OAAO,EAAE,MAAM,GAAG,IAAI,KACnB,IAAI,CAAC;CACX;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAuKpD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { FilterTab } from '../../types/conversation-classification';
|
|
3
3
|
/** Props for `ConversationGroupHeader`. */
|
|
4
4
|
export interface ConversationGroupHeaderProps {
|
|
5
5
|
/** Section heading label. */
|
|
@@ -8,13 +8,15 @@ export interface ConversationGroupHeaderProps {
|
|
|
8
8
|
isExpanded: boolean;
|
|
9
9
|
/** Called when the user clicks the header to toggle expansion. */
|
|
10
10
|
onToggle: () => void;
|
|
11
|
+
/** `id` of the virtualized list container this header's rows belong to, referenced via `aria-controls`. */
|
|
12
|
+
listId: string;
|
|
11
13
|
/** Typography class applied to the header button. Defaults to `'dial-tiny-text'`. */
|
|
12
14
|
className?: string;
|
|
13
15
|
/**
|
|
14
16
|
* When provided the header acts as a drop zone for drag-and-drop.
|
|
15
17
|
* Only the Pinned group header receives this prop.
|
|
16
18
|
*/
|
|
17
|
-
dropZoneGroupKey?:
|
|
19
|
+
dropZoneGroupKey?: FilterTab;
|
|
18
20
|
/** Whether the drag cursor is currently over this header. */
|
|
19
21
|
isDragOver?: boolean;
|
|
20
22
|
/** Called when the drag cursor enters this header drop zone. */
|
|
@@ -22,7 +24,7 @@ export interface ConversationGroupHeaderProps {
|
|
|
22
24
|
/** Called when the drag cursor leaves this header drop zone. */
|
|
23
25
|
onDragLeave?: () => void;
|
|
24
26
|
/** Called when the user drops onto this header drop zone. */
|
|
25
|
-
onDrop?: (targetId: string, targetGroupKey:
|
|
27
|
+
onDrop?: (targetId: string, targetGroupKey: FilterTab, afterId: string | null) => void;
|
|
26
28
|
}
|
|
27
29
|
/** Collapsible group header button used in the virtualised conversation list. */
|
|
28
30
|
export declare const ConversationGroupHeader: FC<ConversationGroupHeaderProps>;
|
|
@@ -1 +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,
|
|
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,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGpE,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,2GAA2G;IAC3G,MAAM,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,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,SAAS,EACzB,OAAO,EAAE,MAAM,GAAG,IAAI,KACnB,IAAI,CAAC;CACX;AAED,iFAAiF;AACjF,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAoEpE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ConversationPanelProps } from '../../models/panel-props';
|
|
3
|
-
/** Collapsible
|
|
3
|
+
/** Collapsible side panel showing the user's conversation history. */
|
|
4
4
|
export declare const ConversationPanel: FC<ConversationPanelProps>;
|
|
5
5
|
//# sourceMappingURL=ConversationPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/ConversationPanel.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ConversationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/ConversationPanel.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AA4BlE,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA4ZxD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FilterTab } from '../../types/
|
|
1
|
+
import { ConversationItem } from '../../models/panel-props';
|
|
2
|
+
import { FilterTab } from '../../types/conversation-classification';
|
|
3
3
|
/** Returns whether a conversation item matches the currently selected filter tab. */
|
|
4
|
-
export declare const matchesTab: (item:
|
|
4
|
+
export declare const matchesTab: (item: ConversationItem, tab: FilterTab) => boolean;
|
|
5
5
|
/** Returns whether a conversation item title matches the current search query. */
|
|
6
|
-
export declare const matchesSearch: (item:
|
|
6
|
+
export declare const matchesSearch: (item: ConversationItem, query: string) => boolean;
|
|
7
7
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,qFAAqF;AACrF,eAAO,MAAM,UAAU,GAAI,MAAM,gBAAgB,EAAE,KAAK,SAAS,KAAG,OAGnE,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,aAAa,GACxB,MAAM,gBAAgB,EACtB,OAAO,MAAM,KACZ,OAGF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { FilterLabels } from '../../models/panel-props';
|
|
3
|
-
import { FilterTab } from '../../types/
|
|
3
|
+
import { FilterTab } from '../../types/conversation-classification';
|
|
4
4
|
/** Props for `FilterTabs`. */
|
|
5
5
|
export interface FilterTabsProps {
|
|
6
6
|
/** Currently active tab. */
|
|
@@ -9,10 +9,7 @@ export interface FilterTabsProps {
|
|
|
9
9
|
labels: FilterLabels;
|
|
10
10
|
/** Called when the user selects a different tab. */
|
|
11
11
|
onChange: (tab: FilterTab) => void;
|
|
12
|
-
/**
|
|
13
|
-
* Class applied to each tab. Defaults to `'flex-1 dial-tiny-semi-text'` so
|
|
14
|
-
* the tabs fill the row equally, overriding `PillTabs`'s own `shrink-0` default.
|
|
15
|
-
*/
|
|
12
|
+
/** Class applied to each tab. Defaults to `'dial-tiny-semi-text'`. */
|
|
16
13
|
tabClassName?: string;
|
|
17
14
|
}
|
|
18
15
|
/** Segmented pill-tab control for filtering conversations by source. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterTabs.d.ts","sourceRoot":"","sources":["../../../src/components/FilterTabs/FilterTabs.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FilterTabs.d.ts","sourceRoot":"","sources":["../../../src/components/FilterTabs/FilterTabs.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,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,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AASD,wEAAwE;AACxE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAc1C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RowComponentProps } from 'react-window';
|
|
2
2
|
import { RowRendererData } from '../../models/virtual-row';
|
|
3
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, searchQuery, onSelectConversation, getActions, actionsLabel,
|
|
4
|
+
export declare const RowRenderer: ({ index, style, rows, expandedGroups, onToggleGroup, listId, activeConversationId, searchQuery, onSelectConversation, getActions, actionsLabel, styles, draggingId, dragOverId, allowedDropGroups, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, }: RowComponentProps<RowRendererData>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=RowRenderer.d.ts.map
|
|
@@ -1 +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,
|
|
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,+PAqBzB,iBAAiB,CAAC,eAAe,CAAC,4CAmDpC,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
._tab_1mi6x_1{color:var(--text-tertiary,#808898);background-color:#0000;border-color:#0000!important}._tab_1mi6x_1:hover{color:var(--text-secondary,#64748b);background-color:#5c8dea0f}._tab_1mi6x_1>span{text-align:center}._tab_1mi6x_1._tabActive_1mi6x_13{color:var(--text-secondary,#64748b);background-color:#2764d912}._tab_1mi6x_1._tabActive_1mi6x_13:hover{background-color:#5c8dea0f}.dial-primary-solid-button{background-image:linear-gradient(135deg, var(--bg-accent-secondary,#37babc) 0%, var(--bg-accent-primary,#5c8dea) 30%, var(--bg-accent-tertiary,#a972ff) 100%);border-style:none;border-radius:9999px;transition:box-shadow .2s,transform .15s;box-shadow:0 0 16px #37babc40,0 4px 12px #a972ff38;background-color:#0000!important;padding-inline:24px!important}@media (hover:hover){.dial-primary-solid-button:hover{background-color:#0000;background-image:linear-gradient(135deg, var(--bg-accent-secondary,#37babc) 0%, var(--bg-accent-primary,#5c8dea) 30%, var(--bg-accent-tertiary,#a972ff) 100%);transform:translateY(-1px);box-shadow:0 0 24px #37babc59,0 6px 18px #a972ff4d}}.dial-primary-solid-button:active{background-color:#0000;background-image:linear-gradient(135deg, var(--bg-accent-secondary,#37babc) 0%, var(--bg-accent-primary,#5c8dea) 30%, var(--bg-accent-tertiary,#a972ff) 100%);filter:brightness(.92);transform:translateY(0);box-shadow:0 0 10px #37babc33,0 2px 6px #a972ff29}.dial-primary-solid-button:disabled{box-shadow:none;cursor:not-allowed;background-image:none;transform:none;background-color:var(--controls-bg-disable,#d1dbea)!important;color:var(--text-white,#fff)!important}.dial-danger-solid-button{border-radius:9999px!important}.dial-primary-solid-button.dial-primary-solid-button{background-color:#0000;background-image:linear-gradient(135deg,#4b7be6 0%,#9355f4 100%);border:none;border-radius:9999px;transition:box-shadow .2s,transform .15s;box-shadow:0 4px 16px #5c8dea52}@media (hover:hover){.dial-primary-solid-button.dial-primary-solid-button:hover{background-color:#0000;background-image:linear-gradient(135deg,#4b7be6 0%,#9355f4 100%);transform:translateY(-1px);box-shadow:0 6px 20px #5c8dea6b}}.dial-primary-solid-button.dial-primary-solid-button:active{filter:brightness(.92);background-color:#0000;background-image:linear-gradient(135deg,#4b7be6 0%,#9355f4 100%);transform:translateY(0);box-shadow:0 2px 8px #5c8dea38}.dial-primary-solid-button.dial-primary-solid-button:disabled{box-shadow:none;background-image:none;transform:none}.dial-neutral-outlined-button{transition:background-color .15s,border-color .15s;color:var(--bg-accent-primary,#2764d9)!important;background-color:#2764d914!important;background-image:none!important;border:1px solid #2764d933!important;border-radius:9999px!important}@media (hover:hover){.dial-neutral-outlined-button:hover:enabled{background-color:#2764d921!important;border-color:#2764d959!important}}.dial-neutral-outlined-button:active:enabled{background-color:#2764d92e!important;border-color:#2764d973!important}.dial-neutral-outlined-button:disabled{border-color:var(--stroke-secondary,#d1dbea);color:var(--controls-text-neutral-disable,#575f73);background-color:#0000;background-image:none}.dial-primary-ghost-button:not(.dial-icon-button){border-style:none;border-radius:9999px;color:var(--bg-accent-primary,#2764d9)!important}@media (hover:hover){.dial-primary-ghost-button:not(.dial-icon-button):hover:enabled{background-color:#2764d90d!important}}.dial-primary-ghost-button:not(.dial-icon-button):active:enabled{background-color:#2764d914!important}.dial-icon-button{border-radius:6px!important}.dial-input:not(.dial-input-error){transition:border-color .15s,box-shadow .15s;border-color:var(--stroke-tertiary,#e0e6f0)!important;border-radius:.75rem!important}.dial-input:not(.dial-input-error):not(:disabled):hover{border-color:var(--stroke-accent-primary,#7da4ff)!important}.dial-input:not(.dial-input-error):not(:disabled):active,.dial-input:not(.dial-input-error):not(:disabled):focus,.dial-input:not(.dial-input-error):not(:disabled):focus-within{border-color:var(--stroke-accent-primary,#124ace)!important;box-shadow:0 0 0 4px var(--bg-accent-primary-alpha,#7da4ff2e)!important}.dial-input-error{border-radius:.75rem!important}.
|
|
1
|
+
._tab_1mi6x_1{color:var(--text-tertiary,#808898);background-color:#0000;border-color:#0000!important}._tab_1mi6x_1:hover{color:var(--text-secondary,#64748b);background-color:#5c8dea0f}._tab_1mi6x_1>span{text-align:center}._tab_1mi6x_1._tabActive_1mi6x_13{color:var(--text-secondary,#64748b);background-color:#2764d912}._tab_1mi6x_1._tabActive_1mi6x_13:hover{background-color:#5c8dea0f}.dial-primary-solid-button{background-image:linear-gradient(135deg, var(--bg-accent-secondary,#37babc) 0%, var(--bg-accent-primary,#5c8dea) 30%, var(--bg-accent-tertiary,#a972ff) 100%);border-style:none;border-radius:9999px;transition:box-shadow .2s,transform .15s;box-shadow:0 0 16px #37babc40,0 4px 12px #a972ff38;background-color:#0000!important;padding-inline:24px!important}@media (hover:hover){.dial-primary-solid-button:hover{background-color:#0000;background-image:linear-gradient(135deg, var(--bg-accent-secondary,#37babc) 0%, var(--bg-accent-primary,#5c8dea) 30%, var(--bg-accent-tertiary,#a972ff) 100%);transform:translateY(-1px);box-shadow:0 0 24px #37babc59,0 6px 18px #a972ff4d}}.dial-primary-solid-button:active{background-color:#0000;background-image:linear-gradient(135deg, var(--bg-accent-secondary,#37babc) 0%, var(--bg-accent-primary,#5c8dea) 30%, var(--bg-accent-tertiary,#a972ff) 100%);filter:brightness(.92);transform:translateY(0);box-shadow:0 0 10px #37babc33,0 2px 6px #a972ff29}.dial-primary-solid-button:disabled{box-shadow:none;cursor:not-allowed;background-image:none;transform:none;background-color:var(--controls-bg-disable,#d1dbea)!important;color:var(--text-white,#fff)!important}.dial-danger-solid-button{border-radius:9999px!important}.dial-primary-solid-button.dial-primary-solid-button{background-color:#0000;background-image:linear-gradient(135deg,#4b7be6 0%,#9355f4 100%);border:none;border-radius:9999px;transition:box-shadow .2s,transform .15s;box-shadow:0 4px 16px #5c8dea52}@media (hover:hover){.dial-primary-solid-button.dial-primary-solid-button:hover{background-color:#0000;background-image:linear-gradient(135deg,#4b7be6 0%,#9355f4 100%);transform:translateY(-1px);box-shadow:0 6px 20px #5c8dea6b}}.dial-primary-solid-button.dial-primary-solid-button:active{filter:brightness(.92);background-color:#0000;background-image:linear-gradient(135deg,#4b7be6 0%,#9355f4 100%);transform:translateY(0);box-shadow:0 2px 8px #5c8dea38}.dial-primary-solid-button.dial-primary-solid-button:disabled{box-shadow:none;background-image:none;transform:none}.dial-neutral-outlined-button{transition:background-color .15s,border-color .15s;color:var(--bg-accent-primary,#2764d9)!important;background-color:#2764d914!important;background-image:none!important;border:1px solid #2764d933!important;border-radius:9999px!important}@media (hover:hover){.dial-neutral-outlined-button:hover:enabled{background-color:#2764d921!important;border-color:#2764d959!important}}.dial-neutral-outlined-button:active:enabled{background-color:#2764d92e!important;border-color:#2764d973!important}.dial-neutral-outlined-button:disabled{border-color:var(--stroke-secondary,#d1dbea);color:var(--controls-text-neutral-disable,#575f73);background-color:#0000;background-image:none}.dial-primary-ghost-button:not(.dial-icon-button){border-style:none;border-radius:9999px;color:var(--bg-accent-primary,#2764d9)!important}@media (hover:hover){.dial-primary-ghost-button:not(.dial-icon-button):hover:enabled{background-color:#2764d90d!important}}.dial-primary-ghost-button:not(.dial-icon-button):active:enabled{background-color:#2764d914!important}.dial-icon-button{border-radius:6px!important}.dial-input:not(.dial-input-error){transition:border-color .15s,box-shadow .15s;border-color:var(--stroke-tertiary,#e0e6f0)!important;border-radius:.75rem!important}.dial-input:not(.dial-input-error):not(:disabled):hover{border-color:var(--stroke-accent-primary,#7da4ff)!important}.dial-input:not(.dial-input-error):not(:disabled):active,.dial-input:not(.dial-input-error):not(:disabled):focus,.dial-input:not(.dial-input-error):not(:disabled):focus-within{border-color:var(--stroke-accent-primary,#124ace)!important;box-shadow:0 0 0 4px var(--bg-accent-primary-alpha,#7da4ff2e)!important}.dial-input-error{border-radius:.75rem!important}._button_1ggx8_1{background:var(--cp-new-chat-bg,var(--bg-layer-0,#fcfcfc));box-shadow:0 1px 3px var(--cp-new-chat-shadow-blue,var(--bg-new-chat-shadow-blue,#5c8dea33)), 0 2px 10px var(--cp-new-chat-shadow-purple,var(--bg-new-chat-shadow-purple,#a972ff24));color:var(--cp-new-chat-text,var(--text-accent-primary,#124ace));transition:box-shadow .15s,background-color .15s}._button_1ggx8_1:hover{background:var(--cp-new-chat-hover,var(--bg-layer-0,#fcfcfc));box-shadow:0 2px 6px var(--cp-new-chat-shadow-blue-hover,var(--bg-new-chat-shadow-blue-hover,#5c8dea47)), 0 4px 16px var(--cp-new-chat-shadow-purple-hover,var(--bg-new-chat-shadow-purple-hover,#a972ff33))}._button_1ggx8_1:active{background:var(--cp-new-chat-active,var(--bg-layer-5,#f5f7fa));box-shadow:0 1px 2px var(--cp-new-chat-shadow-blue-active,var(--bg-new-chat-shadow-blue-active,#5c8dea26)), 0 1px 6px var(--cp-new-chat-shadow-purple-active,var(--bg-new-chat-shadow-purple-active,#a972ff1a))}._header_dr0k7_1,._item_dr0k7_5{color:var(--cp-text,var(--text-primary,#161b2d))}._item_dr0k7_5:hover{background:var(--cp-item-hover,var(--bg-layer-2,#eef1f7))}._item_dr0k7_5._itemActive_dr0k7_11{background:var(--cp-item-active,var(--bg-layer-2,#eef1f7));color:var(--cp-text,var(--text-primary,#161b2d))}._groupHeader_dr0k7_16{color:var(--cp-text-secondary,var(--text-primary,#161b2d))}._dropZoneActive_dr0k7_20{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-inset:inset;--tw-ring-color:var(--cp-drop-zone-ring,var(--stroke-accent-primary,#124ace))}._trigger_dr0k7_28._triggerActive_dr0k7_28{background:var(--cp-trigger-bg,var(--controls-bg-accent-primary-alpha-active,#7da4ff5c))}._trigger_dr0k7_28._triggerActive_dr0k7_28 ._triggerIcon_dr0k7_31{color:var(--cp-trigger-icon,var(--text-accent-primary,#124ace))}._triggerIcon_dr0k7_31{color:var(--cp-trigger-icon-idle,var(--text-secondary,#575f73))}
|
|
2
2
|
/*$vite$:1*/
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export { ConversationPanel } from './components/ConversationPanel/ConversationPanel';
|
|
2
|
-
export type { ConversationMove, ConversationPanelProps, ConversationPanelStyles,
|
|
2
|
+
export type { ConversationMove, ConversationPanelProps, ConversationPanelStyles, ConversationColors, ConversationPanelTypography, ConversationPanelLabels, ConversationItem, FilterLabels, } from './models/panel-props';
|
|
3
3
|
export type { ConversationGroupProps } from './components/ConversationGroup/ConversationGroup';
|
|
4
|
-
export {
|
|
5
|
-
export { ConversationSource } from './types/conversation-source';
|
|
6
|
-
export { FilterTab } from './types/filter-tab';
|
|
4
|
+
export { FilterTab } from './types/conversation-classification';
|
|
7
5
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +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,
|
|
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,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC"}
|