@ui5/webcomponents-base 1.23.0-rc.4 → 1.23.0

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/Boot.d.ts +1 -1
  4. package/dist/Boot.js +1 -1
  5. package/dist/Boot.js.map +1 -1
  6. package/dist/CSP.d.ts +9 -6
  7. package/dist/CSP.js +9 -6
  8. package/dist/CSP.js.map +1 -1
  9. package/dist/IgnoreCustomElements.d.ts +3 -5
  10. package/dist/IgnoreCustomElements.js +3 -5
  11. package/dist/IgnoreCustomElements.js.map +1 -1
  12. package/dist/MediaRange.d.ts +6 -6
  13. package/dist/MediaRange.js +16 -16
  14. package/dist/MediaRange.js.map +1 -1
  15. package/dist/UI5ElementMetadata.d.ts +2 -2
  16. package/dist/UI5ElementMetadata.js +2 -2
  17. package/dist/UI5ElementMetadata.js.map +1 -1
  18. package/dist/asset-registries/Illustrations.d.ts +1 -0
  19. package/dist/asset-registries/Illustrations.js +1 -0
  20. package/dist/asset-registries/Illustrations.js.map +1 -1
  21. package/dist/asset-registries/i18n.d.ts +2 -2
  22. package/dist/asset-registries/i18n.js +2 -2
  23. package/dist/asset-registries/i18n.js.map +1 -1
  24. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +1 -1
  25. package/dist/asset-registries/util/IconCollectionsByTheme.js +1 -1
  26. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -1
  27. package/dist/config/Icons.d.ts +7 -7
  28. package/dist/config/Icons.js +7 -7
  29. package/dist/config/Icons.js.map +1 -1
  30. package/dist/config/Language.d.ts +1 -1
  31. package/dist/config/Language.js +1 -1
  32. package/dist/config/Language.js.map +1 -1
  33. package/dist/config/Theme.d.ts +1 -1
  34. package/dist/config/Theme.js +1 -1
  35. package/dist/config/Theme.js.map +1 -1
  36. package/dist/config/ThemeRoot.d.ts +2 -4
  37. package/dist/config/ThemeRoot.js +2 -4
  38. package/dist/config/ThemeRoot.js.map +1 -1
  39. package/dist/config/Timezone.d.ts +1 -1
  40. package/dist/config/Timezone.js +1 -1
  41. package/dist/config/Timezone.js.map +1 -1
  42. package/dist/custom-elements-internal.json +17 -17
  43. package/dist/custom-elements.json +17 -17
  44. package/dist/generated/VersionInfo.js +3 -3
  45. package/dist/generated/VersionInfo.js.map +1 -1
  46. package/dist/locale/applyDirection.d.ts +3 -2
  47. package/dist/locale/applyDirection.js +3 -2
  48. package/dist/locale/applyDirection.js.map +1 -1
  49. package/dist/sap/base/strings/toHex.js +1 -1
  50. package/dist/types/DOMReference.d.ts +1 -1
  51. package/dist/types/DOMReference.js +1 -1
  52. package/dist/types/DOMReference.js.map +1 -1
  53. package/dist/util/createLinkInHead.d.ts +1 -1
  54. package/dist/util/createLinkInHead.js +1 -1
  55. package/dist/util/createLinkInHead.js.map +1 -1
  56. package/dist/util/createStyleInHead.d.ts +1 -1
  57. package/dist/util/createStyleInHead.js +1 -1
  58. package/dist/util/createStyleInHead.js.map +1 -1
  59. package/package-scripts.cjs +3 -1
  60. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"createLinkInHead.js","sourceRoot":"","sources":["../../src/util/createLinkInHead.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,UAAmC,EAAE,EAAE;IAC9E,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;IACvB,IAAI,CAAC,GAAG,GAAG,YAAY,CAAC;IAExB,IAAI,UAAU,EAAE;QACf,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;KACvE;IAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAEjB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAEhC,OAAO,IAAI,OAAO,CAAQ,OAAO,CAAC,EAAE;QACnC,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACvC,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,WAAW;IACrD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["/**\n * Creates a <link> tag in the <head> tag\n * @param href - the CSS\n * @param attributes - optional attributes to add to the tag\n */\nconst createLinkInHead = (href: string, attributes?: Record<string, string>) => {\n\tconst link = document.createElement(\"link\");\n\tlink.type = \"text/css\";\n\tlink.rel = \"stylesheet\";\n\n\tif (attributes) {\n\t\tObject.entries(attributes).forEach(pair => link.setAttribute(...pair));\n\t}\n\n\tlink.href = href;\n\n\tdocument.head.appendChild(link);\n\n\treturn new Promise<Event>(resolve => {\n\t\tlink.addEventListener(\"load\", resolve);\n\t\tlink.addEventListener(\"error\", resolve); // intended\n\t});\n};\n\nexport default createLinkInHead;\n"]}
1
+ {"version":3,"file":"createLinkInHead.js","sourceRoot":"","sources":["../../src/util/createLinkInHead.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,UAAmC,EAAE,EAAE;IAC9E,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;IACvB,IAAI,CAAC,GAAG,GAAG,YAAY,CAAC;IAExB,IAAI,UAAU,EAAE;QACf,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;KACvE;IAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAEjB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAEhC,OAAO,IAAI,OAAO,CAAQ,OAAO,CAAC,EAAE;QACnC,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACvC,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,WAAW;IACrD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["/**\n * Creates a `<link>` tag in the `<head>` tag\n * @param href - the CSS\n * @param attributes - optional attributes to add to the tag\n */\nconst createLinkInHead = (href: string, attributes?: Record<string, string>) => {\n\tconst link = document.createElement(\"link\");\n\tlink.type = \"text/css\";\n\tlink.rel = \"stylesheet\";\n\n\tif (attributes) {\n\t\tObject.entries(attributes).forEach(pair => link.setAttribute(...pair));\n\t}\n\n\tlink.href = href;\n\n\tdocument.head.appendChild(link);\n\n\treturn new Promise<Event>(resolve => {\n\t\tlink.addEventListener(\"load\", resolve);\n\t\tlink.addEventListener(\"error\", resolve); // intended\n\t});\n};\n\nexport default createLinkInHead;\n"]}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Creates a <style> tag in the <head> tag
2
+ * Creates a `<style>` tag in the `<head>` tag
3
3
  * @param cssText - the CSS
4
4
  * @param attributes - optional attributes to add to the tag
5
5
  * @returns {HTMLElement}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Creates a <style> tag in the <head> tag
2
+ * Creates a `<style>` tag in the `<head>` tag
3
3
  * @param cssText - the CSS
4
4
  * @param attributes - optional attributes to add to the tag
5
5
  * @returns {HTMLElement}
@@ -1 +1 @@
1
- {"version":3,"file":"createStyleInHead.js","sourceRoot":"","sources":["../../src/util/createStyleInHead.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,iBAAiB,GAAG,CAAC,OAAe,EAAE,UAAmC,EAAE,EAAE;IAClF,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9C,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;IAExB,IAAI,UAAU,EAAE;QACf,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;KACxE;IAED,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjC,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["/**\n * Creates a <style> tag in the <head> tag\n * @param cssText - the CSS\n * @param attributes - optional attributes to add to the tag\n * @returns {HTMLElement}\n */\nconst createStyleInHead = (cssText: string, attributes?: Record<string, string>) => {\n\tconst style = document.createElement(\"style\");\n\tstyle.type = \"text/css\";\n\n\tif (attributes) {\n\t\tObject.entries(attributes).forEach(pair => style.setAttribute(...pair));\n\t}\n\n\tstyle.textContent = cssText;\n\tdocument.head.appendChild(style);\n\treturn style;\n};\n\nexport default createStyleInHead;\n"]}
1
+ {"version":3,"file":"createStyleInHead.js","sourceRoot":"","sources":["../../src/util/createStyleInHead.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,iBAAiB,GAAG,CAAC,OAAe,EAAE,UAAmC,EAAE,EAAE;IAClF,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9C,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;IAExB,IAAI,UAAU,EAAE;QACf,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;KACxE;IAED,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjC,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["/**\n * Creates a `<style>` tag in the `<head>` tag\n * @param cssText - the CSS\n * @param attributes - optional attributes to add to the tag\n * @returns {HTMLElement}\n */\nconst createStyleInHead = (cssText: string, attributes?: Record<string, string>) => {\n\tconst style = document.createElement(\"style\");\n\tstyle.type = \"text/css\";\n\n\tif (attributes) {\n\t\tObject.entries(attributes).forEach(pair => style.setAttribute(...pair));\n\t}\n\n\tstyle.textContent = cssText;\n\tdocument.head.appendChild(style);\n\treturn style;\n};\n\nexport default createStyleInHead;\n"]}
@@ -6,6 +6,7 @@ const stylesScript = resolve.sync("@ui5/webcomponents-base/lib/generate-styles/i
6
6
  const versionScript = resolve.sync("@ui5/webcomponents-base/lib/generate-version-info/index.js");
7
7
  const copyUsedModules = resolve.sync("@ui5/webcomponents-tools/lib/copy-list/index.js");
8
8
  const amdToES6 = resolve.sync("@ui5/webcomponents-tools/lib/amd-to-es6/index.js");
9
+ const noRequire = resolve.sync("@ui5/webcomponents-tools/lib/amd-to-es6/no-remaining-require.js");
9
10
 
10
11
  const LIB = path.join(__dirname, `../tools/lib/`);
11
12
 
@@ -15,12 +16,13 @@ const scripts = {
15
16
  clean: "rimraf jsdoc-dist && rimraf src/generated && rimraf dist && rimraf .port",
16
17
  lint: `eslint .`,
17
18
  generate: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates",
18
- prepare: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates typescript",
19
+ prepare: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates typescript integrate.no-remaining-require",
19
20
  typescript: "tsc -b",
20
21
  integrate: {
21
22
  default: "nps integrate.copy-used-modules integrate.amd-to-es6 integrate.third-party",
22
23
  "copy-used-modules": `node "${copyUsedModules}" ./used-modules.txt dist/`,
23
24
  "amd-to-es6": `node "${amdToES6}" dist/`,
25
+ "no-remaining-require": `node "${noRequire}" dist/`,
24
26
  "third-party": {
25
27
  default: "nps integrate.third-party.copy integrate.third-party.fix",
26
28
  copy: "mkdirp dist/sap/ui/thirdparty/ && copy-and-watch ../../node_modules/@openui5/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js dist/sap/ui/thirdparty/",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-base",
3
- "version": "1.23.0-rc.4",
3
+ "version": "1.23.0",
4
4
  "description": "UI5 Web Components: webcomponents.base",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@openui5/sap.ui.core": "1.120.3",
48
- "@ui5/webcomponents-tools": "1.23.0-rc.4",
48
+ "@ui5/webcomponents-tools": "1.23.0",
49
49
  "chromedriver": "^121.0.2",
50
50
  "clean-css": "^5.2.2",
51
51
  "copy-and-watch": "^0.1.5",
@@ -55,5 +55,5 @@
55
55
  "replace-in-file": "^6.3.5",
56
56
  "resolve": "^1.20.0"
57
57
  },
58
- "gitHead": "841241411329ef51a41c25a228cac93f5dfb7560"
58
+ "gitHead": "6c2f16f7d091aed0a487986cfebe5f6aabf71160"
59
59
  }