myshell-react-lib 0.1.33 → 0.1.34
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 +15 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +15 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6280,6 +6280,7 @@ var Tooltip = React8.forwardRef(function(_param, ref) {
|
|
|
6280
6280
|
}
|
|
6281
6281
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_jsx_runtime11.Fragment, {
|
|
6282
6282
|
children: isDesktop ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipProvider, {
|
|
6283
|
+
delayDuration: 100,
|
|
6283
6284
|
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(TooltipPrimitive.Root, {
|
|
6284
6285
|
open: disabled || !description && !title ? false : open,
|
|
6285
6286
|
defaultOpen: defaultOpen,
|
|
@@ -6419,7 +6420,7 @@ var COMPOUND_VARIANTS = [
|
|
|
6419
6420
|
{
|
|
6420
6421
|
variant: "plain",
|
|
6421
6422
|
color: "default",
|
|
6422
|
-
className: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover
|
|
6423
|
+
className: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover active:bg-cc-Button-Plain-bg-active disabled:text-cc-Button-Plain-fg-alt"
|
|
6423
6424
|
},
|
|
6424
6425
|
{
|
|
6425
6426
|
variant: "plain",
|
|
@@ -6745,7 +6746,7 @@ var badgeVariants = (0, import_class_variance_authority7.cva)("rounded-full flex
|
|
|
6745
6746
|
public: "w-2.5 h-2.5 bg-Colors-Utit border-[2px] bg-Colors-Utility-Lake-Blue-50 border-Colors-Utility-Lake-Blue-10",
|
|
6746
6747
|
private: "w-2.5 h-2.5 bg-Colors-Utility-Khaki-50 border-Colors-Utility-Khaki-10 border-[2px]",
|
|
6747
6748
|
hidden: "w-2.5 h-2.5 bg-Colors-Utility-Gray-40 border-Colors-Utility-Gray-10 border-[2px]",
|
|
6748
|
-
new: "w-
|
|
6749
|
+
new: "w-9 h-4.5 flex juctify-center items-center bg-Colors-Foreground-Critical-Default px-1.5"
|
|
6749
6750
|
}
|
|
6750
6751
|
},
|
|
6751
6752
|
defaultVariants: {
|
|
@@ -6760,7 +6761,7 @@ function Badge(props) {
|
|
|
6760
6761
|
status: status
|
|
6761
6762
|
}), className),
|
|
6762
6763
|
children: status === "new" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", {
|
|
6763
|
-
className: "text-2xs font-medium text-Colors-Text-Static-White leading-[
|
|
6764
|
+
className: "text-2xs font-medium text-Colors-Text-Static-White leading-[12px]",
|
|
6764
6765
|
children: "New"
|
|
6765
6766
|
}) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", {
|
|
6766
6767
|
className: "font-medium text-2xs leading-[1.3]",
|
|
@@ -7712,7 +7713,7 @@ var import_class_variance_authority11 = require("class-variance-authority");
|
|
|
7712
7713
|
var React20 = __toESM(require("react"), 1);
|
|
7713
7714
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
7714
7715
|
var Input = React20.forwardRef(function(_param, ref) {
|
|
7715
|
-
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 ? "
|
|
7716
|
+
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, props = _object_without_properties(_param, [
|
|
7716
7717
|
"className",
|
|
7717
7718
|
"type",
|
|
7718
7719
|
"autoComplete",
|
|
@@ -7729,13 +7730,16 @@ var Input = React20.forwardRef(function(_param, ref) {
|
|
|
7729
7730
|
variants: {
|
|
7730
7731
|
rounded: {
|
|
7731
7732
|
none: "rounded-none",
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7733
|
+
xxs: "rounded-xxs",
|
|
7734
|
+
xs: "rounded-xs",
|
|
7735
|
+
sm: "rounded-sm",
|
|
7736
|
+
md: "rounded-md",
|
|
7737
|
+
lg: "rounded-lg",
|
|
7736
7738
|
xl: "rounded-xl",
|
|
7737
7739
|
"2xl": "rounded-2xl",
|
|
7738
7740
|
"3xl": "rounded-3xl",
|
|
7741
|
+
"4xl": "rounded-4xl",
|
|
7742
|
+
"5xl": "rounded-5xl",
|
|
7739
7743
|
full: "rounded-full"
|
|
7740
7744
|
},
|
|
7741
7745
|
size: {
|
|
@@ -8797,7 +8801,7 @@ var Modal = function(_param) {
|
|
|
8797
8801
|
icon: import_XMarkIcon.default,
|
|
8798
8802
|
size: "md",
|
|
8799
8803
|
variant: "plain",
|
|
8800
|
-
color: "
|
|
8804
|
+
color: "gray",
|
|
8801
8805
|
className: iconClassName
|
|
8802
8806
|
}),
|
|
8803
8807
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", {
|
|
@@ -11854,7 +11858,7 @@ var SelectContent = React32.forwardRef(function(_param, ref) {
|
|
|
11854
11858
|
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SelectPrimitive.Portal, {
|
|
11855
11859
|
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SelectPrimitive.Content, _object_spread_props(_object_spread({
|
|
11856
11860
|
ref: ref,
|
|
11857
|
-
className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-
|
|
11861
|
+
className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-modal-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
11858
11862
|
position: position
|
|
11859
11863
|
}, props), {
|
|
11860
11864
|
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SelectPrimitive.Viewport, {
|
|
@@ -12633,7 +12637,7 @@ var Textarea = React37.forwardRef(function(_param, ref) {
|
|
|
12633
12637
|
className: "relative",
|
|
12634
12638
|
children: [
|
|
12635
12639
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("textarea", _object_spread({
|
|
12636
|
-
className: cn("w-full min-h-[123px] p-3 pb-10 rounded-
|
|
12640
|
+
className: cn("w-full min-h-[123px] p-3 pb-10 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "hover:border-Colors-Border-Hover bg-cc-Input-bg-default hover:bg-cc-Input-bg-hover disabled:bg-cc-Input-bg-disabled aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30", maxLength && ((value1 === null || value1 === void 0 ? void 0 : (_value_toString = value1.toString()) === null || _value_toString === void 0 ? void 0 : _value_toString.length) || 0) > maxLength || error ? "border-Colors-Border-Critical hover:bg-Colors-Background-Critical-Subtle focus-visible:ring-error" : "", className),
|
|
12637
12641
|
ref: ref,
|
|
12638
12642
|
maxLength: maxLength,
|
|
12639
12643
|
value: value1
|