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.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/styles/design2-dark.scss +5 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6488,7 +6488,7 @@ function getDefaultColorForVariant(variant) {
|
|
|
6488
6488
|
}
|
|
6489
6489
|
}
|
|
6490
6490
|
function createIconButtonWithVariant(props, ref) {
|
|
6491
|
-
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, [
|
|
6491
|
+
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, [
|
|
6492
6492
|
"iconClassName",
|
|
6493
6493
|
"className",
|
|
6494
6494
|
"variant",
|
|
@@ -6501,7 +6501,9 @@ function createIconButtonWithVariant(props, ref) {
|
|
|
6501
6501
|
"disabled",
|
|
6502
6502
|
"hoverText",
|
|
6503
6503
|
"hoverSide",
|
|
6504
|
-
"isMobile"
|
|
6504
|
+
"isMobile",
|
|
6505
|
+
"tooltipContentClassName",
|
|
6506
|
+
"tooltipTriggerClassName"
|
|
6505
6507
|
]);
|
|
6506
6508
|
var color = userProvidedColor || getDefaultColorForVariant(variant);
|
|
6507
6509
|
var componentIsMobile = (0, import_react_use2.useMedia)("(max-width: 768px)");
|
|
@@ -6515,6 +6517,8 @@ function createIconButtonWithVariant(props, ref) {
|
|
|
6515
6517
|
description: hoverText,
|
|
6516
6518
|
side: hoverSide,
|
|
6517
6519
|
disabled: isMob,
|
|
6520
|
+
contentClassName: cn("z-[200]", tooltipContentClassName),
|
|
6521
|
+
triggerClassName: tooltipTriggerClassName,
|
|
6518
6522
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Comp, _object_spread_props(_object_spread({
|
|
6519
6523
|
className: cn(iconButtonVariants({
|
|
6520
6524
|
variant: variant,
|
|
@@ -8970,7 +8974,7 @@ function SearchBar(_param) {
|
|
|
8970
8974
|
size: size,
|
|
8971
8975
|
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", {
|
|
8972
8976
|
"focus-visible:ring-transparent": readOnly
|
|
8973
|
-
},
|
|
8977
|
+
}, inputClassName),
|
|
8974
8978
|
value: value1,
|
|
8975
8979
|
onChange: function(e) {
|
|
8976
8980
|
setValue(e.target.value);
|