@zohodesk/svg 1.3.9 → 1.3.10
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/es/Loader/__tests__/__snapshots__/Loader.spec.js.snap +1 -1
- package/es/SVG/SVG.js +2 -2
- package/es/SVG/__tests__/__snapshots__/SVG.spec.js.snap +15 -15
- package/es/emptystate/version1/__tests__/__snapshots__/version1.spec.js.snap +1 -1
- package/es/emptystate/version2/__tests__/__snapshots__/version2.spec.js.snap +9 -9
- package/es/emptystate/version3/__tests__/__snapshots__/version3.spec.js.snap +78 -78
- package/es/errorstate/version1/__tests__/__snapshots__/version1.spec.js.snap +7 -7
- package/es/errorstate/version2/__tests__/__snapshots__/version2.spec.js.snap +2 -2
- package/es/errorstate/version3/__tests__/__snapshots__/version3.spec.js.snap +6 -6
- package/es/v1/SVG/SVG.js +2 -2
- package/lib/Loader/__tests__/__snapshots__/Loader.spec.js.snap +1 -1
- package/lib/SVG/SVG.js +2 -2
- package/lib/SVG/__tests__/__snapshots__/SVG.spec.js.snap +15 -15
- package/lib/emptystate/version1/__tests__/__snapshots__/version1.spec.js.snap +1 -1
- package/lib/emptystate/version2/__tests__/__snapshots__/version2.spec.js.snap +9 -9
- package/lib/emptystate/version3/__tests__/__snapshots__/version3.spec.js.snap +78 -78
- package/lib/errorstate/version1/__tests__/__snapshots__/version1.spec.js.snap +7 -7
- package/lib/errorstate/version2/__tests__/__snapshots__/version2.spec.js.snap +2 -2
- package/lib/errorstate/version3/__tests__/__snapshots__/version3.spec.js.snap +6 -6
- package/lib/v1/SVG/SVG.js +2 -2
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ exports[`SVG componet Rendering all svgs in version1 ErrorState EmptyInconvenien
|
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
aria-hidden="true"
|
|
7
|
-
class="
|
|
7
|
+
class=" default svgCenter "
|
|
8
8
|
>
|
|
9
9
|
<svg
|
|
10
10
|
data-id="inconvenience"
|
|
@@ -27,7 +27,7 @@ exports[`SVG componet Rendering all svgs in version1 ErrorState NoRequestFound 1
|
|
|
27
27
|
<DocumentFragment>
|
|
28
28
|
<div
|
|
29
29
|
aria-hidden="true"
|
|
30
|
-
class="
|
|
30
|
+
class=" default svgCenter "
|
|
31
31
|
>
|
|
32
32
|
<svg
|
|
33
33
|
data-id="noRequestFound"
|
|
@@ -50,7 +50,7 @@ exports[`SVG componet Rendering all svgs in version1 ErrorState PageNotFound 1`]
|
|
|
50
50
|
<DocumentFragment>
|
|
51
51
|
<div
|
|
52
52
|
aria-hidden="true"
|
|
53
|
-
class="
|
|
53
|
+
class=" default svgCenter "
|
|
54
54
|
>
|
|
55
55
|
<svg
|
|
56
56
|
data-id="pageNotFound"
|
|
@@ -73,7 +73,7 @@ exports[`SVG componet Rendering all svgs in version1 ErrorState UnableToProcessR
|
|
|
73
73
|
<DocumentFragment>
|
|
74
74
|
<div
|
|
75
75
|
aria-hidden="true"
|
|
76
|
-
class="
|
|
76
|
+
class=" default svgCenter "
|
|
77
77
|
>
|
|
78
78
|
<svg
|
|
79
79
|
data-id="unableToProcessRequest"
|
|
@@ -96,7 +96,7 @@ exports[`SVG componet Rendering all svgs in version1 ErrorState UnauthorizedLogi
|
|
|
96
96
|
<DocumentFragment>
|
|
97
97
|
<div
|
|
98
98
|
aria-hidden="true"
|
|
99
|
-
class="
|
|
99
|
+
class=" default svgCenter "
|
|
100
100
|
>
|
|
101
101
|
<svg
|
|
102
102
|
data-id="unauthorizedLogin"
|
|
@@ -119,7 +119,7 @@ exports[`SVG componet Rendering all svgs in version1 ErrorState UrlNotFound 1`]
|
|
|
119
119
|
<DocumentFragment>
|
|
120
120
|
<div
|
|
121
121
|
aria-hidden="true"
|
|
122
|
-
class="
|
|
122
|
+
class=" default svgCenter "
|
|
123
123
|
>
|
|
124
124
|
<svg
|
|
125
125
|
data-id="urlNotFound"
|
|
@@ -142,7 +142,7 @@ exports[`SVG componet Rendering all svgs in version1 ErrorState WillBeRightBack
|
|
|
142
142
|
<DocumentFragment>
|
|
143
143
|
<div
|
|
144
144
|
aria-hidden="true"
|
|
145
|
-
class="
|
|
145
|
+
class=" default svgCenter "
|
|
146
146
|
>
|
|
147
147
|
<svg
|
|
148
148
|
data-id="willBeRightBack"
|
|
@@ -4,7 +4,7 @@ exports[`SVG componet Rendering all svgs in version2 ErrorState EmptyUnauthorize
|
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
aria-hidden="true"
|
|
7
|
-
class="
|
|
7
|
+
class=" default svgCenter "
|
|
8
8
|
>
|
|
9
9
|
<svg
|
|
10
10
|
data-id="emptyUnauthorizedLogin"
|
|
@@ -35,7 +35,7 @@ exports[`SVG componet Rendering all svgs in version2 ErrorState EmptyWillBeRight
|
|
|
35
35
|
<DocumentFragment>
|
|
36
36
|
<div
|
|
37
37
|
aria-hidden="true"
|
|
38
|
-
class="
|
|
38
|
+
class=" default svgCenter "
|
|
39
39
|
>
|
|
40
40
|
<svg
|
|
41
41
|
data-id="emptyWillBeRightBack"
|
|
@@ -4,7 +4,7 @@ exports[`SVG componet Rendering all svgs in version3 ErrorState ErrorInconvenien
|
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
aria-hidden="true"
|
|
7
|
-
class="
|
|
7
|
+
class=" default svgCenter "
|
|
8
8
|
>
|
|
9
9
|
<svg
|
|
10
10
|
data-id="inconvenience"
|
|
@@ -123,7 +123,7 @@ exports[`SVG componet Rendering all svgs in version3 ErrorState ErrorOopsSomethi
|
|
|
123
123
|
<DocumentFragment>
|
|
124
124
|
<div
|
|
125
125
|
aria-hidden="true"
|
|
126
|
-
class="
|
|
126
|
+
class=" default svgCenter "
|
|
127
127
|
>
|
|
128
128
|
<svg
|
|
129
129
|
data-id="oopssomethingmiss"
|
|
@@ -242,7 +242,7 @@ exports[`SVG componet Rendering all svgs in version3 ErrorState ErrorUnableToPro
|
|
|
242
242
|
<DocumentFragment>
|
|
243
243
|
<div
|
|
244
244
|
aria-hidden="true"
|
|
245
|
-
class="
|
|
245
|
+
class=" default svgCenter "
|
|
246
246
|
>
|
|
247
247
|
<svg
|
|
248
248
|
data-id="unabletoprocessrequest"
|
|
@@ -361,7 +361,7 @@ exports[`SVG componet Rendering all svgs in version3 ErrorState ErrorUnauthorize
|
|
|
361
361
|
<DocumentFragment>
|
|
362
362
|
<div
|
|
363
363
|
aria-hidden="true"
|
|
364
|
-
class="
|
|
364
|
+
class=" default svgCenter "
|
|
365
365
|
>
|
|
366
366
|
<svg
|
|
367
367
|
data-id="unauthorizedlogin"
|
|
@@ -463,7 +463,7 @@ exports[`SVG componet Rendering all svgs in version3 ErrorState ErrorUrlNotFound
|
|
|
463
463
|
<DocumentFragment>
|
|
464
464
|
<div
|
|
465
465
|
aria-hidden="true"
|
|
466
|
-
class="
|
|
466
|
+
class=" default svgCenter "
|
|
467
467
|
>
|
|
468
468
|
<svg
|
|
469
469
|
data-id="urlnotfound"
|
|
@@ -582,7 +582,7 @@ exports[`SVG componet Rendering all svgs in version3 ErrorState ErrorWillBeRight
|
|
|
582
582
|
<DocumentFragment>
|
|
583
583
|
<div
|
|
584
584
|
aria-hidden="true"
|
|
585
|
-
class="
|
|
585
|
+
class=" default svgCenter "
|
|
586
586
|
>
|
|
587
587
|
<svg
|
|
588
588
|
data-id="willberightback"
|
package/lib/v1/SVG/SVG.js
CHANGED
|
@@ -36,7 +36,7 @@ function SVG(props) {
|
|
|
36
36
|
id: name,
|
|
37
37
|
viewBox: viewBox
|
|
38
38
|
}, children))) : null, isRender && isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
39
|
-
className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(
|
|
39
|
+
className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(_EmptyStateVariablesModule["default"][palette], " ").concat(alignHorizontal ? _SVGModule["default"].svgCenter : '', " ").concat(className),
|
|
40
40
|
"aria-hidden": "true"
|
|
41
41
|
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
42
42
|
height: "100%",
|
|
@@ -46,7 +46,7 @@ function SVG(props) {
|
|
|
46
46
|
}, /*#__PURE__*/_react["default"].createElement("use", {
|
|
47
47
|
xlinkHref: "#".concat(name)
|
|
48
48
|
}))) : isRender ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
49
|
-
className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(
|
|
49
|
+
className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(_EmptyStateVariablesModule["default"][palette], " ").concat(alignHorizontal ? _SVGModule["default"].svgCenter : '', " ").concat(className),
|
|
50
50
|
"aria-hidden": "true"
|
|
51
51
|
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
52
52
|
height: "100%",
|