@ui5/webcomponents-icons 1.13.0 → 1.13.2
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 +17 -1
- package/dist/generated/assets/v4/SAP-icons.json +2443 -2443
- package/dist/generated/assets/v5/SAP-icons.json +2443 -2443
- package/dist/json-imports/Icons.js.map +1 -1
- package/package.json +4 -4
- 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;IAC1E,IAAI,QAAwB,CAAC;IAEhC,IAAI,UAAU,KAAK,cAAc,EAAE;QAClC,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,uCAAuC,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;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"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ui5/webcomponents-icons",
|
3
|
-
"version": "1.13.
|
3
|
+
"version": "1.13.2",
|
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.
|
30
|
+
"@ui5/webcomponents-base": "1.13.2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@ui5/webcomponents-tools": "1.13.
|
33
|
+
"@ui5/webcomponents-tools": "1.13.1"
|
34
34
|
},
|
35
|
-
"gitHead": "
|
35
|
+
"gitHead": "a747c6a790645ee45ed058932052a4f004ed18b7"
|
36
36
|
}
|
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/v4/SAP-icons.json" {
|
7
|
-
const content: ColectionData;
|
8
|
-
export default content;
|
9
|
-
}
|
10
|
-
|
11
|
-
module "*generated/assets/v5/SAP-icons.json" {
|
12
|
-
const content: ColectionData;
|
13
|
-
export default content;
|
14
|
-
}
|
15
|
-
}
|