myshell-react-lib 0.1.73 → 0.1.75

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.d.cts CHANGED
@@ -441,6 +441,8 @@ interface IconButtonComponentProps<V extends VariantType = VariantType> extends
441
441
  iconClassName?: ClassNameValue;
442
442
  size?: IconButtonSize;
443
443
  isMobile?: boolean;
444
+ tooltipContentClassName?: string;
445
+ tooltipTriggerClassName?: string;
444
446
  variant?: V;
445
447
  color?: V extends keyof VariantColorMap ? VariantColorMap[V] : never;
446
448
  }
package/dist/index.d.ts CHANGED
@@ -441,6 +441,8 @@ interface IconButtonComponentProps<V extends VariantType = VariantType> extends
441
441
  iconClassName?: ClassNameValue;
442
442
  size?: IconButtonSize;
443
443
  isMobile?: boolean;
444
+ tooltipContentClassName?: string;
445
+ tooltipTriggerClassName?: string;
444
446
  variant?: V;
445
447
  color?: V extends keyof VariantColorMap ? VariantColorMap[V] : never;
446
448
  }
package/dist/index.js CHANGED
@@ -5741,7 +5741,7 @@ function getDefaultColorForVariant(variant) {
5741
5741
  }
5742
5742
  }
5743
5743
  function createIconButtonWithVariant(props, ref) {
5744
- var iconClassName = props.iconClassName, className = props.className, _props_variant = props.variant, variant = _props_variant === void 0 ? "primary" : _props_variant, _props_size = props.size, size = _props_size === void 0 ? "lg" : _props_size, userProvidedColor = props.color, _props_asChild = props.asChild, asChild = _props_asChild === void 0 ? false : _props_asChild, _props_loading = props.loading, loading = _props_loading === void 0 ? false : _props_loading, children = props.children, IconEle = props.icon, disabled = props.disabled, hoverText = props.hoverText, hoverSide = props.hoverSide, isMobile2 = props.isMobile, passProps = _object_without_properties(props, [
5744
+ var iconClassName = props.iconClassName, className = props.className, _props_variant = props.variant, variant = _props_variant === void 0 ? "primary" : _props_variant, _props_size = props.size, size = _props_size === void 0 ? "lg" : _props_size, userProvidedColor = props.color, _props_asChild = props.asChild, asChild = _props_asChild === void 0 ? false : _props_asChild, _props_loading = props.loading, loading = _props_loading === void 0 ? false : _props_loading, children = props.children, IconEle = props.icon, disabled = props.disabled, hoverText = props.hoverText, hoverSide = props.hoverSide, isMobile2 = props.isMobile, tooltipContentClassName = props.tooltipContentClassName, tooltipTriggerClassName = props.tooltipTriggerClassName, passProps = _object_without_properties(props, [
5745
5745
  "iconClassName",
5746
5746
  "className",
5747
5747
  "variant",
@@ -5754,7 +5754,9 @@ function createIconButtonWithVariant(props, ref) {
5754
5754
  "disabled",
5755
5755
  "hoverText",
5756
5756
  "hoverSide",
5757
- "isMobile"
5757
+ "isMobile",
5758
+ "tooltipContentClassName",
5759
+ "tooltipTriggerClassName"
5758
5760
  ]);
5759
5761
  var color = userProvidedColor || getDefaultColorForVariant(variant);
5760
5762
  var componentIsMobile = useMedia2("(max-width: 768px)");
@@ -5768,6 +5770,8 @@ function createIconButtonWithVariant(props, ref) {
5768
5770
  description: hoverText,
5769
5771
  side: hoverSide,
5770
5772
  disabled: isMob,
5773
+ contentClassName: cn("z-[200]", tooltipContentClassName),
5774
+ triggerClassName: tooltipTriggerClassName,
5771
5775
  children: /* @__PURE__ */ jsx12(Comp, _object_spread_props(_object_spread({
5772
5776
  className: cn(iconButtonVariants({
5773
5777
  variant: variant,
@@ -8223,7 +8227,7 @@ function SearchBar(_param) {
8223
8227
  size: size,
8224
8228
  className: cn("relative w-full px-9 flex space-x-2 text-base shadow-none placeholder:text-Colors-Text-Subtlest", "bg-cc-Search-Bar-bg-default focus-visible-style", {
8225
8229
  "focus-visible:ring-transparent": readOnly
8226
- }, className),
8230
+ }, inputClassName),
8227
8231
  value: value1,
8228
8232
  onChange: function(e) {
8229
8233
  setValue(e.target.value);