@odx/icons 5.1.0 → 5.3.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/CHANGELOG.md +25 -2
- package/MIGRATION.md +7 -4
- package/README.md +3 -33
- package/dist/lib/all.scss +4 -0
- package/dist/lib/core/draeger.d.ts +9 -0
- package/dist/lib/core/draeger.js +2 -0
- package/dist/lib/core/draeger.svg +1 -0
- package/dist/lib/core.d.ts +1 -0
- package/dist/lib/core.js +1 -0
- package/dist/lib/metadata.json +1219 -19
- package/dist/lib/user/handover.d.ts +9 -0
- package/dist/lib/user/handover.js +2 -0
- package/dist/lib/user/handover.svg +1 -0
- package/dist/lib/user.d.ts +1 -0
- package/dist/lib/user.js +1 -0
- package/dist/main.d.ts +2 -2
- package/dist/main.js +1 -1
- package/main.scss +2 -2
- package/package.json +2 -3
- package/dist/lib/index.json +0 -1228
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { registerAsset as r } from '@odx/assets-utils';
|
|
2
|
+
export default r('odx-icon::user::handover', '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11.18 22H5c-1.1 0-2-.9-2-2v-1.25c0-1.08.6-2.06 1.56-2.55l4.3-2.2c.06.05.13.08.2.12.1.06.21.12.31.18.16.09.33.17.5.24.1.04.21.09.32.13.2.07.4.12.6.17.07.02.13.04.21.05v2.03c-.76-.1-1.49-.32-2.19-.65l-3.34 1.71c-.29.15-.47.44-.47.77V20h6v1c0 .35.06.69.18 1m4.61-18.3c-.95-1.08-2.33-1.69-3.79-1.69s-2.84.62-3.79 1.69c-.47.53-.81 1.15-1.01 1.82-.2.68-.25 1.38-.15 2.08l.4 2.58c.28 1.85 1.74 3.32 3.56 3.71.02-.73.31-1.4.77-1.9-1.16-.09-2.14-.97-2.32-2.11l-.4-2.58c-.13-.83.12-1.67.68-2.3h.02c.56-.63 1.38-1 2.23-1s1.67.36 2.23 1c.56.63.81 1.47.68 2.3l-.4 2.58c-.07.41-.24.8-.49 1.12h2.33c.09-.26.17-.54.21-.82l.4-2.58c.22-1.41-.2-2.83-1.16-3.9M21 12h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2m-3.5 10.05c-.66 0-1.31-.14-1.9-.42s-1.12-.68-1.55-1.19v1.61h-1.1v-4.1h4.1v1.1h-2.6c.59 1.17 1.75 1.9 3.05 1.9 1.77 0 3.21-1.34 3.41-3.05h1.1c-.21 2.32-2.14 4.15-4.51 4.15m4.55-5h-4.1v-1.1h2.6c-.59-1.17-1.75-1.9-3.05-1.9-1.77 0-3.21 1.34-3.41 3.05h-1.1c.21-2.32 2.14-4.15 4.51-4.15a4.5 4.5 0 0 1 3.45 1.61v-1.61h1.1z"/></svg>');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11.18 22H5c-1.1 0-2-.9-2-2v-1.25c0-1.08.6-2.06 1.56-2.55l4.3-2.2c.06.05.13.08.2.12.1.06.21.12.31.18.16.09.33.17.5.24.1.04.21.09.32.13.2.07.4.12.6.17.07.02.13.04.21.05v2.03c-.76-.1-1.49-.32-2.19-.65l-3.34 1.71c-.29.15-.47.44-.47.77V20h6v1c0 .35.06.69.18 1m4.61-18.3c-.95-1.08-2.33-1.69-3.79-1.69s-2.84.62-3.79 1.69c-.47.53-.81 1.15-1.01 1.82-.2.68-.25 1.38-.15 2.08l.4 2.58c.28 1.85 1.74 3.32 3.56 3.71.02-.73.31-1.4.77-1.9-1.16-.09-2.14-.97-2.32-2.11l-.4-2.58c-.13-.83.12-1.67.68-2.3h.02c.56-.63 1.38-1 2.23-1s1.67.36 2.23 1c.56.63.81 1.47.68 2.3l-.4 2.58c-.07.41-.24.8-.49 1.12h2.33c.09-.26.17-.54.21-.82l.4-2.58c.22-1.41-.2-2.83-1.16-3.9M21 12h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2m-3.5 10.05c-.66 0-1.31-.14-1.9-.42s-1.12-.68-1.55-1.19v1.61h-1.1v-4.1h4.1v1.1h-2.6c.59 1.17 1.75 1.9 3.05 1.9 1.77 0 3.21-1.34 3.41-3.05h1.1c-.21 2.32-2.14 4.15-4.51 4.15m4.55-5h-4.1v-1.1h2.6c-.59-1.17-1.75-1.9-3.05-1.9-1.77 0-3.21 1.34-3.41 3.05h-1.1c.21-2.32 2.14-4.15 4.51-4.15a4.5 4.5 0 0 1 3.45 1.61v-1.61h1.1z"/></svg>
|
package/dist/lib/user.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { default as EditIcon } from './user/edit.js';
|
|
|
5
5
|
export { default as EngineerIcon } from './user/engineer.js';
|
|
6
6
|
export { default as GroupIcon } from './user/group.js';
|
|
7
7
|
export { default as GroupAdministrationIcon } from './user/group-administration.js';
|
|
8
|
+
export { default as HandoverIcon } from './user/handover.js';
|
|
8
9
|
export { default as IdIcon } from './user/id.js';
|
|
9
10
|
export { default as IdEditIcon } from './user/id-edit.js';
|
|
10
11
|
export { default as IdErrorIcon } from './user/id-error.js';
|
package/dist/lib/user.js
CHANGED
|
@@ -5,6 +5,7 @@ export { default as EditIcon } from './user/edit.js';
|
|
|
5
5
|
export { default as EngineerIcon } from './user/engineer.js';
|
|
6
6
|
export { default as GroupIcon } from './user/group.js';
|
|
7
7
|
export { default as GroupAdministrationIcon } from './user/group-administration.js';
|
|
8
|
+
export { default as HandoverIcon } from './user/handover.js';
|
|
8
9
|
export { default as IdIcon } from './user/id.js';
|
|
9
10
|
export { default as IdEditIcon } from './user/id-edit.js';
|
|
10
11
|
export { default as IdErrorIcon } from './user/id-error.js';
|
package/dist/main.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* @deprecated Use name with format
|
|
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
|
|
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 {
|
|
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.
|
|
3
|
+
"version": "5.3.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.
|
|
41
|
+
"@odx/assets-utils": "^7.2.2"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"@odx/assets-builder": "0.0.0"
|