@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.
Files changed (2) hide show
  1. package/index.js +5 -5
  2. 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 : "none";
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 && t !== "none" && `margin-top:var(--goa-space-${t});` || "",
936
- e && e !== "none" && `margin-right:var(--goa-space-${e});` || "",
937
- o && o !== "none" && `margin-bottom:var(--goa-space-${o});` || "",
938
- i && i !== "none" && `margin-left:var(--goa-space-${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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/web-components",
3
- "version": "2.2.0-dev.63",
3
+ "version": "2.2.0-dev.64",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - UI Web components",
6
6
  "bugs": {