@zohodesk/icons 1.3.9 → 1.3.11

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.
@@ -4,7 +4,7 @@ exports[`SvgIcon - rendering the "default" props 1`] = `
4
4
  <DocumentFragment>
5
5
  <svg
6
6
  aria-hidden="true"
7
- class="svgIcon "
7
+ class="svgIcon"
8
8
  data-id="fontIcon"
9
9
  data-selector-id="fontIcon"
10
10
  data-test-id="fontIcon"
@@ -20,7 +20,7 @@ exports[`SvgIcon - rendering with "ariaHidden" false 1`] = `
20
20
  <DocumentFragment>
21
21
  <svg
22
22
  aria-hidden="false"
23
- class="svgIcon "
23
+ class="svgIcon"
24
24
  data-id="fontIcon"
25
25
  data-selector-id="fontIcon"
26
26
  data-test-id="fontIcon"
@@ -36,7 +36,7 @@ exports[`SvgIcon - rendering with "iconClass" 1`] = `
36
36
  <DocumentFragment>
37
37
  <svg
38
38
  aria-hidden="true"
39
- class="svgIcon myIconClass "
39
+ class="svgIcon myIconClass"
40
40
  data-id="fontIcon"
41
41
  data-selector-id="fontIcon"
42
42
  data-test-id="fontIcon"
@@ -52,7 +52,7 @@ exports[`SvgIcon - rendering with "name" and "svgPrefix" 1`] = `
52
52
  <DocumentFragment>
53
53
  <svg
54
54
  aria-hidden="true"
55
- class="svgIcon "
55
+ class="svgIcon"
56
56
  data-id="fontIcon"
57
57
  data-selector-id="fontIcon"
58
58
  data-test-id="fontIcon"
@@ -68,7 +68,7 @@ exports[`SvgIcon - rendering with "size" 1`] = `
68
68
  <DocumentFragment>
69
69
  <svg
70
70
  aria-hidden="true"
71
- class="svgIcon "
71
+ class="svgIcon"
72
72
  data-id="fontIcon"
73
73
  data-selector-id="fontIcon"
74
74
  data-test-id="fontIcon"
@@ -85,7 +85,7 @@ exports[`SvgIcon - rendering with "tagAttributes" 1`] = `
85
85
  <DocumentFragment>
86
86
  <svg
87
87
  aria-hidden="true"
88
- class="svgIcon "
88
+ class="svgIcon"
89
89
  data-custom-attr="true"
90
90
  data-id="fontIcon"
91
91
  data-selector-id="fontIcon"
@@ -102,7 +102,7 @@ exports[`SvgIcon - rendering with "title" 1`] = `
102
102
  <DocumentFragment>
103
103
  <svg
104
104
  aria-hidden="true"
105
- class="svgIcon "
105
+ class="svgIcon"
106
106
  data-id="fontIcon"
107
107
  data-selector-id="fontIcon"
108
108
  data-test-id="fontIcon"
@@ -119,7 +119,7 @@ exports[`SvgIcon - rendering with "titlePosition" - bottom 1`] = `
119
119
  <DocumentFragment>
120
120
  <svg
121
121
  aria-hidden="true"
122
- class="svgIcon "
122
+ class="svgIcon"
123
123
  data-id="fontIcon"
124
124
  data-selector-id="fontIcon"
125
125
  data-test-id="fontIcon"
@@ -136,7 +136,7 @@ exports[`SvgIcon - rendering with "titlePosition" - left 1`] = `
136
136
  <DocumentFragment>
137
137
  <svg
138
138
  aria-hidden="true"
139
- class="svgIcon "
139
+ class="svgIcon"
140
140
  data-id="fontIcon"
141
141
  data-selector-id="fontIcon"
142
142
  data-test-id="fontIcon"
@@ -153,7 +153,7 @@ exports[`SvgIcon - rendering with "titlePosition" - right 1`] = `
153
153
  <DocumentFragment>
154
154
  <svg
155
155
  aria-hidden="true"
156
- class="svgIcon "
156
+ class="svgIcon"
157
157
  data-id="fontIcon"
158
158
  data-selector-id="fontIcon"
159
159
  data-test-id="fontIcon"
@@ -170,7 +170,7 @@ exports[`SvgIcon - rendering with "titlePosition" - top 1`] = `
170
170
  <DocumentFragment>
171
171
  <svg
172
172
  aria-hidden="true"
173
- class="svgIcon "
173
+ class="svgIcon"
174
174
  data-id="fontIcon"
175
175
  data-selector-id="fontIcon"
176
176
  data-test-id="fontIcon"
@@ -187,7 +187,7 @@ exports[`SvgIcon - rendering with external sprite "svgPrefix" 1`] = `
187
187
  <DocumentFragment>
188
188
  <svg
189
189
  aria-hidden="true"
190
- class="svgIcon "
190
+ class="svgIcon"
191
191
  data-id="fontIcon"
192
192
  data-selector-id="fontIcon"
193
193
  data-test-id="fontIcon"
@@ -0,0 +1,197 @@
1
+ function getAddforms() {
2
+ return require("../../assets/react/zd-font-react-addforms.module.css");
3
+ }
4
+
5
+ function getAutomate() {
6
+ return require("../../assets/react/zd-font-react-automate.module.css");
7
+ }
8
+
9
+ function getChannels() {
10
+ return require("../../assets/react/zd-font-react-channels.module.css");
11
+ }
12
+
13
+ function getCommon() {
14
+ return require("../../assets/react/zd-font-react-common.module.css");
15
+ }
16
+
17
+ function getCommunity() {
18
+ return require("../../assets/react/zd-font-react-community.module.css");
19
+ }
20
+
21
+ function getCustomers() {
22
+ return require("../../assets/react/zd-font-react-customers.module.css");
23
+ }
24
+
25
+ function getCustomize() {
26
+ return require("../../assets/react/zd-font-react-customize.module.css");
27
+ }
28
+
29
+ function getGamescope() {
30
+ return require("../../assets/react/zd-font-react-gamescope.module.css");
31
+ }
32
+
33
+ function getGettingstarted() {
34
+ return require("../../assets/react/zd-font-react-gettingstarted.module.css");
35
+ }
36
+
37
+ function getKnowledgeBase() {
38
+ return require("../../assets/react/zd-font-react-kb.module.css");
39
+ }
40
+
41
+ function getOrganization() {
42
+ return require("../../assets/react/zd-font-react-organization.module.css");
43
+ }
44
+
45
+ function getOthers() {
46
+ return require("../../assets/react/zd-font-react-others.module.css");
47
+ }
48
+
49
+ function getReports() {
50
+ return require("../../assets/react/zd-font-react-reports.module.css");
51
+ }
52
+
53
+ function getSetup() {
54
+ return require("../../assets/react/zd-font-react-setup.module.css");
55
+ }
56
+
57
+ function getSocial() {
58
+ return require("../../assets/react/zd-font-react-social.module.css");
59
+ }
60
+
61
+ function getTickets() {
62
+ return require("../../assets/react/zd-font-react-tickets.module.css");
63
+ }
64
+
65
+ function getTopband() {
66
+ return require("../../assets/react/zd-font-react-topband.module.css");
67
+ }
68
+
69
+ function getTicketsChannel() {
70
+ return require("../../assets/react/zd-font-react-ticket-channels.module.css");
71
+ }
72
+
73
+ function getReactCallBar() {
74
+ return require("../../assets/react/zd-font-rCallBar.module.css");
75
+ }
76
+
77
+ function getReactChannels() {
78
+ return require("../../assets/react/zd-font-rChannels.module.css");
79
+ }
80
+
81
+ function getReactCutomize() {
82
+ return require("../../assets/react/zd-font-rCustomize.module.css");
83
+ }
84
+
85
+ function getReactExportFiles() {
86
+ return require("../../assets/react/zd-font-rExportFiles.module.css");
87
+ }
88
+
89
+ function getReactGeneral() {
90
+ return require("../../assets/react/zd-font-rGeneral.module.css");
91
+ }
92
+
93
+ function getReactIntegrations() {
94
+ return require("../../assets/react/zd-font-rIntegrations.module.css");
95
+ }
96
+
97
+ function getReactLhs() {
98
+ return require("../../assets/react/zd-font-rLhs.module.css");
99
+ }
100
+
101
+ function getReactMarketplace() {
102
+ return require("../../assets/react/zd-font-rMarketplace.module.css");
103
+ }
104
+
105
+ function getReactReports() {
106
+ return require("../../assets/react/zd-font-rReports.module.css");
107
+ }
108
+
109
+ function getReactSetup() {
110
+ return require("../../assets/react/zd-font-rSetup.module.css");
111
+ }
112
+
113
+ function getReactTickets() {
114
+ return require("../../assets/react/zd-font-rTickets.module.css");
115
+ }
116
+
117
+ function getReactTopband() {
118
+ return require("../../assets/react/zd-font-rTopband.module.css");
119
+ }
120
+
121
+ function getReactGC() {
122
+ return require("../../assets/react/zd-font-react-gcFonts.module.css");
123
+ }
124
+
125
+ function getReactTwotone() {
126
+ return require("../../assets/react/zd-font-rTwotone.module.css");
127
+ }
128
+
129
+ function getReactAccessibility() {
130
+ return require("../../assets/react/zd-font-rAccessibility.module.css");
131
+ }
132
+
133
+ function getReactUpdates() {
134
+ return require("../../assets/react/zd-font-rUpdates.module.css");
135
+ }
136
+
137
+ function getReactAI() {
138
+ return require("../../assets/react/zd-font-rAI.module.css");
139
+ }
140
+
141
+ function getReactAutomation() {
142
+ return require("../../assets/react/zd-font-rAutomation.module.css");
143
+ }
144
+
145
+ function getReactDeveloperSpace() {
146
+ return require("../../assets/react/zd-font-rDeveloperSpace.module.css");
147
+ }
148
+
149
+ function getReactAnalyticsColor() {
150
+ return require("../../assets/react/zd-font-rAnalyticsColor.module.css");
151
+ }
152
+
153
+ function getReactIM() {
154
+ return require("../../assets/react/zd-font-rIM.module.css");
155
+ }
156
+
157
+ export const filesMap = {
158
+ AddformsFontIcon: getAddforms,
159
+ AutomateFontIcon: getAutomate,
160
+ ChannelsFontIcon: getChannels,
161
+ CommonFontIcon: getCommon,
162
+ CommunityFontIcon: getCommunity,
163
+ CustomersFontIcon: getCustomers,
164
+ CustomizeFontIcon: getCustomize,
165
+ GamescopeFontIcon: getGamescope,
166
+ GettingstartedFontIcon: getGettingstarted,
167
+ KnowledgeBaseFontIcon: getKnowledgeBase,
168
+ OrganizationFontIcon: getOrganization,
169
+ OthersFontIcon: getOthers,
170
+ ReportsFontIcon: getReports,
171
+ SetupFontIcon: getSetup,
172
+ SocialFontIcon: getSocial,
173
+ TicketsFontIcon: getTickets,
174
+ TopbandFontIcon: getTopband,
175
+ TicketsChannelFontIcon: getTicketsChannel,
176
+ ReactCallBarFontIcon: getReactCallBar,
177
+ ReactChannelsFontIcon: getReactChannels,
178
+ ReactCustomizeFontIcon: getReactCutomize,
179
+ ReactExportFilesFontIcon: getReactExportFiles,
180
+ ReactGeneralFontIcon: getReactGeneral,
181
+ ReactIntegrationsFontIcon: getReactIntegrations,
182
+ ReactLhsFontIcon: getReactLhs,
183
+ ReactMarketplaceFontIcon: getReactMarketplace,
184
+ ReactReportsFontIcon: getReactReports,
185
+ ReactSetupFontIcon: getReactSetup,
186
+ ReactTicketsFontIcon: getReactTickets,
187
+ ReactTopbandFontIcon: getReactTopband,
188
+ ReactGCFontIcon: getReactGC,
189
+ ReactTwotoneIcon: getReactTwotone,
190
+ ReactAccessibilityIcon: getReactAccessibility,
191
+ ReactProductUpdatesIcon: getReactUpdates,
192
+ ReactAIIcon: getReactAI,
193
+ ReactAutomationIcon: getReactAutomation,
194
+ ReactDeveloperSpaceIcon: getReactDeveloperSpace,
195
+ ReactAnalyticsColorIcon: getReactAnalyticsColor,
196
+ ReactIMIcon: getReactIM
197
+ };
package/es/Icon/index.js CHANGED
@@ -4,162 +4,7 @@ import FontIcon from "./FontIcon";
4
4
  import IconContext from "../Context/IconContext";
5
5
  import SvgIcon from "./SvgIcon";
6
6
  import { DUMMY_OBJECT } from '@zohodesk/dotkit/es/utils/constants';
7
-
8
- function getAddforms() {
9
- return require("../../assets/react/zd-font-react-addforms.module.css");
10
- }
11
-
12
- function getAutomate() {
13
- return require("../../assets/react/zd-font-react-automate.module.css");
14
- }
15
-
16
- function getChannels() {
17
- return require("../../assets/react/zd-font-react-channels.module.css");
18
- }
19
-
20
- function getCommon() {
21
- return require("../../assets/react/zd-font-react-common.module.css");
22
- }
23
-
24
- function getCommunity() {
25
- return require("../../assets/react/zd-font-react-community.module.css");
26
- }
27
-
28
- function getCustomers() {
29
- return require("../../assets/react/zd-font-react-customers.module.css");
30
- }
31
-
32
- function getCustomize() {
33
- return require("../../assets/react/zd-font-react-customize.module.css");
34
- }
35
-
36
- function getGamescope() {
37
- return require("../../assets/react/zd-font-react-gamescope.module.css");
38
- }
39
-
40
- function getGettingstarted() {
41
- return require("../../assets/react/zd-font-react-gettingstarted.module.css");
42
- }
43
-
44
- function getKnowledgeBase() {
45
- return require("../../assets/react/zd-font-react-kb.module.css");
46
- }
47
-
48
- function getOrganization() {
49
- return require("../../assets/react/zd-font-react-organization.module.css");
50
- }
51
-
52
- function getOthers() {
53
- return require("../../assets/react/zd-font-react-others.module.css");
54
- }
55
-
56
- function getReports() {
57
- return require("../../assets/react/zd-font-react-reports.module.css");
58
- }
59
-
60
- function getSetup() {
61
- return require("../../assets/react/zd-font-react-setup.module.css");
62
- }
63
-
64
- function getSocial() {
65
- return require("../../assets/react/zd-font-react-social.module.css");
66
- }
67
-
68
- function getTickets() {
69
- return require("../../assets/react/zd-font-react-tickets.module.css");
70
- }
71
-
72
- function getTopband() {
73
- return require("../../assets/react/zd-font-react-topband.module.css");
74
- }
75
-
76
- function getTicketsChannel() {
77
- return require("../../assets/react/zd-font-react-ticket-channels.module.css");
78
- }
79
-
80
- function getReactCallBar() {
81
- return require("../../assets/react/zd-font-rCallBar.module.css");
82
- }
83
-
84
- function getReactChannels() {
85
- return require("../../assets/react/zd-font-rChannels.module.css");
86
- }
87
-
88
- function getReactCutomize() {
89
- return require("../../assets/react/zd-font-rCustomize.module.css");
90
- }
91
-
92
- function getReactExportFiles() {
93
- return require("../../assets/react/zd-font-rExportFiles.module.css");
94
- }
95
-
96
- function getReactGeneral() {
97
- return require("../../assets/react/zd-font-rGeneral.module.css");
98
- }
99
-
100
- function getReactIntegrations() {
101
- return require("../../assets/react/zd-font-rIntegrations.module.css");
102
- }
103
-
104
- function getReactLhs() {
105
- return require("../../assets/react/zd-font-rLhs.module.css");
106
- }
107
-
108
- function getReactMarketplace() {
109
- return require("../../assets/react/zd-font-rMarketplace.module.css");
110
- }
111
-
112
- function getReactReports() {
113
- return require("../../assets/react/zd-font-rReports.module.css");
114
- }
115
-
116
- function getReactSetup() {
117
- return require("../../assets/react/zd-font-rSetup.module.css");
118
- }
119
-
120
- function getReactTickets() {
121
- return require("../../assets/react/zd-font-rTickets.module.css");
122
- }
123
-
124
- function getReactTopband() {
125
- return require("../../assets/react/zd-font-rTopband.module.css");
126
- }
127
-
128
- function getReactGC() {
129
- return require("../../assets/react/zd-font-react-gcFonts.module.css");
130
- }
131
-
132
- function getReactTwotone() {
133
- return require("../../assets/react/zd-font-rTwotone.module.css");
134
- }
135
-
136
- function getReactAccessibility() {
137
- return require("../../assets/react/zd-font-rAccessibility.module.css");
138
- }
139
-
140
- function getReactUpdates() {
141
- return require("../../assets/react/zd-font-rUpdates.module.css");
142
- }
143
-
144
- function getReactAI() {
145
- return require("../../assets/react/zd-font-rAI.module.css");
146
- }
147
-
148
- function getReactAutomation() {
149
- return require("../../assets/react/zd-font-rAutomation.module.css");
150
- }
151
-
152
- function getReactDeveloperSpace() {
153
- return require("../../assets/react/zd-font-rDeveloperSpace.module.css");
154
- }
155
-
156
- function getReactAnalyticsColor() {
157
- return require("../../assets/react/zd-font-rAnalyticsColor.module.css");
158
- }
159
-
160
- function getReactIM() {
161
- return require("../../assets/react/zd-font-rIM.module.css");
162
- }
7
+ import { filesMap } from "./iconCssModules";
163
8
 
164
9
  function IconRender(iconName, iconContent, props) {
165
10
  const {
@@ -192,47 +37,6 @@ function IconRender(iconName, iconContent, props) {
192
37
 
193
38
  function getIcon(props) {
194
39
  let iconName;
195
- let filesMap = {
196
- AddformsFontIcon: getAddforms,
197
- AutomateFontIcon: getAutomate,
198
- ChannelsFontIcon: getChannels,
199
- CommonFontIcon: getCommon,
200
- CommunityFontIcon: getCommunity,
201
- CustomersFontIcon: getCustomers,
202
- CustomizeFontIcon: getCustomize,
203
- GamescopeFontIcon: getGamescope,
204
- GettingstartedFontIcon: getGettingstarted,
205
- KnowledgeBaseFontIcon: getKnowledgeBase,
206
- OrganizationFontIcon: getOrganization,
207
- OthersFontIcon: getOthers,
208
- ReportsFontIcon: getReports,
209
- SetupFontIcon: getSetup,
210
- SocialFontIcon: getSocial,
211
- TicketsFontIcon: getTickets,
212
- TopbandFontIcon: getTopband,
213
- TicketsChannelFontIcon: getTicketsChannel,
214
- ReactCallBarFontIcon: getReactCallBar,
215
- ReactChannelsFontIcon: getReactChannels,
216
- ReactCustomizeFontIcon: getReactCutomize,
217
- ReactExportFilesFontIcon: getReactExportFiles,
218
- ReactGeneralFontIcon: getReactGeneral,
219
- ReactIntegrationsFontIcon: getReactIntegrations,
220
- ReactLhsFontIcon: getReactLhs,
221
- ReactMarketplaceFontIcon: getReactMarketplace,
222
- ReactReportsFontIcon: getReactReports,
223
- ReactSetupFontIcon: getReactSetup,
224
- ReactTicketsFontIcon: getReactTickets,
225
- ReactTopbandFontIcon: getReactTopband,
226
- ReactGCFontIcon: getReactGC,
227
- ReactTwotoneIcon: getReactTwotone,
228
- ReactAccessibilityIcon: getReactAccessibility,
229
- ReactProductUpdatesIcon: getReactUpdates,
230
- ReactAIIcon: getReactAI,
231
- ReactAutomationIcon: getReactAutomation,
232
- ReactDeveloperSpaceIcon: getReactDeveloperSpace,
233
- ReactAnalyticsColorIcon: getReactAnalyticsColor,
234
- ReactIMIcon: getReactIM
235
- };
236
40
  const iconNames = Object.keys(FontFactory);
237
41
 
238
42
  for (const name of iconNames) {
@@ -4,7 +4,7 @@ exports[`IconProvider / IconContext - default context - renders font icon (no p
4
4
  <DocumentFragment>
5
5
  <i
6
6
  aria-hidden="true"
7
- class="zd_font_icons basic icon-close2 "
7
+ class="zd_font_icons basic icon-close2"
8
8
  data-id="fontIcon"
9
9
  data-selector-id="fontIcon"
10
10
  data-test-id="fontIcon"
@@ -16,7 +16,7 @@ exports[`IconProvider / IconContext - multiple icons share the same provider co
16
16
  <DocumentFragment>
17
17
  <svg
18
18
  aria-hidden="true"
19
- class="svgIcon "
19
+ class="svgIcon"
20
20
  data-id="fontIcon"
21
21
  data-selector-id="fontIcon"
22
22
  data-test-id="fontIcon"
@@ -27,7 +27,7 @@ exports[`IconProvider / IconContext - multiple icons share the same provider co
27
27
  </svg>
28
28
  <svg
29
29
  aria-hidden="true"
30
- class="svgIcon "
30
+ class="svgIcon"
31
31
  data-id="fontIcon"
32
32
  data-selector-id="fontIcon"
33
33
  data-test-id="fontIcon"
@@ -43,7 +43,7 @@ exports[`IconProvider / IconContext - type "fontIcon" - renders font icon 1`] =
43
43
  <DocumentFragment>
44
44
  <i
45
45
  aria-hidden="true"
46
- class="zd_font_icons basic icon-close2 "
46
+ class="zd_font_icons basic icon-close2"
47
47
  data-id="fontIcon"
48
48
  data-selector-id="fontIcon"
49
49
  data-test-id="fontIcon"
@@ -55,7 +55,7 @@ exports[`IconProvider / IconContext - type "svgIcon" - passes "a11y" ariaHidden
55
55
  <DocumentFragment>
56
56
  <svg
57
57
  aria-hidden="false"
58
- class="svgIcon "
58
+ class="svgIcon"
59
59
  data-id="fontIcon"
60
60
  data-selector-id="fontIcon"
61
61
  data-test-id="fontIcon"
@@ -71,7 +71,7 @@ exports[`IconProvider / IconContext - type "svgIcon" - passes "iconClass" prop
71
71
  <DocumentFragment>
72
72
  <svg
73
73
  aria-hidden="true"
74
- class="svgIcon custom-class "
74
+ class="svgIcon custom-class"
75
75
  data-id="fontIcon"
76
76
  data-selector-id="fontIcon"
77
77
  data-test-id="fontIcon"
@@ -87,7 +87,7 @@ exports[`IconProvider / IconContext - type "svgIcon" - passes "size" prop to sv
87
87
  <DocumentFragment>
88
88
  <svg
89
89
  aria-hidden="true"
90
- class="svgIcon "
90
+ class="svgIcon"
91
91
  data-id="fontIcon"
92
92
  data-selector-id="fontIcon"
93
93
  data-test-id="fontIcon"
@@ -104,7 +104,7 @@ exports[`IconProvider / IconContext - type "svgIcon" - passes "title" prop to s
104
104
  <DocumentFragment>
105
105
  <svg
106
106
  aria-hidden="true"
107
- class="svgIcon "
107
+ class="svgIcon"
108
108
  data-id="fontIcon"
109
109
  data-selector-id="fontIcon"
110
110
  data-test-id="fontIcon"
@@ -121,7 +121,7 @@ exports[`IconProvider / IconContext - type "svgIcon" - renders svg symbol 1`] =
121
121
  <DocumentFragment>
122
122
  <svg
123
123
  aria-hidden="true"
124
- class="svgIcon "
124
+ class="svgIcon"
125
125
  data-id="fontIcon"
126
126
  data-selector-id="fontIcon"
127
127
  data-test-id="fontIcon"
@@ -137,7 +137,7 @@ exports[`IconProvider / IconContext - type "svgIcon" with "svgIconClass" 1`] =
137
137
  <DocumentFragment>
138
138
  <svg
139
139
  aria-hidden="true"
140
- class="svgIcon app-svg-icon "
140
+ class="svgIcon app-svg-icon"
141
141
  data-id="fontIcon"
142
142
  data-selector-id="fontIcon"
143
143
  data-test-id="fontIcon"
@@ -153,7 +153,7 @@ exports[`IconProvider / IconContext - type "svgIcon" with custom "svgIconPrefix
153
153
  <DocumentFragment>
154
154
  <svg
155
155
  aria-hidden="true"
156
- class="svgIcon "
156
+ class="svgIcon"
157
157
  data-id="fontIcon"
158
158
  data-selector-id="fontIcon"
159
159
  data-test-id="fontIcon"
@@ -1527,7 +1527,7 @@ var FontFactory = {
1527
1527
  'ZD-GN-alignRight': ['icon-alignRight', 2],
1528
1528
  'ZD-GN-allignCenter': ['icon-allignCenter', 2],
1529
1529
  'ZD-GN-allignJustify': ['icon-allignJustify', 2]
1530
- }, _defineProperty(_ReactGeneralFontIcon, "ZD-GN-bold", 'icon-bold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bullets', ['icon-bullets', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFormat', ['icon-clearFormat', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-decreaceIndent', ['icon-decreaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-font', 'icon-font'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fontColour', ['icon-fontColour', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-formatPainter', ['icon-formatPainter', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-horizontalRule', ['icon-horizontalRule', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-increaceIndent', ['icon-increaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertCode', 'icon-insertCode'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertHtml', ['icon-insertHtml', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertImage', ['icon-insertImage', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertQuote', 'icon-insertQuote'), _defineProperty(_ReactGeneralFontIcon, "ZD-GN-italic", 'icon-italic'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-numbering', ['icon-numbering', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-spellCheck', ['icon-spellCheck', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-strikeThrough', ['icon-strikeThrough', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-underLine', ['icon-underLine', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-signOut', 'icon-signOut'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-phoneFill', 'icon-phoneFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-follow', 'icon-follow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forward', 'icon-forward'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forwardFill', 'icon-forwardFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unFollow', 'icon-unFollow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-infoStroke', 'icon-infoStroke'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-onHold', 'icon-onHold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFilter', 'icon-clearFilter'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-placeholder', 'icon-placeholder'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-gift', 'icon-gift'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-freeTrial', 'icon-freeTrial'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-skills', 'icon-skills'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-contactInformation', 'icon-contactInformation'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-relatedDetails', 'icon-relatedDetails'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-template', ['icon-template', 5]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-department', 'icon-department'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-doubleTick', 'icon-doubleTick'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bounce', 'icon-bounce'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-accessibility', 'icon-accessibility'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-read', ['icon-read', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unread', ['icon-unread', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsSun', 'icon-wmsSun'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsMoon', 'icon-wmsMoon'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-configuaration', 'icon-configuaration'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-premium', 'icon-premium'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-money', 'icon-money'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-Marketplace', ['icon-Marketplace', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-ticketDetail', ['icon-ticketDetail', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-comma', 'icon-comma'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-enter', 'icon-enter'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-spaceBar', 'icon-spaceBar'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-skipReplyall', 'icon-skipReplyall'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-rrSequential', 'icon-roundRobinSequential'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-filterAdd', 'icon-filterAdd'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-jsonWebToken', 'icon-jsonWebToken'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-parentChild', 'icon-parentChild'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-saml', 'icon-saml'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-smsAuth', 'icon-smsAuth'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-ticketOwner', 'icon-ticketOwner'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-mesengerFill', 'icon-mesengerFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-telegramFill', 'icon-telegramFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-sortingArrow', ['icon-sortingArrow', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-androidFill', 'icon-androidFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-customDashboard', 'icon-customDashboard'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-databaseEncryption', 'icon-databaseEncryption'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-myPins', 'icon-myPins'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-pinned', ['icon-pinned', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-flagFill', 'icon-flagFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-instagram', 'icon-instagram'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-line', 'icon-line'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-answerBot', 'icon-answerBot'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-primaryContact', 'icon-primaryContact'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wallet', 'icon-wallet'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-agentportal', 'icon-agentportal'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileMail', 'icon-fileMail'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-rename', 'icon-rename'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileUnknown', 'icon-fileUnknown'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-filePpt', 'icon-filePpt'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileDoc', 'icon-fileDoc'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileSheet', 'icon-fileSheet'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-imPause', ['icon-imPause', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-imPlay', 'icon-imPlay'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-imRecord', 'icon-imRecord'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-radar', 'icon-radar'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-pricingTag', 'icon-pricingTag'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-doubleArrow', 'icon-doubleArrow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-followUpTicket', 'icon-followUpTicket'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-oCR', 'icon-OCR'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-ultimatePlan', 'icon-ultimatePlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-enterprisePlan', 'icon-enterprisePlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-standerdPlan', 'icon-standerdPlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-professionalPlan', 'icon-professionalPlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-freePlan', 'icon-freePlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-expressPlan', 'icon-expressPlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-process', 'icon-process'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-mailDefault', 'icon-mailDefault'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-featureHome', ['icon-featureHome', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-manualTranslation', 'icon-manualTranslation'), _ReactGeneralFontIcon),
1530
+ }, _defineProperty(_ReactGeneralFontIcon, "ZD-GN-bold", 'icon-bold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bullets', ['icon-bullets', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFormat', ['icon-clearFormat', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-decreaceIndent', ['icon-decreaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-font', 'icon-font'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fontColour', ['icon-fontColour', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-formatPainter', ['icon-formatPainter', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-horizontalRule', ['icon-horizontalRule', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-increaceIndent', ['icon-increaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertCode', 'icon-insertCode'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertHtml', ['icon-insertHtml', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertImage', ['icon-insertImage', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertQuote', 'icon-insertQuote'), _defineProperty(_ReactGeneralFontIcon, "ZD-GN-italic", 'icon-italic'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-numbering', ['icon-numbering', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-spellCheck', ['icon-spellCheck', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-strikeThrough', ['icon-strikeThrough', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-underLine', ['icon-underLine', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-signOut', 'icon-signOut'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-phoneFill', 'icon-phoneFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-follow', 'icon-follow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forward', 'icon-forward'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forwardFill', 'icon-forwardFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unFollow', 'icon-unFollow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-infoStroke', 'icon-infoStroke'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-onHold', 'icon-onHold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFilter', 'icon-clearFilter'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-placeholder', 'icon-placeholder'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-gift', 'icon-gift'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-freeTrial', 'icon-freeTrial'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-skills', 'icon-skills'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-contactInformation', 'icon-contactInformation'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-relatedDetails', 'icon-relatedDetails'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-template', ['icon-template', 5]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-department', 'icon-department'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-doubleTick', 'icon-doubleTick'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bounce', 'icon-bounce'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-accessibility', 'icon-accessibility'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-read', ['icon-read', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unread', ['icon-unread', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsSun', 'icon-wmsSun'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsMoon', 'icon-wmsMoon'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-configuaration', 'icon-configuaration'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-premium', 'icon-premium'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-money', 'icon-money'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-Marketplace', ['icon-Marketplace', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-ticketDetail', ['icon-ticketDetail', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-comma', 'icon-comma'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-enter', 'icon-enter'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-spaceBar', 'icon-spaceBar'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-skipReplyall', 'icon-skipReplyall'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-rrSequential', 'icon-roundRobinSequential'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-filterAdd', 'icon-filterAdd'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-jsonWebToken', 'icon-jsonWebToken'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-parentChild', 'icon-parentChild'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-saml', 'icon-saml'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-smsAuth', 'icon-smsAuth'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-ticketOwner', 'icon-ticketOwner'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-mesengerFill', 'icon-mesengerFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-telegramFill', 'icon-telegramFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-sortingArrow', ['icon-sortingArrow', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-androidFill', 'icon-androidFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-customDashboard', 'icon-customDashboard'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-databaseEncryption', 'icon-databaseEncryption'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-myPins', 'icon-myPins'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-pinned', ['icon-pinned', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-flagFill', 'icon-flagFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-instagram', 'icon-instagram'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-line', 'icon-line'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-answerBot', 'icon-answerBot'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-primaryContact', 'icon-primaryContact'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wallet', 'icon-wallet'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-agentportal', 'icon-agentportal'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileMail', 'icon-fileMail'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-rename', 'icon-rename'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileUnknown', 'icon-fileUnknown'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-filePpt', 'icon-filePpt'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileDoc', 'icon-fileDoc'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fileSheet', 'icon-fileSheet'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-imPause', ['icon-imPause', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-imPlay', 'icon-imPlay'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-imRecord', 'icon-imRecord'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-radar', 'icon-radar'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-pricingTag', 'icon-pricingTag'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-doubleArrow', 'icon-doubleArrow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-followUpTicket', 'icon-followUpTicket'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-oCR', 'icon-OCR'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-ultimatePlan', 'icon-ultimatePlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-enterprisePlan', 'icon-enterprisePlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-standerdPlan', 'icon-standerdPlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-professionalPlan', 'icon-professionalPlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-freePlan', 'icon-freePlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-expressPlan', 'icon-expressPlan'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-process', 'icon-process'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-mailDefault', 'icon-mailDefault'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-featureHome', ['icon-featureHome', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-manualTranslation', 'icon-manualTranslation'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-tour', 'icon-tour'), _ReactGeneralFontIcon),
1531
1531
  ReactIntegrationsFontIcon: {
1532
1532
  'ZD-IG-intAnalytics': 'icon-intAnalytics',
1533
1533
  'ZD-IG-intBigin': 'icon-intBigin',
@@ -79,13 +79,13 @@ var FontIcon = /*#__PURE__*/function (_React$Component) {
79
79
  isCustom = isCustom ? _IconModule["default"][isCustom] : ''; // let isTwoTone = TwoToneIcons[iconName] || null;
80
80
  // isTwoTone = isTwoTone ? style[isTwoTone] : '';
81
81
 
82
- var fontClass = "".concat(_IconModule["default"].basic, " ").concat(pathName, " ").concat(isBold ? _IconModule["default"].fbold : '', " ").concat(iconClass ? iconClass : '', " ").concat(onClick ? _IconModule["default"].cursor : '');
82
+ var fontClass = "".concat(_IconModule["default"].basic, " ").concat(pathName, " ").concat(isBold ? _IconModule["default"].fbold : '', " ").concat(onClick ? _IconModule["default"].cursor : '', " ").concat(iconClass ? iconClass : '');
83
83
  var childArray;
84
84
 
85
85
  if (_typeof(name) === 'object') {
86
86
  childArray = [];
87
87
  var isRtl = name[2] ? name[2] : false;
88
- fontClass = isRtl ? "".concat(fontClass, " ").concat(_IconModule["default"].rtl) : fontClass;
88
+ fontClass = isRtl ? "".concat(_IconModule["default"].rtl, " ").concat(fontClass) : fontClass;
89
89
 
90
90
  for (var i = 1; i < name[1] + 1; i++) {
91
91
  var pathClass = "".concat(iconContent["path".concat(i)], " ").concat(iconClass || isCustom ? "path".concat(i) : '');
@@ -97,7 +97,7 @@ var FontIcon = /*#__PURE__*/function (_React$Component) {
97
97
  }
98
98
 
99
99
  return /*#__PURE__*/_react["default"].createElement("i", _extends({
100
- className: 'zd_font_icons'.concat(" ", fontClass, " ").concat(isCustom),
100
+ className: 'zd_font_icons'.concat(" ", isCustom, " ").concat(fontClass),
101
101
  "data-title": title,
102
102
  onClick: onClick,
103
103
  "data-id": dataId,