@odx/icons 4.0.0-rc.2 → 4.0.0-rc.4
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 +2 -2
- package/dist/src/main.js +3 -4
- package/package.json +2 -2
- package/dist/.asset-config.json +0 -8
package/dist/src/main.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export declare class OdxIconElement extends OdxAssetElement<keyof _OdxIcon> {
|
|
|
12
12
|
readonly values: ["currentColor"];
|
|
13
13
|
readonly attributes: ["fill", "stroke"];
|
|
14
14
|
}];
|
|
15
|
-
readonly namespace
|
|
16
|
-
readonly defaultSet
|
|
15
|
+
readonly namespace = "odx-icon";
|
|
16
|
+
readonly defaultSet = "core";
|
|
17
17
|
}
|
package/dist/src/main.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { OdxAssetElement } from '@odx/assets-utils';
|
|
2
|
-
import assetConfig from '../.asset-config.json' with { type: 'json' };
|
|
3
2
|
export class OdxIconElement extends OdxAssetElement {
|
|
4
3
|
constructor() {
|
|
5
4
|
super(...arguments);
|
|
6
|
-
this.namespace =
|
|
7
|
-
this.defaultSet =
|
|
5
|
+
this.namespace = 'odx-icon';
|
|
6
|
+
this.defaultSet = 'core';
|
|
8
7
|
}
|
|
9
8
|
static { this.assetAttributes = [
|
|
10
9
|
{ name: 'color', values: ['currentColor'], attributes: ['fill', 'stroke'] },
|
|
11
10
|
]; }
|
|
12
11
|
}
|
|
13
|
-
customElements.define(
|
|
12
|
+
customElements.define('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.4",
|
|
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": "node ./scripts/generate-assets.js && biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@odx/assets-utils": "^1.0.0-rc.
|
|
17
|
+
"@odx/assets-utils": "^1.0.0-rc.4"
|
|
18
18
|
},
|
|
19
19
|
"sideEffects": true,
|
|
20
20
|
"exports": {
|