@odx/icons 5.1.0 → 5.2.0

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/main.d.ts CHANGED
@@ -8,7 +8,7 @@ declare global {
8
8
  }
9
9
  }
10
10
  /**
11
- * @deprecated Use name with format `<set>::<name>` instead
11
+ * @deprecated Use name with format `set::name` instead
12
12
  */
13
13
  export type DeprecatedOdxIconName = Exclude<ExtractAssetName<keyof _OdxIcon>, keyof _OdxIcon>;
14
14
  export type OdxIconName = keyof _OdxIcon | DeprecatedOdxIconName;
@@ -18,7 +18,7 @@ export interface OdxIconElement {
18
18
  set name(value: OdxIconName);
19
19
  get name(): OdxIconName;
20
20
  /**
21
- * @deprecated Use name property with format `<set>::<name>` instead
21
+ * @deprecated Use name property with format `set::name` instead
22
22
  */
23
23
  set set(value: OdxIconSet);
24
24
  get set(): OdxIconSet;
package/dist/main.js CHANGED
@@ -3,7 +3,7 @@ export class OdxIconElement extends OdxAssetElement {
3
3
  static defaultSet = 'core';
4
4
  static styles = `
5
5
  ${OdxAssetElement.styles}
6
- :host { block-size: 1em; }
6
+ :host { min-inline-size: 1em; }
7
7
  :host([size="xs"]) { font-size: var(--odx-size-100, 16px); }
8
8
  :host([size="sm"]) { font-size: var(--odx-size-125, 20px); }
9
9
  :host([size="md"]) { font-size: var(--odx-size-150, 24px); }
package/main.scss CHANGED
@@ -14,7 +14,7 @@
14
14
  & {
15
15
  display: inline-flex;
16
16
  background: icon-url(icons.$assets, $icon-name) no-repeat;
17
- inline-size: 1em;
17
+ min-inline-size: 1em;
18
18
  block-size: 1em;
19
19
  }
20
20
 
@@ -23,7 +23,7 @@
23
23
  content: '';
24
24
  background: currentColor;
25
25
  block-size: inherit;
26
- inline-size: inherit;
26
+ min-inline-size: inherit;
27
27
  pointer-events: none;
28
28
  mask-image: icon-url(icons.$masks, $icon-name);
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/icons",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "A library of icon assets for ODX",
5
5
  "homepage": "https://assets.draeger.com/icons",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -16,7 +16,6 @@
16
16
  "sideEffects": true,
17
17
  "exports": {
18
18
  "./package.json": "./package.json",
19
- "./index.json": "./dist/lib/index.json",
20
19
  "./metadata.json": "./dist/lib/metadata.json",
21
20
  "./LICENSE": "./LICENSE",
22
21
  ".": {
@@ -39,7 +38,7 @@
39
38
  "access": "public"
40
39
  },
41
40
  "dependencies": {
42
- "@odx/assets-utils": "^7.1.0"
41
+ "@odx/assets-utils": "^7.2.0"
43
42
  },
44
43
  "devDependencies": {
45
44
  "@odx/assets-builder": "0.0.0"