@launchpad-ui/columns
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -38,16 +38,13 @@ import './style.css'; | ||
}; | ||
const Column = ({ children, className, "data-test-id": testId = "column", size }) => { | ||
return /* @__PURE__ */ jsx( | ||
"div", | ||
{ | ||
className: cx( | ||
styles.column, | ||
size !== "content" && styles.fluid, | ||
!!size && ColumnSizes[size], | ||
className | ||
), | ||
"data-test-id": testId, | ||
children | ||
} | ||
); | ||
const Column = ({ | ||
children, | ||
className, | ||
"data-test-id": testId = "column", | ||
size | ||
}) => { | ||
return /* @__PURE__ */ jsx("div", { | ||
className: cx(styles.column, size !== "content" && styles.fluid, !!size && ColumnSizes[size], className), | ||
"data-test-id": testId, | ||
children | ||
}); | ||
}; | ||
@@ -61,10 +58,7 @@ const Columns = ({ | ||
}) => { | ||
return /* @__PURE__ */ jsx( | ||
"div", | ||
{ | ||
className: cx(styles.columns, styles[`gap-${gap}`], styles[`alignY-${alignY}`], className), | ||
"data-test-id": testId, | ||
children | ||
} | ||
); | ||
return /* @__PURE__ */ jsx("div", { | ||
className: cx(styles.columns, styles[`gap-${gap}`], styles[`alignY-${alignY}`], className), | ||
"data-test-id": testId, | ||
children | ||
}); | ||
}; | ||
@@ -71,0 +65,0 @@ export { |
@@ -40,16 +40,13 @@ require('./style.css'); | ||
}; | ||
const Column = ({ children, className, "data-test-id": testId = "column", size }) => { | ||
return /* @__PURE__ */ jsxRuntime.jsx( | ||
"div", | ||
{ | ||
className: classix.cx( | ||
styles.column, | ||
size !== "content" && styles.fluid, | ||
!!size && ColumnSizes[size], | ||
className | ||
), | ||
"data-test-id": testId, | ||
children | ||
} | ||
); | ||
const Column = ({ | ||
children, | ||
className, | ||
"data-test-id": testId = "column", | ||
size | ||
}) => { | ||
return /* @__PURE__ */ jsxRuntime.jsx("div", { | ||
className: classix.cx(styles.column, size !== "content" && styles.fluid, !!size && ColumnSizes[size], className), | ||
"data-test-id": testId, | ||
children | ||
}); | ||
}; | ||
@@ -63,10 +60,7 @@ const Columns = ({ | ||
}) => { | ||
return /* @__PURE__ */ jsxRuntime.jsx( | ||
"div", | ||
{ | ||
className: classix.cx(styles.columns, styles[`gap-${gap}`], styles[`alignY-${alignY}`], className), | ||
"data-test-id": testId, | ||
children | ||
} | ||
); | ||
return /* @__PURE__ */ jsxRuntime.jsx("div", { | ||
className: classix.cx(styles.columns, styles[`gap-${gap}`], styles[`alignY-${alignY}`], className), | ||
"data-test-id": testId, | ||
children | ||
}); | ||
}; | ||
@@ -73,0 +67,0 @@ exports.Column = Column; |
{ | ||
"name": "@launchpad-ui/columns", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"status": "alpha", | ||
@@ -30,3 +30,3 @@ "publishConfig": { | ||
"classix": "2.1.17", | ||
"@launchpad-ui/tokens": "~0.9.1", | ||
"@launchpad-ui/tokens": "~0.9.2", | ||
"@launchpad-ui/types": "~0.1.0" | ||
@@ -33,0 +33,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13726
219
Updated@launchpad-ui/tokens@~0.9.2