@godxjp/ui 5.0.0 → 5.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.
package/dist/index.js CHANGED
@@ -162,11 +162,13 @@ function Col({
162
162
  const merged = {
163
163
  flexBasis: flex !== void 0 ? void 0 : `${SPAN_TO_PCT(resolved)}%`,
164
164
  maxWidth: flex !== void 0 ? void 0 : `${SPAN_TO_PCT(resolved)}%`,
165
- flex: typeof flex === "number" ? `${flex} ${flex} auto` : flex,
166
165
  paddingLeft: h ? `${h / 2}px` : void 0,
167
166
  paddingRight: h ? `${h / 2}px` : void 0,
168
167
  marginLeft: offset ? `${SPAN_TO_PCT(offset)}%` : void 0,
169
168
  order,
169
+ ...flex !== void 0 && {
170
+ flex: typeof flex === "number" ? `${flex} ${flex} auto` : flex
171
+ },
170
172
  ...style
171
173
  };
172
174
  return /* @__PURE__ */ jsx("div", { className: cn("min-w-0", className), style: merged, ...rest, children });