@odx/icons 4.0.0-rc.18 → 4.0.0-rc.19
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/dist/src/main.d.ts +5 -1
- package/dist/src/main.js +12 -0
- package/package.json +2 -2
package/dist/src/main.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare global {
|
|
|
8
8
|
'odx-icon': OdxIconElement;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare class OdxIconElement extends OdxAssetElement
|
|
11
|
+
export declare class OdxIconElement extends OdxAssetElement {
|
|
12
12
|
static readonly assetAttributes: [{
|
|
13
13
|
readonly name: "color";
|
|
14
14
|
readonly values: ["currentColor"];
|
|
@@ -16,5 +16,9 @@ export declare class OdxIconElement extends OdxAssetElement<keyof _OdxIcon> {
|
|
|
16
16
|
}];
|
|
17
17
|
readonly namespace = "odx-icon";
|
|
18
18
|
readonly defaultSet = "core";
|
|
19
|
+
set name(value: OdxIconName);
|
|
20
|
+
get name(): OdxIconName;
|
|
21
|
+
set set(value: OdxIconSet);
|
|
22
|
+
get set(): OdxIconSet;
|
|
19
23
|
}
|
|
20
24
|
//# sourceMappingURL=main.d.ts.map
|
package/dist/src/main.js
CHANGED
|
@@ -5,5 +5,17 @@ export class OdxIconElement extends OdxAssetElement {
|
|
|
5
5
|
];
|
|
6
6
|
namespace = 'odx-icon';
|
|
7
7
|
defaultSet = 'core';
|
|
8
|
+
set name(value) {
|
|
9
|
+
super.name = value;
|
|
10
|
+
}
|
|
11
|
+
get name() {
|
|
12
|
+
return super.name;
|
|
13
|
+
}
|
|
14
|
+
set set(value) {
|
|
15
|
+
super.set = value;
|
|
16
|
+
}
|
|
17
|
+
get set() {
|
|
18
|
+
return super.set;
|
|
19
|
+
}
|
|
8
20
|
}
|
|
9
21
|
registerAssetElement('odx-icon', OdxIconElement);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odx/icons",
|
|
3
3
|
"description": "A library of icon assets for ODX",
|
|
4
|
-
"version": "4.0.0-rc.
|
|
4
|
+
"version": "4.0.0-rc.19",
|
|
5
5
|
"author": "Drägerwerk AG & Co.KGaA",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"homepage": "https://odx.draeger.com",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"generate-assets": "npx generate-assets && biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@odx/assets-utils": "^1.
|
|
17
|
+
"@odx/assets-utils": "^1.1.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@odx/assets-cli": "*",
|