react-better-html 1.1.269 → 1.1.270
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7620,12 +7620,13 @@ var TabsComponent = (0, import_react29.forwardRef)(function Tabs({ tabs, name, a
|
|
|
7620
7620
|
className: `react-better-html-tabs-tab${selected ? " react-better-html-tabs-tab-selected" : ""}`,
|
|
7621
7621
|
position: "relative",
|
|
7622
7622
|
width: "fit-content",
|
|
7623
|
-
backgroundColor: style === "box" ? selected ? theme2.colors.primary : theme2.colors.backgroundContent : theme2.colors.backgroundBase,
|
|
7623
|
+
backgroundColor: style === "box" ? selected ? accentColor ?? theme2.colors.primary : theme2.colors.backgroundContent : theme2.colors.backgroundBase,
|
|
7624
7624
|
borderRadius: style === "box" ? theme2.styles.borderRadius : void 0,
|
|
7625
7625
|
borderTopLeftRadius: style === "borderRadiusTop" ? theme2.styles.borderRadius : void 0,
|
|
7626
7626
|
borderTopRightRadius: style === "borderRadiusTop" ? theme2.styles.borderRadius : void 0,
|
|
7627
7627
|
border: style === "box" ? `${theme2.styles.borderWidth}px solid ${selected ? "transparent" : theme2.colors.border}` : void 0,
|
|
7628
|
-
|
|
7628
|
+
borderColorHover: style === "box" ? accentColor ?? theme2.colors.primary : void 0,
|
|
7629
|
+
filterHover: style !== "box" ? filterHover().z1 : void 0,
|
|
7629
7630
|
paddingInline: theme2.styles.space,
|
|
7630
7631
|
paddingBlock: theme2.styles.gap,
|
|
7631
7632
|
value: tab.id,
|