@homebound/beam 4.20.1 → 4.20.2
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 +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28838,7 +28838,8 @@ function TabImpl(props) {
|
|
|
28838
28838
|
hoverStyles: hoverStyles4,
|
|
28839
28839
|
disabledStyles: disabledStyles3,
|
|
28840
28840
|
activeHoverStyles,
|
|
28841
|
-
aiStyles
|
|
28841
|
+
aiStyles,
|
|
28842
|
+
activeAiStyles
|
|
28842
28843
|
} = useMemo56(() => getTabStyles(), []);
|
|
28843
28844
|
const uniqueValue = uniqueTabValue(tab);
|
|
28844
28845
|
const tid = useTestIds(others);
|
|
@@ -28852,9 +28853,10 @@ function TabImpl(props) {
|
|
|
28852
28853
|
...others,
|
|
28853
28854
|
...trussProps129({
|
|
28854
28855
|
...baseStyles4,
|
|
28855
|
-
// Only tints the label while the tab is unselected; selected keeps its own darker treatment.
|
|
28856
28856
|
...aiMode && aiStyles,
|
|
28857
28857
|
...active && activeStyles3,
|
|
28858
|
+
// After `activeStyles` so the selected AI tab stays purple, but before `disabledStyles` so disabled still wins.
|
|
28859
|
+
...active && aiMode && activeAiStyles,
|
|
28858
28860
|
...isDisabled && disabledStyles3,
|
|
28859
28861
|
...isHovered && hoverStyles4,
|
|
28860
28862
|
...isHovered && active && activeHoverStyles,
|
|
@@ -28946,6 +28948,11 @@ function getTabStyles() {
|
|
|
28946
28948
|
"--color": maybeCssVar62("rgba(109, 40, 217, 1)" /* Purple700 */)
|
|
28947
28949
|
}]
|
|
28948
28950
|
},
|
|
28951
|
+
activeAiStyles: {
|
|
28952
|
+
color: ["color_var", {
|
|
28953
|
+
"--color": maybeCssVar62("rgba(91, 33, 182, 1)" /* Purple800 */)
|
|
28954
|
+
}]
|
|
28955
|
+
},
|
|
28949
28956
|
focusRingStyles: {
|
|
28950
28957
|
backgroundColor: "bgBlue50",
|
|
28951
28958
|
boxShadow: "bshFocus"
|