@epam/ai-dial-conversation-panel 1.3.0-dev.35 → 1.3.0-dev.354
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/ConversationGroupHeader/ConversationGroupHeader.d.ts +3 -0
- package/components/ConversationGroupHeader/ConversationGroupHeader.d.ts.map +1 -1
- package/components/ConversationList/ConversationList.d.ts +5 -0
- package/components/ConversationList/ConversationList.d.ts.map +1 -0
- package/components/ConversationListHeader/ConversationListHeader.d.ts +5 -0
- package/components/ConversationListHeader/ConversationListHeader.d.ts.map +1 -0
- package/components/ConversationListSection/ConversationListSection.d.ts +5 -0
- package/components/ConversationListSection/ConversationListSection.d.ts.map +1 -0
- package/components/ConversationPanel/ConversationPanel.d.ts.map +1 -1
- package/components/ConversationRow/ConversationRow.d.ts +8 -0
- package/components/ConversationRow/ConversationRow.d.ts.map +1 -1
- package/components/ProjectRow/ProjectRow.d.ts +24 -0
- package/components/ProjectRow/ProjectRow.d.ts.map +1 -0
- package/components/ProjectRow/ProjectSeeAllRow.d.ts +19 -0
- package/components/ProjectRow/ProjectSeeAllRow.d.ts.map +1 -0
- package/components/RenameConversationPopup/RenameConversationPopup.d.ts.map +1 -1
- package/components/RowActionsMenu/RowActionsMenu.d.ts +20 -0
- package/components/RowActionsMenu/RowActionsMenu.d.ts.map +1 -0
- package/components/RowLink/RowLink.d.ts +12 -0
- package/components/RowLink/RowLink.d.ts.map +1 -0
- package/components/RowRenderer/RowRenderer.d.ts +2 -2
- package/components/RowRenderer/RowRenderer.d.ts.map +1 -1
- package/constants/public-class-names.d.ts +6 -0
- package/constants/public-class-names.d.ts.map +1 -1
- package/constants/virtual-list.d.ts +6 -0
- package/constants/virtual-list.d.ts.map +1 -1
- package/hooks/useRowActions.d.ts +17 -0
- package/hooks/useRowActions.d.ts.map +1 -0
- package/index.css +3 -2
- package/index.d.ts +9 -0
- package/index.d.ts.map +1 -1
- package/index.js +1820 -710
- package/models/conversation-list-header.d.ts +82 -0
- package/models/conversation-list-header.d.ts.map +1 -0
- package/models/conversation-list-section.d.ts +66 -0
- package/models/conversation-list-section.d.ts.map +1 -0
- package/models/conversation-list.d.ts +148 -0
- package/models/conversation-list.d.ts.map +1 -0
- package/models/panel-props.d.ts +31 -53
- package/models/panel-props.d.ts.map +1 -1
- package/models/pinned-projects.d.ts +61 -0
- package/models/pinned-projects.d.ts.map +1 -0
- package/models/rename-conversation-popup.d.ts +2 -0
- package/models/rename-conversation-popup.d.ts.map +1 -1
- package/models/virtual-row.d.ts +50 -1
- package/models/virtual-row.d.ts.map +1 -1
- package/package.json +6 -6
- package/types/conversation-kind.d.ts +7 -0
- package/types/conversation-kind.d.ts.map +1 -0
- package/types/conversation-row-variant.d.ts +8 -0
- package/types/conversation-row-variant.d.ts.map +1 -0
- package/types/virtual-row.d.ts +8 -2
- package/types/virtual-row.d.ts.map +1 -1
- package/utils/conversation-filter.d.ts +29 -0
- package/utils/conversation-filter.d.ts.map +1 -0
- package/utils/conversation-row.d.ts +17 -4
- package/utils/conversation-row.d.ts.map +1 -1
- package/components/ConversationPanel/utils.d.ts +0 -7
- package/components/ConversationPanel/utils.d.ts.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FilterTab } from '@epam/ai-dial-chat-shared';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
+
import { ConversationRowVariant } from '../../types/conversation-row-variant';
|
|
3
4
|
/** Props for `ConversationGroupHeader`. */
|
|
4
5
|
export interface ConversationGroupHeaderProps {
|
|
5
6
|
/** Section heading label. */
|
|
@@ -12,6 +13,8 @@ export interface ConversationGroupHeaderProps {
|
|
|
12
13
|
listId: string;
|
|
13
14
|
/** Typography class applied to the header button. Defaults to `'dial-tiny-lead-text'`. */
|
|
14
15
|
className?: string;
|
|
16
|
+
/** Presentation of the header. `Indicator` puts the hover chevron after the label. Defaults to `ConversationRowVariant.Avatar`. */
|
|
17
|
+
variant?: ConversationRowVariant;
|
|
15
18
|
/** When provided the header acts as a drag-and-drop drop zone. */
|
|
16
19
|
dropZoneGroupKey?: FilterTab;
|
|
17
20
|
/** Whether the drag cursor is currently over this header. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationGroupHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationGroupHeader/ConversationGroupHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationGroupHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationGroupHeader/ConversationGroupHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,MAAM,2BAA2B,CAAC;AAYpE,OAAO,KAAK,EAAa,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,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,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mIAAmI;IACnI,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,kEAAkE;IAClE,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,CAkGpE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ConversationListProps } from '../../models/conversation-list';
|
|
3
|
+
/** Virtualized, grouped, collapsible list of conversations without any panel chrome. */
|
|
4
|
+
export declare const ConversationList: FC<ConversationListProps>;
|
|
5
|
+
//# sourceMappingURL=ConversationList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationList.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationList/ConversationList.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAqC5E,wFAAwF;AACxF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAinBtD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ConversationListHeaderProps } from '../../models/conversation-list-header';
|
|
3
|
+
/** Header row for `ConversationList`: a collapsible title, a search toggle, a filter menu and a slot for extra actions. */
|
|
4
|
+
export declare const ConversationListHeader: FC<ConversationListHeaderProps>;
|
|
5
|
+
//# sourceMappingURL=ConversationListHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationListHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationListHeader/ConversationListHeader.tsx"],"names":[],"mappings":"AAsBA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAoCzF,2HAA2H;AAC3H,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA4TlE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ConversationListSectionProps } from '../../models/conversation-list-section';
|
|
3
|
+
/** Header and list of conversations as one section, owning the search text, the filter and the expanded state. */
|
|
4
|
+
export declare const ConversationListSection: FC<ConversationListSectionProps>;
|
|
5
|
+
//# sourceMappingURL=ConversationListSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationListSection.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationListSection/ConversationListSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAiD,MAAM,OAAO,CAAC;AAE/E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAM3F,kHAAkH;AAClH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAyIpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/ConversationPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConversationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/ConversationPanel.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,EAAE,EAMR,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAMlE,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6NxD,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FilterTab } from '@epam/ai-dial-chat-shared';
|
|
2
2
|
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
3
3
|
import { ConversationItem } from '../../models/panel-props';
|
|
4
|
+
import { NestedRowPosition } from '../../models/pinned-projects';
|
|
4
5
|
import { VirtualRow } from '../../models/virtual-row';
|
|
6
|
+
import { ConversationRowVariant } from '../../types/conversation-row-variant';
|
|
5
7
|
/** Props for `ConversationRow`. */
|
|
6
8
|
export interface ConversationRowProps {
|
|
7
9
|
/** The conversation item to display. */
|
|
@@ -20,10 +22,16 @@ export interface ConversationRowProps {
|
|
|
20
22
|
actionsLabel?: string;
|
|
21
23
|
/** Typography class for the conversation title text. Defaults to `'dial-small-text'`. */
|
|
22
24
|
itemTitleClassName?: string;
|
|
25
|
+
/** Typography class for the title of an unread conversation. Defaults to `'dial-small-semi-text'`. */
|
|
26
|
+
unreadItemTitleClassName?: string;
|
|
23
27
|
/** CSS class applied to the icon badge. Defaults to `'rounded-full'`. */
|
|
24
28
|
itemIconBadgeClassName?: string;
|
|
25
29
|
/** Accessible (visually hidden) label announced for the unread indicator dot. Defaults to `"Unread"`. */
|
|
26
30
|
unreadIndicatorLabel?: string;
|
|
31
|
+
/** Presentation of the row's leading slot and metrics. Defaults to `ConversationRowVariant.Avatar`. */
|
|
32
|
+
variant?: ConversationRowVariant;
|
|
33
|
+
/** Renders the row nested under a pinned project: indented, with its guide-line segment and level-2 ARIA position. */
|
|
34
|
+
nesting?: NestedRowPosition;
|
|
27
35
|
/** Group this row belongs to — required to enable drag-and-drop. */
|
|
28
36
|
rowGroupKey?: FilterTab;
|
|
29
37
|
/** The full virtual rows array — used to compute drop position. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationRow.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationRow/ConversationRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAEV,MAAM,2BAA2B,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"ConversationRow.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationRow/ConversationRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAEV,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAKL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAU9E,mCAAmC;AACnC,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,sGAAsG;IACtG,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,YAAY,EAAE,CAAC;IACxD,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,CACjB,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,iBAAiB,KACvB,IAAI,CAAC;IACV,qFAAqF;IACrF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sGAAsG;IACtG,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yEAAyE;IACzE,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,yGAAyG;IACzG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uGAAuG;IACvG,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,sHAAsH;IACtH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,oEAAoE;IACpE,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;AA8MD,8GAA8G;AAC9G,eAAO,MAAM,eAAe,4DAAiC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { PinnedProjectGroup } from '../../models/pinned-projects';
|
|
3
|
+
/** Props for `ProjectRow`. */
|
|
4
|
+
export interface ProjectRowProps {
|
|
5
|
+
/** The pinned project to display. */
|
|
6
|
+
project: PinnedProjectGroup;
|
|
7
|
+
/** Whether this project is the one the host currently shows. */
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
/** Called with the project `id` when the row is activated. */
|
|
10
|
+
onSelectProject: (projectId: string) => void;
|
|
11
|
+
/** Current search query — matched text in the name is highlighted. Defaults to `''`. */
|
|
12
|
+
searchQuery?: string;
|
|
13
|
+
/** Builds the ⋮ actions of the project. When absent or empty, the trigger is not rendered. */
|
|
14
|
+
getActions?: (project: PinnedProjectGroup) => DropdownItem[];
|
|
15
|
+
/** Called when the ⋮ menu opens; receives the trigger button. */
|
|
16
|
+
onActionMenuOpen?: (project: PinnedProjectGroup, trigger: HTMLButtonElement) => void;
|
|
17
|
+
/** Accessible label for the actions trigger button. Defaults to `"More actions"`. */
|
|
18
|
+
actionsLabel?: string;
|
|
19
|
+
/** Typography class for the project name. Defaults to `'dial-small-text'`. */
|
|
20
|
+
titleClassName?: string;
|
|
21
|
+
}
|
|
22
|
+
/** A pinned project row of the Pinned section: icon, name and ⋮ actions. */
|
|
23
|
+
export declare const ProjectRow: import('react').NamedExoticComponent<ProjectRowProps>;
|
|
24
|
+
//# sourceMappingURL=ProjectRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectRow.d.ts","sourceRoot":"","sources":["../../../src/components/ProjectRow/ProjectRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAQvE,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,OAAO,EAAE,kBAAkB,CAAC;IAC5B,gEAAgE;IAChE,QAAQ,EAAE,OAAO,CAAC;IAClB,8DAA8D;IAC9D,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8FAA8F;IAC9F,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,YAAY,EAAE,CAAC;IAC7D,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,CACjB,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,iBAAiB,KACvB,IAAI,CAAC;IACV,qFAAqF;IACrF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAiED,4EAA4E;AAC5E,eAAO,MAAM,UAAU,uDAA4B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NestedRowPosition, PinnedProjectGroup } from '../../models/pinned-projects';
|
|
2
|
+
/** Props for `ProjectSeeAllRow`. */
|
|
3
|
+
export interface ProjectSeeAllRowProps {
|
|
4
|
+
/** The project whose chats the row opens. */
|
|
5
|
+
project: PinnedProjectGroup;
|
|
6
|
+
/** Position of the row among the project's nested rows. */
|
|
7
|
+
position: NestedRowPosition;
|
|
8
|
+
/** Called with the project `id` when the row is activated. */
|
|
9
|
+
onSeeAll: (projectId: string) => void;
|
|
10
|
+
/** Visible text of the row. Defaults to `'See all'`. */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Builds the accessible name of the row from the project name. Defaults to `` (name) => `See all chats in ${name}` ``. */
|
|
13
|
+
ariaLabel?: (name: string) => string;
|
|
14
|
+
/** Typography class for the row text. Defaults to `'dial-small-text'`. */
|
|
15
|
+
titleClassName?: string;
|
|
16
|
+
}
|
|
17
|
+
/** The See all link closing a pinned project's nested chats; it has no actions. */
|
|
18
|
+
export declare const ProjectSeeAllRow: import('react').NamedExoticComponent<ProjectSeeAllRowProps>;
|
|
19
|
+
//# sourceMappingURL=ProjectSeeAllRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectSeeAllRow.d.ts","sourceRoot":"","sources":["../../../src/components/ProjectRow/ProjectSeeAllRow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAMtC,oCAAoC;AACpC,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,OAAO,EAAE,kBAAkB,CAAC;IAC5B,2DAA2D;IAC3D,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,8DAA8D;IAC9D,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2HAA2H;IAC3H,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACrC,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA8CD,mFAAmF;AACnF,eAAO,MAAM,gBAAgB,6DAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenameConversationPopup.d.ts","sourceRoot":"","sources":["../../../src/components/RenameConversationPopup/RenameConversationPopup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RenameConversationPopup.d.ts","sourceRoot":"","sources":["../../../src/components/RenameConversationPopup/RenameConversationPopup.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAML,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAE3F,8FAA8F;AAC9F,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA0KpE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { ConversationRowVariant } from '../../types/conversation-row-variant';
|
|
3
|
+
/** Props for `RowActionsMenu`. */
|
|
4
|
+
export interface RowActionsMenuProps {
|
|
5
|
+
/** Menu entries; the caller renders the menu only when there is at least one. */
|
|
6
|
+
items: DropdownItem[];
|
|
7
|
+
/** Whether the menu is open. */
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
/** Called when the menu opens or closes. */
|
|
10
|
+
onOpenChange: (isOpen: boolean) => void;
|
|
11
|
+
/** Called with the trigger button when the menu opens. */
|
|
12
|
+
onOpen?: (trigger: HTMLButtonElement) => void;
|
|
13
|
+
/** Accessible label of the trigger button. */
|
|
14
|
+
actionsLabel: string;
|
|
15
|
+
/** Presentation of the row the trigger sits in. Defaults to `ConversationRowVariant.Indicator`. */
|
|
16
|
+
variant?: ConversationRowVariant;
|
|
17
|
+
}
|
|
18
|
+
/** The ⋮ trigger and dropdown of a conversation-list row. */
|
|
19
|
+
export declare const RowActionsMenu: import('react').NamedExoticComponent<RowActionsMenuProps>;
|
|
20
|
+
//# sourceMappingURL=RowActionsMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RowActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/RowActionsMenu/RowActionsMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,iFAAiF;IACjF,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,gCAAgC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,4CAA4C;IAC5C,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,0DAA0D;IAC1D,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,8CAA8C;IAC9C,YAAY,EAAE,MAAM,CAAC;IACrB,mGAAmG;IACnG,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC;AA2DD,6DAA6D;AAC7D,eAAO,MAAM,cAAc,2DAAgC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Button } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { ComponentProps, FC } from 'react';
|
|
3
|
+
/** Props for `RowLink`. */
|
|
4
|
+
export interface RowLinkProps extends Omit<ComponentProps<typeof Button>, 'href' | 'onClick' | 'tabIndex'> {
|
|
5
|
+
/** Browser-navigable URL of the row; when set, the link takes focus and a click calls `onSelect` instead of navigating. */
|
|
6
|
+
href?: string;
|
|
7
|
+
/** Called when the row is activated. */
|
|
8
|
+
onSelect: () => void;
|
|
9
|
+
}
|
|
10
|
+
/** The activatable area of a list row: a link around the row button when `href` is set, the button alone otherwise. */
|
|
11
|
+
export declare const RowLink: FC<RowLinkProps>;
|
|
12
|
+
//# sourceMappingURL=RowLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RowLink.d.ts","sourceRoot":"","sources":["../../../src/components/RowLink/RowLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhD,2BAA2B;AAC3B,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,cAAc,CAAC,OAAO,MAAM,CAAC,EAC7B,MAAM,GAAG,SAAS,GAAG,UAAU,CAChC;IACC,2HAA2H;IAC3H,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,uHAAuH;AACvH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA0BpC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RowComponentProps } from 'react-window';
|
|
2
2
|
import { RowRendererData } from '../../models/virtual-row';
|
|
3
|
-
/** Renders a single virtual row —
|
|
4
|
-
export declare const RowRenderer: ({ index, style, rows, expandedGroups, onToggleGroup, listId, activeConversationId, searchQuery, onSelectConversation, getActions, onActionMenuOpen, actionsLabel, unreadIndicatorLabel, styles, draggingId, dragOverId, allowedDropGroups, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, }: RowComponentProps<RowRendererData>) => import(
|
|
3
|
+
/** Renders a single virtual row — a collapsible group header, a conversation item, or a pinned project's row. */
|
|
4
|
+
export declare const RowRenderer: ({ index, style, rows, expandedGroups, onToggleGroup, listId, activeConversationId, searchQuery, onSelectConversation, getActions, onActionMenuOpen, actionsLabel, unreadIndicatorLabel, activeProjectId, onSelectProject, onSelectProjectConversation, onSeeAll, getProjectActions, onProjectActionMenuOpen, seeAllLabel, seeAllAriaLabel, styles, rowVariant, projectConversationVariant, draggingId, dragOverId, allowedDropGroups, onDragStart, onDragEnd, onDragOver, onDragLeave, onDrop, }: RowComponentProps<RowRendererData>) => import('react').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":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"RowRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/RowRenderer/RowRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAiBhE,iHAAiH;AACjH,eAAO,MAAM,WAAW,GAAI,keAiCzB,iBAAiB,CAAC,eAAe,CAAC,gCAmHpC,CAAC"}
|
|
@@ -3,5 +3,11 @@ export declare const CONVERSATION_PANEL_CLASS: {
|
|
|
3
3
|
readonly newChatButton: "dial-cp-new-chat-button";
|
|
4
4
|
/** The `role="search"` wrapper around the conversation search field. */
|
|
5
5
|
readonly search: "dial-cp-search";
|
|
6
|
+
/** The root of the conversation list rendered by `ConversationList`. */
|
|
7
|
+
readonly list: "dial-cp-list";
|
|
8
|
+
/** The header row rendered by `ConversationListHeader`. */
|
|
9
|
+
readonly listHeader: "dial-cp-list-header";
|
|
10
|
+
/** The root of `ConversationListSection`, which holds the header and the list. */
|
|
11
|
+
readonly listSection: "dial-cp-list-section";
|
|
6
12
|
};
|
|
7
13
|
//# sourceMappingURL=public-class-names.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,wBAAwB;IACnC,2BAA2B;;IAE3B,wEAAwE;;
|
|
1
|
+
{"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,wBAAwB;IACnC,2BAA2B;;IAE3B,wEAAwE;;IAExE,wEAAwE;;IAExE,2DAA2D;;IAE3D,kFAAkF;;CAE1E,CAAC"}
|
|
@@ -4,4 +4,10 @@ export declare const ITEM_ROW_HEIGHT = 36;
|
|
|
4
4
|
export declare const GROUP_HEADER_ROW_HEIGHT = 56;
|
|
5
5
|
/** Pixel height of the first group header row (h-6 = 24px, no gap above). */
|
|
6
6
|
export declare const FIRST_GROUP_HEADER_ROW_HEIGHT = 24;
|
|
7
|
+
/** Pixel height of an `Indicator` item row (h-8 = 32px + 2px gap above). */
|
|
8
|
+
export declare const INDICATOR_ITEM_ROW_HEIGHT = 34;
|
|
9
|
+
/** Pixel height of the first `Indicator` group header row (h-6 = 24px + 8px group padding above). */
|
|
10
|
+
export declare const INDICATOR_FIRST_GROUP_HEADER_ROW_HEIGHT = 32;
|
|
11
|
+
/** Pixel height of a later `Indicator` group header row (h-6 = 24px + 16px group-separation space above). */
|
|
12
|
+
export declare const INDICATOR_GROUP_HEADER_ROW_HEIGHT = 40;
|
|
7
13
|
//# sourceMappingURL=virtual-list.d.ts.map
|
|
@@ -1 +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"}
|
|
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;AAChD,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAC5C,qGAAqG;AACrG,eAAO,MAAM,uCAAuC,KAAK,CAAC;AAC1D,6GAA6G;AAC7G,eAAO,MAAM,iCAAiC,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
/** The ⋮ menu state of a row, for `RowActionsMenu`. */
|
|
3
|
+
export interface RowActions {
|
|
4
|
+
/** The menu entries; empty when the row offers none. */
|
|
5
|
+
menuItems: DropdownItem[];
|
|
6
|
+
/** The row offers at least one action, so its trigger renders. */
|
|
7
|
+
hasActions: boolean;
|
|
8
|
+
/** Whether the menu is open. */
|
|
9
|
+
isMenuOpen: boolean;
|
|
10
|
+
/** Records the menu opening or closing. */
|
|
11
|
+
handleOpenChange: (isOpen: boolean) => void;
|
|
12
|
+
/** Reports the opened menu's trigger to the host. */
|
|
13
|
+
handleOpen: (trigger: HTMLButtonElement) => void;
|
|
14
|
+
}
|
|
15
|
+
/** Returns the ⋮ menu state of a row that shows `subject`. */
|
|
16
|
+
export declare const useRowActions: <T>(subject: T, getActions: ((subject: T) => DropdownItem[]) | undefined, onActionMenuOpen: ((subject: T, trigger: HTMLButtonElement) => void) | undefined) => RowActions;
|
|
17
|
+
//# sourceMappingURL=useRowActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRowActions.d.ts","sourceRoot":"","sources":["../../src/hooks/useRowActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGzD,uDAAuD;AACvD,MAAM,WAAW,UAAU;IACzB,wDAAwD;IACxD,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,kEAAkE;IAClE,UAAU,EAAE,OAAO,CAAC;IACpB,gCAAgC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,2CAA2C;IAC3C,gBAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,qDAAqD;IACrD,UAAU,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAClD;AAED,8DAA8D;AAC9D,eAAO,MAAM,aAAa,GAAI,CAAC,EAC7B,SAAS,CAAC,EACV,YAAY,CAAC,CAAC,OAAO,EAAE,CAAC,KAAK,YAAY,EAAE,CAAC,GAAG,SAAS,EACxD,kBACE,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAC,GAAG,SAAS,KAC/D,UAmBF,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
.
|
|
2
|
-
/*$vite$:1
|
|
1
|
+
._guideLine_1hyjn_7:before{top:0;bottom:-2px;content:"";background:var(--cp-project-guide-line,var(--stroke-tertiary,#e0e6f0));pointer-events:none;width:1px;position:absolute;inset-inline-start:20px}._guideLineFirst_1hyjn_18:before{top:5px}._guideLineLast_1hyjn_22:before{bottom:5px}._seeAllText_1hyjn_26,._projectIcon_1hyjn_27{color:var(--cp-text-secondary,var(--text-secondary,#57647a))}._item_6sbjj_2{color:var(--cp-text,var(--text-primary,#161b2d));border-radius:var(--cp-row-radius,.75rem)}._item_6sbjj_2:hover,._item_6sbjj_2:focus-visible,:focus-visible>._item_6sbjj_2{background:var(--cp-item-hover,var(--bg-control-accent-alpha,#2764d90f))}._item_6sbjj_2._itemActive_6sbjj_17{background:var(--cp-item-active,var(--bg-control-accent-alpha,#2764d90f));color:var(--cp-text,var(--text-primary,#161b2d))}._itemIndicator_6sbjj_26{border-radius:var(--cp-row-radius,9999px)}._indicatorDot_6sbjj_30{border:1.5px solid var(--cp-indicator-dot,var(--stroke-secondary,#d1dbea))}._groupHeader_6sbjj_34{color:var(--cp-text-secondary,var(--text-tertiary,#848e9c))}._groupHeaderIndicator_6sbjj_39{color:var(--cp-text-secondary,var(--text-secondary,#57647a))}._dropZoneActive_6sbjj_43{box-shadow:inset 0 0 0 1px var(--cp-drop-zone-ring,var(--stroke-accent,#1d4ed8))}._triggerActive_6sbjj_47{background:var(--cp-trigger-bg,var(--bg-control-accent-alpha-active,#2764d933))}._triggerActive_6sbjj_47 ._triggerIcon_6sbjj_50{color:var(--cp-trigger-icon,var(--text-accent,#1d4ed8))}._triggerIcon_6sbjj_50{color:var(--cp-trigger-icon-idle,var(--text-secondary,#57647a))}._unreadDot_6sbjj_58{background:var(--cp-unread-dot,var(--text-accent,#1d4ed8))}._search_6sbjj_66{border-radius:var(--cp-search-radius,9999px)}._list_6sbjj_77{font-family:var(--cp-list-font-family,inherit)}._title_mvx21_2,._title_mvx21_2:hover{color:var(--cp-list-header-title,var(--text-secondary,#57647a))}._title_mvx21_2:focus-visible{color:var(--cp-list-header-title-focus,var(--text-primary,#161b2d))}._filterValue_mvx21_12{color:var(--cp-list-header-filter-value,var(--text-secondary,#57647a))}._filterIndicator_mvx21_17{background-color:var(--cp-list-header-filter-indicator,var(--text-accent,#1d4ed8))}._button_vjird_1{background:var(--cp-new-chat-bg,var(--bg-control-neutral,#fcfcfc));color:var(--cp-new-chat-text,var(--text-accent,#1d4ed8))}._button_vjird_1._button_vjird_1:focus-visible{outline:1px solid var(--cp-new-chat-focus-outline,var(--stroke-focus,#161b2d));outline-offset:0}
|
|
2
|
+
/*$vite$:1*//*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
3
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.relative{position:relative}.static{position:static}.inset-y-0{inset-block:0}.-inset-e-0\.5{inset-inline-end:-.125rem}.inset-e-1{inset-inline-end:.25rem}.inset-e-2{inset-inline-end:.5rem}.-top-0\.5{top:-.125rem}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.\!size-6{width:1.5rem!important;height:1.5rem!important}.size-1\.5{width:.375rem;height:.375rem}.size-6{width:1.5rem;height:1.5rem}.size-6\!{width:1.5rem!important;height:1.5rem!important}.size-\[7\.11px\]{width:7.11px;height:7.11px}.h-6{height:1.5rem}.h-6\!{height:1.5rem!important}.h-8{height:2rem}.h-\[36px\]{height:36px}.h-\[64px\]{height:64px}.h-\[120px\]{height:120px}.\!min-h-0{min-height:0!important}.min-h-0{min-height:0}.min-h-0\!{min-height:0!important}.min-h-6{min-height:1.5rem}.w-0{width:0}.w-\[200px\]{width:200px}.w-\[324px\]{width:324px}.w-full{width:100%}.max-w-full{max-width:100%}.\!min-w-0{min-width:0!important}.min-w-0{min-width:0}.min-w-0\!{min-width:0!important}.flex-1{flex:1}.shrink-0{flex-shrink:0}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded{border-radius:4px}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.\!p-1{padding:.25rem!important}.p-0{padding:0}.p-1\!{padding:.25rem!important}.\!px-2{padding-inline:.5rem!important}.px-1{padding-inline:.25rem}.px-2{padding-inline:.5rem}.px-2\!{padding-inline:.5rem!important}.px-3{padding-inline:.75rem}.px-6{padding-inline:1.5rem}.py-1{padding-block:.25rem}.py-1\!{padding-block:.25rem!important}.py-2{padding-block:.5rem}.py-3{padding-block:.75rem}.py-4{padding-block:1rem}.ps-2{padding-inline-start:.5rem}.ps-3{padding-inline-start:.75rem}.ps-7{padding-inline-start:1.75rem}.pe-2{padding-inline-end:.5rem}.pe-2\!{padding-inline-end:.5rem!important}.pe-3{padding-inline-end:.75rem}.pe-9{padding-inline-end:2.25rem}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.pb-2{padding-bottom:.5rem}.text-start{text-align:start}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-chat-button{--tw-shadow:0 2px 12px 0 var(--tw-shadow-color,var(--shadow-xs-1,#2764d933)), 0 2px 6px 0 var(--tw-shadow-color,var(--shadow-xs-2,#161b2d08));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.duration-150{--tw-duration:.15s;transition-duration:.15s}.group-focus-within\/conversation\:pe-9:is(:where(.group\/conversation):focus-within *){padding-inline-end:2.25rem}.group-focus-within\/conversation\:opacity-0:is(:where(.group\/conversation):focus-within *){opacity:0}.group-focus-within\/conversation\:opacity-100:is(:where(.group\/conversation):focus-within *){opacity:1}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\/conversation\:pe-9:is(:where(.group\/conversation):hover *){padding-inline-end:2.25rem}.group-hover\/conversation\:opacity-0:is(:where(.group\/conversation):hover *){opacity:0}.group-hover\/conversation\:opacity-100:is(:where(.group\/conversation):hover *){opacity:1}}.group-focus-visible\:opacity-100:is(:where(.group):focus-visible *){opacity:1}.after\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}@media (hover:hover){.hover\:shadow-xs:hover{--tw-shadow:0 0 8px 1px var(--tw-shadow-color,var(--shadow-xs-1,#2764d933));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus-visible\:shadow-xs:focus-visible,.active\:shadow-xs:active{--tw-shadow:0 0 8px 1px var(--tw-shadow-color,var(--shadow-xs-1,#2764d933));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.rtl\:scale-x-\[-1\]:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-scale-x:-1;scale:var(--tw-scale-x) var(--tw-scale-y)}@media (max-width:1279px){.mobile\:w-full{width:100%}}.\[\&_svg\]\:size-4\! svg{width:1rem!important;height:1rem!important}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
export { CONVERSATION_PANEL_CLASS } from './constants/public-class-names';
|
|
2
|
+
export { ConversationList } from './components/ConversationList/ConversationList';
|
|
3
|
+
export { ConversationListHeader } from './components/ConversationListHeader/ConversationListHeader';
|
|
4
|
+
export { ConversationListSection } from './components/ConversationListSection/ConversationListSection';
|
|
2
5
|
export { ConversationPanel } from './components/ConversationPanel/ConversationPanel';
|
|
3
6
|
export { RenameConversationPopup } from './components/RenameConversationPopup/RenameConversationPopup';
|
|
4
7
|
export type { RenameConversationPopupProps, RenameConversationPopupLabels, RenameConversationPopupStyles, } from './models/rename-conversation-popup';
|
|
8
|
+
export { ConversationTypeFilter } from './types/conversation-kind';
|
|
9
|
+
export { ConversationRowVariant } from './types/conversation-row-variant';
|
|
10
|
+
export type { ConversationListHeaderColors, ConversationListHeaderLabels, ConversationListHeaderProps, ConversationListHeaderStyles, ConversationListHeaderTypography, } from './models/conversation-list-header';
|
|
11
|
+
export type { ConversationListSectionLabels, ConversationListSectionProps, ConversationListSectionStyles, } from './models/conversation-list-section';
|
|
12
|
+
export type { ConversationListColors, ConversationListLabels, ConversationListProps, ConversationListStyles, ConversationListTypography, FilterEmptyLabels, } from './models/conversation-list';
|
|
13
|
+
export type { PinnedProjectGroup, PinnedProjects, } from './models/pinned-projects';
|
|
5
14
|
export type { ConversationMove, ConversationPanelProps, ConversationPanelStyles, ConversationColors, NewChatButtonColors, ConversationPanelTypography, ConversationPanelLabels, ConversationItem, FilterLabels, } from './models/panel-props';
|
|
6
15
|
//# 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,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,YAAY,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,YAAY,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,YAAY,EACV,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,gCAAgC,GACjC,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,kBAAkB,EAClB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC"}
|