@helloimjolopez-pathway/pathway-components 0.6.0 → 0.6.1
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.
|
@@ -610,7 +610,7 @@ export function TopNavSearch({
|
|
|
610
610
|
boxSizing: "border-box",
|
|
611
611
|
borderRadius: "var(--semantic-layout-units-cornerradius-full)",
|
|
612
612
|
background: hov ? T.collapsedBtnHover : T.collapsedBtnFill,
|
|
613
|
-
border: `var(--contextual-layout-units-button-borderwidth-rest,
|
|
613
|
+
border: `var(--contextual-layout-units-button-borderwidth-rest, 0.75px) solid ${hov ? T.collapsedBtnBorderHov : T.collapsedBtnBorder}`,
|
|
614
614
|
transition: "background var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard)",
|
|
615
615
|
}}
|
|
616
616
|
>
|
|
@@ -646,7 +646,7 @@ export function AppSwitcher({ label: fallbackLabel, icon = "apps", home, apps =
|
|
|
646
646
|
background: active ? APP_T.openFill : hov ? APP_T.hoverFill : "transparent",
|
|
647
647
|
// Drawn inside, as Figma strokes, so 0.75 and 1px do not move the content.
|
|
648
648
|
border: "none",
|
|
649
|
-
boxShadow: `inset 0 0 0 ${active ? "var(--contextual-layout-units-button-borderwidth-selected,
|
|
649
|
+
boxShadow: `inset 0 0 0 ${active ? "var(--contextual-layout-units-button-borderwidth-selected, 1px)" : "var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${active ? APP_T.openStroke : hov ? APP_T.hoverStroke : APP_T.restStroke}, var(--elevation-widget)`,
|
|
650
650
|
transition: "background-color var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)" }}>
|
|
651
651
|
{/* Action Icon: 36 box, 24 wrapper, the glyph at its 16 frame */}
|
|
652
652
|
<span style={{ width: 36, height: 36, display: "flex", alignItems: "center",
|
|
@@ -532,7 +532,7 @@ export function OrgSwitcher({ org, open, onToggle, mobile = false, showCampus =
|
|
|
532
532
|
border: "none",
|
|
533
533
|
// Hover and pressed thicken to Button/BorderWidth/Selected (1px), as
|
|
534
534
|
// Figma binds them on 40006819:14582 and 40006933:15754.
|
|
535
|
-
boxShadow: `inset 0 0 0 ${open || hov ? "var(--contextual-layout-units-button-borderwidth-selected,
|
|
535
|
+
boxShadow: `inset 0 0 0 ${open || hov ? "var(--contextual-layout-units-button-borderwidth-selected, 1px)" : "var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${open ? T.orgStrokePressed : hov ? T.orgStrokeHover : T.orgStroke}`,
|
|
536
536
|
cursor: "pointer", color: fg, fontFamily: "inherit",
|
|
537
537
|
transition: "background var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)",
|
|
538
538
|
}}
|
|
@@ -862,7 +862,7 @@ function NewCoOrgSwitcher({ org, open, onToggle, compact }) {
|
|
|
862
862
|
padding: compact ? `${u("padding-xtight")} ${u("padding-xxxtight")} ${u("padding-xtight")} ${u("padding-xtight")}`
|
|
863
863
|
: `${L.orgPadV} ${L.orgPadV} ${L.orgPadV} ${L.orgPadL}`,
|
|
864
864
|
borderRadius: u("cornerradius-full"), border: "none", background: fill, cursor: "pointer", fontFamily: "inherit",
|
|
865
|
-
boxShadow: `inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest,
|
|
865
|
+
boxShadow: `inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${T.orgStroke}`,
|
|
866
866
|
transition: "background var(--motion-duration-3) var(--motion-easing-standard)" }}>
|
|
867
867
|
<span aria-hidden="true" style={{ ...NC_TYPE.menuBase, color: T.monoBase, whiteSpace: "nowrap", overflow: "hidden",
|
|
868
868
|
textOverflow: "ellipsis", minWidth: 0, maxWidth: compact ? L.orgNameMaxMobile : L.orgNameMax }}>
|
|
@@ -888,7 +888,7 @@ function PillarTrigger({ label, open, onToggle }) {
|
|
|
888
888
|
style={{ display: "flex", alignItems: "center", gap: "var(--semantic-layout-units-gap-xxxtight)", height: L.modInnerH,
|
|
889
889
|
boxSizing: "border-box", padding: `0 10px 0 ${u("padding-medium")}`, /* pathway-allow: Figma Pillar.Trigger right padding 10 has no token (gap logged in the spec) */
|
|
890
890
|
borderRadius: u("cornerradius-full"), border: "none", background: fill, cursor: "pointer", fontFamily: "inherit",
|
|
891
|
-
boxShadow: `inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest,
|
|
891
|
+
boxShadow: `inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${T.orgStroke}`, color: T.monoBase }}>
|
|
892
892
|
<span style={{ ...NC_TYPE.sectionSm, whiteSpace: "nowrap" }}>{label}</span>
|
|
893
893
|
<span style={{ width: L.modChevronBox, height: L.modChevronBox, display: "inline-flex", alignItems: "center", justifyContent: "center" }}>
|
|
894
894
|
<Icon name="expand_more" size={L.chevronGlyph} style={{ color: T.monoBase }} />
|