@ui5/webcomponents-icons-tnt 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 +16 -0
- package/dist/Assets-static.d.ts +1 -0
- package/dist/Assets-static.js +1 -1
- package/dist/Assets.d.ts +1 -0
- package/dist/Assets.js +1 -1
- package/dist/json-imports/Icons.js.map +1 -1
- package/package.json +4 -4
- package/tsconfig.json +2 -2
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-tnt
|
|
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-tnt
|
|
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-tnt
|
package/dist/Assets-static.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/Assets-static.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=Assets-static.js.map
|
package/dist/Assets.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/Assets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=Assets.js.map
|
|
@@ -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;IAC7E,IAAI,QAAwB,CAAC;IAE7B,IAAI,UAAU,KAAK,QAAQ,EAAE;QAC5B,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,2CAA2C,CAAC,CAAC,CAAC,
|
|
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;IAC7E,IAAI,QAAwB,CAAC;IAE7B,IAAI,UAAU,KAAK,QAAQ,EAAE;QAC5B,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,2CAA2C,CAAC,CAAC,CAAC,OAAoC,CAAC;KAC5G;SAAM;QACN,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,2CAA2C,CAAC,CAAC,CAAC,OAAoC,CAAC;KAC5G;IAED,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAK,QAAmB,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QAC3E,MAAM,IAAI,KAAK,CAAC,4PAA4P,CAAC,CAAC;KAC9Q;IACD,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,GAAG,EAAE;IAC5B,kBAAkB,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;IAC9C,kBAAkB,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;AAC/C,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\tlet iconData: CollectionData;\n\n\tif (collection === \"tnt-v3\") {\n\t\ticonData = (await import(\"../generated/assets/v3/SAP-icons-TNT.json\")).default as unknown as CollectionData;\n\t} else {\n\t\ticonData = (await import(\"../generated/assets/v2/SAP-icons-TNT.json\")).default as unknown as CollectionData;\n\t}\n\n\tif (typeof iconData === \"string\" && (iconData as string).endsWith(\".json\")) {\n\t\tthrow new Error(\"[icons-tnt] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use `import \\\"@ui5/webcomponents-icons-tnt/dist/Assets-static.js\\\". Check the \\\"Assets\\\" documentation for more information.\");\n\t}\n\treturn iconData;\n}\n\nconst registerLoaders = () => {\n\tregisterIconLoader(\"tnt-v2\", loadIconsBundle);\n\tregisterIconLoader(\"tnt-v3\", loadIconsBundle);\n};\n\nregisterLoaders();\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-icons-tnt",
|
|
3
|
-
"version": "1.13.0
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "UI5 Web Components: SAP Fiori Tools icon set",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"directory": "packages/icons-tnt"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ui5/webcomponents-base": "1.13.0
|
|
30
|
+
"@ui5/webcomponents-base": "1.13.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@ui5/webcomponents-tools": "1.13.0
|
|
33
|
+
"@ui5/webcomponents-tools": "1.13.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
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
|
-
"
|
|
12
|
+
"module": "node16",
|
|
13
|
+
"moduleResolution": "node16",
|
|
14
14
|
},
|
|
15
15
|
}
|