@zohodesk/icons 1.3.10 → 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.
- package/README.md +4 -0
- package/assets/fonts/zd-rGeneral.svg +1 -0
- package/assets/fonts/zd-rGeneral.woff +0 -0
- package/assets/fonts/zd-rGeneral.woff2 +0 -0
- package/assets/react/zd-font-rGeneral.module.css +6 -3
- package/cbt.config.js +1 -1
- package/es/Context/__tests__/__snapshots__/IconContext.spec.js.snap +11 -11
- package/es/Icon/FontFactory.js +2 -1
- package/es/Icon/__tests__/Icon.spec.js +15 -0
- package/es/Icon/__tests__/__snapshots__/FontIcon.spec.js.snap +21 -21
- package/es/Icon/__tests__/__snapshots__/Icon.spec.js.snap +37876 -0
- package/es/Icon/__tests__/__snapshots__/SvgIcon.spec.js.snap +12 -12
- package/lib/Context/__tests__/__snapshots__/IconContext.spec.js.snap +11 -11
- package/lib/Icon/FontFactory.js +1 -1
- package/lib/Icon/__tests__/Icon.spec.js +38 -0
- package/lib/Icon/__tests__/__snapshots__/FontIcon.spec.js.snap +21 -21
- package/lib/Icon/__tests__/__snapshots__/Icon.spec.js.snap +37876 -0
- package/lib/Icon/__tests__/__snapshots__/SvgIcon.spec.js.snap +12 -12
- package/package.json +2 -2
|
@@ -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
|
|
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"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/icons",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.11",
|
|
4
4
|
"description": "DOT - Icons",
|
|
5
5
|
"main": "es/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -67,4 +67,4 @@
|
|
|
67
67
|
"@dot-system/css-utility": "0.1.1",
|
|
68
68
|
"@zohodesk/dotkit": "1.0.10"
|
|
69
69
|
}
|
|
70
|
-
}
|
|
70
|
+
}
|