myshell-react-lib 0.1.70 → 0.1.72
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 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1220,6 +1220,7 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1220
1220
|
listClassName?: string;
|
|
1221
1221
|
listBoxClassName?: string;
|
|
1222
1222
|
contentClassName?: string;
|
|
1223
|
+
contentBoxClassName?: string;
|
|
1223
1224
|
items?: TItems[];
|
|
1224
1225
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1225
1226
|
declare const Tab: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
package/dist/index.d.ts
CHANGED
|
@@ -1220,6 +1220,7 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1220
1220
|
listClassName?: string;
|
|
1221
1221
|
listBoxClassName?: string;
|
|
1222
1222
|
contentClassName?: string;
|
|
1223
|
+
contentBoxClassName?: string;
|
|
1223
1224
|
items?: TItems[];
|
|
1224
1225
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1225
1226
|
declare const Tab: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
package/dist/index.js
CHANGED
|
@@ -6398,7 +6398,7 @@ var Command = React16.forwardRef(function(_param, ref) {
|
|
|
6398
6398
|
]);
|
|
6399
6399
|
return /* @__PURE__ */ jsx22(CommandPrimitive, _object_spread({
|
|
6400
6400
|
ref: ref,
|
|
6401
|
-
className: cn("flex h-full w-full flex-col overflow-hidden rounded-sm
|
|
6401
|
+
className: cn("flex h-full w-full flex-col overflow-hidden rounded-sm text-Colors-Text-Default bg-cc-Input-bg-default", className)
|
|
6402
6402
|
}, props));
|
|
6403
6403
|
});
|
|
6404
6404
|
Command.displayName = CommandPrimitive.displayName;
|
|
@@ -8063,7 +8063,7 @@ var Modal = function(_param) {
|
|
|
8063
8063
|
className: cn("gap-x-5 min-h-[76px] p-5 border-none justify-center w-full"),
|
|
8064
8064
|
children: [
|
|
8065
8065
|
showCancel && /* @__PURE__ */ jsx34(Button, {
|
|
8066
|
-
variant: "
|
|
8066
|
+
variant: "tertiary",
|
|
8067
8067
|
onClick: onClose,
|
|
8068
8068
|
className: "flex-1",
|
|
8069
8069
|
children: cancelText || "Cancel"
|
|
@@ -10975,7 +10975,7 @@ var SelectTrigger = React33.forwardRef(function(_param, ref) {
|
|
|
10975
10975
|
]);
|
|
10976
10976
|
return /* @__PURE__ */ jsxs27(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
10977
10977
|
ref: ref,
|
|
10978
|
-
className: cn("flex h-7 md:h-10 w-full items-center justify-between rounded-sm border border-transparent hover:border-cc-Input-border-default bg-cc-Input-bg-default text-Colors-Text-Default text-sm p-3 focus:shadow-cc-Focus-Rings-Brand-default placeholder:text-Colors-Text-Subtlest focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-30 [&>span]:line-clamp-1 [&>.select-chevron]:aria-expanded:rotate-180", className)
|
|
10978
|
+
className: cn("flex h-7 md:h-10 w-full items-center justify-between rounded-sm border border-transparent hover:border-cc-Input-border-default bg-cc-Input-bg-default text-Colors-Text-Default text-sm p-3 focus:shadow-cc-Focus-Rings-Brand-default placeholder:text-Colors-Text-Subtlest focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-30 [&>span]:line-clamp-1 [&>.select-chevron]:aria-expanded:rotate-180 space-x-1.5", className)
|
|
10979
10979
|
}, props), {
|
|
10980
10980
|
children: [
|
|
10981
10981
|
children,
|
|
@@ -11087,7 +11087,7 @@ var SelectItem = React33.forwardRef(function(_param, ref) {
|
|
|
11087
11087
|
]);
|
|
11088
11088
|
return /* @__PURE__ */ jsxs27(SelectPrimitive.Item, _object_spread_props(_object_spread({
|
|
11089
11089
|
ref: ref,
|
|
11090
|
-
className: cn("relative flex justify-between w-full cursor-pointer select-none items-center rounded-sm py-1 px-1.5 outline-none text-base", "hover:bg-Colors-Background-Normal-Primary-Hover 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)
|
|
11090
|
+
className: cn("relative flex justify-between w-full cursor-pointer select-none items-center rounded-sm py-1 px-1.5 outline-none text-base", "hover:bg-Colors-Background-Normal-Primary-Hover focus:bg-Colors-Background-Neutral-Primary-Default data-[disabled]:opacity-30 data-[disabled]:cursor-not-allowed space-x-1.5", critical ? "text-Colors-Text-Critical-Default" : "focus:text-Colors-Text-Default", className)
|
|
11091
11091
|
}, props), {
|
|
11092
11092
|
children: [
|
|
11093
11093
|
/* @__PURE__ */ jsxs27("span", {
|
|
@@ -12309,11 +12309,12 @@ var tabVariants = cva17("relative inline-flex h-full items-center whitespace-now
|
|
|
12309
12309
|
}
|
|
12310
12310
|
});
|
|
12311
12311
|
var Tabs2 = React38.forwardRef(function(_param, ref) {
|
|
12312
|
-
var className = _param.className, listClassName = _param.listClassName, listBoxClassName = _param.listBoxClassName, contentClassName = _param.contentClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant,
|
|
12312
|
+
var className = _param.className, listClassName = _param.listClassName, listBoxClassName = _param.listBoxClassName, contentClassName = _param.contentClassName, contentBoxClassName = _param.contentBoxClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_isLink = _param.isLink, isLink = _param_isLink === void 0 ? false : _param_isLink, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, items = _param.items, props = _object_without_properties(_param, [
|
|
12313
12313
|
"className",
|
|
12314
12314
|
"listClassName",
|
|
12315
12315
|
"listBoxClassName",
|
|
12316
12316
|
"contentClassName",
|
|
12317
|
+
"contentBoxClassName",
|
|
12317
12318
|
"variant",
|
|
12318
12319
|
"size",
|
|
12319
12320
|
"isLink",
|
|
@@ -12346,7 +12347,7 @@ var Tabs2 = React38.forwardRef(function(_param, ref) {
|
|
|
12346
12347
|
}))
|
|
12347
12348
|
}),
|
|
12348
12349
|
!isLink && /* @__PURE__ */ jsx52("div", {
|
|
12349
|
-
className: "w-full",
|
|
12350
|
+
className: cn("w-full", contentBoxClassName),
|
|
12350
12351
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
12351
12352
|
return /* @__PURE__ */ jsx52(TabsContent, {
|
|
12352
12353
|
value: item.value,
|