@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.cjs
CHANGED
|
@@ -29303,7 +29303,8 @@ function TabImpl(props) {
|
|
|
29303
29303
|
hoverStyles: hoverStyles4,
|
|
29304
29304
|
disabledStyles: disabledStyles3,
|
|
29305
29305
|
activeHoverStyles,
|
|
29306
|
-
aiStyles
|
|
29306
|
+
aiStyles,
|
|
29307
|
+
activeAiStyles
|
|
29307
29308
|
} = (0, import_react158.useMemo)(() => getTabStyles(), []);
|
|
29308
29309
|
const uniqueValue = uniqueTabValue(tab);
|
|
29309
29310
|
const tid = useTestIds(others);
|
|
@@ -29317,9 +29318,10 @@ function TabImpl(props) {
|
|
|
29317
29318
|
...others,
|
|
29318
29319
|
...(0, import_runtime146.trussProps)({
|
|
29319
29320
|
...baseStyles4,
|
|
29320
|
-
// Only tints the label while the tab is unselected; selected keeps its own darker treatment.
|
|
29321
29321
|
...aiMode && aiStyles,
|
|
29322
29322
|
...active && activeStyles3,
|
|
29323
|
+
// After `activeStyles` so the selected AI tab stays purple, but before `disabledStyles` so disabled still wins.
|
|
29324
|
+
...active && aiMode && activeAiStyles,
|
|
29323
29325
|
...isDisabled && disabledStyles3,
|
|
29324
29326
|
...isHovered && hoverStyles4,
|
|
29325
29327
|
...isHovered && active && activeHoverStyles,
|
|
@@ -29411,6 +29413,11 @@ function getTabStyles() {
|
|
|
29411
29413
|
"--color": (0, import_runtime146.maybeCssVar)("rgba(109, 40, 217, 1)" /* Purple700 */)
|
|
29412
29414
|
}]
|
|
29413
29415
|
},
|
|
29416
|
+
activeAiStyles: {
|
|
29417
|
+
color: ["color_var", {
|
|
29418
|
+
"--color": (0, import_runtime146.maybeCssVar)("rgba(91, 33, 182, 1)" /* Purple800 */)
|
|
29419
|
+
}]
|
|
29420
|
+
},
|
|
29414
29421
|
focusRingStyles: {
|
|
29415
29422
|
backgroundColor: "bgBlue50",
|
|
29416
29423
|
boxShadow: "bshFocus"
|