@ui5/webcomponents-icons-tnt 0.0.0-918b4fbe7 → 0.0.0-96e98c995

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,42 @@
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.10.3](https://github.com/SAP/ui5-webcomponents/compare/v1.10.2...v1.10.3) (2023-01-25)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-icons-tnt
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.10.2](https://github.com/SAP/ui5-webcomponents/compare/v1.10.1...v1.10.2) (2023-01-25)
15
+
16
+ **Note:** Version bump only for package ui5-webcomponents
17
+
18
+ ## [1.10.1](https://github.com/SAP/ui5-webcomponents/compare/v0.0.0-7b49a7ff1...v1.10.1) (2023-01-24)
19
+
20
+ **Note:** Version bump only for package @ui5/webcomponents-icons-tnt
21
+
22
+
23
+
24
+
25
+
26
+ # [1.10.0](https://github.com/SAP/ui5-webcomponents/compare/v1.9.3...v1.10.0) (2023-01-20)
27
+
28
+ **Note:** Version bump only for package @ui5/webcomponents-icons-tnt
29
+
30
+
31
+
32
+
33
+
34
+ ## [1.9.3](https://github.com/SAP/ui5-webcomponents/compare/v1.9.2...v1.9.3) (2022-12-16)
35
+
36
+ **Note:** Version bump only for package @ui5/webcomponents-icons-tnt
37
+
38
+
39
+
40
+
41
+
6
42
  ## [1.9.1](https://github.com/SAP/ui5-webcomponents/compare/v1.9.0...v1.9.1) (2022-11-10)
7
43
 
8
44
  **Note:** Version bump only for package @ui5/webcomponents-icons-tnt
@@ -0,0 +1 @@
1
+ import "./json-imports/Icons-static.js";
@@ -1 +1,2 @@
1
1
  import "./json-imports/Icons-static.js";
2
+ //# sourceMappingURL=AllIcons-static.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllIcons-static.js","sourceRoot":"","sources":["../src/AllIcons-static.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAgC,CAAC"}
@@ -0,0 +1 @@
1
+ import "./json-imports/Icons.js";
package/dist/AllIcons.js CHANGED
@@ -1 +1,2 @@
1
1
  import "./json-imports/Icons.js";
2
+ //# sourceMappingURL=AllIcons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllIcons.js","sourceRoot":"","sources":["../src/AllIcons.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC"}
File without changes
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=Assets-static.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Assets-static.js","sourceRoot":"","sources":["../src/Assets-static.ts"],"names":[],"mappings":""}
File without changes
package/dist/Assets.js CHANGED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=Assets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Assets.js","sourceRoot":"","sources":["../src/Assets.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,13 +1,11 @@
1
1
  import { registerIconLoader } from "@ui5/webcomponents-base/dist/asset-registries/Icons.js";
2
-
3
2
  import SAPIconsTNTUrl from "../generated/assets/SAP-icons-TNT.json";
4
-
5
3
  const loadIconsBundle = async () => {
6
- if (typeof SAPIconsTNTUrl === "object") {
7
- // inlined from build
8
- throw new Error("[icons-tnt] Inlined JSON not supported with static imports of assets. Use dynamic imports of assets or configure JSON imports as URLs");
9
- }
10
- return (await fetch(SAPIconsTNTUrl)).json();
11
- }
12
-
4
+ if (typeof SAPIconsTNTUrl === "object") {
5
+ // inlined from build
6
+ throw new Error("[icons-tnt] Inlined JSON not supported with static imports of assets. Use dynamic imports of assets or configure JSON imports as URLs");
7
+ }
8
+ return (await fetch(SAPIconsTNTUrl)).json();
9
+ };
13
10
  registerIconLoader("tnt", loadIconsBundle);
11
+ //# sourceMappingURL=Icons-static.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icons-static.js","sourceRoot":"","sources":["../../src/json-imports/Icons-static.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAkB,MAAM,wDAAwD,CAAC;AAE5G,OAAO,cAAc,MAAM,wCAAwC,CAAC;AAEpE,MAAM,eAAe,GAAG,KAAK,IAA6B,EAAE;IAC3D,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;QACvC,qBAAqB;QACrB,MAAM,IAAI,KAAK,CAAC,uIAAuI,CAAC,CAAC;KACzJ;IACD,OAAO,CAAC,MAAM,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAC7C,CAAC,CAAA;AAED,kBAAkB,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,11 +1,10 @@
1
1
  import { registerIconLoader } from "@ui5/webcomponents-base/dist/asset-registries/Icons.js";
2
-
3
2
  const loadIconsBundle = async () => {
4
- const iconData = (await import("../generated/assets/SAP-icons-TNT.json")).default;
3
+ const iconData = (await import("../generated/assets/SAP-icons-TNT.json")).default;
5
4
  if (typeof iconData === "string" && iconData.endsWith(".json")) {
6
5
  throw 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.");
7
6
  }
8
7
  return iconData;
9
- }
10
-
8
+ };
11
9
  registerIconLoader("tnt", loadIconsBundle);
10
+ //# sourceMappingURL=Icons.js.map
@@ -0,0 +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,IAA6B,EAAE;IAC3D,MAAM,QAAQ,GAAI,CAAC,MAAM,MAAM,CAAC,wCAAwC,CAAC,CAAC,CAAC,OAAO,CAAC;IAChF,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QAC5D,MAAM,IAAI,KAAK,CAAC,4PAA4P,CAAC,CAAC;KACjR;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC,CAAA;AAED,kBAAkB,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC"}
package/global.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { ColectionData } from "@ui5/webcomponents-base/dist/asset-registries/Icons.js";
2
+
3
+ export {};
4
+
5
+ declare global {
6
+ module "*/generated/assets/SAP-icons-TNT.json" {
7
+ const content: ColectionData;
8
+ export default content;
9
+ }
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-icons-tnt",
3
- "version": "0.0.0-918b4fbe7",
3
+ "version": "0.0.0-96e98c995",
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",
@@ -26,10 +26,10 @@
26
26
  "directory": "packages/icons-tnt"
27
27
  },
28
28
  "dependencies": {
29
- "@ui5/webcomponents-base": "0.0.0-918b4fbe7"
29
+ "@ui5/webcomponents-base": "0.0.0-96e98c995"
30
30
  },
31
31
  "devDependencies": {
32
- "@ui5/webcomponents-tools": "0.0.0-918b4fbe7",
33
- "chromedriver": "106.0.1"
32
+ "@ui5/webcomponents-tools": "0.0.0-96e98c995",
33
+ "chromedriver": "109.0.0"
34
34
  }
35
35
  }
package/tsconfig.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "include": ["src/**/*", "global.d.ts"],
3
+ "compilerOptions": {
4
+ "target": "es2022",
5
+ "module": "es2022",
6
+ // Generate d.ts files
7
+ "declaration": true,
8
+ "outDir": "dist",
9
+ "skipLibCheck": true,
10
+ "sourceMap": true,
11
+ "strict": true,
12
+ "moduleResolution": "node",
13
+ },
14
+ }