next-recomponents 2.0.63 → 2.0.64
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/tabs/index.tsx +2 -2
package/dist/index.js
CHANGED
|
@@ -39878,8 +39878,8 @@ function TabContainer({
|
|
|
39878
39878
|
(0, import_react23.useEffect)(() => {
|
|
39879
39879
|
setIndex(currentIndex);
|
|
39880
39880
|
}, [currentIndex]);
|
|
39881
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "w-full bg-white", children: [
|
|
39882
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { role: "tablist", className: "flex gap-1 border-b border-slate-200", children: labels.map((label, k) => {
|
|
39881
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "w-full bg-white border shadow rounded-lg ", children: [
|
|
39882
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { role: "tablist", className: "flex gap-1 border-b border-slate-200 ", children: labels.map((label, k) => {
|
|
39883
39883
|
var _a, _b;
|
|
39884
39884
|
const active = k === index;
|
|
39885
39885
|
const isDisabled = (_b = (_a = items.find((i) => i.props.label == label)) == null ? void 0 : _a.props) == null ? void 0 : _b.disabled;
|
package/dist/index.mjs
CHANGED
|
@@ -39875,8 +39875,8 @@ function TabContainer({
|
|
|
39875
39875
|
useEffect15(() => {
|
|
39876
39876
|
setIndex(currentIndex);
|
|
39877
39877
|
}, [currentIndex]);
|
|
39878
|
-
return /* @__PURE__ */ jsxs27("div", { className: "w-full bg-white", children: [
|
|
39879
|
-
/* @__PURE__ */ jsx35("div", { role: "tablist", className: "flex gap-1 border-b border-slate-200", children: labels.map((label, k) => {
|
|
39878
|
+
return /* @__PURE__ */ jsxs27("div", { className: "w-full bg-white border shadow rounded-lg ", children: [
|
|
39879
|
+
/* @__PURE__ */ jsx35("div", { role: "tablist", className: "flex gap-1 border-b border-slate-200 ", children: labels.map((label, k) => {
|
|
39880
39880
|
var _a, _b;
|
|
39881
39881
|
const active = k === index;
|
|
39882
39882
|
const isDisabled = (_b = (_a = items.find((i) => i.props.label == label)) == null ? void 0 : _a.props) == null ? void 0 : _b.disabled;
|
package/package.json
CHANGED
package/src/tabs/index.tsx
CHANGED
|
@@ -28,8 +28,8 @@ export default function TabContainer({
|
|
|
28
28
|
}, [currentIndex]);
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<div className="w-full bg-white">
|
|
32
|
-
<div role="tablist" className="flex gap-1 border-b border-slate-200">
|
|
31
|
+
<div className="w-full bg-white border shadow rounded-lg ">
|
|
32
|
+
<div role="tablist" className="flex gap-1 border-b border-slate-200 ">
|
|
33
33
|
{labels.map((label, k) => {
|
|
34
34
|
const active = k === index;
|
|
35
35
|
const isDisabled = items.find((i) => i.props.label == label)?.props
|