@mirror-physics/fractal-ui 0.2.0-next.36 → 0.2.0-next.37
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +24 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1046,7 +1046,8 @@ function Tabs({
|
|
|
1046
1046
|
onValueChange,
|
|
1047
1047
|
className,
|
|
1048
1048
|
ariaLabel,
|
|
1049
|
-
divider = false
|
|
1049
|
+
divider = false,
|
|
1050
|
+
variant = "line"
|
|
1050
1051
|
}) {
|
|
1051
1052
|
const reactId = (0, import_react4.useId)();
|
|
1052
1053
|
const [internalValue, setInternalValue] = (0, import_react4.useState)(
|
|
@@ -1108,7 +1109,7 @@ function Tabs({
|
|
|
1108
1109
|
selectTab(nextId2);
|
|
1109
1110
|
requestAnimationFrame(() => tabRefs.current[nextId2]?.focus());
|
|
1110
1111
|
};
|
|
1111
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cn("fractal-tabs", divider && "fractal-tabs--divider", className), children: [
|
|
1112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cn("fractal-tabs", `fractal-tabs--${variant}`, divider && "fractal-tabs--divider", className), children: [
|
|
1112
1113
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1113
1114
|
"div",
|
|
1114
1115
|
{
|