@abgov/web-components 2.2.0-dev.63 → 2.2.0-dev.64
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/index.js +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -928,14 +928,14 @@ const tc = {
|
|
|
928
928
|
"4xl": "4xl"
|
|
929
929
|
};
|
|
930
930
|
function No(t) {
|
|
931
|
-
return t ? Number.isInteger(+t) ? tc[t] || "none" : t
|
|
931
|
+
return t === null ? null : Number.isInteger(+t) ? tc[t] || "none" : t;
|
|
932
932
|
}
|
|
933
933
|
function Se(t, e, o, i) {
|
|
934
934
|
return t = No(t), o = No(o), i = No(i), e = No(e), [
|
|
935
|
-
t
|
|
936
|
-
e
|
|
937
|
-
o
|
|
938
|
-
i
|
|
935
|
+
t ? `margin-top:var(--goa-space-${t});` : "",
|
|
936
|
+
e ? `margin-right:var(--goa-space-${e});` : "",
|
|
937
|
+
o ? `margin-bottom:var(--goa-space-${o});` : "",
|
|
938
|
+
i ? `margin-left:var(--goa-space-${i});` : ""
|
|
939
939
|
].join(" ").trim();
|
|
940
940
|
}
|
|
941
941
|
function Gs(t, e, o, i) {
|