@ui5/webcomponents-icons 1.13.0-rc.3 → 1.13.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.13.0](https://github.com/SAP/ui5-webcomponents/compare/v1.13.0-rc.4...v1.13.0) (2023-05-05)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-icons
9
+
10
+
11
+
12
+
13
+
14
+ # [1.13.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.13.0-rc.3...v1.13.0-rc.4) (2023-05-04)
15
+
16
+ **Note:** Version bump only for package @ui5/webcomponents-icons
17
+
18
+
19
+
20
+
21
+
6
22
  # [1.13.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.13.0-rc.2...v1.13.0-rc.3) (2023-04-27)
7
23
 
8
24
  **Note:** Version bump only for package @ui5/webcomponents-icons
@@ -1 +1 @@
1
- {"version":3,"file":"Icons.js","sourceRoot":"","sources":["../../src/json-imports/Icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAkB,MAAM,wDAAwD,CAAC;AAE5G,MAAM,eAAe,GAAG,KAAK,EAAE,UAAkB,EAA2B,EAAE;IAC1E,IAAI,QAAwB,CAAC;IAEhC,IAAI,UAAU,KAAK,cAAc,EAAE;QAClC,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,uCAAuC,CAAC,CAAC,CAAC,OAAO,CAAC;KAC3E;SAAM;QACN,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,uCAAuC,CAAC,CAAC,CAAC,OAAO,CAAC;KAC3E;IAEE,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAK,QAAmB,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QACxE,MAAM,IAAI,KAAK,CAAC,oPAAoP,CAAC,CAAC;KACzQ;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,GAAG,EAAE;IAC5B,kBAAkB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;IACpD,kBAAkB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;AACrD,CAAC,CAAC;AAEF,eAAe,EAAE,CAAC","sourcesContent":["import { registerIconLoader, CollectionData } from \"@ui5/webcomponents-base/dist/asset-registries/Icons.js\";\n\nconst loadIconsBundle = async (collection: string): Promise<CollectionData> => {\n let iconData: CollectionData;\n\n\tif (collection === \"SAP-icons-v5\") {\n\t\ticonData = (await import(\"../generated/assets/v5/SAP-icons.json\")).default;\n\t} else {\n\t\ticonData = (await import(\"../generated/assets/v4/SAP-icons.json\")).default;\n\t}\n\n if (typeof iconData === \"string\" && (iconData as string).endsWith(\".json\")) {\n throw new Error(\"[icons] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use `import \\\"@ui5/webcomponents-icons/dist/Assets-static.js\\\". Check the \\\"Assets\\\" documentation for more information.\");\n }\n return iconData;\n}\n\nconst registerLoaders = () => {\n\tregisterIconLoader(\"SAP-icons-v4\", loadIconsBundle);\n\tregisterIconLoader(\"SAP-icons-v5\", loadIconsBundle);\n};\n\nregisterLoaders();\n"]}
1
+ {"version":3,"file":"Icons.js","sourceRoot":"","sources":["../../src/json-imports/Icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAkB,MAAM,wDAAwD,CAAC;AAE5G,MAAM,eAAe,GAAG,KAAK,EAAE,UAAkB,EAA2B,EAAE;IAC1E,IAAI,QAAwB,CAAC;IAEhC,IAAI,UAAU,KAAK,cAAc,EAAE;QAClC,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,uCAAuC,CAAC,CAAC,CAAC,OAAoC,CAAC;KACxG;SAAM;QACN,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,uCAAuC,CAAC,CAAC,CAAC,OAAoC,CAAC;KACxG;IAEE,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAK,QAAmB,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QACxE,MAAM,IAAI,KAAK,CAAC,oPAAoP,CAAC,CAAC;KACzQ;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,GAAG,EAAE;IAC5B,kBAAkB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;IACpD,kBAAkB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;AACrD,CAAC,CAAC;AAEF,eAAe,EAAE,CAAC","sourcesContent":["import { registerIconLoader, CollectionData } from \"@ui5/webcomponents-base/dist/asset-registries/Icons.js\";\n\nconst loadIconsBundle = async (collection: string): Promise<CollectionData> => {\n let iconData: CollectionData;\n\n\tif (collection === \"SAP-icons-v5\") {\n\t\ticonData = (await import(\"../generated/assets/v5/SAP-icons.json\")).default as unknown as CollectionData;\n\t} else {\n\t\ticonData = (await import(\"../generated/assets/v4/SAP-icons.json\")).default as unknown as CollectionData;\n\t}\n\n if (typeof iconData === \"string\" && (iconData as string).endsWith(\".json\")) {\n throw new Error(\"[icons] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use `import \\\"@ui5/webcomponents-icons/dist/Assets-static.js\\\". Check the \\\"Assets\\\" documentation for more information.\");\n }\n return iconData;\n}\n\nconst registerLoaders = () => {\n\tregisterIconLoader(\"SAP-icons-v4\", loadIconsBundle);\n\tregisterIconLoader(\"SAP-icons-v5\", loadIconsBundle);\n};\n\nregisterLoaders();\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-icons",
3
- "version": "1.13.0-rc.3",
3
+ "version": "1.13.0",
4
4
  "description": "UI5 Web Components: webcomponents.SAP-icons",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -27,10 +27,10 @@
27
27
  "directory": "packages/icons"
28
28
  },
29
29
  "dependencies": {
30
- "@ui5/webcomponents-base": "1.13.0-rc.3"
30
+ "@ui5/webcomponents-base": "1.13.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@ui5/webcomponents-tools": "1.13.0-rc.3"
33
+ "@ui5/webcomponents-tools": "1.13.0"
34
34
  },
35
- "gitHead": "61c17ec60eb103e9b98d0acee1256be98430fbaf"
35
+ "gitHead": "c85ff70d47ba8f5e8c906066f2f4d36d432d2f6a"
36
36
  }
package/tsconfig.json CHANGED
@@ -2,7 +2,6 @@
2
2
  "include": ["src/**/*", "global.d.ts"],
3
3
  "compilerOptions": {
4
4
  "target": "es2022",
5
- "module": "es2022",
6
5
  // Generate d.ts files
7
6
  "declaration": true,
8
7
  "outDir": "dist",
@@ -10,6 +9,7 @@
10
9
  "sourceMap": true,
11
10
  "inlineSources": true,
12
11
  "strict": true,
13
- "moduleResolution": "node",
12
+ "module": "node16",
13
+ "moduleResolution": "node16",
14
14
  },
15
15
  }