@zohodesk/icons 1.0.0-temp-101 → 1.0.0-temp-111
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 +128 -0
- package/assets_final/fonts/zd-gcFonts.svg +87 -6
- package/assets_final/fonts/zd-gcFonts.woff +0 -0
- package/assets_final/fonts/zd-gcFonts.woff2 +0 -0
- package/assets_final/fonts/zd-rAI.svg +19 -0
- package/assets_final/fonts/zd-rAI.woff +0 -0
- package/assets_final/fonts/zd-rAI.woff2 +0 -0
- package/assets_final/fonts/zd-rAutomation.svg +16 -0
- package/assets_final/fonts/zd-rAutomation.woff +0 -0
- package/assets_final/fonts/zd-rAutomation.woff2 +0 -0
- package/assets_final/fonts/zd-rDeveloperSpace.svg +11 -0
- package/assets_final/fonts/zd-rDeveloperSpace.woff +0 -0
- package/assets_final/fonts/zd-rDeveloperSpace.woff2 +0 -0
- package/assets_final/fonts/zd-rExportFiles.svg +7 -0
- package/assets_final/fonts/zd-rExportFiles.woff +0 -0
- package/assets_final/fonts/zd-rExportFiles.woff2 +0 -0
- package/assets_final/fonts/zd-rGeneral.svg +15 -0
- package/assets_final/fonts/zd-rGeneral.woff +0 -0
- package/assets_final/fonts/zd-rGeneral.woff2 +0 -0
- package/assets_final/fonts/zd-rReports.svg +1 -0
- package/assets_final/fonts/zd-rReports.woff +0 -0
- package/assets_final/fonts/zd-rReports.woff2 +0 -0
- package/assets_final/fonts/zd-rTwotone.svg +32 -0
- package/assets_final/fonts/zd-rTwotone.woff +0 -0
- package/assets_final/fonts/zd-rTwotone.woff2 +0 -0
- package/assets_final/fonts/zd-rUpdates.svg +13 -0
- package/assets_final/fonts/zd-rUpdates.woff +0 -0
- package/assets_final/fonts/zd-rUpdates.woff2 +0 -0
- package/assets_final/react/zd-font-rAI.module.css +48 -0
- package/assets_final/react/zd-font-rAccessibility.module.css +5 -1
- package/assets_final/react/zd-font-rAutomation.module.css +42 -0
- package/assets_final/react/zd-font-rCallBar.module.css +5 -1
- package/assets_final/react/zd-font-rChannels.module.css +5 -1
- package/assets_final/react/zd-font-rCustomize.module.css +5 -1
- package/assets_final/react/zd-font-rDeveloperSpace.module.css +24 -0
- package/assets_final/react/zd-font-rExportFiles.module.css +42 -4
- package/assets_final/react/zd-font-rGeneral.module.css +56 -4
- package/assets_final/react/zd-font-rIntegrations.module.css +5 -1
- package/assets_final/react/zd-font-rLhs.module.css +5 -1
- package/assets_final/react/zd-font-rMarketplace.module.css +5 -1
- package/assets_final/react/zd-font-rReports.module.css +11 -4
- package/assets_final/react/zd-font-rSetup.module.css +5 -1
- package/assets_final/react/zd-font-rTickets.module.css +5 -1
- package/assets_final/react/zd-font-rTopband.module.css +7 -3
- package/assets_final/react/zd-font-rTwotone.module.css +156 -4
- package/assets_final/react/zd-font-rUpdates.module.css +30 -0
- package/assets_final/react/zd-font-react-addforms.module.css +5 -1
- package/assets_final/react/zd-font-react-automate.module.css +5 -2
- package/assets_final/react/zd-font-react-channels.module.css +5 -1
- package/assets_final/react/zd-font-react-channels.plain.css +5 -1
- package/assets_final/react/zd-font-react-common.module.css +5 -1
- package/assets_final/react/zd-font-react-common.plain.css +5 -1
- package/assets_final/react/zd-font-react-community.module.css +5 -1
- package/assets_final/react/zd-font-react-customers.module.css +5 -1
- package/assets_final/react/zd-font-react-customize.module.css +5 -1
- package/assets_final/react/zd-font-react-gamescope.module.css +5 -1
- package/assets_final/react/zd-font-react-gcFonts.module.css +281 -4
- package/assets_final/react/zd-font-react-gettingstarted.module.css +5 -1
- package/assets_final/react/zd-font-react-integrations.module.css +5 -1
- package/assets_final/react/zd-font-react-kb.module.css +5 -1
- package/assets_final/react/zd-font-react-logo.module.css +5 -1
- package/assets_final/react/zd-font-react-organization.module.css +5 -1
- package/assets_final/react/zd-font-react-organization.plain.css +5 -1
- package/assets_final/react/zd-font-react-others.module.css +5 -1
- package/assets_final/react/zd-font-react-reports.module.css +5 -1
- package/assets_final/react/zd-font-react-setup.module.css +5 -1
- package/assets_final/react/zd-font-react-setup.plain.css +5 -1
- package/assets_final/react/zd-font-react-social.module.css +5 -1
- package/assets_final/react/zd-font-react-ticket-channels.module.css +5 -1
- package/assets_final/react/zd-font-react-tickets.module.css +5 -1
- package/assets_final/react/zd-font-react-tickets.plain.css +5 -1
- package/assets_final/react/zd-font-react-topband.module.css +5 -1
- package/assets_final/react/zd-font-react-topband.plain.css +5 -1
- package/coverage/Icon/CustomIcons.js.html +5 -5
- package/coverage/Icon/FontIcon.js.html +16 -10
- package/coverage/Icon/Icon.module.css.html +2 -2
- package/coverage/Icon/index.html +1 -1
- package/coverage/Icon/props/defaultProps.js.html +1 -1
- package/coverage/Icon/props/index.html +1 -1
- package/coverage/Icon/props/propTypes.js.html +5 -2
- package/coverage/coverage-final.json +8 -5
- package/coverage/coverage-summary.json +9 -6
- package/coverage/index.html +37 -7
- package/coverage/v1/FontIcon.js.html +298 -0
- package/coverage/v1/index.html +116 -0
- package/coverage/v1/props/defaultProps.js.html +100 -0
- package/coverage/v1/props/index.html +131 -0
- package/coverage/v1/props/propTypes.js.html +142 -0
- package/css_layer_config.json +191 -0
- package/es/Icon/CustomIcons.js +1 -1
- package/es/Icon/FontFactory.js +134 -5
- package/es/Icon/FontIcon.js +7 -5
- package/es/Icon/Icon.module.css +3 -1
- package/es/Icon/__tests__/FontIcon.spec.js +11 -1
- package/es/Icon/__tests__/__snapshots__/FontIcon.spec.js.snap +13 -0
- package/es/Icon/index.js +63 -42
- package/es/Icon/props/propTypes.js +1 -0
- package/es/icon_layer.module.css +1 -0
- package/es/index.js +1 -1
- package/es/v1/FontIcon.js +7 -5
- package/es/v1/__tests__/FontIcon.spec.js +144 -0
- package/es/v1/__tests__/__snapshots__/FontIcon.spec.js.snap +251 -0
- package/es/v1/props/propTypes.js +1 -0
- package/lib/Icon/CustomIcons.js +1 -1
- package/lib/Icon/FontFactory.js +48 -5
- package/lib/Icon/FontIcon.js +5 -2
- package/lib/Icon/Icon.module.css +3 -1
- package/lib/Icon/__tests__/FontIcon.spec.js +10 -0
- package/lib/Icon/__tests__/__snapshots__/FontIcon.spec.js.snap +13 -0
- package/lib/Icon/index.js +59 -37
- package/lib/Icon/props/propTypes.js +1 -0
- package/lib/icon_layer.module.css +1 -0
- package/lib/v1/FontIcon.js +5 -2
- package/lib/v1/__tests__/FontIcon.spec.js +151 -0
- package/lib/v1/__tests__/__snapshots__/FontIcon.spec.js.snap +251 -0
- package/lib/v1/props/propTypes.js +1 -0
- package/package.json +15 -7
- package/react-cli.config.js +12 -8
- package/result.json +1 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for v1/props/propTypes.js</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../../index.html">All files</a> / <a href="index.html">v1/props</a> propTypes.js</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>1/1</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>0/0</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>1/1</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
84
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
|
+
<a name='L20'></a><a href='#L20'>20</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
86
|
+
<span class="cline-any cline-neutral"> </span>
|
|
87
|
+
<span class="cline-any cline-yes">1x</span>
|
|
88
|
+
<span class="cline-any cline-neutral"> </span>
|
|
89
|
+
<span class="cline-any cline-neutral"> </span>
|
|
90
|
+
<span class="cline-any cline-neutral"> </span>
|
|
91
|
+
<span class="cline-any cline-neutral"> </span>
|
|
92
|
+
<span class="cline-any cline-neutral"> </span>
|
|
93
|
+
<span class="cline-any cline-neutral"> </span>
|
|
94
|
+
<span class="cline-any cline-neutral"> </span>
|
|
95
|
+
<span class="cline-any cline-neutral"> </span>
|
|
96
|
+
<span class="cline-any cline-neutral"> </span>
|
|
97
|
+
<span class="cline-any cline-neutral"> </span>
|
|
98
|
+
<span class="cline-any cline-neutral"> </span>
|
|
99
|
+
<span class="cline-any cline-neutral"> </span>
|
|
100
|
+
<span class="cline-any cline-neutral"> </span>
|
|
101
|
+
<span class="cline-any cline-neutral"> </span>
|
|
102
|
+
<span class="cline-any cline-neutral"> </span>
|
|
103
|
+
<span class="cline-any cline-neutral"> </span>
|
|
104
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
|
|
105
|
+
|
|
106
|
+
export const IconProps = {
|
|
107
|
+
dataId: PropTypes.string,
|
|
108
|
+
iconClass: PropTypes.string,
|
|
109
|
+
iconContent: PropTypes.object,
|
|
110
|
+
isBold: PropTypes.bool,
|
|
111
|
+
name: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
|
112
|
+
onClick: PropTypes.func,
|
|
113
|
+
pathName: PropTypes.string,
|
|
114
|
+
size: PropTypes.string,
|
|
115
|
+
title: PropTypes.string,
|
|
116
|
+
iconName: PropTypes.string,
|
|
117
|
+
titlePosition: PropTypes.oneOf(['top', 'bottom', 'left', 'right']),
|
|
118
|
+
tagAttributes: PropTypes.object,
|
|
119
|
+
a11y: PropTypes.shape({
|
|
120
|
+
ariaHidden: PropTypes.bool
|
|
121
|
+
})
|
|
122
|
+
};
|
|
123
|
+
</pre></td></tr></table></pre>
|
|
124
|
+
|
|
125
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
126
|
+
</div><!-- /wrapper -->
|
|
127
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
128
|
+
Code coverage generated by
|
|
129
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
130
|
+
at 2025-08-08T11:23:59.503Z
|
|
131
|
+
</div>
|
|
132
|
+
<script src="../../prettify.js"></script>
|
|
133
|
+
<script>
|
|
134
|
+
window.onload = function () {
|
|
135
|
+
prettyPrint();
|
|
136
|
+
};
|
|
137
|
+
</script>
|
|
138
|
+
<script src="../../sorter.js"></script>
|
|
139
|
+
<script src="../../block-navigation.js"></script>
|
|
140
|
+
</body>
|
|
141
|
+
</html>
|
|
142
|
+
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"prefix": "dot-icons",
|
|
3
|
+
"configs": [
|
|
4
|
+
{
|
|
5
|
+
"layer": "base",
|
|
6
|
+
"path": "src/Icon/Icon.module.css"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"layer": "core",
|
|
10
|
+
"path": "assets_final/react/zd-font-rAI.module.css"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"layer": "core",
|
|
14
|
+
"path": "assets_final/react/zd-font-rAutomation.module.css"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"layer": "core",
|
|
18
|
+
"path": "assets_final/react/zd-font-rDeveloperSpace.module.css"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"layer": "core",
|
|
22
|
+
"path": "assets_final/react/zd-font-rAccessibility.module.css"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"layer": "core",
|
|
26
|
+
"path": "assets_final/react/zd-font-rCallBar.module.css"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"layer": "core",
|
|
30
|
+
"path": "assets_final/react/zd-font-rChannels.module.css"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"layer": "core",
|
|
34
|
+
"path": "assets_final/react/zd-font-rCustomize.module.css"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"layer": "core",
|
|
38
|
+
"path": "assets_final/react/zd-font-rExportFiles.module.css"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"layer": "core",
|
|
42
|
+
"path": "assets_final/react/zd-font-rGeneral.module.css"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"layer": "core",
|
|
46
|
+
"path": "assets_final/react/zd-font-rIntegrations.module.css"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"layer": "core",
|
|
50
|
+
"path": "assets_final/react/zd-font-rLhs.module.css"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"layer": "core",
|
|
54
|
+
"path": "assets_final/react/zd-font-rMarketplace.module.css"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"layer": "core",
|
|
58
|
+
"path": "assets_final/react/zd-font-rReports.module.css"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"layer": "core",
|
|
62
|
+
"path": "assets_final/react/zd-font-rSetup.module.css"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"layer": "core",
|
|
66
|
+
"path": "assets_final/react/zd-font-rTickets.module.css"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"layer": "core",
|
|
70
|
+
"path": "assets_final/react/zd-font-rTopband.module.css"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"layer": "core",
|
|
74
|
+
"path": "assets_final/react/zd-font-rTwotone.module.css"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"layer": "core",
|
|
78
|
+
"path": "assets_final/react/zd-font-rUpdates.module.css"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"layer": "core",
|
|
82
|
+
"path": "assets_final/react/zd-font-react-addforms.module.css"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"layer": "core",
|
|
86
|
+
"path": "assets_final/react/zd-font-react-automate.module.css"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"layer": "core",
|
|
90
|
+
"path": "assets_final/react/zd-font-react-channels.module.css"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"layer": "core",
|
|
94
|
+
"path": "assets_final/react/zd-font-react-channels.plain.css"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"layer": "core",
|
|
98
|
+
"path": "assets_final/react/zd-font-react-common.module.css"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"layer": "core",
|
|
102
|
+
"path": "assets_final/react/zd-font-react-common.plain.css"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"layer": "core",
|
|
106
|
+
"path": "assets_final/react/zd-font-react-community.module.css"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"layer": "core",
|
|
110
|
+
"path": "assets_final/react/zd-font-react-customers.module.css"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"layer": "core",
|
|
114
|
+
"path": "assets_final/react/zd-font-react-customize.module.css"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"layer": "core",
|
|
118
|
+
"path": "assets_final/react/zd-font-react-gamescope.module.css"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"layer": "core",
|
|
122
|
+
"path": "assets_final/react/zd-font-react-gcFonts.module.css"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"layer": "core",
|
|
126
|
+
"path": "assets_final/react/zd-font-react-gettingstarted.module.css"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"layer": "core",
|
|
130
|
+
"path": "assets_final/react/zd-font-react-integrations.module.css"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"layer": "core",
|
|
134
|
+
"path": "assets_final/react/zd-font-react-kb.module.css"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"layer": "core",
|
|
138
|
+
"path": "assets_final/react/zd-font-react-logo.module.css"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"layer": "core",
|
|
142
|
+
"path": "assets_final/react/zd-font-react-organization.module.css"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"layer": "core",
|
|
146
|
+
"path": "assets_final/react/zd-font-react-organization.plain.css"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"layer": "core",
|
|
150
|
+
"path": "assets_final/react/zd-font-react-others.module.css"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"layer": "core",
|
|
154
|
+
"path": "assets_final/react/zd-font-react-reports.module.css"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"layer": "core",
|
|
158
|
+
"path": "assets_final/react/zd-font-react-setup.module.css"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"layer": "core",
|
|
162
|
+
"path": "assets_final/react/zd-font-react-setup.plain.css"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"layer": "core",
|
|
166
|
+
"path": "assets_final/react/zd-font-react-social.module.css"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"layer": "core",
|
|
170
|
+
"path": "assets_final/react/zd-font-react-ticket-channels.module.css"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"layer": "core",
|
|
174
|
+
"path": "assets_final/react/zd-font-react-tickets.module.css"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"layer": "core",
|
|
178
|
+
"path": "assets_final/react/zd-font-react-tickets.plain.css"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"layer": "core",
|
|
182
|
+
"path": "assets_final/react/zd-font-react-topband.module.css"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"layer": "core",
|
|
186
|
+
"path": "assets_final/react/zd-font-react-topband.plain.css"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"ignore":["src/icon_layer.module.css"]
|
|
190
|
+
|
|
191
|
+
}
|
package/es/Icon/CustomIcons.js
CHANGED
|
@@ -108,7 +108,7 @@ export const TwoToneIcons = {
|
|
|
108
108
|
'ZD-TT-happinessOut': 'blue2',
|
|
109
109
|
'ZD-TT-emailForward': 'blue2',
|
|
110
110
|
'ZD-TT-directFacebookOut': 'lightBlue2',
|
|
111
|
-
'ZD-TT-whatsAppOut': '
|
|
111
|
+
'ZD-TT-whatsAppOut': 'blue2',
|
|
112
112
|
'ZD-TT-instaIMOut': 'lightBlue2',
|
|
113
113
|
'ZD-TT-chTwitterDirectOut': 'lightBlue2'
|
|
114
114
|
};
|
package/es/Icon/FontFactory.js
CHANGED
|
@@ -1420,7 +1420,8 @@ export const FontFactory = {
|
|
|
1420
1420
|
'ZD-EF-firebox': 'icon-firebox',
|
|
1421
1421
|
'ZD-EF-iOS': 'icon-iOS',
|
|
1422
1422
|
'ZD-EF-linux': 'icon-linux',
|
|
1423
|
-
'ZD-EF-playstore': 'icon-playstore'
|
|
1423
|
+
'ZD-EF-playstore': 'icon-playstore',
|
|
1424
|
+
'ZD-EF-clrCsv': ['icon-clrCsv', 7]
|
|
1424
1425
|
},
|
|
1425
1426
|
ReactGeneralFontIcon: {
|
|
1426
1427
|
'ZD-GN-agent': 'icon-agent',
|
|
@@ -1584,7 +1585,21 @@ export const FontFactory = {
|
|
|
1584
1585
|
'ZD-GN-flagFill': 'icon-flagFill',
|
|
1585
1586
|
'ZD-GN-instagram': 'icon-instagram',
|
|
1586
1587
|
'ZD-GN-line': 'icon-line',
|
|
1587
|
-
'ZD-GN-answerBot': 'icon-answerBot'
|
|
1588
|
+
'ZD-GN-answerBot': 'icon-answerBot',
|
|
1589
|
+
'ZD-GN-primaryContact': 'icon-primaryContact',
|
|
1590
|
+
'ZD-GN-wallet': 'icon-wallet',
|
|
1591
|
+
'ZD-GN-agentportal': 'icon-agentportal',
|
|
1592
|
+
'ZD-GN-fileMail': 'icon-fileMail',
|
|
1593
|
+
'ZD-GN-rename': 'icon-rename',
|
|
1594
|
+
'ZD-GN-fileUnknown': 'icon-fileUnknown',
|
|
1595
|
+
'ZD-GN-filePpt': 'icon-filePpt',
|
|
1596
|
+
'ZD-GN-fileDoc': 'icon-fileDoc',
|
|
1597
|
+
'ZD-GN-fileSheet': 'icon-fileSheet',
|
|
1598
|
+
'ZD-GN-imPause': ['icon-imPause', 2],
|
|
1599
|
+
'ZD-GN-imPlay': 'icon-imPlay',
|
|
1600
|
+
'ZD-GN-imRecord': 'icon-imRecord',
|
|
1601
|
+
'ZD-GN-radar': 'icon-radar',
|
|
1602
|
+
'ZD-GN-pricingTag': 'icon-pricingTag'
|
|
1588
1603
|
},
|
|
1589
1604
|
ReactIntegrationsFontIcon: {
|
|
1590
1605
|
'ZD-IG-intAnalytics': 'icon-intAnalytics',
|
|
@@ -1660,7 +1675,8 @@ export const FontFactory = {
|
|
|
1660
1675
|
'ZD-RP-clrBulletChart': ['icon-clrBulletChart', 3],
|
|
1661
1676
|
'ZD-RP-clrCompare': ['icon-clrCompare', 3],
|
|
1662
1677
|
'ZD-RP-clrDialchart': ['icon-clrDialchart', 3],
|
|
1663
|
-
'ZD-RP-clrMetricCards': ['icon-clrMetricCards', 2]
|
|
1678
|
+
'ZD-RP-clrMetricCards': ['icon-clrMetricCards', 2],
|
|
1679
|
+
'ZD-RP-KPICards': 'icon-KPICards'
|
|
1664
1680
|
},
|
|
1665
1681
|
ReactSetupFontIcon: {
|
|
1666
1682
|
'ZD-SE-account': 'icon-account',
|
|
@@ -2051,7 +2067,79 @@ export const FontFactory = {
|
|
|
2051
2067
|
'GC-upload': 'icon-upload',
|
|
2052
2068
|
'GC-videoNew': 'icon-videoNew',
|
|
2053
2069
|
'GC-zoominNew': 'icon-zoominNew',
|
|
2054
|
-
'GC-zoomoutNew': 'icon-zoomoutNew'
|
|
2070
|
+
'GC-zoomoutNew': 'icon-zoomoutNew',
|
|
2071
|
+
'GC-webhookNew': 'icon-webhookNew',
|
|
2072
|
+
'GC-displayCard': 'icon-displayCard',
|
|
2073
|
+
'GC-minimalView': 'icon-minimalView',
|
|
2074
|
+
'GC-textNew': 'icon-textNew',
|
|
2075
|
+
'GC-moveLeft': 'icon-moveLeft',
|
|
2076
|
+
'GC-feedbackButton': 'icon-feedbackButton',
|
|
2077
|
+
'GC-control': 'icon-control',
|
|
2078
|
+
'GC-detailView': 'icon-detailView',
|
|
2079
|
+
'GC-smileyButtonNew': 'icon-smileyButtonNew',
|
|
2080
|
+
'GC-moveRight': 'icon-moveRight',
|
|
2081
|
+
'GC-messageNewFilled': 'icon-messageNewFilled',
|
|
2082
|
+
'GC-inputFilled': 'icon-inputFilled',
|
|
2083
|
+
'GC-numberNew': 'icon-numberNew',
|
|
2084
|
+
'GC-controlFilled': 'icon-controlFilled',
|
|
2085
|
+
'GC-audioNew': 'icon-audioNew',
|
|
2086
|
+
'GC-dynamicButtonNew': 'icon-dynamicButtonNew',
|
|
2087
|
+
'GC-choiceFilled': 'icon-choiceFilled',
|
|
2088
|
+
'GC-card': 'icon-card',
|
|
2089
|
+
'GC-slider': 'icon-slider',
|
|
2090
|
+
'GC-integrationFilled': 'icon-integrationFilled',
|
|
2091
|
+
'GC-calendarInput': 'icon-calendarInput',
|
|
2092
|
+
'GC-messageNew': 'icon-messageNew',
|
|
2093
|
+
'GC-fork': 'icon-fork',
|
|
2094
|
+
'GC-imageButtonNew': 'icon-imageButtonNew',
|
|
2095
|
+
'GC-operation': 'icon-operation',
|
|
2096
|
+
'GC-input': 'icon-input',
|
|
2097
|
+
'GC-integration': 'icon-integration',
|
|
2098
|
+
'GC-currency': 'icon-currency',
|
|
2099
|
+
'GC-displayMessage': 'icon-displayMessage',
|
|
2100
|
+
'GC-textButtonNew': 'icon-textButtonNew',
|
|
2101
|
+
'GC-videoButtonNew': 'icon-videoButtonNew',
|
|
2102
|
+
'GC-audioButtonNew': 'icon-audioButtonNew',
|
|
2103
|
+
'GC-fileNew': 'icon-fileNew',
|
|
2104
|
+
'GC-choice': 'icon-choice',
|
|
2105
|
+
'GC-linkButton': 'icon-linkButton',
|
|
2106
|
+
'GC-activities': 'icon-activities',
|
|
2107
|
+
'GC-analytics': 'icon-analytics',
|
|
2108
|
+
'GC-analyticsFilled': 'icon-analyticsFilled',
|
|
2109
|
+
'GC-asap': 'icon-asap',
|
|
2110
|
+
'GC-clipBoardNewFilled': 'icon-clipBoardFilled',
|
|
2111
|
+
'GC-clipBoardNew': 'icon-clipBoardNew',
|
|
2112
|
+
'GC-customize': 'icon-customize',
|
|
2113
|
+
'GC-customizeFilled': 'icon-customizeFilled',
|
|
2114
|
+
'GC-embed': 'icon-embed',
|
|
2115
|
+
'GC-fillter': 'icon-fillter',
|
|
2116
|
+
'GC-iframe': 'icon-iframe',
|
|
2117
|
+
'GC-multilingual': 'icon-multilingual',
|
|
2118
|
+
'GC-multilingualFilled': 'icon-multilingualFilled',
|
|
2119
|
+
'GC-outdated': 'icon-outdated',
|
|
2120
|
+
'GC-play': 'icon-play',
|
|
2121
|
+
'GC-print': 'icon-print',
|
|
2122
|
+
'GC-publicUrl': 'icon-publicUrl',
|
|
2123
|
+
'GC-publish': 'icon-publish',
|
|
2124
|
+
'GC-qr': 'icon-qr',
|
|
2125
|
+
'GC-share': 'icon-share',
|
|
2126
|
+
'GC-shareFilled': 'icon-shareFilled',
|
|
2127
|
+
'GC-sortDown': 'icon-sortDown',
|
|
2128
|
+
'GC-sortUp': 'icon-sortUp',
|
|
2129
|
+
'GC-star': 'icon-star',
|
|
2130
|
+
'GC-starFilled': 'icon-starFilled',
|
|
2131
|
+
'GC-toggleOff': 'icon-toggleOff',
|
|
2132
|
+
'GC-toggleOn': 'icon-toggleOn',
|
|
2133
|
+
'GC-TT-form': ['icon-TT-form', 2],
|
|
2134
|
+
'GC-TT-sparkles': ['icon-TT-sparkles', 2],
|
|
2135
|
+
'GC-TT-template': ['icon-TT-template', 2],
|
|
2136
|
+
'GC-IGConnect': ['icon-IG-connect', 3],
|
|
2137
|
+
'GC-IGMail': ['icon-IG-mail', 2],
|
|
2138
|
+
'GC-zohoCalander': ['icon-zohoCalander', 2],
|
|
2139
|
+
'GC-IGSheet': 'icon-IG-sheet',
|
|
2140
|
+
'GC-IGMeeting': 'icon-IG-meeting',
|
|
2141
|
+
'GC-combine': 'icon-combine',
|
|
2142
|
+
'GC-combineOld': ['icon-combineOld', 3]
|
|
2055
2143
|
},
|
|
2056
2144
|
ReactTwotoneIcon: {
|
|
2057
2145
|
'ZD-TT-call': ['icon-chCall', 2],
|
|
@@ -2182,7 +2270,22 @@ export const FontFactory = {
|
|
|
2182
2270
|
'ZD-TT-chTwitterDirectIn': ['icon-chTwitterDirect', 3],
|
|
2183
2271
|
'ZD-TT-chTwitterDirectOut': ['icon-chTwitterDirect', 3],
|
|
2184
2272
|
'ZD-TT-chTwitterDirectMissed': ['icon-chTwitterDirect', 3],
|
|
2185
|
-
'ZD-TT-ttFilter': ['icon-ttFilter', 2]
|
|
2273
|
+
'ZD-TT-ttFilter': ['icon-ttFilter', 2],
|
|
2274
|
+
'ZD-TT-notificationBell': ['icon-notificationBell', 2],
|
|
2275
|
+
'ZD-TT-selfservicePortal': ['icon-selfservicePortal', 2],
|
|
2276
|
+
'ZD-TT-ttComment': ['icon-ttComment', 2],
|
|
2277
|
+
'ZD-TT-ttCommentIn': ['icon-ttCommentIn', 3],
|
|
2278
|
+
'ZD-TT-ttCommentOut': ['icon-ttCommentOut', 3],
|
|
2279
|
+
'ZD-TT-aiInbox': ['icon-aiInbox', 2],
|
|
2280
|
+
'ZD-TT-aiChatSummary': ['icon-aiChatSummary', 2],
|
|
2281
|
+
'ZD-TT-splitView': ['icon-splitView', 2],
|
|
2282
|
+
'ZD-TT-fullView': ['icon-fullView', 2],
|
|
2283
|
+
'ZD-TT-compactView': ['icon-compactView', 2],
|
|
2284
|
+
'ZD-TT-weCom': ['icon-weCom', 2],
|
|
2285
|
+
'ZD-TT-exploreExtension': ['icon-exploreExtension', 2],
|
|
2286
|
+
'ZD-TT-uploadExtension': ['icon-uploadExtension', 2],
|
|
2287
|
+
'ZD-TT-buildExtension': ['icon-buildExtension', 2],
|
|
2288
|
+
'ZD-TT-ttMic': ['icon-ttMic', 2]
|
|
2186
2289
|
},
|
|
2187
2290
|
ReactAccessibilityIcon: {
|
|
2188
2291
|
'ZD-A11Y-hearing': 'icon-hearing',
|
|
@@ -2198,5 +2301,31 @@ export const FontFactory = {
|
|
|
2198
2301
|
'ZD-A11Y-elderly': 'icon-elderly',
|
|
2199
2302
|
'ZD-A11Y-epilepsy': 'icon-epilepsy',
|
|
2200
2303
|
'ZD-A11Y-visuallyImpaired': 'icon-visuallyImpaired'
|
|
2304
|
+
},
|
|
2305
|
+
ReactProductUpdatesIcon: {
|
|
2306
|
+
'ZD-PU-privacySecurity': 'icon-privacySecurity',
|
|
2307
|
+
'ZD-PU-communityDashboard': 'icon-communityDashboard',
|
|
2308
|
+
'ZD-PU-agentDetails': 'icon-agentDetails'
|
|
2309
|
+
},
|
|
2310
|
+
ReactAIIcon: {
|
|
2311
|
+
'ZD-AI-ziaSummary': 'icon-ziaSummary',
|
|
2312
|
+
'ZD-AI-ziaTranslator': 'icon-ziaTranslator',
|
|
2313
|
+
'ZD-AI-ziaContentEnhancer': 'icon-ziaContentEnhancer',
|
|
2314
|
+
'ZD-AI-ziaQualityChecker': 'icon-ziaQualityChecker',
|
|
2315
|
+
'ZD-AI-ziaGenerateContent': 'icon-ziaGenerateContent',
|
|
2316
|
+
'ZD-AI-ziaReplyAssistant': 'icon-ziaReplyAssistant',
|
|
2317
|
+
'ZD-AI-ziaRegerate': 'icon-ziaRegerate',
|
|
2318
|
+
'ZD-AI-chatGPT': 'icon-chatGPT',
|
|
2319
|
+
'ZD-AI-playground': 'icon-playground'
|
|
2320
|
+
},
|
|
2321
|
+
ReactAutomationIcon: {
|
|
2322
|
+
'ZD-AU-auAction': ['icon-auAction', 2],
|
|
2323
|
+
'ZD-AU-auIf': 'icon-auIf',
|
|
2324
|
+
'ZD-AU-auSchedule': 'icon-auSchedule',
|
|
2325
|
+
'ZD-AU-auBranch': 'icon-auBranch',
|
|
2326
|
+
'ZD-AU-auTrigger': 'icon-auTrigger'
|
|
2327
|
+
},
|
|
2328
|
+
ReactDeveloperSpaceIcon: {
|
|
2329
|
+
'ZD-DS-customMobileApp': 'icon-customMobileApp'
|
|
2201
2330
|
}
|
|
2202
2331
|
};
|
package/es/Icon/FontIcon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IconDefaultProps } from
|
|
3
|
-
import { IconProps } from
|
|
4
|
-
import { allCustomIcons } from
|
|
5
|
-
import style from
|
|
2
|
+
import { IconDefaultProps } from "./props/defaultProps";
|
|
3
|
+
import { IconProps } from "./props/propTypes";
|
|
4
|
+
import { allCustomIcons } from "./CustomIcons";
|
|
5
|
+
import style from "./Icon.module.css";
|
|
6
6
|
export default class FontIcon extends React.Component {
|
|
7
7
|
render() {
|
|
8
8
|
let {
|
|
@@ -18,6 +18,7 @@ export default class FontIcon extends React.Component {
|
|
|
18
18
|
size,
|
|
19
19
|
iconName,
|
|
20
20
|
titlePosition,
|
|
21
|
+
tagAttributes,
|
|
21
22
|
a11y
|
|
22
23
|
} = this.props;
|
|
23
24
|
let {
|
|
@@ -56,7 +57,8 @@ export default class FontIcon extends React.Component {
|
|
|
56
57
|
"data-title-position": titlePosition,
|
|
57
58
|
style: fontStyle,
|
|
58
59
|
"aria-hidden": ariaHidden,
|
|
59
|
-
"data-selector-id": dataSelectorId
|
|
60
|
+
"data-selector-id": dataSelectorId,
|
|
61
|
+
...tagAttributes
|
|
60
62
|
}, childArray ? childArray : null);
|
|
61
63
|
}
|
|
62
64
|
|
package/es/Icon/Icon.module.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import FontIcon from
|
|
2
|
+
import FontIcon from "../FontIcon";
|
|
3
3
|
import { render } from "@testing-library/react";
|
|
4
4
|
describe('FontIcon - ', () => {
|
|
5
5
|
test('rendering the "default" props', () => {
|
|
@@ -131,4 +131,14 @@ describe('FontIcon - ', () => {
|
|
|
131
131
|
}));
|
|
132
132
|
expect(asFragment()).toMatchSnapshot();
|
|
133
133
|
});
|
|
134
|
+
test('rendering custom attributes with tagAttributes prop', () => {
|
|
135
|
+
const {
|
|
136
|
+
asFragment
|
|
137
|
+
} = render( /*#__PURE__*/React.createElement(FontIcon, {
|
|
138
|
+
tagAttributes: {
|
|
139
|
+
'data-custom-attr': 'true'
|
|
140
|
+
}
|
|
141
|
+
}));
|
|
142
|
+
expect(asFragment()).toMatchSnapshot();
|
|
143
|
+
});
|
|
134
144
|
});
|
|
@@ -111,6 +111,19 @@ exports[`FontIcon - rendering "iconClass" with path 1`] = `
|
|
|
111
111
|
</DocumentFragment>
|
|
112
112
|
`;
|
|
113
113
|
|
|
114
|
+
exports[`FontIcon - rendering custom attributes with tagAttributes prop 1`] = `
|
|
115
|
+
<DocumentFragment>
|
|
116
|
+
<i
|
|
117
|
+
aria-hidden="true"
|
|
118
|
+
class="zd_font_icons basic undefined "
|
|
119
|
+
data-custom-attr="true"
|
|
120
|
+
data-id="fontIcon"
|
|
121
|
+
data-selector-id="fontIcon"
|
|
122
|
+
data-test-id="fontIcon"
|
|
123
|
+
/>
|
|
124
|
+
</DocumentFragment>
|
|
125
|
+
`;
|
|
126
|
+
|
|
114
127
|
exports[`FontIcon - rendering custom icon name 1`] = `
|
|
115
128
|
<DocumentFragment>
|
|
116
129
|
<i
|