@aws/mynah-ui 4.10.0-beta.4 → 4.10.0-beta.6
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/cloudscape-wrapper/lib/main.d.ts +3 -0
- package/cloudscape-wrapper/lib/main.es.js +25994 -0
- package/cloudscape-wrapper/lib/main.js +25999 -0
- package/dist/components/button.d.ts +1 -0
- package/dist/components/card/card-body.d.ts +1 -0
- package/dist/components/card/card.d.ts +1 -0
- package/dist/components/chat-item/chat-wrapper.d.ts +1 -0
- package/dist/components/collapsible-content.d.ts +1 -0
- package/dist/components/feedback-form/feedback-form.d.ts +1 -0
- package/dist/components/form-items/radio-group.d.ts +1 -0
- package/dist/components/form-items/select.d.ts +1 -0
- package/dist/components/form-items/stars.d.ts +1 -0
- package/dist/components/form-items/text-area.d.ts +1 -0
- package/dist/components/form-items/text-input.d.ts +1 -0
- package/dist/components/icon.d.ts +1 -0
- package/dist/components/navigation-tabs.d.ts +1 -0
- package/dist/components/notification.d.ts +1 -0
- package/dist/components/overlay.d.ts +1 -0
- package/dist/components/syntax-highlighter.d.ts +1 -0
- package/dist/components/toggle.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
- package/cloudscape-wrapper/test-config/__mocks__/empty.mock.js +0 -1
- package/cloudscape-wrapper/test-config/test-utils.ts +0 -11
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ExtendedHTMLElement } from '../helper/dom';
|
|
6
6
|
import { OverlayHorizontalDirection, OverlayVerticalDirection } from './overlay';
|
|
7
|
+
import '../styles/components/_button.scss';
|
|
7
8
|
export interface ButtonProps {
|
|
8
9
|
classNames?: string[];
|
|
9
10
|
attributes?: Record<string, string>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { DomBuilderObject, ExtendedHTMLElement } from '../../helper/dom';
|
|
6
6
|
import { OnCopiedToClipboardFunction, OnInsertToCursorPositionFunction, ReferenceTrackerInformation } from '../../static';
|
|
7
|
+
import '../../styles/components/card/_card.scss';
|
|
7
8
|
export declare const highlightersWithTooltip: {
|
|
8
9
|
start: {
|
|
9
10
|
markupStart: string;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { DomBuilderObject, ExtendedHTMLElement } from '../../helper/dom';
|
|
6
6
|
import { EngagementType } from '../../static';
|
|
7
|
+
import '../../styles/components/card/_card.scss';
|
|
7
8
|
export interface CardProps extends Partial<DomBuilderObject> {
|
|
8
9
|
border?: boolean;
|
|
9
10
|
background?: boolean;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ExtendedHTMLElement } from '../../helper/dom';
|
|
6
6
|
import { CardRenderDetails, ChatItem, PromptAttachmentType } from '../../static';
|
|
7
|
+
import '../../styles/components/chat/_chat-wrapper.scss';
|
|
7
8
|
export declare const CONTAINER_GAP = 12;
|
|
8
9
|
export interface ChatWrapperProps {
|
|
9
10
|
onStopChatResponse?: (tabId: string) => void;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { DomBuilderObject, ExtendedHTMLElement } from '../helper/dom';
|
|
6
|
+
import '../styles/components/_collapsible-content.scss';
|
|
6
7
|
interface CollapsibleContentProps {
|
|
7
8
|
title: string | ExtendedHTMLElement | HTMLElement | DomBuilderObject;
|
|
8
9
|
children: Array<string | ExtendedHTMLElement | HTMLElement | DomBuilderObject>;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { ExtendedHTMLElement } from '../helper/dom';
|
|
6
|
+
import '../styles/components/_nav-tabs.scss';
|
|
6
7
|
export interface TabsProps {
|
|
7
8
|
onChange?: (selectedTabId: string) => void;
|
|
8
9
|
onBeforeTabRemove?: (tabId: string) => boolean;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { DomBuilderObject, ExtendedHTMLElement } from '../helper/dom';
|
|
6
6
|
import { NotificationType } from '../static';
|
|
7
|
+
import '../styles/components/_notification.scss';
|
|
7
8
|
type NotificationContentType = string | ExtendedHTMLElement | HTMLElement | DomBuilderObject;
|
|
8
9
|
export interface NotificationProps {
|
|
9
10
|
duration?: number;
|
|
@@ -28,6 +28,7 @@ import 'prismjs/components/prism-less.min';
|
|
|
28
28
|
import 'prismjs/plugins/line-numbers/prism-line-numbers.js';
|
|
29
29
|
import 'prismjs/plugins/keep-markup/prism-keep-markup.js';
|
|
30
30
|
import { CodeSelectionType } from '../static';
|
|
31
|
+
import '../styles/components/_syntax-highlighter.scss';
|
|
31
32
|
export declare const highlighters: {
|
|
32
33
|
start: {
|
|
33
34
|
markup: string;
|