@odx/icons 1.3.1 → 1.3.3

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/core/{demo-poster.html → core-demo-poster.html} +3 -3
  3. package/core/{font.css → core-icons.css} +7 -3
  4. package/core/{font.eot → core-icons.eot} +0 -0
  5. package/core/{font.scss → core-icons.scss} +11 -7
  6. package/core/{font.svg → core-icons.svg} +2 -2
  7. package/core/{font.ttf → core-icons.ttf} +0 -0
  8. package/core/{font.woff → core-icons.woff} +0 -0
  9. package/core/core-icons.woff2 +0 -0
  10. package/core/{utils.scss → core-utils.scss} +3 -3
  11. package/medical/{demo-poster.html → medical-demo-poster.html} +3 -3
  12. package/medical/{font.css → medical-icons.css} +7 -3
  13. package/medical/{font.eot → medical-icons.eot} +0 -0
  14. package/medical/{font.scss → medical-icons.scss} +11 -7
  15. package/medical/{font.svg → medical-icons.svg} +2 -2
  16. package/medical/{font.ttf → medical-icons.ttf} +0 -0
  17. package/medical/medical-icons.woff +0 -0
  18. package/medical/medical-icons.woff2 +0 -0
  19. package/medical/{utils.scss → medical-utils.scss} +3 -3
  20. package/package.json +1 -1
  21. package/safety/{demo-poster.html → safety-demo-poster.html} +3 -3
  22. package/safety/{font.css → safety-icons.css} +7 -3
  23. package/safety/{font.eot → safety-icons.eot} +0 -0
  24. package/safety/{font.scss → safety-icons.scss} +11 -7
  25. package/safety/{font.svg → safety-icons.svg} +2 -2
  26. package/safety/{font.ttf → safety-icons.ttf} +0 -0
  27. package/safety/{font.woff → safety-icons.woff} +0 -0
  28. package/safety/safety-icons.woff2 +0 -0
  29. package/safety/{utils.scss → safety-utils.scss} +3 -3
  30. package/core/font.woff2 +0 -0
  31. package/medical/font.woff +0 -0
  32. package/medical/font.woff2 +0 -0
  33. package/safety/font.woff2 +0 -0
  34. /package/core/{iconmap.scss → core-iconmap.scss} +0 -0
  35. /package/core/{metadata.json → core-metadata.json} +0 -0
  36. /package/medical/{iconmap.scss → medical-iconmap.scss} +0 -0
  37. /package/medical/{metadata.json → medical-metadata.json} +0 -0
  38. /package/safety/{iconmap.scss → safety-iconmap.scss} +0 -0
  39. /package/safety/{metadata.json → safety-metadata.json} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,9 +1,9 @@
1
- ## [1.3.1](https://dev.azure.com/draeger/ODXP/_git/odx-icons/compare/v1.3.0...v1.3.1) (2023-04-14)
1
+ ## [1.3.3](https://dev.azure.com/draeger/ODXP/_git/odx-icons/compare/v1.3.2...v1.3.3) (2023-04-14)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * use icon set selector to set the font-family ([f4b745e](https://dev.azure.com/draeger/ODXP/_git/odx-icons/commit/f4b745e335849d645b7f5a6c034bd91862021fb9))
6
+ * dist file output ([9b9ccda](https://dev.azure.com/draeger/ODXP/_git/odx-icons/commit/9b9ccda186c89c39d8f27f15c7d81c2916f4bdb6))
7
7
 
8
8
  # 1.0.0 (2023-04-13)
9
9
 
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>@odx/icons 1.3.1</title>
6
- <link rel="stylesheet" type="text/css" href="font.css" media="screen" />
5
+ <title>@odx/icons 1.3.3</title>
6
+ <link rel="stylesheet" type="text/css" href="core-icons.css" media="screen" />
7
7
  <style>
8
8
  * {
9
9
  margin: 0;
@@ -126,7 +126,7 @@
126
126
  />
127
127
  </svg>
128
128
  <h1 class="page-title">
129
- @odx/icons 1.3.1
129
+ @odx/icons 1.3.3
130
130
  </h1>
131
131
  <input class="page-search" placeholder="Search icons ..." />
132
132
  <div class="icon-count">
@@ -1,7 +1,7 @@
1
1
  @font-face {
2
2
  font-family: odx-icon-core;
3
- src: url("font.eot");
4
- src: url("font.eot?#iefix") format("embedded-opentype"), url("font.woff") format("woff"), url("font.ttf") format("truetype"), url("font.svg#uib-iconfont") format("svg");
3
+ src: url("core-icons.eot");
4
+ src: url("core-icons.eot?#iefix") format("embedded-opentype"), url("core-icons.woff") format("woff"), url("core-icons.ttf") format("truetype"), url("core-icons.svg#uib-iconfont") format("svg");
5
5
  font-style: normal;
6
6
  font-weight: 400;
7
7
  }
@@ -14,12 +14,16 @@
14
14
  text-rendering: auto;
15
15
  vertical-align: middle;
16
16
  font-size: inherit;
17
+ font-weight: 400;
18
+ line-height: 1;
19
+ font-style: normal;
20
+ font-variant: normal;
17
21
  -moz-osx-font-smoothing: grayscale;
18
22
  -webkit-font-smoothing: antialiased;
19
23
  }
20
24
 
21
25
  .odx-icon[data-icon-set=core] {
22
- font: normal normal 400 14px/1 "odx-icon-core";
26
+ font-family: "odx-icon-core";
23
27
  }
24
28
 
25
29
  .odx-icon span::before {
Binary file
@@ -1,12 +1,12 @@
1
- @import "iconmap";
1
+ @import "core-iconmap";
2
2
 
3
3
  @font-face {
4
4
  font-family: odx-icon-core;
5
- src: url('font.eot');
6
- src: url('font.eot?#iefix') format('embedded-opentype'),
7
- url('font.woff') format('woff'),
8
- url('font.ttf') format('truetype'),
9
- url('font.svg#uib-iconfont') format('svg');
5
+ src: url('core-icons.eot');
6
+ src: url('core-icons.eot?#iefix') format('embedded-opentype'),
7
+ url('core-icons.woff') format('woff'),
8
+ url('core-icons.ttf') format('truetype'),
9
+ url('core-icons.svg#uib-iconfont') format('svg');
10
10
  font-style: normal;
11
11
  font-weight: 400;
12
12
  }
@@ -20,12 +20,16 @@
20
20
  text-rendering: auto;
21
21
  vertical-align: middle;
22
22
  font-size: inherit;
23
+ font-weight: 400;
24
+ line-height: 1;
25
+ font-style: normal;
26
+ font-variant: normal;
23
27
  -moz-osx-font-smoothing: grayscale;
24
28
  -webkit-font-smoothing: antialiased;
25
29
  }
26
30
 
27
31
  .odx-icon[data-icon-set="core"] {
28
- font: normal normal 400 14px/1 'odx-icon-core';
32
+ font-family: 'odx-icon-core';
29
33
  }
30
34
 
31
35
  .odx-icon span::before {
@@ -2,8 +2,8 @@
2
2
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
3
  <svg xmlns="http://www.w3.org/2000/svg">
4
4
  <defs>
5
- <font id="font" horiz-adv-x="300">
6
- <font-face font-family="font"
5
+ <font id="core-icons" horiz-adv-x="300">
6
+ <font-face font-family="core-icons"
7
7
  units-per-em="300" ascent="300"
8
8
  descent="0" />
9
9
  <missing-glyph horiz-adv-x="0" />
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use 'iconmap';
2
+ @use 'core-iconmap';
3
3
 
4
4
  @function get-icon-glyph($iconName) {
5
5
  @return map.get($map: iconmap.$glyphs, $key: $iconName);
@@ -12,7 +12,7 @@
12
12
  // convenience mixin defining inline css icons,
13
13
  // including all style-specific font properties,
14
14
  // and the ::before. Only works for single-colored icons!
15
- // To use multicolor icons inline, manually map the glyphs
15
+ // To use multicolor icons inline, manually map the glyphs
16
16
  // to content in pseudo elements using the "get-icon-glyph" function
17
17
 
18
18
  @mixin icon($iconName) {
@@ -29,4 +29,4 @@
29
29
  &::before {
30
30
  content: get-icon-glyph($iconName);
31
31
  }
32
- }
32
+ }
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>@odx/icons 1.3.1</title>
6
- <link rel="stylesheet" type="text/css" href="font.css" media="screen" />
5
+ <title>@odx/icons 1.3.3</title>
6
+ <link rel="stylesheet" type="text/css" href="medical-icons.css" media="screen" />
7
7
  <style>
8
8
  * {
9
9
  margin: 0;
@@ -126,7 +126,7 @@
126
126
  />
127
127
  </svg>
128
128
  <h1 class="page-title">
129
- @odx/icons 1.3.1
129
+ @odx/icons 1.3.3
130
130
  </h1>
131
131
  <input class="page-search" placeholder="Search icons ..." />
132
132
  <div class="icon-count">
@@ -1,7 +1,7 @@
1
1
  @font-face {
2
2
  font-family: odx-icon-medical;
3
- src: url("font.eot");
4
- src: url("font.eot?#iefix") format("embedded-opentype"), url("font.woff") format("woff"), url("font.ttf") format("truetype"), url("font.svg#uib-iconfont") format("svg");
3
+ src: url("medical-icons.eot");
4
+ src: url("medical-icons.eot?#iefix") format("embedded-opentype"), url("medical-icons.woff") format("woff"), url("medical-icons.ttf") format("truetype"), url("medical-icons.svg#uib-iconfont") format("svg");
5
5
  font-style: normal;
6
6
  font-weight: 400;
7
7
  }
@@ -14,12 +14,16 @@
14
14
  text-rendering: auto;
15
15
  vertical-align: middle;
16
16
  font-size: inherit;
17
+ font-weight: 400;
18
+ line-height: 1;
19
+ font-style: normal;
20
+ font-variant: normal;
17
21
  -moz-osx-font-smoothing: grayscale;
18
22
  -webkit-font-smoothing: antialiased;
19
23
  }
20
24
 
21
25
  .odx-icon[data-icon-set=medical] {
22
- font: normal normal 400 14px/1 "odx-icon-medical";
26
+ font-family: "odx-icon-medical";
23
27
  }
24
28
 
25
29
  .odx-icon span::before {
@@ -1,12 +1,12 @@
1
- @import "iconmap";
1
+ @import "medical-iconmap";
2
2
 
3
3
  @font-face {
4
4
  font-family: odx-icon-medical;
5
- src: url('font.eot');
6
- src: url('font.eot?#iefix') format('embedded-opentype'),
7
- url('font.woff') format('woff'),
8
- url('font.ttf') format('truetype'),
9
- url('font.svg#uib-iconfont') format('svg');
5
+ src: url('medical-icons.eot');
6
+ src: url('medical-icons.eot?#iefix') format('embedded-opentype'),
7
+ url('medical-icons.woff') format('woff'),
8
+ url('medical-icons.ttf') format('truetype'),
9
+ url('medical-icons.svg#uib-iconfont') format('svg');
10
10
  font-style: normal;
11
11
  font-weight: 400;
12
12
  }
@@ -20,12 +20,16 @@
20
20
  text-rendering: auto;
21
21
  vertical-align: middle;
22
22
  font-size: inherit;
23
+ font-weight: 400;
24
+ line-height: 1;
25
+ font-style: normal;
26
+ font-variant: normal;
23
27
  -moz-osx-font-smoothing: grayscale;
24
28
  -webkit-font-smoothing: antialiased;
25
29
  }
26
30
 
27
31
  .odx-icon[data-icon-set="medical"] {
28
- font: normal normal 400 14px/1 'odx-icon-medical';
32
+ font-family: 'odx-icon-medical';
29
33
  }
30
34
 
31
35
  .odx-icon span::before {
@@ -2,8 +2,8 @@
2
2
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
3
  <svg xmlns="http://www.w3.org/2000/svg">
4
4
  <defs>
5
- <font id="font" horiz-adv-x="300">
6
- <font-face font-family="font"
5
+ <font id="medical-icons" horiz-adv-x="300">
6
+ <font-face font-family="medical-icons"
7
7
  units-per-em="300" ascent="300"
8
8
  descent="0" />
9
9
  <missing-glyph horiz-adv-x="0" />
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use 'iconmap';
2
+ @use 'medical-iconmap';
3
3
 
4
4
  @function get-icon-glyph($iconName) {
5
5
  @return map.get($map: iconmap.$glyphs, $key: $iconName);
@@ -12,7 +12,7 @@
12
12
  // convenience mixin defining inline css icons,
13
13
  // including all style-specific font properties,
14
14
  // and the ::before. Only works for single-colored icons!
15
- // To use multicolor icons inline, manually map the glyphs
15
+ // To use multicolor icons inline, manually map the glyphs
16
16
  // to content in pseudo elements using the "get-icon-glyph" function
17
17
 
18
18
  @mixin icon($iconName) {
@@ -29,4 +29,4 @@
29
29
  &::before {
30
30
  content: get-icon-glyph($iconName);
31
31
  }
32
- }
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/icons",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "author": "Drägerwerk AG & Co. KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>@odx/icons 1.3.1</title>
6
- <link rel="stylesheet" type="text/css" href="font.css" media="screen" />
5
+ <title>@odx/icons 1.3.3</title>
6
+ <link rel="stylesheet" type="text/css" href="safety-icons.css" media="screen" />
7
7
  <style>
8
8
  * {
9
9
  margin: 0;
@@ -126,7 +126,7 @@
126
126
  />
127
127
  </svg>
128
128
  <h1 class="page-title">
129
- @odx/icons 1.3.1
129
+ @odx/icons 1.3.3
130
130
  </h1>
131
131
  <input class="page-search" placeholder="Search icons ..." />
132
132
  <div class="icon-count">
@@ -1,7 +1,7 @@
1
1
  @font-face {
2
2
  font-family: odx-icon-safety;
3
- src: url("font.eot");
4
- src: url("font.eot?#iefix") format("embedded-opentype"), url("font.woff") format("woff"), url("font.ttf") format("truetype"), url("font.svg#uib-iconfont") format("svg");
3
+ src: url("safety-icons.eot");
4
+ src: url("safety-icons.eot?#iefix") format("embedded-opentype"), url("safety-icons.woff") format("woff"), url("safety-icons.ttf") format("truetype"), url("safety-icons.svg#uib-iconfont") format("svg");
5
5
  font-style: normal;
6
6
  font-weight: 400;
7
7
  }
@@ -14,12 +14,16 @@
14
14
  text-rendering: auto;
15
15
  vertical-align: middle;
16
16
  font-size: inherit;
17
+ font-weight: 400;
18
+ line-height: 1;
19
+ font-style: normal;
20
+ font-variant: normal;
17
21
  -moz-osx-font-smoothing: grayscale;
18
22
  -webkit-font-smoothing: antialiased;
19
23
  }
20
24
 
21
25
  .odx-icon[data-icon-set=safety] {
22
- font: normal normal 400 14px/1 "odx-icon-safety";
26
+ font-family: "odx-icon-safety";
23
27
  }
24
28
 
25
29
  .odx-icon span::before {
@@ -1,12 +1,12 @@
1
- @import "iconmap";
1
+ @import "safety-iconmap";
2
2
 
3
3
  @font-face {
4
4
  font-family: odx-icon-safety;
5
- src: url('font.eot');
6
- src: url('font.eot?#iefix') format('embedded-opentype'),
7
- url('font.woff') format('woff'),
8
- url('font.ttf') format('truetype'),
9
- url('font.svg#uib-iconfont') format('svg');
5
+ src: url('safety-icons.eot');
6
+ src: url('safety-icons.eot?#iefix') format('embedded-opentype'),
7
+ url('safety-icons.woff') format('woff'),
8
+ url('safety-icons.ttf') format('truetype'),
9
+ url('safety-icons.svg#uib-iconfont') format('svg');
10
10
  font-style: normal;
11
11
  font-weight: 400;
12
12
  }
@@ -20,12 +20,16 @@
20
20
  text-rendering: auto;
21
21
  vertical-align: middle;
22
22
  font-size: inherit;
23
+ font-weight: 400;
24
+ line-height: 1;
25
+ font-style: normal;
26
+ font-variant: normal;
23
27
  -moz-osx-font-smoothing: grayscale;
24
28
  -webkit-font-smoothing: antialiased;
25
29
  }
26
30
 
27
31
  .odx-icon[data-icon-set="safety"] {
28
- font: normal normal 400 14px/1 'odx-icon-safety';
32
+ font-family: 'odx-icon-safety';
29
33
  }
30
34
 
31
35
  .odx-icon span::before {
@@ -2,8 +2,8 @@
2
2
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
3
  <svg xmlns="http://www.w3.org/2000/svg">
4
4
  <defs>
5
- <font id="font" horiz-adv-x="300">
6
- <font-face font-family="font"
5
+ <font id="safety-icons" horiz-adv-x="300">
6
+ <font-face font-family="safety-icons"
7
7
  units-per-em="300" ascent="300"
8
8
  descent="0" />
9
9
  <missing-glyph horiz-adv-x="0" />
Binary file
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use 'iconmap';
2
+ @use 'safety-iconmap';
3
3
 
4
4
  @function get-icon-glyph($iconName) {
5
5
  @return map.get($map: iconmap.$glyphs, $key: $iconName);
@@ -12,7 +12,7 @@
12
12
  // convenience mixin defining inline css icons,
13
13
  // including all style-specific font properties,
14
14
  // and the ::before. Only works for single-colored icons!
15
- // To use multicolor icons inline, manually map the glyphs
15
+ // To use multicolor icons inline, manually map the glyphs
16
16
  // to content in pseudo elements using the "get-icon-glyph" function
17
17
 
18
18
  @mixin icon($iconName) {
@@ -29,4 +29,4 @@
29
29
  &::before {
30
30
  content: get-icon-glyph($iconName);
31
31
  }
32
- }
32
+ }
package/core/font.woff2 DELETED
Binary file
package/medical/font.woff DELETED
Binary file
Binary file
package/safety/font.woff2 DELETED
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes