@aws/mynah-ui 4.16.0 → 4.16.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/helper/dom.d.ts +1 -0
- package/dist/helper/sanitize.d.ts +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/docs/DATAMODEL.md +47 -3
- package/docs/img/data-model/tabStore/progress.png +0 -0
- package/package.json +2 -2
- package/ui-tests/dist/main.js +1 -1
- package/ui-tests/dist/main.js.map +1 -1
- package/ui-tests/package.json +1 -1
package/dist/helper/dom.d.ts
CHANGED
|
@@ -75,4 +75,5 @@ export declare class DomBuilder {
|
|
|
75
75
|
}
|
|
76
76
|
export declare const htmlDecode: (input: string) => string;
|
|
77
77
|
export declare const getTypewriterPartsCss: (typewriterId: string, lastVisibleItemIndex: number, totalNumberOfItems: number, timeForEach: number) => ExtendedHTMLElement;
|
|
78
|
+
export declare const cleanupElement: (elm: HTMLElement) => void;
|
|
78
79
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
export declare const AllowedTags: readonly ["a", "audio", "b", "blockquote", "br", "hr", "canvas", "code", "col", "colgroup", "data", "div", "em", "embed", "figcaption", "figure", "h1", "h2", "h3", "h4", "h5", "h6", "i", "iframe", "img", "li", "map", "mark", "object", "ol", "p", "pre", "q", "s", "small", "source", "span", "strong", "sub", "sup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "track", "u", "ul", "video"];
|
|
5
|
+
export declare const AllowedTags: readonly ["a", "audio", "b", "blockquote", "br", "hr", "canvas", "code", "col", "colgroup", "data", "div", "em", "embed", "figcaption", "figure", "h1", "h2", "h3", "h4", "h5", "h6", "i", "iframe", "img", "input", "li", "map", "mark", "object", "ol", "p", "pre", "q", "s", "small", "source", "span", "strong", "sub", "sup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "track", "u", "ul", "video"];
|
|
6
6
|
export declare const AllowedAttributes: readonly ["accept", "accept-charset", "accesskey", "align", "allow", "allowfullscreen", "alt", "as", "async", "autocapitalize", "autoplay", "charset", "class", "cols", "colspan", "controls", "crossorigin", "data", "data-*", "datetime", "decoding", "default", "dir", "download", "headers", "hidden", "high", "href", "hreflang", "id", "ismap", "itemprop", "kind", "lang", "language", "loop", "low", "media", "muted", "optimum", "ping", "playsinline", "poster", "preload", "referrerpolicy", "rel", "reversed", "role", "rowspan", "sandbox", "scope", "shape", "size", "sizes", "slot", "span", "spellcheck", "src", "srcdoc", "srclang", "srcset", "start", "style", "target", "title", "translate", "usemap", "wrap", "aspect-ratio"];
|
|
7
7
|
export type AllowedTagsInCustomRenderer = (typeof AllowedTags)[number];
|
|
8
8
|
export type AllowedAttributesInCustomRenderer = (typeof AllowedAttributes)[number];
|
package/dist/main.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ export declare class MynahUI {
|
|
|
121
121
|
* @param eventId last action's user event ID passed from an event binded to mynahUI.
|
|
122
122
|
* Without user intent you cannot switch to a different tab
|
|
123
123
|
*/
|
|
124
|
-
selectTab: (tabId: string, eventId
|
|
124
|
+
selectTab: (tabId: string, eventId?: string) => void;
|
|
125
125
|
/**
|
|
126
126
|
* If exists, close the given tab
|
|
127
127
|
* @param tabId Tab ID to switch to
|