@clearstory/drywall-react 8.0.0 → 8.0.1

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.
@@ -118,9 +118,7 @@ const g = [
118
118
  "textTransform",
119
119
  "lineHeight",
120
120
  "textAlign",
121
- "typography",
122
- // other common system props
123
- "spacing"
121
+ "typography"
124
122
  ], c = {
125
123
  Container: ["maxWidth"],
126
124
  Dialog: ["maxWidth"],
@@ -160,7 +158,7 @@ const g = [
160
158
  return;
161
159
  } else
162
160
  return;
163
- const p = [];
161
+ const d = [];
164
162
  o.attributes.forEach((t) => {
165
163
  const n = t;
166
164
  if (n.type !== "JSXAttribute" || !n.name)
@@ -168,11 +166,11 @@ const g = [
168
166
  const a = n.name.name;
169
167
  if (a === "sx" || !g.includes(a))
170
168
  return;
171
- const s = r.get(e) ?? e, d = c[s];
172
- d && d.includes(a) || p.push(
169
+ const s = r.get(e) ?? e, p = c[s];
170
+ p && p.includes(a) || d.push(
173
171
  n
174
172
  );
175
- }), p.forEach((t) => {
173
+ }), d.forEach((t) => {
176
174
  l.report({
177
175
  node: t,
178
176
  messageId: "systemProp",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearstory/drywall-react",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "license": "UNLICENSED",
5
5
  "description": "a Clearstory software design system",
6
6
  "type": "module",