myshell-react-lib 0.1.38 → 0.1.41
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 +5 -4
- 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 +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1120,6 +1120,7 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
isLink?: boolean;
|
|
1122
1122
|
listClassName?: string;
|
|
1123
|
+
listBoxClassName?: string;
|
|
1123
1124
|
contentClassName?: string;
|
|
1124
1125
|
items?: TItems[];
|
|
1125
1126
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1120,6 +1120,7 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
isLink?: boolean;
|
|
1122
1122
|
listClassName?: string;
|
|
1123
|
+
listBoxClassName?: string;
|
|
1123
1124
|
contentClassName?: string;
|
|
1124
1125
|
items?: TItems[];
|
|
1125
1126
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
package/dist/index.js
CHANGED
|
@@ -10891,7 +10891,7 @@ var SelectTrigger = React31.forwardRef(function(_param, ref) {
|
|
|
10891
10891
|
]);
|
|
10892
10892
|
return /* @__PURE__ */ jsxs25(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
|
|
10893
10893
|
ref: ref,
|
|
10894
|
-
className: cn("flex h-10 w-full items-center justify-between rounded-sm border border-Colors-Border-Default bg-Colors-Background-Neutral-On-Surface-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)
|
|
10894
|
+
className: cn("flex h-7 md:h-10 w-full items-center justify-between rounded-sm border border-Colors-Border-Default bg-Colors-Background-Neutral-On-Surface-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)
|
|
10895
10895
|
}, props), {
|
|
10896
10896
|
children: [
|
|
10897
10897
|
children,
|
|
@@ -11573,9 +11573,10 @@ var tabVariants = cva17("relative inline-flex h-full items-center overflow-hidde
|
|
|
11573
11573
|
}
|
|
11574
11574
|
});
|
|
11575
11575
|
var Tabs2 = React35.forwardRef(function(_param, ref) {
|
|
11576
|
-
var className = _param.className, listClassName = _param.listClassName, contentClassName = _param.contentClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, size = _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, [
|
|
11576
|
+
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, size = _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, [
|
|
11577
11577
|
"className",
|
|
11578
11578
|
"listClassName",
|
|
11579
|
+
"listBoxClassName",
|
|
11579
11580
|
"contentClassName",
|
|
11580
11581
|
"variant",
|
|
11581
11582
|
"size",
|
|
@@ -11589,7 +11590,7 @@ var Tabs2 = React35.forwardRef(function(_param, ref) {
|
|
|
11589
11590
|
}, props), {
|
|
11590
11591
|
children: [
|
|
11591
11592
|
/* @__PURE__ */ jsx50("div", {
|
|
11592
|
-
className: "w-full flex justify-start items-center",
|
|
11593
|
+
className: cn("w-full flex justify-start items-center", listBoxClassName),
|
|
11593
11594
|
children: /* @__PURE__ */ jsx50(TabsPrimitive.List, _object_spread_props(_object_spread({
|
|
11594
11595
|
ref: ref,
|
|
11595
11596
|
className: cn(tabListVariants({
|
|
@@ -11615,7 +11616,7 @@ var Tabs2 = React35.forwardRef(function(_param, ref) {
|
|
|
11615
11616
|
value: item.value,
|
|
11616
11617
|
className: contentClassName,
|
|
11617
11618
|
children: item.children
|
|
11618
|
-
});
|
|
11619
|
+
}, item.value);
|
|
11619
11620
|
})
|
|
11620
11621
|
})
|
|
11621
11622
|
]
|