@oaknational/oak-components 3.20.1 → 3.20.2
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/dist/npm/cjs/index.js
CHANGED
|
@@ -1828,10 +1828,10 @@ var InternalLink = React.forwardRef(function (props, ref) {
|
|
|
1828
1828
|
var icon = (function () {
|
|
1829
1829
|
switch (true) {
|
|
1830
1830
|
case isLoading:
|
|
1831
|
-
return (React__default.default.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline
|
|
1831
|
+
return (React__default.default.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline" },
|
|
1832
1832
|
React__default.default.createElement(StyledOakLoadingSpinner, { "$color": "icon-primary" })));
|
|
1833
1833
|
case !!iconName:
|
|
1834
|
-
return (React__default.default.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline
|
|
1834
|
+
return (React__default.default.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline" },
|
|
1835
1835
|
React__default.default.createElement(StyledOakIcon$3, { iconName: iconName })));
|
|
1836
1836
|
default:
|
|
1837
1837
|
return null;
|
|
@@ -25,10 +25,10 @@ var InternalLink = forwardRef(function (props, ref) {
|
|
|
25
25
|
var icon = (function () {
|
|
26
26
|
switch (true) {
|
|
27
27
|
case isLoading:
|
|
28
|
-
return (React.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline
|
|
28
|
+
return (React.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline" },
|
|
29
29
|
React.createElement(StyledOakLoadingSpinner, { "$color": "icon-primary" })));
|
|
30
30
|
case !!iconName:
|
|
31
|
-
return (React.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline
|
|
31
|
+
return (React.createElement(OakBox, { "$pl": isTrailingIcon ? "spacing-4" : undefined, "$pr": isTrailingIcon ? undefined : "spacing-4", "$display": "inline" },
|
|
32
32
|
React.createElement(StyledOakIcon, { iconName: iconName })));
|
|
33
33
|
default:
|
|
34
34
|
return null;
|