myshell-react-lib 0.1.62 → 0.1.63

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.cjs CHANGED
@@ -7733,7 +7733,7 @@ var import_class_variance_authority11 = require("class-variance-authority");
7733
7733
  var React21 = __toESM(require("react"), 1);
7734
7734
  var import_jsx_runtime29 = require("react/jsx-runtime");
7735
7735
  var Input = React21.forwardRef(function(_param, ref) {
7736
- var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "sm" : _param_rounded, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_border = _param.border, border = _param_border === void 0 ? "default" : _param_border, _param_outline = _param.outline, outline = _param_outline === void 0 ? "default" : _param_outline, _param_background = _param.background, background = _param_background === void 0 ? "default" : _param_background, _param_shadow = _param.shadow, shadow = _param_shadow === void 0 ? "default" : _param_shadow, maxLength = _param.maxLength, value1 = _param.value, showLength = _param.showLength, props = _object_without_properties(_param, [
7736
+ var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "sm" : _param_rounded, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_border = _param.border, border = _param_border === void 0 ? "default" : _param_border, _param_outline = _param.outline, outline = _param_outline === void 0 ? "default" : _param_outline, _param_background = _param.background, background = _param_background === void 0 ? "default" : _param_background, _param_shadow = _param.shadow, shadow = _param_shadow === void 0 ? "default" : _param_shadow, maxLength = _param.maxLength, value1 = _param.value, showLength = _param.showLength, rootClassName = _param.rootClassName, props = _object_without_properties(_param, [
7737
7737
  "className",
7738
7738
  "type",
7739
7739
  "autoComplete",
@@ -7746,7 +7746,8 @@ var Input = React21.forwardRef(function(_param, ref) {
7746
7746
  "shadow",
7747
7747
  "maxLength",
7748
7748
  "value",
7749
- "showLength"
7749
+ "showLength",
7750
+ "rootClassName"
7750
7751
  ]);
7751
7752
  var _value_toString;
7752
7753
  var readOnly = props.readOnly;
@@ -7798,7 +7799,7 @@ var Input = React21.forwardRef(function(_param, ref) {
7798
7799
  }
7799
7800
  });
7800
7801
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", {
7801
- className: "relative",
7802
+ className: cn("relative w-full", rootClassName),
7802
7803
  children: [
7803
7804
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("input", _object_spread({
7804
7805
  type: type,
@@ -12228,8 +12229,10 @@ var Switch = React36.forwardRef(function(_param, ref) {
12228
12229
  "icon"
12229
12230
  ]);
12230
12231
  var Component = label ? "div" : React36.Fragment;
12231
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Component, {
12232
- className: cn("flex items-center justify-center space-x-1.5 text-Colors-Text-Default", vertical && "flex-col space-x-0 space-y-1.5"),
12232
+ var componentProps = label ? {
12233
+ className: cn("flex items-center justify-center space-x-1.5 text-Colors-Text-Default", vertical && "flex-col space-x-0 space-y-1.5")
12234
+ } : {};
12235
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Component, _object_spread_props(_object_spread({}, componentProps), {
12233
12236
  children: [
12234
12237
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SwitchPrimitives.Root, _object_spread_props(_object_spread({
12235
12238
  className: cn(switchRootVariants({
@@ -12256,7 +12259,7 @@ var Switch = React36.forwardRef(function(_param, ref) {
12256
12259
  children: label
12257
12260
  })
12258
12261
  ]
12259
- });
12262
+ }));
12260
12263
  });
12261
12264
  Switch.displayName = SwitchPrimitives.Root.displayName;
12262
12265
  // src/components/tabs.tsx