@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 CHANGED
@@ -1,10 +1,10 @@
1
- # [1.1.0](https://dev.azure.com/draeger/ODXP/_git/odx-icons/compare/v1.0.0...v1.1.0) (2023-04-14)
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 util functions to get icon glyph and font family name ([0cffa67](https://dev.azure.com/draeger/ODXP/_git/odx-icons/commit/0cffa679d3e83238b9e93b0d3fa5ac33e5e7cdf1))
7
- * include changelog in published package ([48b7bf4](https://dev.azure.com/draeger/ODXP/_git/odx-icons/commit/48b7bf447b9ab1cf36165e83eabd0b4adc402627))
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
- Import the @odx/icons css file into your ``styles.scss``:
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
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>@odx/icons 1.1.0</title>
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.1.0
94
+ @odx/icons 1.2.0
95
95
  </h1>
96
96
  <div class="icon-count">
97
97
  Iconset: core - 294 icons
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>@odx/icons 1.1.0</title>
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.1.0
94
+ @odx/icons 1.2.0
95
95
  </h1>
96
96
  <div class="icon-count">
97
97
  Iconset: medical - 1 icons
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/icons",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "author": "Drägerwerk AG & Co. KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {