myshell-react-lib 0.1.62 → 0.1.64
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 +18 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +18 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6659,7 +6659,7 @@ var Primitive = NODES.reduce(function(primitive, node) {
|
|
|
6659
6659
|
var import_class_variance_authority6 = require("class-variance-authority");
|
|
6660
6660
|
var React12 = __toESM(require("react"), 1);
|
|
6661
6661
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
6662
|
-
var avatarVariants = (0, import_class_variance_authority6.cva)("relative flex shrink-0 overflow-hidden bg-Colors-Background-
|
|
6662
|
+
var avatarVariants = (0, import_class_variance_authority6.cva)("relative flex shrink-0 overflow-hidden bg-Colors-Background-Normal-Secondary-Hover", {
|
|
6663
6663
|
variants: {
|
|
6664
6664
|
size: {
|
|
6665
6665
|
xs: "w-5 h-5 rounded-xs",
|
|
@@ -6728,7 +6728,7 @@ var AvatarImage = React12.forwardRef(function(_param, ref) {
|
|
|
6728
6728
|
onError: handleError
|
|
6729
6729
|
}, props)) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Primitive.span, _object_spread({
|
|
6730
6730
|
ref: ref,
|
|
6731
|
-
className: cn("flex h-full w-full items-center justify-center bg-Colors-Background-
|
|
6731
|
+
className: cn("flex h-full w-full items-center justify-center bg-Colors-Background-Normal-Secondary-Hover", className)
|
|
6732
6732
|
}, props));
|
|
6733
6733
|
});
|
|
6734
6734
|
AvatarImage.displayName = "AvatarImage";
|
|
@@ -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,
|
|
@@ -11613,8 +11614,8 @@ function TopNavigationBar(param) {
|
|
|
11613
11614
|
pageType === 2 && isMob && !(avatar === null || avatar === void 0 ? void 0 : avatar.logo) && !searchElement && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
|
|
11614
11615
|
className: "absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 z-10",
|
|
11615
11616
|
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Display, {
|
|
11616
|
-
size: "
|
|
11617
|
-
className: "line-clamp-1 text-
|
|
11617
|
+
size: "xs",
|
|
11618
|
+
className: "line-clamp-1 text-lg",
|
|
11618
11619
|
children: title
|
|
11619
11620
|
})
|
|
11620
11621
|
}),
|
|
@@ -11766,7 +11767,7 @@ var SelectContent = React33.forwardRef(function(_param, ref) {
|
|
|
11766
11767
|
position: position
|
|
11767
11768
|
}, props), {
|
|
11768
11769
|
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.Viewport, {
|
|
11769
|
-
className: cn("p-1.5 space-y-1
|
|
11770
|
+
className: cn("p-1.5 space-y-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
11770
11771
|
children: children
|
|
11771
11772
|
})
|
|
11772
11773
|
}));
|
|
@@ -11823,7 +11824,7 @@ var SelectItem = React33.forwardRef(function(_param, ref) {
|
|
|
11823
11824
|
]);
|
|
11824
11825
|
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(SelectPrimitive.Item, _object_spread_props(_object_spread({
|
|
11825
11826
|
ref: ref,
|
|
11826
|
-
className: cn("relative flex justify-between w-full text-sm cursor-pointer select-none items-center rounded-sm py-1 px-1.5 outline-none", "bg-Colors-Background-Normal-
|
|
11827
|
+
className: cn("relative flex justify-between w-full text-sm cursor-pointer select-none items-center rounded-sm py-1 px-1.5 outline-none", "bg-Colors-Background-Normal-Primary-Hover hover:bg-Colors-Background-Utilities-Modal focus:bg-Colors-Background-Neutral-Primary-Default data-[disabled]:opacity-30 data-[disabled]:cursor-not-allowed", critical ? "text-Colors-Text-Critical-Default" : "focus:text-Colors-Text-Default", className)
|
|
11827
11828
|
}, props), {
|
|
11828
11829
|
children: [
|
|
11829
11830
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", {
|
|
@@ -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
|
-
|
|
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
|
|
@@ -12288,17 +12291,17 @@ var tabListVariants = (0, import_class_variance_authority17.cva)("w-full relativ
|
|
|
12288
12291
|
{
|
|
12289
12292
|
variant: "button",
|
|
12290
12293
|
size: "lg",
|
|
12291
|
-
className: "min-w-[320px]"
|
|
12294
|
+
className: "min-w-[320px] h-auto"
|
|
12292
12295
|
},
|
|
12293
12296
|
{
|
|
12294
12297
|
variant: "button",
|
|
12295
12298
|
size: "md",
|
|
12296
|
-
className: "min-w-[218px]"
|
|
12299
|
+
className: "min-w-[218px] h-auto"
|
|
12297
12300
|
},
|
|
12298
12301
|
{
|
|
12299
12302
|
variant: "button",
|
|
12300
12303
|
size: "sm",
|
|
12301
|
-
className: "min-w-[180px]"
|
|
12304
|
+
className: "min-w-[180px] h-auto"
|
|
12302
12305
|
},
|
|
12303
12306
|
{
|
|
12304
12307
|
variant: "underline",
|