@aws/mynah-ui 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/chat-item/chat-item-tree-view-license.d.ts +15 -0
- package/dist/components/chat-item/chat-item-tree-view-wrapper.d.ts +3 -0
- package/dist/components/collapsible-content.d.ts +20 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { ExtendedHTMLElement } from '../../helper/dom';
|
|
6
|
+
import { ReferenceTrackerInformation } from '../../static';
|
|
7
|
+
export interface ChatItemTreeViewLicenseProps {
|
|
8
|
+
referenceSuggestionLabel: string;
|
|
9
|
+
references: ReferenceTrackerInformation[];
|
|
10
|
+
}
|
|
11
|
+
export declare class ChatItemTreeViewLicense {
|
|
12
|
+
render: ExtendedHTMLElement;
|
|
13
|
+
constructor(props: ChatItemTreeViewLicenseProps);
|
|
14
|
+
private readonly buildDropdownChildren;
|
|
15
|
+
}
|
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { ExtendedHTMLElement } from '../../helper/dom';
|
|
6
|
+
import { ReferenceTrackerInformation } from '../../static';
|
|
6
7
|
export interface ChatItemTreeViewWrapperProps {
|
|
7
8
|
tabId: string;
|
|
8
9
|
messageId: string;
|
|
9
10
|
files: string[];
|
|
10
11
|
deletedFiles: string[];
|
|
12
|
+
referenceSuggestionLabel: string;
|
|
13
|
+
references: ReferenceTrackerInformation[];
|
|
11
14
|
}
|
|
12
15
|
export declare class ChatItemTreeViewWrapper {
|
|
13
16
|
render: ExtendedHTMLElement;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { DomBuilderObject, ExtendedHTMLElement } from '../helper/dom';
|
|
6
|
+
interface CollapsibleContentProps {
|
|
7
|
+
title: string | ExtendedHTMLElement | HTMLElement | DomBuilderObject;
|
|
8
|
+
children: Array<string | ExtendedHTMLElement | HTMLElement | DomBuilderObject>;
|
|
9
|
+
classNames?: string[];
|
|
10
|
+
initialCollapsedState?: boolean;
|
|
11
|
+
onCollapseStateChange?: (collapsed: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare class CollapsibleContent {
|
|
14
|
+
render: ExtendedHTMLElement;
|
|
15
|
+
private readonly props;
|
|
16
|
+
private readonly uid;
|
|
17
|
+
private icon;
|
|
18
|
+
constructor(props: CollapsibleContentProps);
|
|
19
|
+
}
|
|
20
|
+
export {};
|