@ui5/webcomponents-icons-tnt 0.0.0-cb061e041 → 0.0.0-ce98ce2bb
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 +164 -0
- package/dist/Assets-static.d.ts +0 -1
- package/dist/Assets-static.js +1 -1
- package/dist/Assets.d.ts +0 -1
- package/dist/Assets.js +1 -1
- package/dist/generated/assets/v2/SAP-icons-TNT.json +494 -494
- package/dist/generated/assets/v3/SAP-icons-TNT.json +494 -494
- package/dist/json-imports/Icons.js.map +1 -1
- package/package.json +3 -3
- package/tsconfig.json +5 -3
- package/global.d.ts +0 -15
|
@@ -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,OAAO,CAAC;KAC/E;SAAM;QACN,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,2CAA2C,CAAC,CAAC,CAAC,OAAO,CAAC;KAC/E;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;\n\t} else {\n\t\ticonData = (await import(\"../generated/assets/v2/SAP-icons-TNT.json\")).default;\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": "0.0.0-
|
|
3
|
+
"version": "0.0.0-ce98ce2bb",
|
|
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,9 +27,9 @@
|
|
|
27
27
|
"directory": "packages/icons-tnt"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ui5/webcomponents-base": "0.0.0-
|
|
30
|
+
"@ui5/webcomponents-base": "0.0.0-ce98ce2bb"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@ui5/webcomponents-tools": "0.0.0-
|
|
33
|
+
"@ui5/webcomponents-tools": "0.0.0-ce98ce2bb"
|
|
34
34
|
}
|
|
35
35
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"include": ["src/**/*"
|
|
2
|
+
"include": ["src/**/*"],
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"target": "es2022",
|
|
5
5
|
// Generate d.ts files
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"sourceMap": true,
|
|
10
10
|
"inlineSources": true,
|
|
11
11
|
"strict": true,
|
|
12
|
-
"module": "
|
|
13
|
-
"moduleResolution": "
|
|
12
|
+
"module": "es2022",
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"allowSyntheticDefaultImports": true,
|
|
14
16
|
},
|
|
15
17
|
}
|
package/global.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ColectionData } from "@ui5/webcomponents-base/dist/asset-registries/Icons.js";
|
|
2
|
-
|
|
3
|
-
export {};
|
|
4
|
-
|
|
5
|
-
declare global {
|
|
6
|
-
module "*/generated/assets/v2/SAP-icons-TNT.json" {
|
|
7
|
-
const content: ColectionData;
|
|
8
|
-
export default content;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
module "*/generated/assets/v3/SAP-icons-TNT.json" {
|
|
12
|
-
const content: ColectionData;
|
|
13
|
-
export default content;
|
|
14
|
-
}
|
|
15
|
-
}
|