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.mjs
CHANGED
|
@@ -7581,12 +7581,13 @@ var TabsComponent = forwardRef17(function Tabs({ tabs, name, accentColor, style
|
|
|
7581
7581
|
className: `react-better-html-tabs-tab${selected ? " react-better-html-tabs-tab-selected" : ""}`,
|
|
7582
7582
|
position: "relative",
|
|
7583
7583
|
width: "fit-content",
|
|
7584
|
-
backgroundColor: style === "box" ? selected ? theme2.colors.primary : theme2.colors.backgroundContent : theme2.colors.backgroundBase,
|
|
7584
|
+
backgroundColor: style === "box" ? selected ? accentColor ?? theme2.colors.primary : theme2.colors.backgroundContent : theme2.colors.backgroundBase,
|
|
7585
7585
|
borderRadius: style === "box" ? theme2.styles.borderRadius : void 0,
|
|
7586
7586
|
borderTopLeftRadius: style === "borderRadiusTop" ? theme2.styles.borderRadius : void 0,
|
|
7587
7587
|
borderTopRightRadius: style === "borderRadiusTop" ? theme2.styles.borderRadius : void 0,
|
|
7588
7588
|
border: style === "box" ? `${theme2.styles.borderWidth}px solid ${selected ? "transparent" : theme2.colors.border}` : void 0,
|
|
7589
|
-
|
|
7589
|
+
borderColorHover: style === "box" ? accentColor ?? theme2.colors.primary : void 0,
|
|
7590
|
+
filterHover: style !== "box" ? filterHover().z1 : void 0,
|
|
7590
7591
|
paddingInline: theme2.styles.space,
|
|
7591
7592
|
paddingBlock: theme2.styles.gap,
|
|
7592
7593
|
value: tab.id,
|