elseware-ui 2.23.0 → 2.23.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/build/index.es.js CHANGED
@@ -84427,7 +84427,7 @@ var Footer = function (_a) {
84427
84427
 
84428
84428
  function Block(_a) {
84429
84429
  var title = _a.title, description = _a.description, required = _a.required, _b = _a.layout, layout = _b === void 0 ? "horizontal" : _b, _c = _a.labelWidth, labelWidth = _c === void 0 ? "w-[320px]" : _c, children = _a.children, className = _a.className, rest = __rest$1(_a, ["title", "description", "required", "layout", "labelWidth", "children", "className"]);
84430
- return (jsxs("div", __assign$1({}, rest, { className: cn$1("w-full", layout === "horizontal" && "flex gap-4", layout === "vertical" && "flex flex-col gap-2", className) }, { children: [(title || description || required) && (jsxs("div", __assign$1({ className: cn$1(layout === "horizontal" && labelWidth, layout === "vertical" && "w-full") }, { children: [title && (jsx("div", __assign$1({ className: "text-base font-semibold text-gray-200" }, { children: title }))), required && (jsx("div", __assign$1({ className: "text-xs text-red-500 mt-1" }, { children: "Required" }))), description && (jsx("div", __assign$1({ className: "text-sm text-gray-500 mt-1" }, { children: description })))] }))), jsx("div", __assign$1({ className: "flex-1" }, { children: children }))] })));
84430
+ return (jsxs("div", __assign$1({}, rest, { className: cn$1("w-full", layout === "horizontal" && "flex gap-4", layout === "vertical" && "flex flex-col gap-2", className) }, { children: [(title || description || required) && (jsxs("div", __assign$1({ className: cn$1(layout === "horizontal" && labelWidth, layout === "vertical" && "w-full") }, { children: [title && (jsx("div", __assign$1({ className: "text-base font-semibold text-gray-400" }, { children: title }))), required && (jsx("div", __assign$1({ className: "text-xs text-red-500 mt-1" }, { children: "Required" }))), description && (jsx("div", __assign$1({ className: "text-sm text-gray-500 mt-1" }, { children: description })))] }))), jsx("div", __assign$1({ className: "flex-1" }, { children: children }))] })));
84431
84431
  }
84432
84432
 
84433
84433
  function BlockGroup(_a) {
package/build/index.js CHANGED
@@ -84454,7 +84454,7 @@ var Footer = function (_a) {
84454
84454
 
84455
84455
  function Block(_a) {
84456
84456
  var title = _a.title, description = _a.description, required = _a.required, _b = _a.layout, layout = _b === void 0 ? "horizontal" : _b, _c = _a.labelWidth, labelWidth = _c === void 0 ? "w-[320px]" : _c, children = _a.children, className = _a.className, rest = __rest$1(_a, ["title", "description", "required", "layout", "labelWidth", "children", "className"]);
84457
- return (jsxRuntime.jsxs("div", __assign$1({}, rest, { className: cn$1("w-full", layout === "horizontal" && "flex gap-4", layout === "vertical" && "flex flex-col gap-2", className) }, { children: [(title || description || required) && (jsxRuntime.jsxs("div", __assign$1({ className: cn$1(layout === "horizontal" && labelWidth, layout === "vertical" && "w-full") }, { children: [title && (jsxRuntime.jsx("div", __assign$1({ className: "text-base font-semibold text-gray-200" }, { children: title }))), required && (jsxRuntime.jsx("div", __assign$1({ className: "text-xs text-red-500 mt-1" }, { children: "Required" }))), description && (jsxRuntime.jsx("div", __assign$1({ className: "text-sm text-gray-500 mt-1" }, { children: description })))] }))), jsxRuntime.jsx("div", __assign$1({ className: "flex-1" }, { children: children }))] })));
84457
+ return (jsxRuntime.jsxs("div", __assign$1({}, rest, { className: cn$1("w-full", layout === "horizontal" && "flex gap-4", layout === "vertical" && "flex flex-col gap-2", className) }, { children: [(title || description || required) && (jsxRuntime.jsxs("div", __assign$1({ className: cn$1(layout === "horizontal" && labelWidth, layout === "vertical" && "w-full") }, { children: [title && (jsxRuntime.jsx("div", __assign$1({ className: "text-base font-semibold text-gray-400" }, { children: title }))), required && (jsxRuntime.jsx("div", __assign$1({ className: "text-xs text-red-500 mt-1" }, { children: "Required" }))), description && (jsxRuntime.jsx("div", __assign$1({ className: "text-sm text-gray-500 mt-1" }, { children: description })))] }))), jsxRuntime.jsx("div", __assign$1({ className: "flex-1" }, { children: children }))] })));
84458
84458
  }
84459
84459
 
84460
84460
  function BlockGroup(_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elseware-ui",
3
- "version": "2.23.0",
3
+ "version": "2.23.1",
4
4
  "private": false,
5
5
  "description": "A modern and customizable React UI component library by elseware Technology.",
6
6
  "keywords": [