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.cjs
CHANGED
|
@@ -7145,7 +7145,7 @@ var Command = React16.forwardRef(function(_param, ref) {
|
|
|
7145
7145
|
]);
|
|
7146
7146
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_cmdk.Command, _object_spread({
|
|
7147
7147
|
ref: ref,
|
|
7148
|
-
className: cn("flex h-full w-full flex-col overflow-hidden rounded-sm
|
|
7148
|
+
className: cn("flex h-full w-full flex-col overflow-hidden rounded-sm text-Colors-Text-Default bg-cc-Input-bg-default", className)
|
|
7149
7149
|
}, props));
|
|
7150
7150
|
});
|
|
7151
7151
|
Command.displayName = import_cmdk.Command.displayName;
|
|
@@ -8810,7 +8810,7 @@ var Modal = function(_param) {
|
|
|
8810
8810
|
className: cn("gap-x-5 min-h-[76px] p-5 border-none justify-center w-full"),
|
|
8811
8811
|
children: [
|
|
8812
8812
|
showCancel && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button, {
|
|
8813
|
-
variant: "
|
|
8813
|
+
variant: "tertiary",
|
|
8814
8814
|
onClick: onClose,
|
|
8815
8815
|
className: "flex-1",
|
|
8816
8816
|
children: cancelText || "Cancel"
|
|
@@ -11722,7 +11722,7 @@ var SelectTrigger = React33.forwardRef(function(_param, ref) {
|
|
|
11722
11722
|
]);
|
|
11723
11723
|
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
11724
11724
|
ref: ref,
|
|
11725
|
-
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)
|
|
11725
|
+
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)
|
|
11726
11726
|
}, props), {
|
|
11727
11727
|
children: [
|
|
11728
11728
|
children,
|
|
@@ -11834,7 +11834,7 @@ var SelectItem = React33.forwardRef(function(_param, ref) {
|
|
|
11834
11834
|
]);
|
|
11835
11835
|
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(SelectPrimitive.Item, _object_spread_props(_object_spread({
|
|
11836
11836
|
ref: ref,
|
|
11837
|
-
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)
|
|
11837
|
+
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)
|
|
11838
11838
|
}, props), {
|
|
11839
11839
|
children: [
|
|
11840
11840
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", {
|
|
@@ -13056,11 +13056,12 @@ var tabVariants = (0, import_class_variance_authority17.cva)("relative inline-fl
|
|
|
13056
13056
|
}
|
|
13057
13057
|
});
|
|
13058
13058
|
var Tabs2 = React38.forwardRef(function(_param, ref) {
|
|
13059
|
-
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,
|
|
13059
|
+
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, [
|
|
13060
13060
|
"className",
|
|
13061
13061
|
"listClassName",
|
|
13062
13062
|
"listBoxClassName",
|
|
13063
13063
|
"contentClassName",
|
|
13064
|
+
"contentBoxClassName",
|
|
13064
13065
|
"variant",
|
|
13065
13066
|
"size",
|
|
13066
13067
|
"isLink",
|
|
@@ -13093,7 +13094,7 @@ var Tabs2 = React38.forwardRef(function(_param, ref) {
|
|
|
13093
13094
|
}))
|
|
13094
13095
|
}),
|
|
13095
13096
|
!isLink && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", {
|
|
13096
|
-
className: "w-full",
|
|
13097
|
+
className: cn("w-full", contentBoxClassName),
|
|
13097
13098
|
children: items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
13098
13099
|
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TabsContent, {
|
|
13099
13100
|
value: item.value,
|