@aws/mynah-ui 4.40.1 → 4.40.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.
- package/dist/components/title-description-with-icon.d.ts +15 -0
- package/dist/helper/sanitize.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +15 -0
- package/package.json +1 -1
- package/ui-tests/__snapshots__/chromium/Open-MynahUI-should-keep-the-content-inside-window-boundaries/Open-MynahUI-should-keep-the-content-inside-window-boundaries-3.png +0 -0
- package/ui-tests/__snapshots__/chromium/Open-MynahUI-should-parse-markdown/Open-MynahUI-should-parse-markdown-1.png +0 -0
- package/ui-tests/__snapshots__/webkit/Open-MynahUI-should-parse-markdown/Open-MynahUI-should-parse-markdown-1.png +0 -0
package/dist/static.d.ts
CHANGED
|
@@ -703,6 +703,21 @@ export interface TabHeaderDetails {
|
|
|
703
703
|
icon?: MynahIcons | MynahIconsType;
|
|
704
704
|
title?: string;
|
|
705
705
|
description?: string;
|
|
706
|
+
/**
|
|
707
|
+
* Optional tip card rendered between the title and the description.
|
|
708
|
+
* Useful for "Did you know?"-style introductions on welcome surfaces.
|
|
709
|
+
*/
|
|
710
|
+
tip?: {
|
|
711
|
+
title?: string;
|
|
712
|
+
body?: string;
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* When true, the tab header is rendered in a centered single-column
|
|
716
|
+
* layout (icon stacked above title, tip and description). Defaults to
|
|
717
|
+
* false to preserve the existing two-column left-aligned layout for
|
|
718
|
+
* current consumers.
|
|
719
|
+
*/
|
|
720
|
+
centered?: boolean;
|
|
706
721
|
}
|
|
707
722
|
export interface CodeBlockAction {
|
|
708
723
|
id: 'copy' | 'insert-to-cursor' | string;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|