@ui5/webcomponents-base 2.0.0-rc.2 → 2.0.0-rc.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/CHANGELOG.md +155 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/Boot.js +2 -3
- package/dist/Boot.js.map +1 -1
- package/dist/asset-registries/Icons.js +1 -1
- package/dist/asset-registries/Icons.js.map +1 -1
- package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +3 -3
- package/dist/asset-registries/util/getIconCollectionByTheme.js +3 -3
- package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -1
- package/dist/config/Theme.d.ts +3 -2
- package/dist/config/Theme.js +7 -3
- package/dist/config/Theme.js.map +1 -1
- package/dist/custom-elements-internal.json +180 -6
- package/dist/custom-elements.json +75 -0
- package/dist/features/OpenUI5Support.js +8 -2
- package/dist/features/OpenUI5Support.js.map +1 -1
- package/dist/features/patchPatcher.d.ts +11 -0
- package/dist/features/patchPatcher.js +11 -0
- package/dist/features/patchPatcher.js.map +1 -0
- package/dist/features/patchPopup.d.ts +14 -0
- package/dist/features/patchPopup.js +50 -0
- package/dist/features/patchPopup.js.map +1 -0
- package/dist/generated/AssetParameters.js +1 -1
- package/dist/generated/AssetParameters.js.map +1 -1
- package/dist/generated/VersionInfo.js +3 -3
- package/dist/generated/VersionInfo.js.map +1 -1
- package/dist/types/AriaHasPopup.d.ts +32 -0
- package/dist/types/AriaHasPopup.js +34 -0
- package/dist/types/AriaHasPopup.js.map +1 -0
- package/dist/types/AriaLandmarkRole.d.ts +79 -0
- package/dist/types/AriaLandmarkRole.js +81 -0
- package/dist/types/AriaLandmarkRole.js.map +1 -0
- package/dist/types/AriaRole.d.ts +27 -0
- package/dist/types/AriaRole.js +29 -0
- package/dist/types/AriaRole.js.map +1 -0
- package/dist/types/ValueState.d.ts +3 -3
- package/dist/types/ValueState.js +3 -3
- package/dist/types/ValueState.js.map +1 -1
- package/dist/types.d.ts +15 -2
- package/dist/types.js.map +1 -1
- package/package.json +4 -4
- package/.eslintignore +0 -17
- package/.eslintrc.cjs +0 -3
- package/bundle.esm.js +0 -65
- package/lib/generate-asset-parameters/index.js +0 -27
- package/lib/generate-styles/index.js +0 -31
- package/lib/generate-version-info/index.js +0 -32
- package/used-modules.txt +0 -14
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const patchPatcher = (Patcher) => {
|
|
2
|
+
const origOpenEnd = Patcher.prototype.openEnd;
|
|
3
|
+
Patcher.prototype.openEnd = function openEnd() {
|
|
4
|
+
if (this._mAttributes.popover) {
|
|
5
|
+
delete this._mAttributes.popover; // The "popover" attribute will be managed externally, don't let Patcher remove it
|
|
6
|
+
}
|
|
7
|
+
return origOpenEnd.apply(this);
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default patchPatcher;
|
|
11
|
+
//# sourceMappingURL=patchPatcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patchPatcher.js","sourceRoot":"","sources":["../../src/features/patchPatcher.ts"],"names":[],"mappings":"AAOA,MAAM,YAAY,GAAG,CAAC,OAAuB,EAAE,EAAE;IAChD,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC;IAC9C,OAAO,CAAC,SAAS,CAAC,OAAO,GAAG,SAAS,OAAO;QAC3C,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;YAC9B,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,kFAAkF;SACpH;QACD,OAAO,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["type OpenUI5Patcher = {\n\tprototype: {\n\t\t_mAttributes: { [key: string]: string },\n\t\topenEnd: () => OpenUI5Patcher,\n\t}\n};\n\nconst patchPatcher = (Patcher: OpenUI5Patcher) => {\n\tconst origOpenEnd = Patcher.prototype.openEnd;\n\tPatcher.prototype.openEnd = function openEnd() {\n\t\tif (this._mAttributes.popover) {\n\t\t\tdelete this._mAttributes.popover; // The \"popover\" attribute will be managed externally, don't let Patcher remove it\n\t\t}\n\t\treturn origOpenEnd.apply(this);\n\t};\n};\n\nexport default patchPatcher;\nexport type { OpenUI5Patcher };\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type Element = {
|
|
2
|
+
getDomRef: () => HTMLElement | null;
|
|
3
|
+
};
|
|
4
|
+
type OpenUI5Popup = {
|
|
5
|
+
prototype: {
|
|
6
|
+
open: (...args: any[]) => void;
|
|
7
|
+
_closed: (...args: any[]) => void;
|
|
8
|
+
getOpenState: () => "CLOSED" | "CLOSING" | "OPEN" | "OPENING";
|
|
9
|
+
getContent: () => Element;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
declare const patchPopup: (Popup: OpenUI5Popup) => void;
|
|
13
|
+
export default patchPopup;
|
|
14
|
+
export type { OpenUI5Popup };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const openNativePopover = (domRef) => {
|
|
2
|
+
domRef.setAttribute("popover", "manual");
|
|
3
|
+
domRef.showPopover();
|
|
4
|
+
};
|
|
5
|
+
const closeNativePopover = (domRef) => {
|
|
6
|
+
if (domRef.hasAttribute("popover")) {
|
|
7
|
+
domRef.hidePopover();
|
|
8
|
+
domRef.removeAttribute("popover");
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
const patchOpen = (Popup) => {
|
|
12
|
+
const origOpen = Popup.prototype.open;
|
|
13
|
+
Popup.prototype.open = function open(...args) {
|
|
14
|
+
origOpen.apply(this, args); // call open first to initiate opening
|
|
15
|
+
const topLayerAlreadyInUse = !!document.body.querySelector(":popover-open"); // check if there is already something in the top layer
|
|
16
|
+
const openingInitiated = ["OPENING", "OPEN"].includes(this.getOpenState());
|
|
17
|
+
if (openingInitiated && topLayerAlreadyInUse) {
|
|
18
|
+
const element = this.getContent();
|
|
19
|
+
if (element) {
|
|
20
|
+
const domRef = element.getDomRef();
|
|
21
|
+
if (domRef) {
|
|
22
|
+
openNativePopover(domRef);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
const patchClosed = (Popup) => {
|
|
29
|
+
const _origClosed = Popup.prototype._closed;
|
|
30
|
+
Popup.prototype._closed = function _closed(...args) {
|
|
31
|
+
const element = this.getContent();
|
|
32
|
+
const domRef = element.getDomRef();
|
|
33
|
+
_origClosed.apply(this, args); // only then call _close
|
|
34
|
+
if (domRef) {
|
|
35
|
+
closeNativePopover(domRef); // unset the popover attribute and close the native popover, but only if still in DOM
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
const createGlobalStyles = () => {
|
|
40
|
+
const stylesheet = new CSSStyleSheet();
|
|
41
|
+
stylesheet.replaceSync(`.sapMPopup-CTX:popover-open { inset: unset; }`);
|
|
42
|
+
document.adoptedStyleSheets = [...document.adoptedStyleSheets, stylesheet];
|
|
43
|
+
};
|
|
44
|
+
const patchPopup = (Popup) => {
|
|
45
|
+
patchOpen(Popup); // Popup.prototype.open
|
|
46
|
+
patchClosed(Popup); // Popup.prototype._closed
|
|
47
|
+
createGlobalStyles(); // Ensures correct popover positioning by OpenUI5 (otherwise 0,0 is the center of the screen)
|
|
48
|
+
};
|
|
49
|
+
export default patchPopup;
|
|
50
|
+
//# sourceMappingURL=patchPopup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patchPopup.js","sourceRoot":"","sources":["../../src/features/patchPopup.ts"],"names":[],"mappings":"AAeA,MAAM,iBAAiB,GAAG,CAAC,MAAmB,EAAE,EAAE;IACjD,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IACzC,MAAM,CAAC,WAAW,EAAE,CAAC;AACtB,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,MAAmB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CAAC;QACnC,WAAW,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,wBAAwB;QACvD,IAAI,MAAM,EAAE;YACX,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,qFAAqF;SACjH;IACF,CAAC,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC/B,MAAM,UAAU,GAAG,IAAI,aAAa,EAAE,CAAC;IACvC,UAAU,CAAC,WAAW,CAAC,+CAA+C,CAAC,CAAC;IACxE,QAAQ,CAAC,kBAAkB,GAAG,CAAC,GAAG,QAAQ,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AAC5E,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC1C,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAuB;IACzC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,0BAA0B;IAC9C,kBAAkB,EAAE,CAAC,CAAC,6FAA6F;AACpH,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["// OpenUI5's Element.js subset\ntype Element = {\n\tgetDomRef: () => HTMLElement | null,\n}\n\n// The lifecycle of Popup.js is open -> _opened -> close -> _closed, we're interested in the first (open) and last (_closed)\ntype OpenUI5Popup = {\n\tprototype: {\n\t\topen: (...args: any[]) => void,\n\t\t_closed: (...args: any[]) => void,\n\t\tgetOpenState: () => \"CLOSED\" | \"CLOSING\" | \"OPEN\" | \"OPENING\",\n\t\tgetContent: () => Element, // this is the OpenUI5 Element/Control instance that opens the Popup (usually sap.m.Popover/sap.m.Dialog)\n\t}\n};\n\nconst openNativePopover = (domRef: HTMLElement) => {\n\tdomRef.setAttribute(\"popover\", \"manual\");\n\tdomRef.showPopover();\n};\n\nconst closeNativePopover = (domRef: HTMLElement) => {\n\tif (domRef.hasAttribute(\"popover\")) {\n\t\tdomRef.hidePopover();\n\t\tdomRef.removeAttribute(\"popover\");\n\t}\n};\n\nconst patchOpen = (Popup: OpenUI5Popup) => {\n\tconst origOpen = Popup.prototype.open;\n\tPopup.prototype.open = function open(...args: any[]) {\n\t\torigOpen.apply(this, args); // call open first to initiate opening\n\t\tconst topLayerAlreadyInUse = !!document.body.querySelector(\":popover-open\"); // check if there is already something in the top layer\n\t\tconst openingInitiated = [\"OPENING\", \"OPEN\"].includes(this.getOpenState());\n\t\tif (openingInitiated && topLayerAlreadyInUse) {\n\t\t\tconst element = this.getContent();\n\t\t\tif (element) {\n\t\t\t\tconst domRef = element.getDomRef();\n\t\t\t\tif (domRef) {\n\t\t\t\t\topenNativePopover(domRef);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n};\n\nconst patchClosed = (Popup: OpenUI5Popup) => {\n\tconst _origClosed = Popup.prototype._closed;\n\tPopup.prototype._closed = function _closed(...args: any[]) {\n\t\tconst element = this.getContent();\n\t\tconst domRef = element.getDomRef();\n\t\t_origClosed.apply(this, args); // only then call _close\n\t\tif (domRef) {\n\t\t\tcloseNativePopover(domRef); // unset the popover attribute and close the native popover, but only if still in DOM\n\t\t}\n\t};\n};\n\nconst createGlobalStyles = () => {\n\tconst stylesheet = new CSSStyleSheet();\n\tstylesheet.replaceSync(`.sapMPopup-CTX:popover-open { inset: unset; }`);\n\tdocument.adoptedStyleSheets = [...document.adoptedStyleSheets, stylesheet];\n};\n\nconst patchPopup = (Popup: OpenUI5Popup) => {\n\tpatchOpen(Popup); // Popup.prototype.open\n\tpatchClosed(Popup); // Popup.prototype._closed\n\tcreateGlobalStyles(); // Ensures correct popover positioning by OpenUI5 (otherwise 0,0 is the center of the screen)\n};\n\nexport default patchPopup;\nexport type { OpenUI5Popup };\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const assetParameters = { "themes": { "default": "sap_horizon", "all": ["sap_fiori_3", "sap_fiori_3_dark", "
|
|
1
|
+
const assetParameters = { "themes": { "default": "sap_horizon", "all": ["sap_fiori_3", "sap_fiori_3_dark", "sap_fiori_3_hcb", "sap_fiori_3_hcw", "sap_horizon", "sap_horizon_dark", "sap_horizon_hcb", "sap_horizon_hcw", "sap_horizon_exp", "sap_horizon_dark_exp", "sap_horizon_hcb_exp", "sap_horizon_hcw_exp"] }, "languages": { "default": "en", "all": ["ar", "bg", "ca", "cnr", "cs", "cy", "da", "de", "el", "en", "en_GB", "en_US_sappsd", "en_US_saprigi", "en_US_saptrc", "es", "es_MX", "et", "fi", "fr", "fr_CA", "hi", "hr", "hu", "in", "it", "iw", "ja", "kk", "ko", "lt", "lv", "mk", "ms", "nl", "no", "pl", "pt_PT", "pt", "ro", "ru", "sh", "sk", "sl", "sr", "sv", "th", "tr", "uk", "vi", "zh_CN", "zh_TW"] }, "locales": { "default": "en", "all": ["ar", "ar_EG", "ar_SA", "bg", "ca", "cnr", "cs", "da", "de", "de_AT", "de_CH", "el", "el_CY", "en", "en_AU", "en_GB", "en_HK", "en_IE", "en_IN", "en_NZ", "en_PG", "en_SG", "en_ZA", "es", "es_AR", "es_BO", "es_CL", "es_CO", "es_MX", "es_PE", "es_UY", "es_VE", "et", "fa", "fi", "fr", "fr_BE", "fr_CA", "fr_CH", "fr_LU", "he", "hi", "hr", "hu", "id", "it", "it_CH", "ja", "kk", "ko", "lt", "lv", "ms", "mk", "nb", "nl", "nl_BE", "pl", "pt", "pt_PT", "ro", "ru", "ru_UA", "sk", "sl", "sr", "sr_Latn", "sv", "th", "tr", "uk", "vi", "zh_CN", "zh_HK", "zh_SG", "zh_TW"] } };
|
|
2
2
|
const DEFAULT_THEME = assetParameters.themes.default;
|
|
3
3
|
const SUPPORTED_THEMES = assetParameters.themes.all;
|
|
4
4
|
const DEFAULT_LANGUAGE = assetParameters.languages.default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetParameters.js","sourceRoot":"","sources":["../../src/generated/AssetParameters.ts"],"names":[],"mappings":"AAAA,MAAM,eAAe,GAAG,EAAC,QAAQ,EAAC,EAAC,SAAS,EAA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cAAc,EACd,iBAAiB,GACjB,CAAC","sourcesContent":["const assetParameters = {\"themes\":{\"default\":\"sap_horizon\",\"all\":[\"sap_fiori_3\",\"sap_fiori_3_dark\",\"sap_fiori_3_hcb\",\"sap_fiori_3_hcw\",\"sap_horizon\",\"sap_horizon_dark\",\"sap_horizon_hcb\",\"sap_horizon_hcw\",\"sap_horizon_exp\",\"sap_horizon_dark_exp\",\"sap_horizon_hcb_exp\",\"sap_horizon_hcw_exp\"]},\"languages\":{\"default\":\"en\",\"all\":[\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en_GB\",\"en_US_sappsd\",\"en_US_saprigi\",\"en_US_saptrc\",\"es\",\"es_MX\",\"et\",\"fi\",\"fr\",\"fr_CA\",\"hi\",\"hr\",\"hu\",\"in\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt_PT\",\"pt\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh_CN\",\"zh_TW\"]},\"locales\":{\"default\":\"en\",\"all\":[\"ar\",\"ar_EG\",\"ar_SA\",\"bg\",\"ca\",\"cnr\",\"cs\",\"da\",\"de\",\"de_AT\",\"de_CH\",\"el\",\"el_CY\",\"en\",\"en_AU\",\"en_GB\",\"en_HK\",\"en_IE\",\"en_IN\",\"en_NZ\",\"en_PG\",\"en_SG\",\"en_ZA\",\"es\",\"es_AR\",\"es_BO\",\"es_CL\",\"es_CO\",\"es_MX\",\"es_PE\",\"es_UY\",\"es_VE\",\"et\",\"fa\",\"fi\",\"fr\",\"fr_BE\",\"fr_CA\",\"fr_CH\",\"fr_LU\",\"he\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"it_CH\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"ms\",\"mk\",\"nb\",\"nl\",\"nl_BE\",\"pl\",\"pt\",\"pt_PT\",\"ro\",\"ru\",\"ru_UA\",\"sk\",\"sl\",\"sr\",\"sr_Latn\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh_CN\",\"zh_HK\",\"zh_SG\",\"zh_TW\"]}};\n\nconst DEFAULT_THEME = assetParameters.themes.default;\nconst SUPPORTED_THEMES = assetParameters.themes.all;\nconst DEFAULT_LANGUAGE = assetParameters.languages.default;\nconst DEFAULT_LOCALE = assetParameters.locales.default;\nconst SUPPORTED_LOCALES = assetParameters.locales.all;\n\nexport {\n\tDEFAULT_THEME,\n\tSUPPORTED_THEMES,\n\tDEFAULT_LANGUAGE,\n\tDEFAULT_LOCALE,\n\tSUPPORTED_LOCALES,\n};"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const VersionInfo = {
|
|
2
|
-
version: "2.0.0-rc.
|
|
2
|
+
version: "2.0.0-rc.3",
|
|
3
3
|
major: 2,
|
|
4
4
|
minor: 0,
|
|
5
5
|
patch: 0,
|
|
6
|
-
suffix: "-rc.
|
|
6
|
+
suffix: "-rc.3",
|
|
7
7
|
isNext: false,
|
|
8
|
-
buildTime:
|
|
8
|
+
buildTime: 1715324678,
|
|
9
9
|
};
|
|
10
10
|
export default VersionInfo;
|
|
11
11
|
//# sourceMappingURL=VersionInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionInfo.js","sourceRoot":"","sources":["../../src/generated/VersionInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,UAAU;CACrB,CAAC;AACF,eAAe,WAAW,CAAC","sourcesContent":["const VersionInfo = {\n\tversion: \"2.0.0-rc.
|
|
1
|
+
{"version":3,"file":"VersionInfo.js","sourceRoot":"","sources":["../../src/generated/VersionInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,UAAU;CACrB,CAAC;AACF,eAAe,WAAW,CAAC","sourcesContent":["const VersionInfo = {\n\tversion: \"2.0.0-rc.3\",\n\tmajor: 2,\n\tminor: 0,\n\tpatch: 0,\n\tsuffix: \"-rc.3\",\n\tisNext: false,\n\tbuildTime: 1715324678,\n};\nexport default VersionInfo;"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Different types of ARIA hasPopup.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
declare enum AriaHasPopup {
|
|
6
|
+
/**
|
|
7
|
+
* Dialog popup type.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
Dialog = "Dialog",
|
|
11
|
+
/**
|
|
12
|
+
* Grid popup type.
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Grid = "Grid",
|
|
16
|
+
/**
|
|
17
|
+
* ListBox popup type.
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
ListBox = "ListBox",
|
|
21
|
+
/**
|
|
22
|
+
* Menu popup type.
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
Menu = "Menu",
|
|
26
|
+
/**
|
|
27
|
+
* Tree popup type.
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
Tree = "Tree"
|
|
31
|
+
}
|
|
32
|
+
export default AriaHasPopup;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Different types of ARIA hasPopup.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
var AriaHasPopup;
|
|
6
|
+
(function (AriaHasPopup) {
|
|
7
|
+
/**
|
|
8
|
+
* Dialog popup type.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
AriaHasPopup["Dialog"] = "Dialog";
|
|
12
|
+
/**
|
|
13
|
+
* Grid popup type.
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
AriaHasPopup["Grid"] = "Grid";
|
|
17
|
+
/**
|
|
18
|
+
* ListBox popup type.
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
AriaHasPopup["ListBox"] = "ListBox";
|
|
22
|
+
/**
|
|
23
|
+
* Menu popup type.
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
AriaHasPopup["Menu"] = "Menu";
|
|
27
|
+
/**
|
|
28
|
+
* Tree popup type.
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
AriaHasPopup["Tree"] = "Tree";
|
|
32
|
+
})(AriaHasPopup || (AriaHasPopup = {}));
|
|
33
|
+
export default AriaHasPopup;
|
|
34
|
+
//# sourceMappingURL=AriaHasPopup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AriaHasPopup.js","sourceRoot":"","sources":["../../src/types/AriaHasPopup.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,IAAK,YA8BJ;AA9BD,WAAK,YAAY;IAChB;;;OAGG;IACH,iCAAiB,CAAA;IAEjB;;;OAGG;IACH,6BAAa,CAAA;IAEb;;;OAGG;IACH,mCAAmB,CAAA;IAElB;;;OAGG;IACJ,6BAAa,CAAA;IAEZ;;;OAGG;IACJ,6BAAa,CAAA;AACd,CAAC,EA9BI,YAAY,KAAZ,YAAY,QA8BhB;AAED,eAAe,YAAY,CAAC","sourcesContent":["/**\n * Different types of ARIA hasPopup.\n * @public\n */\nenum AriaHasPopup {\n\t/**\n\t * Dialog popup type.\n\t * @public\n\t */\n\tDialog = \"Dialog\",\n\n\t/**\n\t * Grid popup type.\n\t * @public\n\t */\n\tGrid = \"Grid\",\n\n\t/**\n\t * ListBox popup type.\n\t * @public\n\t */\n\tListBox = \"ListBox\",\n\n\t /**\n\t * Menu popup type.\n\t * @public\n\t */\n\tMenu = \"Menu\",\n\n\t /**\n\t * Tree popup type.\n\t * @public\n\t */\n\tTree = \"Tree\",\n}\n\nexport default AriaHasPopup;\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the ARIA accessible landmark roles.
|
|
3
|
+
*/
|
|
4
|
+
declare enum AriaLandmarkRole {
|
|
5
|
+
/**
|
|
6
|
+
* No explicit role is applicable.
|
|
7
|
+
*
|
|
8
|
+
* The interpretation of this value depends on the element which defines a property with this type.
|
|
9
|
+
* Normally this value means that no accessible landmark should be written.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
None = "None",
|
|
14
|
+
/**
|
|
15
|
+
* The ARIA role <code>banner</code>.
|
|
16
|
+
*
|
|
17
|
+
* A banner usually appears at the top of the page and typically spans the full width.
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
Banner = "Banner",
|
|
22
|
+
/**
|
|
23
|
+
* The ARIA role <code>main</code>.
|
|
24
|
+
*
|
|
25
|
+
* The main content of a page.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
Main = "Main",
|
|
30
|
+
/**
|
|
31
|
+
* The ARIA role <code>region</code>.
|
|
32
|
+
*
|
|
33
|
+
* A section of a page, that is important enough to be included in a page summary or table of contents.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
Region = "Region",
|
|
38
|
+
/**
|
|
39
|
+
* The ARIA role <code>navigation</code>.
|
|
40
|
+
*
|
|
41
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
Navigation = "Navigation",
|
|
46
|
+
/**
|
|
47
|
+
* The ARIA role <code>search</code>.
|
|
48
|
+
*
|
|
49
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a search facility.
|
|
50
|
+
*
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
Search = "Search",
|
|
54
|
+
/**
|
|
55
|
+
* The ARIA role <code>complementary</code>.
|
|
56
|
+
*
|
|
57
|
+
* A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.
|
|
58
|
+
*
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
Complementary = "Complementary",
|
|
62
|
+
/**
|
|
63
|
+
* The ARIA role <code>form</code>.
|
|
64
|
+
*
|
|
65
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a form.
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
Form = "Form",
|
|
70
|
+
/**
|
|
71
|
+
* The ARIA role <code>contentinfo</code>.
|
|
72
|
+
*
|
|
73
|
+
* A region that contains information about the content on the page.
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
ContentInfo = "ContentInfo"
|
|
78
|
+
}
|
|
79
|
+
export default AriaLandmarkRole;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the ARIA accessible landmark roles.
|
|
3
|
+
*/
|
|
4
|
+
var AriaLandmarkRole;
|
|
5
|
+
(function (AriaLandmarkRole) {
|
|
6
|
+
/**
|
|
7
|
+
* No explicit role is applicable.
|
|
8
|
+
*
|
|
9
|
+
* The interpretation of this value depends on the element which defines a property with this type.
|
|
10
|
+
* Normally this value means that no accessible landmark should be written.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
AriaLandmarkRole["None"] = "None";
|
|
15
|
+
/**
|
|
16
|
+
* The ARIA role <code>banner</code>.
|
|
17
|
+
*
|
|
18
|
+
* A banner usually appears at the top of the page and typically spans the full width.
|
|
19
|
+
*
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
AriaLandmarkRole["Banner"] = "Banner";
|
|
23
|
+
/**
|
|
24
|
+
* The ARIA role <code>main</code>.
|
|
25
|
+
*
|
|
26
|
+
* The main content of a page.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
AriaLandmarkRole["Main"] = "Main";
|
|
31
|
+
/**
|
|
32
|
+
* The ARIA role <code>region</code>.
|
|
33
|
+
*
|
|
34
|
+
* A section of a page, that is important enough to be included in a page summary or table of contents.
|
|
35
|
+
*
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
AriaLandmarkRole["Region"] = "Region";
|
|
39
|
+
/**
|
|
40
|
+
* The ARIA role <code>navigation</code>.
|
|
41
|
+
*
|
|
42
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.
|
|
43
|
+
*
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
AriaLandmarkRole["Navigation"] = "Navigation";
|
|
47
|
+
/**
|
|
48
|
+
* The ARIA role <code>search</code>.
|
|
49
|
+
*
|
|
50
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a search facility.
|
|
51
|
+
*
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
AriaLandmarkRole["Search"] = "Search";
|
|
55
|
+
/**
|
|
56
|
+
* The ARIA role <code>complementary</code>.
|
|
57
|
+
*
|
|
58
|
+
* A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
AriaLandmarkRole["Complementary"] = "Complementary";
|
|
63
|
+
/**
|
|
64
|
+
* The ARIA role <code>form</code>.
|
|
65
|
+
*
|
|
66
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a form.
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
AriaLandmarkRole["Form"] = "Form";
|
|
71
|
+
/**
|
|
72
|
+
* The ARIA role <code>contentinfo</code>.
|
|
73
|
+
*
|
|
74
|
+
* A region that contains information about the content on the page.
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
AriaLandmarkRole["ContentInfo"] = "ContentInfo";
|
|
79
|
+
})(AriaLandmarkRole || (AriaLandmarkRole = {}));
|
|
80
|
+
export default AriaLandmarkRole;
|
|
81
|
+
//# sourceMappingURL=AriaLandmarkRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AriaLandmarkRole.js","sourceRoot":"","sources":["../../src/types/AriaLandmarkRole.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,IAAK,gBAmFJ;AAnFD,WAAK,gBAAgB;IACpB;;;;;;;OAOG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,6CAAyB,CAAA;IAEzB;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,mDAA+B,CAAA;IAE/B;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,+CAA2B,CAAA;AAE5B,CAAC,EAnFI,gBAAgB,KAAhB,gBAAgB,QAmFpB;AAED,eAAe,gBAAgB,CAAC","sourcesContent":["/**\n * Defines the ARIA accessible landmark roles.\n */\nenum AriaLandmarkRole {\n\t/**\n\t * No explicit role is applicable.\n\t *\n\t * The interpretation of this value depends on the element which defines a property with this type.\n\t * Normally this value means that no accessible landmark should be written.\n\t *\n\t * @public\n\t */\n\tNone = \"None\",\n\n\t/**\n\t * The ARIA role <code>banner</code>.\n\t *\n\t * A banner usually appears at the top of the page and typically spans the full width.\n\t *\n\t * @public\n\t */\n\tBanner = \"Banner\",\n\n\t/**\n\t * The ARIA role <code>main</code>.\n\t *\n\t * The main content of a page.\n\t *\n\t * @public\n\t */\n\tMain = \"Main\",\n\n\t/**\n\t * The ARIA role <code>region</code>.\n\t *\n\t * A section of a page, that is important enough to be included in a page summary or table of contents.\n\t *\n\t * @public\n\t */\n\tRegion = \"Region\",\n\n\t/**\n\t * The ARIA role <code>navigation</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.\n\t *\n\t * @public\n\t */\n\tNavigation = \"Navigation\",\n\n\t/**\n\t * The ARIA role <code>search</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a search facility.\n\t *\n\t * @public\n\t */\n\tSearch = \"Search\",\n\n\t/**\n\t * The ARIA role <code>complementary</code>.\n\t *\n\t * A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.\n\t *\n\t * @public\n\t */\n\tComplementary = \"Complementary\",\n\n\t/**\n\t * The ARIA role <code>form</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a form.\n\t *\n\t * @public\n\t */\n\tForm = \"Form\",\n\n\t/**\n\t * The ARIA role <code>contentinfo</code>.\n\t *\n\t * A region that contains information about the content on the page.\n\t *\n\t * @public\n\t */\n\tContentInfo = \"ContentInfo\"\n\n}\n\nexport default AriaLandmarkRole;\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of ARIA roles.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
declare enum AriaRole {
|
|
6
|
+
/**
|
|
7
|
+
* The ARIA role "alertdialog".
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
AlertDialog = "AlertDialog",
|
|
11
|
+
/**
|
|
12
|
+
* The ARIA role "button".
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Button = "Button",
|
|
16
|
+
/**
|
|
17
|
+
* The ARIA role "dialog".
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
Dialog = "Dialog",
|
|
21
|
+
/**
|
|
22
|
+
* The ARIA role "link".
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
Link = "Link"
|
|
26
|
+
}
|
|
27
|
+
export default AriaRole;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of ARIA roles.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
var AriaRole;
|
|
6
|
+
(function (AriaRole) {
|
|
7
|
+
/**
|
|
8
|
+
* The ARIA role "alertdialog".
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
AriaRole["AlertDialog"] = "AlertDialog";
|
|
12
|
+
/**
|
|
13
|
+
* The ARIA role "button".
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
AriaRole["Button"] = "Button";
|
|
17
|
+
/**
|
|
18
|
+
* The ARIA role "dialog".
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
AriaRole["Dialog"] = "Dialog";
|
|
22
|
+
/**
|
|
23
|
+
* The ARIA role "link".
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
AriaRole["Link"] = "Link";
|
|
27
|
+
})(AriaRole || (AriaRole = {}));
|
|
28
|
+
export default AriaRole;
|
|
29
|
+
//# sourceMappingURL=AriaRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AriaRole.js","sourceRoot":"","sources":["../../src/types/AriaRole.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,IAAK,QAwBJ;AAxBD,WAAK,QAAQ;IACZ;;;MAGE;IACF,uCAA2B,CAAA;IAE3B;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,yBAAa,CAAA;AACd,CAAC,EAxBI,QAAQ,KAAR,QAAQ,QAwBZ;AAED,eAAe,QAAQ,CAAC","sourcesContent":["/**\n * Types of ARIA roles.\n * @public\n */\nenum AriaRole {\n\t/**\n\t* The ARIA role \"alertdialog\".\n\t* @public\n\t*/\n\tAlertDialog = \"AlertDialog\",\n\n\t/**\n\t * The ARIA role \"button\".\n\t * @public\n\t */\n\tButton = \"Button\",\n\n\t/**\n\t * The ARIA role \"dialog\".\n\t * @public\n\t */\n\tDialog = \"Dialog\",\n\n\t/**\n\t * The ARIA role \"link\".\n\t * @public\n\t */\n\tLink = \"Link\",\n}\n\nexport default AriaRole;\n"]}
|
|
@@ -11,15 +11,15 @@ declare enum ValueState {
|
|
|
11
11
|
/**
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
Positive = "Positive",
|
|
15
15
|
/**
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
Critical = "Critical",
|
|
19
19
|
/**
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
Negative = "Negative",
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
package/dist/types/ValueState.js
CHANGED
|
@@ -12,15 +12,15 @@ var ValueState;
|
|
|
12
12
|
/**
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
ValueState["
|
|
15
|
+
ValueState["Positive"] = "Positive";
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
ValueState["
|
|
19
|
+
ValueState["Critical"] = "Critical";
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
|
-
ValueState["
|
|
23
|
+
ValueState["Negative"] = "Negative";
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueState.js","sourceRoot":"","sources":["../../src/types/ValueState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,UAyBJ;AAzBD,WAAK,UAAU;IACd;;OAEG;IACH,2BAAa,CAAA;IAEb;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"ValueState.js","sourceRoot":"","sources":["../../src/types/ValueState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,UAyBJ;AAzBD,WAAK,UAAU;IACd;;OAEG;IACH,2BAAa,CAAA;IAEb;;OAEG;IACH,mCAAqB,CAAA;IAErB;;OAEG;IACH,mCAAqB,CAAA;IAErB;;OAEG;IACH,mCAAqB,CAAA;IAErB;;OAEG;IACH,yCAA2B,CAAA;AAC5B,CAAC,EAzBI,UAAU,KAAV,UAAU,QAyBd;AAED,eAAe,UAAU,CAAC","sourcesContent":["/**\n * Different types of ValueStates.\n *\n * @public\n */\nenum ValueState {\n\t/**\n\t * @public\n\t */\n\tNone = \"None\",\n\n\t/**\n\t * @public\n\t */\n\tPositive = \"Positive\",\n\n\t/**\n\t * @public\n\t */\n\tCritical = \"Critical\",\n\n\t/**\n\t * @public\n\t */\n\tNegative = \"Negative\",\n\n\t/**\n\t * @public\n\t */\n\tInformation = \"Information\",\n}\n\nexport default ValueState;\n"]}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type AriaHasPopup from "./types/AriaHasPopup.js";
|
|
2
|
+
import type AriaRole from "./types/AriaRole.js";
|
|
1
3
|
type PromiseResolve = (value: void | PromiseLike<void>) => void;
|
|
2
4
|
type Timeout = ReturnType<typeof setTimeout>;
|
|
3
5
|
type Interval = ReturnType<typeof setInterval>;
|
|
@@ -16,8 +18,10 @@ type PassiveEventListenerObject = EventListenerObject & {
|
|
|
16
18
|
passive: boolean;
|
|
17
19
|
};
|
|
18
20
|
type LowercaseString<T> = T extends string ? Lowercase<T> : never;
|
|
21
|
+
type ARIARoles = LowercaseString<AriaRole>;
|
|
22
|
+
type ARIAHasPopup = LowercaseString<AriaHasPopup>;
|
|
19
23
|
type AccessibilityInfo = {
|
|
20
|
-
role?:
|
|
24
|
+
role?: ARIARoles;
|
|
21
25
|
type?: LowercaseString<string>;
|
|
22
26
|
description?: string;
|
|
23
27
|
disabled?: boolean;
|
|
@@ -25,4 +29,13 @@ type AccessibilityInfo = {
|
|
|
25
29
|
required?: boolean;
|
|
26
30
|
children?: Array<HTMLElement>;
|
|
27
31
|
};
|
|
28
|
-
|
|
32
|
+
type AccessibilityAttributes = {
|
|
33
|
+
ariaSetsize?: number;
|
|
34
|
+
ariaPosinset?: number;
|
|
35
|
+
controls?: LowercaseString<string>;
|
|
36
|
+
expanded?: "true" | "false" | boolean;
|
|
37
|
+
hasPopup?: ARIAHasPopup;
|
|
38
|
+
name?: string;
|
|
39
|
+
role?: ARIARoles;
|
|
40
|
+
};
|
|
41
|
+
export type { AccessibilityInfo, AccessibilityAttributes, PromiseResolve, Timeout, Interval, StyleData, StyleDataCSP, ComponentStylesData, ClassMap, ClassMapValue, PassiveEventListenerObject, };
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["type PromiseResolve = (value: void | PromiseLike<void>) => void;\ntype Timeout = ReturnType<typeof setTimeout>;\ntype Interval = ReturnType<typeof setInterval>;\n\ntype StyleDataCSP = {\n\tcontent: string,\n\tpackageName: string,\n\tfileName: string,\n};\n\ntype StyleData = StyleDataCSP | string;\n\ntype ComponentStylesData = Array<ComponentStylesData> | Array<StyleData> | StyleData;\n\ntype ClassMapValue = Record<string, boolean>\n\ntype ClassMap = { [x: string] : ClassMapValue | ClassMap };\n\ntype PassiveEventListenerObject = EventListenerObject & { passive: boolean };\n\ntype LowercaseString<T> = T extends string ? Lowercase<T> : never;\n\ntype AccessibilityInfo = {\n\t// The WAI-ARIA role of the component.\n\trole?:
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["import type AriaHasPopup from \"./types/AriaHasPopup.js\";\nimport type AriaRole from \"./types/AriaRole.js\";\n\ntype PromiseResolve = (value: void | PromiseLike<void>) => void;\ntype Timeout = ReturnType<typeof setTimeout>;\ntype Interval = ReturnType<typeof setInterval>;\n\ntype StyleDataCSP = {\n\tcontent: string,\n\tpackageName: string,\n\tfileName: string,\n};\n\ntype StyleData = StyleDataCSP | string;\n\ntype ComponentStylesData = Array<ComponentStylesData> | Array<StyleData> | StyleData;\n\ntype ClassMapValue = Record<string, boolean>\n\ntype ClassMap = { [x: string] : ClassMapValue | ClassMap };\n\ntype PassiveEventListenerObject = EventListenerObject & { passive: boolean };\n\ntype LowercaseString<T> = T extends string ? Lowercase<T> : never;\n\ntype ARIARoles = LowercaseString<AriaRole>;\ntype ARIAHasPopup = LowercaseString<AriaHasPopup>;\n\ntype AccessibilityInfo = {\n\t// The WAI-ARIA role of the component.\n\trole?: ARIARoles,\n\n\t// A translated text that represents the component type. Used when several components share same role,\n\t// f.e. Select and ComboBox both have role=\"combobox\".\n\ttype?: LowercaseString<string>,\n\n\t// A translated text that represents relevant component description/state - value, placeholder, label, etc.\n\tdescription?: string,\n\n\t // The component disabled state.\n\tdisabled?: boolean,\n\n\t// The component readonly state.\n\treadonly?: boolean,\n\n\t// The component required state.\n\trequired?: boolean,\n\n\t// An array of elements, aggregated by the component\n\t// <b>Note:</b> Children should only be provided when it is helpful to understand the accessibility context.\n\tchildren?: Array<HTMLElement>,\n}\n\ntype AccessibilityAttributes = {\n\tariaSetsize?: number,\n\tariaPosinset?: number,\n\tcontrols?: LowercaseString<string>\n\texpanded?: \"true\" | \"false\" | boolean,\n\thasPopup?: ARIAHasPopup,\n\tname?: string\n\trole?: ARIARoles,\n}\n\nexport type {\n\tAccessibilityInfo,\n\tAccessibilityAttributes,\n\tPromiseResolve,\n\tTimeout,\n\tInterval,\n\tStyleData,\n\tStyleDataCSP,\n\tComponentStylesData,\n\tClassMap,\n\tClassMapValue,\n\tPassiveEventListenerObject,\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-base",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.3",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.base",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@openui5/sap.ui.core": "1.120.5",
|
|
48
|
-
"@ui5/webcomponents-tools": "2.0.0-rc.
|
|
49
|
-
"chromedriver": "^
|
|
48
|
+
"@ui5/webcomponents-tools": "2.0.0-rc.3",
|
|
49
|
+
"chromedriver": "^123.0.3",
|
|
50
50
|
"clean-css": "^5.2.2",
|
|
51
51
|
"copy-and-watch": "^0.1.5",
|
|
52
52
|
"cross-env": "^7.0.3",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"resolve": "^1.20.0",
|
|
57
57
|
"touch": "^3.1.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "4a5356f64d72a8cbf752bb9f3dee5f57528743aa"
|
|
60
60
|
}
|
package/.eslintignore
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Note: Changes to this file also must be applied to the top level .eslintignore file.
|
|
2
|
-
test
|
|
3
|
-
lib
|
|
4
|
-
dist
|
|
5
|
-
src/generated
|
|
6
|
-
src/thirdparty
|
|
7
|
-
bundle.esm.js
|
|
8
|
-
bundle.es5.js
|
|
9
|
-
rollup.config*.js
|
|
10
|
-
wdio.conf.cjs
|
|
11
|
-
postcss.config.cjs
|
|
12
|
-
package-scripts.cjs
|
|
13
|
-
.eslintrc.cjs
|
|
14
|
-
src/renderer/directives/style-map.js
|
|
15
|
-
src/util/metaUrl.js
|
|
16
|
-
src/ssr-dom*
|
|
17
|
-
index.js
|
package/.eslintrc.cjs
DELETED