@trackunit/react-components 0.1.104 → 0.1.105
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.cjs +4 -1
- package/index.js +4 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -2131,8 +2131,11 @@ const GridArea = ({ area, dataTestId, className, children }) => (jsxRuntime.jsx(
|
|
|
2131
2131
|
* @param {IntrinsicallyResponsiveGridProps} props - The props for the IntrinsicallyResponsiveGrid component
|
|
2132
2132
|
* @returns {JSX.Element} IntrinsicallyResponsiveGrid component
|
|
2133
2133
|
*/
|
|
2134
|
-
const IntrinsicallyResponsiveGrid = ({ children, occupation = "auto-fill", minColumnWidth = "md", rowHeight = "1fr", gap = "auto", dataTestId, className, }) =>
|
|
2134
|
+
const IntrinsicallyResponsiveGrid = ({ children, occupation = "auto-fill", minColumnWidth = "md", rowHeight = "1fr", gap = "auto", dataTestId, className, }) => {
|
|
2135
|
+
return (jsxRuntime.jsx(Layout$2, Object.assign({ "$minColumnWidth": minColumnWidth, "data-testid": dataTestId, "$gap": gap, "$rowHeight": rowHeight, "$occupation": occupation, className: className }, { children: children })));
|
|
2136
|
+
};
|
|
2135
2137
|
const Layout$2 = tailwindStyledComponents.tw.span `
|
|
2138
|
+
empty:hidden
|
|
2136
2139
|
tu-layout-IntrinsicallyResponsiveGrid
|
|
2137
2140
|
${({ $occupation }) => {
|
|
2138
2141
|
switch ($occupation) {
|
package/index.js
CHANGED
|
@@ -2104,8 +2104,11 @@ const GridArea = ({ area, dataTestId, className, children }) => (jsx("section",
|
|
|
2104
2104
|
* @param {IntrinsicallyResponsiveGridProps} props - The props for the IntrinsicallyResponsiveGrid component
|
|
2105
2105
|
* @returns {JSX.Element} IntrinsicallyResponsiveGrid component
|
|
2106
2106
|
*/
|
|
2107
|
-
const IntrinsicallyResponsiveGrid = ({ children, occupation = "auto-fill", minColumnWidth = "md", rowHeight = "1fr", gap = "auto", dataTestId, className, }) =>
|
|
2107
|
+
const IntrinsicallyResponsiveGrid = ({ children, occupation = "auto-fill", minColumnWidth = "md", rowHeight = "1fr", gap = "auto", dataTestId, className, }) => {
|
|
2108
|
+
return (jsx(Layout$2, Object.assign({ "$minColumnWidth": minColumnWidth, "data-testid": dataTestId, "$gap": gap, "$rowHeight": rowHeight, "$occupation": occupation, className: className }, { children: children })));
|
|
2109
|
+
};
|
|
2108
2110
|
const Layout$2 = tw.span `
|
|
2111
|
+
empty:hidden
|
|
2109
2112
|
tu-layout-IntrinsicallyResponsiveGrid
|
|
2110
2113
|
${({ $occupation }) => {
|
|
2111
2114
|
switch ($occupation) {
|