@aws/mynah-ui 4.26.0-beta.1 → 4.26.0-beta.3

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.
@@ -13,7 +13,6 @@ export interface ChatWrapperProps {
13
13
  export declare class ChatWrapper {
14
14
  private readonly props;
15
15
  private readonly chatItemsContainer;
16
- private activeConversationGroup;
17
16
  private readonly intermediateBlockContainer;
18
17
  private readonly promptInputElement;
19
18
  private readonly promptInput;
@@ -21,6 +20,9 @@ export declare class ChatWrapper {
21
20
  private readonly headerSpacer;
22
21
  private readonly promptInfo;
23
22
  private readonly promptStickyCard;
23
+ private canObserveIntersection;
24
+ private observer;
25
+ private activeConversationGroup;
24
26
  private tabHeaderDetails;
25
27
  private tabModeSwitchTimeout;
26
28
  private lastStreamingChatItemCard;
@@ -30,6 +32,7 @@ export declare class ChatWrapper {
30
32
  private restoreScrollAfterResize;
31
33
  render: ExtendedHTMLElement;
32
34
  constructor(props: ChatWrapperProps);
35
+ private readonly getNewConversationGroupElement;
33
36
  private readonly removeEmptyCardsAndFollowups;
34
37
  private readonly insertChatItem;
35
38
  private readonly checkLastAnswerStreamChange;
@@ -1,18 +1,24 @@
1
1
  import { ExtendedHTMLElement } from '../../helper/dom';
2
- import { ChatItemButton, DetailedList, DetailedListItem, DetailedListItemGroup } from '../../static';
2
+ import { ChatItemButton, DetailedList, DetailedListItem } from '../../static';
3
3
  export interface DetailedListWrapperProps {
4
4
  detailedList: DetailedList;
5
- onQuickPickGroupActionClick: (action: ChatItemButton) => void;
6
- onQuickPickItemSelect: (detailedListItem: DetailedListItem) => void;
5
+ onFilterValueChange?: (filterValues: Record<string, any>, isValid: boolean) => void;
6
+ onDetailedListItemGroupActionClick: (action: ChatItemButton) => void;
7
+ onDetailedListItemSelect: (detailedListItem: DetailedListItem) => void;
7
8
  }
8
9
  export declare class DetailedListWrapper {
9
10
  render: ExtendedHTMLElement;
11
+ private readonly detailedListItemGroupsContainer;
12
+ private readonly filtersContainer;
13
+ private readonly headerContainer;
10
14
  private readonly props;
11
15
  private activeTargetElementIndex;
12
16
  private allSelectableDetailedListElements;
13
17
  constructor(props: DetailedListWrapperProps);
14
- private readonly getQuickPickGroups;
15
- readonly changeTarget: (direction: 'up' | 'down') => void;
18
+ private readonly getHeader;
19
+ private readonly getFilters;
20
+ private readonly getDetailedListItemGroups;
21
+ readonly changeTarget: (direction: 'up' | 'down', snapOnLastAndFirst?: boolean) => void;
16
22
  readonly getTargetElement: () => DetailedListItem | null;
17
- readonly updateList: (detailedListItemGroups: DetailedListItemGroup[]) => void;
23
+ readonly update: (detailedList: DetailedList) => void;
18
24
  }
@@ -28,6 +28,8 @@ declare const _default: {
28
28
  middleBlockWrapper: string;
29
29
  stopButton: string;
30
30
  header: string;
31
+ moreContentIndicator: string;
32
+ moreContentIndicatorButton: string;
31
33
  };
32
34
  chatItem: {
33
35
  type: {