@zohodesk/icons 1.3.2 → 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.
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  In this GiftBox we Provide FontIcons
4
4
 
5
+ # 1.3.3
6
+
7
+ - ReactIMReact --> New icon set created.
8
+
5
9
  # 1.3.2
6
10
 
7
11
  - Introduced SvgIcon, IconContext, and IconProvider to enable centralized control of SvgIcon behavior through IconProvider.
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="1024" descent="0" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="0" d="" />
10
+ <glyph unicode="&#xc7500;" glyph-name="endChat" d="M753.408 832.256h-482.816c-42.24 0-76.8-34.56-76.8-76.8v-342.272c0-42.24 34.56-76.8 76.8-76.8h56.32v-95.744c0-19.968 12.032-37.632 30.464-45.312 5.888-2.304 12.288-3.584 18.432-3.584 13.056 0 25.6 5.12 35.072 14.848l125.696 129.792h216.832c42.24 0 76.8 34.56 76.8 76.8v342.272c0 42.24-34.56 76.8-76.8 76.8zM779.008 413.184c0-14.080-11.52-25.6-25.6-25.6h-227.584c-6.912 0-13.568-2.816-18.432-7.68l-129.024-133.376v115.456c0 14.080-11.52 25.6-25.6 25.6h-81.92c-14.080 0-25.6 11.52-25.6 25.6v342.272c0 14.080 11.52 25.6 25.6 25.6h482.56c14.080 0 25.6-11.52 25.6-25.6v-342.272zM612.096 652.032l-59.904-59.904 59.904-59.904c9.984-9.984 9.984-26.112 0-36.096-5.12-5.12-11.52-7.424-18.176-7.424s-13.056 2.56-18.176 7.424l-59.904 59.904-59.904-59.904c-5.12-5.12-11.52-7.424-18.176-7.424s-13.056 2.56-18.176 7.424c-9.984 9.984-9.984 26.112 0 36.096l59.904 59.904-59.904 59.904c-9.984 9.984-9.984 26.112 0 36.096s26.112 9.984 36.096 0l59.904-59.904 59.904 59.904c9.984 9.984 26.112 9.984 36.096 0s9.984-26.112 0-36.096z" />
11
+ </font></defs></svg>
Binary file
Binary file
@@ -0,0 +1,20 @@
1
+ @font-face{
2
+ font-family:"zdfonts-rIM";
3
+ src:url('../fonts/zd-rIM.woff2') format('woff2'), url('../fonts/zd-rIM.woff') format('woff'), url('../fonts/zd-rIM.svg#zdfonts') format('svg');
4
+ font-weight:normal;
5
+ font-style:normal;
6
+ font-display:block;
7
+ }
8
+
9
+ @layer dot-icons.core {
10
+ /*$Id$*/
11
+
12
+
13
+ .icon-endChat{
14
+ font-family:"zdfonts-rIM" !important;
15
+ }
16
+
17
+ .icon-endChat:before{
18
+ content:"\c7500";
19
+ }
20
+ }
@@ -2415,5 +2415,8 @@ export const FontFactory = {
2415
2415
  'ZD-AC-stackedBar': ['icon-stackedBar', 2],
2416
2416
  'ZD-AC-askZia': 'icon-askZia',
2417
2417
  'ZD-AC-growth': 'icon-growth'
2418
+ },
2419
+ ReactIMIcon: {
2420
+ 'ZD-IM-endChat': 'icon-endChat'
2418
2421
  }
2419
2422
  };
package/es/Icon/index.js CHANGED
@@ -157,6 +157,10 @@ function getReactAnalyticsColor() {
157
157
  return require("../../assets/react/zd-font-rAnalyticsColor.module.css");
158
158
  }
159
159
 
160
+ function getReactIM() {
161
+ return require("../../assets/react/zd-font-rIM.module.css");
162
+ }
163
+
160
164
  function IconRender(iconName, iconContent, props) {
161
165
  const {
162
166
  name,
@@ -226,7 +230,8 @@ function getIcon(props) {
226
230
  ReactAIIcon: getReactAI,
227
231
  ReactAutomationIcon: getReactAutomation,
228
232
  ReactDeveloperSpaceIcon: getReactDeveloperSpace,
229
- ReactAnalyticsColorIcon: getReactAnalyticsColor
233
+ ReactAnalyticsColorIcon: getReactAnalyticsColor,
234
+ ReactIMIcon: getReactIM
230
235
  };
231
236
  const iconNames = Object.keys(FontFactory);
232
237
 
@@ -2053,6 +2053,9 @@ var FontFactory = {
2053
2053
  'ZD-AC-stackedBar': ['icon-stackedBar', 2],
2054
2054
  'ZD-AC-askZia': 'icon-askZia',
2055
2055
  'ZD-AC-growth': 'icon-growth'
2056
+ },
2057
+ ReactIMIcon: {
2058
+ 'ZD-IM-endChat': 'icon-endChat'
2056
2059
  }
2057
2060
  };
2058
2061
  exports.FontFactory = FontFactory;
package/lib/Icon/index.js CHANGED
@@ -177,6 +177,10 @@ function getReactAnalyticsColor() {
177
177
  return require("../../assets/react/zd-font-rAnalyticsColor.module.css");
178
178
  }
179
179
 
180
+ function getReactIM() {
181
+ return require("../../assets/react/zd-font-rIM.module.css");
182
+ }
183
+
180
184
  function IconRender(iconName, iconContent, props) {
181
185
  var name = props.name,
182
186
  onClick = props.onClick,
@@ -244,7 +248,8 @@ function getIcon(props) {
244
248
  ReactAIIcon: getReactAI,
245
249
  ReactAutomationIcon: getReactAutomation,
246
250
  ReactDeveloperSpaceIcon: getReactDeveloperSpace,
247
- ReactAnalyticsColorIcon: getReactAnalyticsColor
251
+ ReactAnalyticsColorIcon: getReactAnalyticsColor,
252
+ ReactIMIcon: getReactIM
248
253
  };
249
254
  var iconNames = Object.keys(_FontFactory.FontFactory);
250
255
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/icons",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "DOT - Icons",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",
@@ -66,4 +66,4 @@
66
66
  "@dot-system/css-utility": "0.1.1",
67
67
  "@zohodesk/dotkit": "1.0.9"
68
68
  }
69
- }
69
+ }