@zohodesk/icons 1.0.0-exp.4 → 1.0.0-temp-101

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 (272) hide show
  1. package/README.md +733 -239
  2. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviBold.woff +0 -0
  3. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviBold.woff2 +0 -0
  4. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviExtrabold.woff +0 -0
  5. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviExtrabold.woff2 +0 -0
  6. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviLight.woff +0 -0
  7. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviLight.woff2 +0 -0
  8. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviMedium.woff +0 -0
  9. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviMedium.woff2 +0 -0
  10. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviRegular.woff +0 -0
  11. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviRegular.woff2 +0 -0
  12. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviSemibold.woff +0 -0
  13. package/assets_final/fonts/webfonts/ZohoPuvi/ZohoPuviSemibold.woff2 +0 -0
  14. package/{assets → assets_final}/fonts/zd-automate.svg +1 -0
  15. package/{assets → assets_final}/fonts/zd-automate.woff +0 -0
  16. package/assets_final/fonts/zd-automate.woff2 +0 -0
  17. package/{assets → assets_final}/fonts/zd-channels.svg +2 -0
  18. package/{assets → assets_final}/fonts/zd-channels.woff +0 -0
  19. package/assets_final/fonts/zd-channels.woff2 +0 -0
  20. package/{assets → assets_final}/fonts/zd-common.svg +3 -0
  21. package/{assets → assets_final}/fonts/zd-common.woff +0 -0
  22. package/assets_final/fonts/zd-common.woff2 +0 -0
  23. package/{assets → assets_final}/fonts/zd-community.svg +1 -0
  24. package/{assets → assets_final}/fonts/zd-community.woff +0 -0
  25. package/assets_final/fonts/zd-community.woff2 +0 -0
  26. package/{assets → assets_final}/fonts/zd-customize.svg +2 -0
  27. package/{assets → assets_final}/fonts/zd-customize.woff +0 -0
  28. package/assets_final/fonts/zd-customize.woff2 +0 -0
  29. package/{assets → assets_final}/fonts/zd-gcFonts.svg +147 -0
  30. package/assets_final/fonts/zd-gcFonts.woff +0 -0
  31. package/assets_final/fonts/zd-gcFonts.woff2 +0 -0
  32. package/{assets → assets_final}/fonts/zd-gettingstarted.svg +1 -1
  33. package/{assets → assets_final}/fonts/zd-gettingstarted.woff +0 -0
  34. package/assets_final/fonts/zd-gettingstarted.woff2 +0 -0
  35. package/assets_final/fonts/zd-rAccessibility.svg +25 -0
  36. package/assets_final/fonts/zd-rAccessibility.woff +0 -0
  37. package/assets_final/fonts/zd-rAccessibility.woff2 +0 -0
  38. package/{assets → assets_final}/fonts/zd-rChannels.svg +50 -48
  39. package/assets_final/fonts/zd-rChannels.woff +0 -0
  40. package/assets_final/fonts/zd-rChannels.woff2 +0 -0
  41. package/{assets → assets_final}/fonts/zd-rCustomize.svg +32 -0
  42. package/assets_final/fonts/zd-rCustomize.woff +0 -0
  43. package/assets_final/fonts/zd-rCustomize.woff2 +0 -0
  44. package/{assets → assets_final}/fonts/zd-rGeneral.svg +59 -8
  45. package/{assets → assets_final}/fonts/zd-rGeneral.woff +0 -0
  46. package/assets_final/fonts/zd-rGeneral.woff2 +0 -0
  47. package/{assets → assets_final}/fonts/zd-rIntegrations.svg +3 -0
  48. package/{assets → assets_final}/fonts/zd-rIntegrations.woff +0 -0
  49. package/assets_final/fonts/zd-rIntegrations.woff2 +0 -0
  50. package/assets_final/fonts/zd-rMarketplace.svg +42 -0
  51. package/assets_final/fonts/zd-rMarketplace.woff +0 -0
  52. package/assets_final/fonts/zd-rMarketplace.woff2 +0 -0
  53. package/{assets → assets_final}/fonts/zd-rReports.svg +11 -0
  54. package/{assets → assets_final}/fonts/zd-rReports.woff +0 -0
  55. package/assets_final/fonts/zd-rReports.woff2 +0 -0
  56. package/{assets → assets_final}/fonts/zd-rSetup.svg +57 -55
  57. package/{assets → assets_final}/fonts/zd-rSetup.woff +0 -0
  58. package/assets_final/fonts/zd-rSetup.woff2 +0 -0
  59. package/{assets → assets_final}/fonts/zd-rTickets.svg +70 -49
  60. package/{assets → assets_final}/fonts/zd-rTickets.woff +0 -0
  61. package/assets_final/fonts/zd-rTickets.woff2 +0 -0
  62. package/{assets → assets_final}/fonts/zd-rTopband.svg +4 -1
  63. package/{assets → assets_final}/fonts/zd-rTopband.woff +0 -0
  64. package/assets_final/fonts/zd-rTopband.woff2 +0 -0
  65. package/{assets → assets_final}/fonts/zd-rTwotone.svg +74 -10
  66. package/{assets → assets_final}/fonts/zd-rTwotone.woff +0 -0
  67. package/assets_final/fonts/zd-rTwotone.woff2 +0 -0
  68. package/{assets → assets_final}/fonts/zd-reports.svg +1 -0
  69. package/{assets → assets_final}/fonts/zd-reports.woff +0 -0
  70. package/assets_final/fonts/zd-reports.woff2 +0 -0
  71. package/{assets → assets_final}/fonts/zd-social.woff +0 -0
  72. package/assets_final/fonts/zd-social.woff2 +0 -0
  73. package/{assets → assets_final}/fonts/zd-ticket-channels.svg +5 -5
  74. package/{assets → assets_final}/fonts/zd-ticket-channels.woff +0 -0
  75. package/assets_final/fonts/zd-ticket-channels.woff2 +0 -0
  76. package/{assets → assets_final}/fonts/zd-tickets.svg +14 -5
  77. package/{assets → assets_final}/fonts/zd-tickets.woff +0 -0
  78. package/assets_final/fonts/zd-tickets.woff2 +0 -0
  79. package/{assets → assets_final}/fonts/zd-topband.svg +1 -1
  80. package/{assets → assets_final}/fonts/zd-topband.woff +0 -0
  81. package/assets_final/fonts/zd-topband.woff2 +0 -0
  82. package/assets_final/react/zd-font-rAccessibility.module.css +67 -0
  83. package/{assets → assets_final}/react/zd-font-rCallBar.module.css +2 -2
  84. package/{assets → assets_final}/react/zd-font-rChannels.module.css +9 -3
  85. package/assets_final/react/zd-font-rCustomize.module.css +189 -0
  86. package/{assets → assets_final}/react/zd-font-rExportFiles.module.css +2 -2
  87. package/{assets → assets_final}/react/zd-font-rGeneral.module.css +193 -11
  88. package/{assets → assets_final}/react/zd-font-rIntegrations.module.css +14 -3
  89. package/{assets → assets_final}/react/zd-font-rLhs.module.css +2 -2
  90. package/{assets → assets_final}/react/zd-font-rMarketplace.module.css +18 -3
  91. package/{assets → assets_final}/react/zd-font-rReports.module.css +54 -3
  92. package/{assets → assets_final}/react/zd-font-rSetup.module.css +62 -56
  93. package/{assets → assets_final}/react/zd-font-rTickets.module.css +123 -53
  94. package/{assets → assets_final}/react/zd-font-rTopband.module.css +12 -3
  95. package/{assets → assets_final}/react/zd-font-rTwotone.module.css +322 -24
  96. package/{assets → assets_final}/react/zd-font-react-addforms.module.css +2 -2
  97. package/{assets → assets_final}/react/zd-font-react-automate.module.css +7 -3
  98. package/{assets → assets_final}/react/zd-font-react-channels.module.css +13 -3
  99. package/{assets → assets_final}/react/zd-font-react-channels.plain.css +13 -3
  100. package/{assets → assets_final}/react/zd-font-react-common.module.css +12 -3
  101. package/{assets → assets_final}/react/zd-font-react-common.plain.css +12 -3
  102. package/{assets → assets_final}/react/zd-font-react-community.module.css +6 -3
  103. package/{assets → assets_final}/react/zd-font-react-customers.module.css +2 -2
  104. package/{assets → assets_final}/react/zd-font-react-customize.module.css +12 -3
  105. package/{assets → assets_final}/react/zd-font-react-gamescope.module.css +2 -2
  106. package/{assets → assets_final}/react/zd-font-react-gcFonts.module.css +513 -3
  107. package/{assets → assets_final}/react/zd-font-react-gettingstarted.module.css +2 -2
  108. package/{assets → assets_final}/react/zd-font-react-integrations.module.css +2 -2
  109. package/{assets → assets_final}/react/zd-font-react-kb.module.css +2 -2
  110. package/{assets → assets_final}/react/zd-font-react-logo.module.css +2 -2
  111. package/{assets → assets_final}/react/zd-font-react-organization.module.css +2 -2
  112. package/{assets → assets_final}/react/zd-font-react-organization.plain.css +2 -2
  113. package/{assets → assets_final}/react/zd-font-react-others.module.css +2 -2
  114. package/{assets → assets_final}/react/zd-font-react-reports.module.css +6 -3
  115. package/{assets → assets_final}/react/zd-font-react-setup.module.css +2 -2
  116. package/{assets → assets_final}/react/zd-font-react-setup.plain.css +2 -2
  117. package/{assets → assets_final}/react/zd-font-react-social.module.css +2 -2
  118. package/{assets → assets_final}/react/zd-font-react-ticket-channels.module.css +2 -2
  119. package/{assets → assets_final}/react/zd-font-react-tickets.module.css +45 -5
  120. package/{assets → assets_final}/react/zd-font-react-tickets.plain.css +45 -5
  121. package/{assets → assets_final}/react/zd-font-react-topband.module.css +2 -2
  122. package/{assets → assets_final}/react/zd-font-react-topband.plain.css +2 -2
  123. package/coverage/Icon/CustomIcons.js.html +439 -0
  124. package/coverage/Icon/FontIcon.js.html +298 -0
  125. package/coverage/Icon/Icon.module.css.html +250 -0
  126. package/coverage/Icon/index.html +146 -0
  127. package/coverage/Icon/props/defaultProps.js.html +100 -0
  128. package/coverage/Icon/props/index.html +131 -0
  129. package/coverage/Icon/props/propTypes.js.html +139 -0
  130. package/coverage/base.css +224 -0
  131. package/coverage/block-navigation.js +87 -0
  132. package/coverage/coverage-final.json +6 -0
  133. package/coverage/coverage-summary.json +7 -0
  134. package/coverage/favicon.png +0 -0
  135. package/coverage/index.html +131 -0
  136. package/coverage/prettify.css +1 -0
  137. package/coverage/prettify.js +2 -0
  138. package/coverage/sort-arrow-sprite.png +0 -0
  139. package/coverage/sorter.js +196 -0
  140. package/es/Icon/CustomIcons.js +10 -1
  141. package/es/Icon/FontFactory.js +310 -28
  142. package/es/Icon/FontIcon.js +21 -44
  143. package/es/Icon/Icon.module.css +56 -43
  144. package/es/Icon/__tests__/FontIcon.spec.js +134 -0
  145. package/es/Icon/__tests__/__snapshots__/FontIcon.spec.js.snap +238 -0
  146. package/es/Icon/asyncComponent.js +2 -4
  147. package/es/Icon/index.js +102 -93
  148. package/es/Icon/props/defaultProps.js +5 -0
  149. package/es/Icon/props/propTypes.js +17 -0
  150. package/es/index.js +1 -6
  151. package/es/v1/FontIcon.js +69 -0
  152. package/es/v1/asyncComponent.js +40 -0
  153. package/es/v1/props/defaultProps.js +5 -0
  154. package/es/v1/props/propTypes.js +17 -0
  155. package/install.md +12 -0
  156. package/lib/Icon/CustomIcons.js +11 -3
  157. package/lib/Icon/FontFactory.js +153 -27
  158. package/lib/Icon/FontIcon.js +28 -50
  159. package/lib/Icon/Icon.module.css +56 -43
  160. package/lib/Icon/__tests__/FontIcon.spec.js +141 -0
  161. package/lib/Icon/__tests__/__snapshots__/FontIcon.spec.js.snap +238 -0
  162. package/lib/Icon/asyncComponent.js +8 -8
  163. package/lib/Icon/index.js +100 -98
  164. package/lib/Icon/props/defaultProps.js +12 -0
  165. package/lib/Icon/props/propTypes.js +28 -0
  166. package/lib/index.js +0 -34
  167. package/lib/v1/FontIcon.js +83 -0
  168. package/lib/v1/asyncComponent.js +107 -0
  169. package/lib/v1/props/defaultProps.js +12 -0
  170. package/lib/v1/props/propTypes.js +28 -0
  171. package/package.json +50 -58
  172. package/postPublish.js +8 -0
  173. package/prePublish.js +70 -0
  174. package/react-cli.config.js +49 -0
  175. package/result.json +1 -0
  176. package/unittest/index.html +37 -0
  177. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviBold.woff +0 -0
  178. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviBold.woff2 +0 -0
  179. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviExtrabold.woff +0 -0
  180. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviExtrabold.woff2 +0 -0
  181. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviLight.woff +0 -0
  182. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviLight.woff2 +0 -0
  183. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviMedium.woff +0 -0
  184. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviMedium.woff2 +0 -0
  185. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviRegular.woff +0 -0
  186. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviRegular.woff2 +0 -0
  187. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviSemibold.woff +0 -0
  188. package/assets/fonts/webfonts/ZohoPuvi/ZohoPuviSemibold.woff2 +0 -0
  189. package/assets/fonts/zd-automate.woff2 +0 -0
  190. package/assets/fonts/zd-channels.woff2 +0 -0
  191. package/assets/fonts/zd-common.woff2 +0 -0
  192. package/assets/fonts/zd-community.woff2 +0 -0
  193. package/assets/fonts/zd-customize.woff2 +0 -0
  194. package/assets/fonts/zd-gcFonts.woff +0 -0
  195. package/assets/fonts/zd-gcFonts.woff2 +0 -0
  196. package/assets/fonts/zd-gettingstarted.woff2 +0 -0
  197. package/assets/fonts/zd-rChannels.woff +0 -0
  198. package/assets/fonts/zd-rChannels.woff2 +0 -0
  199. package/assets/fonts/zd-rCustomize.woff +0 -0
  200. package/assets/fonts/zd-rCustomize.woff2 +0 -0
  201. package/assets/fonts/zd-rGeneral.woff2 +0 -0
  202. package/assets/fonts/zd-rIntegrations.woff2 +0 -0
  203. package/assets/fonts/zd-rMarketplace.svg +0 -38
  204. package/assets/fonts/zd-rMarketplace.woff +0 -0
  205. package/assets/fonts/zd-rMarketplace.woff2 +0 -0
  206. package/assets/fonts/zd-rReports.woff2 +0 -0
  207. package/assets/fonts/zd-rSetup.woff2 +0 -0
  208. package/assets/fonts/zd-rTickets.woff2 +0 -0
  209. package/assets/fonts/zd-rTopband.woff2 +0 -0
  210. package/assets/fonts/zd-rTwotone.woff2 +0 -0
  211. package/assets/fonts/zd-reports.woff2 +0 -0
  212. package/assets/fonts/zd-social.woff2 +0 -0
  213. package/assets/fonts/zd-ticket-channels.woff2 +0 -0
  214. package/assets/fonts/zd-tickets.woff2 +0 -0
  215. package/assets/fonts/zd-topband.woff2 +0 -0
  216. package/assets/react/zd-font-rCustomize.module.css +0 -74
  217. package/es/Icon/docs/Icon__default.docs.js +0 -35
  218. package/es/common/IcondocStyle.module.css +0 -22
  219. package/lib/Icon/docs/Icon__default.docs.js +0 -88
  220. package/lib/common/IcondocStyle.module.css +0 -22
  221. /package/{assets → assets_final}/fonts/gs-zdfonts.svg +0 -0
  222. /package/{assets → assets_final}/fonts/gs-zdfonts.woff +0 -0
  223. /package/{assets → assets_final}/fonts/zd-addforms +0 -0
  224. /package/{assets → assets_final}/fonts/zd-addforms.svg +0 -0
  225. /package/{assets → assets_final}/fonts/zd-addforms.woff +0 -0
  226. /package/{assets → assets_final}/fonts/zd-addforms.woff2 +0 -0
  227. /package/{assets → assets_final}/fonts/zd-customers.svg +0 -0
  228. /package/{assets → assets_final}/fonts/zd-customers.woff +0 -0
  229. /package/{assets → assets_final}/fonts/zd-customers.woff2 +0 -0
  230. /package/{assets → assets_final}/fonts/zd-font-icon-portallist.svg +0 -0
  231. /package/{assets → assets_final}/fonts/zd-font-icon-portallist.woff +0 -0
  232. /package/{assets → assets_final}/fonts/zd-font-icon-portallist.woff2 +0 -0
  233. /package/{assets → assets_final}/fonts/zd-gamescope.svg +0 -0
  234. /package/{assets → assets_final}/fonts/zd-gamescope.woff +0 -0
  235. /package/{assets → assets_final}/fonts/zd-gamescope.woff2 +0 -0
  236. /package/{assets → assets_final}/fonts/zd-integrations.svg +0 -0
  237. /package/{assets → assets_final}/fonts/zd-integrations.woff +0 -0
  238. /package/{assets → assets_final}/fonts/zd-integrations.woff2 +0 -0
  239. /package/{assets → assets_final}/fonts/zd-kb.svg +0 -0
  240. /package/{assets → assets_final}/fonts/zd-kb.woff +0 -0
  241. /package/{assets → assets_final}/fonts/zd-kb.woff2 +0 -0
  242. /package/{assets → assets_final}/fonts/zd-kbeditortools.svg +0 -0
  243. /package/{assets → assets_final}/fonts/zd-kbeditortools.woff +0 -0
  244. /package/{assets → assets_final}/fonts/zd-kbeditortools.woff2 +0 -0
  245. /package/{assets → assets_final}/fonts/zd-logo.svg +0 -0
  246. /package/{assets → assets_final}/fonts/zd-logo.woff +0 -0
  247. /package/{assets → assets_final}/fonts/zd-logo.woff2 +0 -0
  248. /package/{assets → assets_final}/fonts/zd-mobile-marketplace.svg +0 -0
  249. /package/{assets → assets_final}/fonts/zd-mobile-marketplace.woff +0 -0
  250. /package/{assets → assets_final}/fonts/zd-mobile-marketplace.woff2 +0 -0
  251. /package/{assets → assets_final}/fonts/zd-organization.svg +0 -0
  252. /package/{assets → assets_final}/fonts/zd-organization.woff +0 -0
  253. /package/{assets → assets_final}/fonts/zd-organization.woff2 +0 -0
  254. /package/{assets → assets_final}/fonts/zd-others.svg +0 -0
  255. /package/{assets → assets_final}/fonts/zd-others.woff +0 -0
  256. /package/{assets → assets_final}/fonts/zd-others.woff2 +0 -0
  257. /package/{assets → assets_final}/fonts/zd-rCallBar.svg +0 -0
  258. /package/{assets → assets_final}/fonts/zd-rCallBar.woff +0 -0
  259. /package/{assets → assets_final}/fonts/zd-rCallBar.woff2 +0 -0
  260. /package/{assets → assets_final}/fonts/zd-rExportFiles.svg +0 -0
  261. /package/{assets → assets_final}/fonts/zd-rExportFiles.woff +0 -0
  262. /package/{assets → assets_final}/fonts/zd-rExportFiles.woff2 +0 -0
  263. /package/{assets → assets_final}/fonts/zd-rLhs.svg +0 -0
  264. /package/{assets → assets_final}/fonts/zd-rLhs.woff +0 -0
  265. /package/{assets → assets_final}/fonts/zd-rLhs.woff2 +0 -0
  266. /package/{assets → assets_final}/fonts/zd-setup.svg +0 -0
  267. /package/{assets → assets_final}/fonts/zd-setup.woff +0 -0
  268. /package/{assets → assets_final}/fonts/zd-setup.woff2 +0 -0
  269. /package/{assets → assets_final}/fonts/zd-social.svg +0 -0
  270. /package/{assets → assets_final}/fonts/zd-zohohc-kb-articlenotes-font-icon.svg +0 -0
  271. /package/{assets → assets_final}/fonts/zd-zohohc-kb-articlenotes-font-icon.woff +0 -0
  272. /package/{assets → assets_final}/fonts/zd-zohohc-kb-articlenotes-font-icon.woff2 +0 -0
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.IconProps = void 0;
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+
12
+ var IconProps = {
13
+ dataId: _propTypes["default"].string,
14
+ iconClass: _propTypes["default"].string,
15
+ iconContent: _propTypes["default"].object,
16
+ isBold: _propTypes["default"].bool,
17
+ name: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].array]),
18
+ onClick: _propTypes["default"].func,
19
+ pathName: _propTypes["default"].string,
20
+ size: _propTypes["default"].string,
21
+ title: _propTypes["default"].string,
22
+ iconName: _propTypes["default"].string,
23
+ titlePosition: _propTypes["default"].oneOf(['top', 'bottom', 'left', 'right']),
24
+ a11y: _propTypes["default"].shape({
25
+ ariaHidden: _propTypes["default"].bool
26
+ })
27
+ };
28
+ exports.IconProps = IconProps;
package/package.json CHANGED
@@ -1,58 +1,50 @@
1
- {
2
- "name": "@zohodesk/icons",
3
- "umdVar": "Icons",
4
- "version": "1.0.0-exp.4",
5
- "private": false,
6
- "description": "",
7
- "main": "lib/index",
8
- "module": "es/index.js",
9
- "jsnext:main": "es/index.js",
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/vimalceg/fz-dnd.git"
13
- },
14
- "author": "",
15
- "license": "ISC",
16
- "bugs": {
17
- "url": "https://github.com/vimalceg/fz-dnd/issues"
18
- },
19
- "homepage": "https://github.com/vimalceg/fz-dnd#readme",
20
- "scripts": {
21
- "clean": "react-cli clean lib es coverage assets",
22
- "build": "react-cli build:component:cmjs",
23
- "build:dev": "npm run build --module:mode=dev -- -w",
24
- "build:es": "react-cli build:library:es",
25
- "prepare": "npm run init && npm run build && npm run build:es",
26
- "init": "npm run clean && cd ../assets && npm run iconsassets",
27
- "lint": "react-cli lint",
28
- "docs": "react-cli docs",
29
- "postpublish": "react-cli postpublish",
30
- "download": "rm package-lock.json && rm -rf node_modules/ && npm install"
31
- },
32
- "tags": [
33
- "react",
34
- "redux"
35
- ],
36
- "keywords": [
37
- "react",
38
- "redux",
39
- "router"
40
- ],
41
- "dependencies": {},
42
- "devDependencies": {
43
- "@zohodesk/variables": "1.0.0-beta.21"
44
- },
45
- "peerDependencies": {
46
- "@zohodesk/variables": "1.0.0-beta.21"
47
- },
48
- "react-cli": {
49
- "docs": {
50
- "cssUniqueness": "false"
51
- },
52
- "app": {
53
- "removePropTypes": {
54
- "removeImport": true
55
- }
56
- }
57
- }
58
- }
1
+ {
2
+ "name": "@zohodesk/icons",
3
+ "version": "1.0.0-temp-101",
4
+ "description": "DOT - Icons",
5
+ "main": "es/index.js",
6
+ "module": "es/index.js",
7
+ "private": false,
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "author": "Z Team",
12
+ "homepage": "https://www.npmjs.com/search?q=@zohodesk",
13
+ "license": "ISC",
14
+ "keywords": [
15
+ "DOT",
16
+ "ZOHODESK",
17
+ "ZTEAM",
18
+ "LIBRARY"
19
+ ],
20
+ "scripts": {
21
+ "clean": "react-cli clean lib es coverage assets",
22
+ "build": "react-cli build:component:cmjs ",
23
+ "build:watch": "npm run build:es --module:mode=dev -- -w",
24
+ "build:es": "react-cli build:library:es",
25
+ "prepare": "npm run init && npm run build && npm run build:es && npm run valueReplacer",
26
+ "init": "npm run clean && cd ../assets && npm run iconsassets",
27
+ "init_": "npm run clean && cd ../assets && npm run iconsassets_temp",
28
+ "lint": "react-cli lint",
29
+ "docs": "react-cli docs",
30
+ "prepublishOnly": "node prePublish.js && npm run test",
31
+ "postpublish": "node postPublish.js",
32
+ "download": "react-cli clean ./node_modules ./package-lock.json && npm install",
33
+ "valueReplacer": "react-cli valuereplacer ./src ./lib && react-cli valuereplacer ./src ./es && rm -rf ./assets_final && react-cli valuereplacer ./assets ./assets_final true",
34
+ "expublish": "npm publish --tag experimental-version",
35
+ "common_package_build": "cd ../common && npm run build && cd ../components",
36
+ "test": "react-cli test",
37
+ "snap-update": "npm run test -- -u"
38
+ },
39
+ "dependencies": {},
40
+ "devDependencies": {
41
+ "@zohodesk/variables": "1.0.0",
42
+ "@testing-library/jest-dom": "^5.11.9",
43
+ "@testing-library/react": "^11.2.5",
44
+ "@testing-library/react-hooks": "^7.0.2",
45
+ "@testing-library/user-event": "^13.0.10"
46
+ },
47
+ "peerDependencies": {
48
+ "@zohodesk/variables": "1.0.0"
49
+ }
50
+ }
package/postPublish.js ADDED
@@ -0,0 +1,8 @@
1
+ const { execSync } = require('child_process');
2
+ const { version, name } = require('./package.json');
3
+ const tagName = `${name}@${version}`;
4
+ // const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
5
+ console.log(`going to add git tag... ${tagName}`);
6
+
7
+ execSync(`git tag -a ${tagName} -m ${tagName}`, { stdio: 'inherit' });
8
+ execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
package/prePublish.js ADDED
@@ -0,0 +1,70 @@
1
+ const readline = require('readline');
2
+ const { exec } = require('child_process');
3
+
4
+ const rl = readline.createInterface({
5
+ input: process.stdin,
6
+ output: process.stdout
7
+ });
8
+
9
+ console.log('\nNode.js version:', process.version);
10
+
11
+ function runConsole(command, callback) {
12
+ exec(command, (error, stdout, stderr) => {
13
+ if (error) {
14
+ console.error('Error:', error.message);
15
+ return;
16
+ }
17
+
18
+ if (stderr) {
19
+ console.error('Error:', stderr);
20
+ return;
21
+ }
22
+
23
+ const npmVersion = stdout.trim();
24
+ console.log('\n' + command, npmVersion);
25
+ callback && callback();
26
+ });
27
+ }
28
+
29
+ function askQuestion1() {
30
+ rl.question('\nHave you updated the changelog in README.md? (yes/no): ', (answer) => {
31
+ if (answer.toLowerCase() === 'yes') {
32
+ console.log('\nGreat! Proceeding...');
33
+ askQuestion2();
34
+ // rl.close();
35
+ // Call the function or code to proceed further here.
36
+ } else if (answer.toLowerCase() === 'no') {
37
+ rl.close();
38
+ console.log('\nPlease Update the ChangeLog in README.md, then try again');
39
+ // throw new Error('\nPlease Update the ChangeLog in README.md, then try again');
40
+ process.exitCode = 1; // Exit the Node.js process with a success code.
41
+ } else {
42
+ console.log('\nInvalid answer. Please enter "yes" or "no".');
43
+ askQuestion1(); // Ask the question again if the input is not "yes" or "no".
44
+ }
45
+ });
46
+ }
47
+
48
+ function askQuestion2() {
49
+ rl.question('\nHave you verified the test snapshot? (yes/no): ', (answer) => {
50
+ if (answer.toLowerCase() === 'yes') {
51
+ console.log('\nGreat! Proceeding...');
52
+ rl.close();
53
+ // Call the function or code to proceed further here.
54
+ } else if (answer.toLowerCase() === 'no') {
55
+ rl.close();
56
+ //throw new Error('\nPlease Verify the snapshot results, then try again');
57
+ console.log('\nPlease Verify the snapshot results, then try again');
58
+ process.exitCode = 1; // Exit the Node.js process with a success code.
59
+ } else {
60
+ console.log('\nInvalid answer. Please enter "yes" or "no".');
61
+ askQuestion2(); // Ask the question again if the input is not "yes" or "no".
62
+ }
63
+ });
64
+ }
65
+
66
+ function getReactCliVersion() {
67
+ runConsole('react-cli --version', askQuestion1);
68
+ }
69
+
70
+ runConsole('npm --version', getReactCliVersion);
@@ -0,0 +1,49 @@
1
+ exports.config= {
2
+ "css": {
3
+ "valueReplacer": [
4
+ {
5
+ "props": [
6
+ "font",
7
+ "font-family"
8
+ ],
9
+ "values": {
10
+ "zdfonts-rCallBar": "zdf-rCallBar_1",
11
+ "zdfonts-rChannels": "zdf-rChannels_4",
12
+ "zdfonts-rCustomize": "zdf-rCustomize_10",
13
+ "zdfonts-react-addforms": "zdf-react-addforms_1",
14
+ "zdfonts-react-automate": "zdf-react-automate_2",
15
+ "zdfonts-react-channels": "zdf-react-channels_2",
16
+ "zdfonts-react-common": "zdf-react-common_3",
17
+ "zdfonts-react-community": "zdf-react-community_1",
18
+ "zdfonts-react-customers": "zdf-react-customers_1",
19
+ "zdfonts-react-customize": "zdf-react-customize_2",
20
+ "zdfonts-react-gamescope": "zdf-react-gamescope_1",
21
+ "zdfonts-react-gcFonts": "zdf-react-gcFonts_12",
22
+ "zdfonts-react-gettingstarted": "zdf-react-gettingstarted_1",
23
+ "zdfonts-react-integrations": "zdf-react-integrations_1",
24
+ "zdfonts-react-kb": "zdf-react-kb_1",
25
+ "zdfonts-react-logo": "zdf-react-logo_1",
26
+ "zdfonts-react-organization": "zdf-react-organization_1",
27
+ "zdfonts-react-others": "zdf-react-others_1",
28
+ "zdfonts-react-reports": "zdf-react-reports_2",
29
+ "zdfonts-react-setup": "zdf-react-setup_1",
30
+ "zdfonts-react-social": "zdf-react-social_1",
31
+ "zdfonts-ticket-channels": "zdf-ticket-channels_3",
32
+ "zdfonts-react-tickets": "zdf-react-tickets_4",
33
+ "zdfonts-react-topband": "zdf-react-topband_2",
34
+ "zdfonts-rExportFiles": "zdf-rExportFiles_1",
35
+ "zdfonts-rGeneral": "zdf-rGeneral_27",
36
+ "zdfonts-rIntegrations": "zdf-rIntegrations_4",
37
+ "zdfonts-rLhs": "zdf-rLhs_1",
38
+ "zdfonts-rMarketplace": "zdf-rMarketplace_5",
39
+ "zdfonts-rReports": "zdf-rReports_4",
40
+ "zdfonts-rSetup": "zdf-rSetup_3",
41
+ "zdfonts-rTickets": "zdf-rTickets_9",
42
+ "zdfonts-rTopband": "zdf-rTopband_4",
43
+ "zdfonts-rTwotone": "zdf-rTwotone_20",
44
+ "zdfonts-rAccessibility": "zdf-rAccessibility_1"
45
+ }
46
+ }
47
+ ]
48
+ }
49
+ }
package/result.json ADDED
@@ -0,0 +1 @@
1
+ {"jobDetails":{"isRunByLocal":true,"hostName":"prakash-19994","platForm":"Darwin","branchName":"prakash_style_guide"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":17,"numberOfFails":0,"numberOfCases":17,"numberOfSuites":1,"endTime":1725879724349,"startTime":1725879722104,"coverageDetail":{"codeCoveragePercentage":93.59,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/prakash-19994/Works/React/LibraryDesk/jsapps/dot/icons/src/Icon/__tests__/FontIcon.spec.js","CaseList":{"passedCaseList":["rendering the \"default\" props","checking \"isBold\" is true","checking \"isBold\" is false","rendering the \"iconClass\"","rendering the \"fontSize\"","rendering the \"title\"","rendering the \"pathname\"","rendering \"Name\" with \"iconContent\" and without path","rendering \"iconClass\" with path ","rendering \"custumIcon\" with path","rendering \"ariaHidden\" is false","rendering \"IconName\"","rendering custom icon name","rendering the \"titlePostion\" to - top","rendering the \"titlePostion\" to - bottom","rendering the \"titlePostion\" to - left","rendering the \"titlePostion\" to - right"],"failedCaseList":[]}}]}}}
@@ -0,0 +1,37 @@
1
+ <html>
2
+ <head>
3
+ <style>
4
+ .red{
5
+ font-weight:bold;
6
+ color:red;
7
+ }
8
+ .green{
9
+ font-weight:bold;
10
+ color:green;
11
+ }
12
+ table
13
+ {
14
+ font-family: arial, sans-serif;
15
+ border-collapse: collapse;
16
+ }
17
+
18
+ td, th
19
+ {
20
+ border: 1px solid #dddddd;
21
+ padding: 8px;
22
+ }
23
+ </style>
24
+ </head>
25
+ <body>
26
+ <table>
27
+ <tr>
28
+ <th>Title</th>
29
+ <th>FullName</th>
30
+ <th>Test Case Path</th>
31
+ </tr>
32
+
33
+ </table>
34
+ <br/>COVERAGE <span class="green">93.59%</span> <br/> less than 60% consider failure
35
+ </body>
36
+ </html>
37
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,38 +0,0 @@
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="960" descent="-64" />
8
- <missing-glyph horiz-adv-x="1024" />
9
- <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
- <glyph unicode="&#xb4000;" d="M384 628.48l-153.6-1.28v-358.4h153.6v359.68z" />
11
- <glyph unicode="&#xb4001;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM358.4 294.4h-102.4v307.2h102.4zM128 140.8c-14.138 0-25.6 11.462-25.6 25.6v0 563.2c0 14.138 11.462 25.6 25.6 25.6v0h230.4v-102.4h-128c-14.138 0-25.6-11.462-25.6-25.6v0-358.4c0-14.138 11.462-25.6 25.6-25.6v0h128v-102.4zM921.6 166.4c0-14.138-11.462-25.6-25.6-25.6v0h-486.4v614.4h486.4c14.138 0 25.6-11.462 25.6-25.6v0z" />
12
- <glyph unicode="&#xb4002;" d="M844.8 576l-358.4-1.28v-355.84h358.4v357.12z" />
13
- <glyph unicode="&#xb4003;" d="M588.8 652.8c0-14.138-11.462-25.6-25.6-25.6s-25.6 11.462-25.6 25.6c0 14.138 11.462 25.6 25.6 25.6s25.6-11.462 25.6-25.6z" />
14
- <glyph unicode="&#xb4004;" d="M793.6 652.8c0-14.138-11.462-25.6-25.6-25.6s-25.6 11.462-25.6 25.6c0 14.138 11.462 25.6 25.6 25.6s25.6-11.462 25.6-25.6z" />
15
- <glyph unicode="&#xb4005;" d="M691.2 652.8c0-14.138-11.462-25.6-25.6-25.6s-25.6 11.462-25.6 25.6c0 14.138 11.462 25.6 25.6 25.6s25.6-11.462 25.6-25.6z" />
16
- <glyph unicode="&#xb4006;" d="M844.8 601.6v0h-358.4c-14.138 0-25.6-11.462-25.6-25.6v0-358.4c0-14.138 11.462-25.6 25.6-25.6v0h358.4c14.138 0 25.6 11.462 25.6 25.6v0 358.4c0 0.044 0 0.096 0 0.148 0 7.033-2.836 13.403-7.426 18.030l0.002-0.002c-4.625 4.589-10.995 7.424-18.028 7.424-0.052 0-0.104 0-0.156 0h0.008zM819.2 243.2h-307.2v307.2h307.2z" />
17
- <glyph unicode="&#xb4007;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM921.6 166.4c0-14.138-11.462-25.6-25.6-25.6v0h-768c-14.138 0-25.6 11.462-25.6 25.6v0 563.2c0 14.138 11.462 25.6 25.6 25.6v0h768c14.138 0 25.6-11.462 25.6-25.6v0z" />
18
- <glyph unicode="&#xb4008;" d="M947.2 448l-588.8-0.512v-177.408h588.8v177.92z" />
19
- <glyph unicode="&#xb4009;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM921.6 294.4h-537.6v128h537.6zM921.6 473.6h-537.6v128h537.6zM921.6 652.8h-563.2c-14.138 0-25.6-11.462-25.6-25.6v0-358.4c0-14.138 11.462-25.6 25.6-25.6v0h563.2v-76.8c0-14.138-11.462-25.6-25.6-25.6v0h-768c-14.138 0-25.6 11.462-25.6 25.6v0 563.2c0 14.138 11.462 25.6 25.6 25.6v0h768c14.138 0 25.6-11.462 25.6-25.6v0z" />
20
- <glyph unicode="&#xb400a;" d="M947.2 627.2l-588.8-0.512v-177.408h588.8v177.92z" />
21
- <glyph unicode="&#xb400b;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM921.6 473.6h-537.6v128h537.6zM102.4 166.4v563.2c0 14.138 11.462 25.6 25.6 25.6v0h768c14.138 0 25.6-11.462 25.6-25.6v0-76.8h-563.2c-14.138 0-25.6-11.462-25.6-25.6v0-486.4h-204.8c-14.138 0-25.6 11.462-25.6 25.6v0zM896 140.8h-512v281.6h537.6v-256c0-14.138-11.462-25.6-25.6-25.6v0z" />
22
- <glyph unicode="&#xb400c;" d="M947.2 780.8l-435.2-0.768v-204.032h435.2v204.8z" />
23
- <glyph unicode="&#xb400d;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM921.6 729.6v-125.696h-384v151.296h358.4c14.138 0 25.6-11.462 25.6-25.6v0zM128 755.2h358.4v-151.296h-384v125.696c0 14.138 11.462 25.6 25.6 25.6v0zM896 140.8h-768c-14.138 0-25.6 11.462-25.6 25.6v0 386.304h819.2v-386.304c0-14.138-11.462-25.6-25.6-25.6v0z" />
24
- <glyph unicode="&#xb400e;" d="M716.8 780.8l-204.8-0.768v-204.032h204.8v204.8z" />
25
- <glyph unicode="&#xb400f;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM921.6 729.6v-125.696h-179.2v151.296h153.6c14.138 0 25.6-11.462 25.6-25.6v0zM537.6 603.904v151.296h153.6v-151.296zM128 755.2h358.4v-151.296h-384v125.696c0 14.138 11.462 25.6 25.6 25.6v0zM896 140.8h-768c-14.138 0-25.6 11.462-25.6 25.6v0 386.304h819.2v-386.304c0-14.138-11.462-25.6-25.6-25.6v0z" />
26
- <glyph unicode="&#xb4010;" d="M947.2 576l-588.8-1.536v-459.264h588.8v460.8z" />
27
- <glyph unicode="&#xb4011;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM921.6 729.6v-125.696h-537.6v151.296h512c14.138 0 25.6-11.462 25.6-25.6v0zM102.4 166.4v563.2c0 14.138 11.462 25.6 25.6 25.6v0h204.8v-614.4h-204.8c-14.138 0-25.6 11.462-25.6 25.6v0zM896 140.8h-512v411.904h537.6v-386.304c0-14.138-11.462-25.6-25.6-25.6v0z" />
28
- <glyph unicode="&#xb4012;" d="M947.2 780.8l-870.4-0.768v-204.032h870.4v204.8z" />
29
- <glyph unicode="&#xb4013;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM128 755.2h768c14.138 0 25.6-11.462 25.6-25.6v0-125.696h-819.2v125.696c0 14.138 11.462 25.6 25.6 25.6v0zM896 140.8h-768c-14.138 0-25.6 11.462-25.6 25.6v0 386.304h819.2v-386.304c0-14.138-11.462-25.6-25.6-25.6v0z" />
30
- <glyph unicode="&#xb4014;" d="M947.2 115.2l-1.024 665.6h-280.576v-665.6h281.6z" />
31
- <glyph unicode="&#xb4015;" d="M896 806.4h-768c-42.415 0-76.8-34.385-76.8-76.8v0-563.2c0-42.415 34.385-76.8 76.8-76.8v0h768c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM102.4 166.4v563.2c0 14.138 11.462 25.6 25.6 25.6v0h509.184v-614.4h-509.184c-14.138 0-25.6 11.462-25.6 25.6v0zM921.6 166.4c0-14.138-11.462-25.6-25.6-25.6v0h-207.616v614.4h207.616c14.138 0 25.6-11.462 25.6-25.6v0z" />
32
- <glyph unicode="&#xb4016;" d="M128.768 620.288l588.544-0.512v-177.408h-588.544v177.92z" />
33
- <glyph unicode="&#xb4017;" d="M947.2 799.744h-768c-42.415 0-76.8-34.385-76.8-76.8v0-307.2l29.184 18.432 29.44-18.688h530.176v-121.088h-380.16v-51.2h380.16v-109.824h-380.16v-7.168l-69.632-43.264h705.792c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM691.2 466.944h-537.6v128h537.6zM972.8 159.744c0-14.138-11.462-25.6-25.6-25.6v0h-204.8v485.632c0 14.138-11.462 25.6-25.6 25.6v0h-563.2v76.8c0 14.138 11.462 25.6 25.6 25.6v0h768c14.138 0 25.6-11.462 25.6-25.6v0zM0 295.936v-143.104l132.096-83.456 131.84 83.456v143.104l-131.584 83.456zM236.544 285.184v0-95.744c0-0.068 0.001-0.148 0.001-0.228 0-16.297-8.752-30.549-21.811-38.315l-0.205-0.113-82.176-47.872-82.688 47.872c-13.265 7.878-22.017 22.131-22.017 38.428 0 0.080 0 0.161 0.001 0.241v-0.012 95.744l104.704 60.416zM132.608 250.368l-59.904 34.816 59.904 34.816 59.648-34.56zM69.12 166.4l37.12-21.76c6.363-3.719 11.797-7.44 16.951-11.5l-0.311 0.236v95.744c-14.080 8.448-44.8 25.6-72.704 42.24h1.024v-73.216c-0.004-0.209-0.007-0.455-0.007-0.702 0-13.199 7.135-24.731 17.758-30.951l0.169-0.092zM69.12 234.496l45.824-25.6v-8.192l-45.824 25.6zM69.12 217.088l45.824-25.6v-8.192l-45.824 25.6zM69.12 199.68l33.28-18.176v-8.192l-33.536 18.688zM184.32 254.464l28.928 16.896v-73.216c0.004-0.209 0.007-0.455 0.007-0.702 0-13.199-7.135-24.731-17.758-30.951l-0.169-0.092-37.12-21.76c-6.314-3.656-11.753-7.463-16.84-11.681l0.2 0.161v96l20.736 12.032v-51.2l12.544 21.248 10.496-7.936z" />
34
- <glyph unicode="&#xb4018;" d="M128 620.288l588.8-0.512v-177.408h-588.8v177.92z" />
35
- <glyph unicode="&#xb4019;" d="M947.2 799.744h-768c-42.415 0-76.8-34.385-76.8-76.8v0-307.2l29.44 18.688 29.44-18.688h529.92v-281.6h-380.416v-7.168l-69.632-44.032h706.048c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0 42.415-34.385 76.8-76.8 76.8v0zM691.2 466.944h-537.6v128h537.6zM972.8 159.744c0-14.138-11.462-25.6-25.6-25.6v0h-204.8v485.632c0 14.138-11.462 25.6-25.6 25.6v0h-563.2v76.8c0 14.138 11.462 25.6 25.6 25.6v0h768c14.138 0 25.6-11.462 25.6-25.6v0zM0 295.936v-143.104l132.096-83.456 131.84 83.456v143.104l-131.84 83.456zM236.544 285.184v0-95.744c0-0.068 0.001-0.148 0.001-0.228 0-16.297-8.752-30.549-21.811-38.315l-0.205-0.113-82.432-47.872-82.688 47.872c-13.265 7.878-22.017 22.131-22.017 38.428 0 0.080 0 0.161 0.001 0.241v-0.012 95.744l104.704 60.416zM132.352 250.368l-59.904 34.816 59.904 34.816 59.648-34.816zM68.864 166.4l37.12-21.76c6.363-3.719 11.797-7.44 16.951-11.5l-0.311 0.236v95.744c-14.080 8.448-44.8 25.6-72.704 42.24h1.28v-73.216c-0.006-0.253-0.010-0.55-0.010-0.849 0-13.096 7.024-24.551 17.51-30.804l0.164-0.091zM68.864 234.496l45.824-25.6v-8.192l-45.824 25.6zM68.864 217.088l45.824-25.6v-8.192l-45.824 25.6zM68.864 199.68l33.536-18.176v-8.192l-33.792 18.688zM184.32 253.696l28.928 16.896v-73.216c-0.080-13.219-7.303-24.733-18.002-30.884l-0.174-0.092-37.12-21.76c-6.314-3.656-11.753-7.463-16.84-11.681l0.2 0.161v96l20.736 12.032v-51.2l12.544 21.248 10.496-7.936z" />
36
- <glyph unicode="&#xb401a;" d="M717.312 619.264v-511.488h-435.2l28.16 17.92v194.816l-178.688 112.896-3.328-2.048v189.696l589.056-1.792z" />
37
- <glyph unicode="&#xb401b;" d="M947.2 800.256h-768c-42.415 0-76.8-34.385-76.8-76.8v0-307.2l25.6 16.128 3.328 2.048 22.272-14.080v175.104h537.6v-460.8h-380.928v-8.96l-28.416-17.92-38.4-25.6h703.744c42.415 0 76.8 34.385 76.8 76.8v0 563.2c0.007 0.381 0.011 0.83 0.011 1.28 0 42.415-34.385 76.8-76.8 76.8-0.004 0-0.007 0-0.011 0h0.001zM972.8 160.256c0-14.138-11.462-25.6-25.6-25.6v0h-204.8v486.4c0 14.138-11.462 25.6-25.6 25.6v0h-563.2v76.8c0 14.138 11.462 25.6 25.6 25.6v0h768c14.138 0 25.6-11.462 25.6-25.6v0zM0 294.4v-143.104l131.84-83.456 132.096 83.456v143.104l-132.352 83.712zM236.544 283.648v0-96c-0.010-16.286-8.759-30.526-21.811-38.287l-0.205-0.113-82.944-47.872-82.432 48.128c-13.395 7.778-22.261 22.053-22.272 38.398v96.002l104.704 61.696zM131.84 249.088l-59.648 34.816 59.648 34.56 59.904-34.56zM68.352 166.4l37.376-21.504c6.207-3.648 11.562-7.454 16.563-11.667l-0.179 0.147h1.28v94.464l-72.192 40.96v-73.472c0.684-12.218 7.304-22.754 17-28.839l0.152-0.089zM68.352 234.752l46.080-26.88v-7.936l-46.080 25.6zM68.352 217.344l46.080-25.6v-8.192l-46.080 25.6zM68.352 199.936l32.768-19.2v-7.936l-33.024 19.2zM183.808 253.952l28.672 14.848v-73.472c-0.659-12.347-7.518-22.957-17.498-28.837l-0.166-0.091-37.376-21.504c-6.207-3.648-11.562-7.454-16.563-11.667l0.179 0.147v94.464l20.736 12.032v-51.2l12.544 21.248 10.496-7.936z" />
38
- </font></defs></svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,74 +0,0 @@
1
- /*$Id$*/
2
- @font-face {
3
- font-family:"zdfonts-rCustomize";
4
- src:
5
- url('../fonts/zd-rCustomize.woff2') format('woff2'),
6
-
7
- url('../fonts/zd-rCustomize.woff') format('woff'),
8
- url('../fonts/zd-rCustomize.svg#zdfonts') format('svg');
9
- font-weight: normal;
10
- font-style: normal;
11
- font-display: block;
12
- }
13
-
14
- .icon-callStatus,.icon-callTransfer,.icon-currency,.icon-dateTimePicker,.icon-decimal,.icon-doller,.icon-integer,.icon-layout,.icon-lookUp,.icon-multiselect,.icon-percentage,.icon-removefield,.icon-replace,.icon-selectLine,.icon-text,.icon-textArea,.icon-textType,.icon-customAction,.icon-formula{
15
- font-family:"zdfonts-rCustomize" !important;
16
- }
17
-
18
- .icon-callStatus:before {
19
- content: "\b7000";
20
- }
21
- .icon-callTransfer:before {
22
- content: "\b7001";
23
- }
24
- .icon-currency:before {
25
- content: "\b7002";
26
- }
27
- .icon-dateTimePicker:before {
28
- content: "\b7003";
29
- }
30
- .icon-decimal:before {
31
- content: "\b7004";
32
- }
33
- .icon-doller:before {
34
- content: "\b7005";
35
- }
36
- .icon-integer:before {
37
- content: "\b7006";
38
- }
39
- .icon-layout:before {
40
- content: "\b7007";
41
- }
42
- .icon-lookUp:before {
43
- content: "\b7008";
44
- }
45
- .icon-multiselect:before {
46
- content: "\b7009";
47
- }
48
- .icon-percentage:before {
49
- content: "\b700a";
50
- }
51
- .icon-removefield:before {
52
- content: "\b700b";
53
- }
54
- .icon-replace:before {
55
- content: "\b700c";
56
- }
57
- .icon-selectLine:before {
58
- content: "\b700d";
59
- }
60
- .icon-text:before {
61
- content: "\b700e";
62
- }
63
- .icon-textArea:before {
64
- content: "\b700f";
65
- }
66
- .icon-textType:before {
67
- content: "\b7010";
68
- }
69
- .icon-customAction:before {
70
- content: "\b7011";
71
- }
72
- .icon-formula:before {
73
- content: "\b7012";
74
- }
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import Icon from '../';
3
- import style from '../../common/IcondocStyle.module.css';
4
- import { FontFactory } from '../FontFactory';
5
- export default class Icon__default extends React.Component {
6
- render() {
7
- let Icons = {};
8
- return /*#__PURE__*/React.createElement("div", null, Object.keys(FontFactory).map((item, i) => {
9
- Icons = {};
10
- Object.keys(item).sort().forEach(key => {
11
- Icons[key] = item[key];
12
- });
13
- return /*#__PURE__*/React.createElement("div", {
14
- key: i
15
- }, /*#__PURE__*/React.createElement("div", {
16
- style: {
17
- padding: '10px',
18
- background: '#f5f5f5',
19
- margin: '10px 0 20px',
20
- fontWeight: 'bold'
21
- }
22
- }, `${item} (${Object.keys(FontFactory[item]).length})`), Object.keys(FontFactory[item]).map((iconName, iconCount) => /*#__PURE__*/React.createElement("div", {
23
- className: style.font_grid,
24
- key: iconCount
25
- }, /*#__PURE__*/React.createElement(Icon, {
26
- name: iconName,
27
- size: "20"
28
- }), /*#__PURE__*/React.createElement("p", null, iconName))));
29
- }));
30
- }
31
-
32
- }
33
- Icon__default.docs = {
34
- componentGroup: 'Icon'
35
- };
@@ -1,22 +0,0 @@
1
- .font_grid {
2
- border-radius: 3px;
3
- text-align: center;
4
- width: 8.0625rem;
5
- box-shadow: 0 0 14px -1px #00000014;
6
- margin: 0 1.125rem 1.125rem 0;
7
- padding: 1.375rem 0.625rem 1.3125rem;
8
- display: inline-block;
9
- position: relative;
10
- overflow: hidden;
11
- }
12
- .font_grid > span {
13
- display: inline-block;
14
- }
15
- .font_grid p {
16
- margin-top: 0.9375rem;
17
- font: 0.8125rem Semibold;
18
- color: #2d313e;
19
- overflow: hidden;
20
- white-space: nowrap;
21
- text-overflow: ellipsis;
22
- }