@odx/icons 1.1.0 → 1.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/CHANGELOG.md +3 -3
- package/README.md +25 -1
- package/core/demo-poster.html +2 -2
- package/medical/demo-poster.html +2 -2
- package/package.json +1 -1
- package/safety/demo-poster.html +5738 -5
- package/safety/font.css +4423 -1
- package/safety/font.eot +0 -0
- package/safety/font.scss +4424 -2
- package/safety/font.svg +2312 -2
- package/safety/font.ttf +0 -0
- package/safety/font.woff +0 -0
- package/safety/font.woff2 +0 -0
- package/safety/iconmap.scss +1050 -1
- package/safety/metadata.json +3277 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# [1.
|
|
1
|
+
# [1.2.0](https://dev.azure.com/draeger/ODXP/_git/odx-icons/compare/v1.1.0...v1.2.0) (2023-04-14)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* add
|
|
7
|
-
*
|
|
6
|
+
* add safety icon set ([b945ab8](https://dev.azure.com/draeger/ODXP/_git/odx-icons/commit/b945ab8ebfbbf2a53ff77fad57e38b451663237a))
|
|
7
|
+
* **icons:** removed core icons from safety set ([3391834](https://dev.azure.com/draeger/ODXP/_git/odx-icons/commit/3391834e586c6a116bad17ff772f39f38b1965d1))
|
|
8
8
|
|
|
9
9
|
# 1.0.0 (2023-04-13)
|
|
10
10
|
|
package/README.md
CHANGED
|
@@ -12,11 +12,35 @@ npm install @odx/icons
|
|
|
12
12
|
|
|
13
13
|
## Use
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
@odx/icons contains multiple icon sets for different types of applications:
|
|
16
|
+
|
|
17
|
+
*core: Icons used across applications of all Dräger entities
|
|
18
|
+
*medical: (Under consstruction) Icons for use in specific applications of the Dräger Medical division
|
|
19
|
+
*safety: Icons for use in specific applications of the Dräger Safety division
|
|
20
|
+
|
|
21
|
+
Import one or more icon sets into your ``styles.scss``, for example:
|
|
16
22
|
|
|
17
23
|
```css
|
|
18
24
|
@import 'node_modules/@odx/icons/core/font.css';
|
|
25
|
+
@import 'node_modules/@odx/icons/medical/font.css';
|
|
26
|
+
@import 'node_modules/@odx/icons/safety/font.css';
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
In you HTML template you can now include icons as easy as:
|
|
30
|
+
|
|
19
31
|
```
|
|
32
|
+
<i class="odx-icon" data-icon-set="core" data-icon-name="placeholder">
|
|
33
|
+
<span></span>
|
|
34
|
+
</i>
|
|
35
|
+
|
|
36
|
+
<i class="odx-icon" data-icon-set="safety" data-icon-name="add">
|
|
37
|
+
<span></span>
|
|
38
|
+
</i>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
The ``<span>`` elements are needed to display multicolor icons correctly.
|
|
42
|
+
|
|
43
|
+
Demo posters with all icons contained in the icon sets are part of this package.
|
|
20
44
|
|
|
21
45
|
[npm-icon]: https://nodei.co/npm/@odx/icons.svg?downloads=true
|
|
22
46
|
[npm-url]: https://npmjs.org/package/@odx/icons
|
package/core/demo-poster.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
|
-
<title>@odx/icons 1.
|
|
5
|
+
<title>@odx/icons 1.2.0</title>
|
|
6
6
|
<link rel="stylesheet" type="text/css" href="font.css" media="screen" />
|
|
7
7
|
<style>
|
|
8
8
|
* {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<body>
|
|
92
92
|
<header class="page-header">
|
|
93
93
|
<h1 class="page-title">
|
|
94
|
-
@odx/icons 1.
|
|
94
|
+
@odx/icons 1.2.0
|
|
95
95
|
</h1>
|
|
96
96
|
<div class="icon-count">
|
|
97
97
|
Iconset: core - 294 icons
|
package/medical/demo-poster.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
|
-
<title>@odx/icons 1.
|
|
5
|
+
<title>@odx/icons 1.2.0</title>
|
|
6
6
|
<link rel="stylesheet" type="text/css" href="font.css" media="screen" />
|
|
7
7
|
<style>
|
|
8
8
|
* {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<body>
|
|
92
92
|
<header class="page-header">
|
|
93
93
|
<h1 class="page-title">
|
|
94
|
-
@odx/icons 1.
|
|
94
|
+
@odx/icons 1.2.0
|
|
95
95
|
</h1>
|
|
96
96
|
<div class="icon-count">
|
|
97
97
|
Iconset: medical - 1 icons
|