@theroutingcompany/components 0.0.105-alpha.1 → 0.0.105
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.
|
@@ -1478,7 +1478,7 @@ Valid keys: `+JSON.stringify(Object.keys(F),null," "));var le=_e(ae,se,G,re,oe+
|
|
|
1478
1478
|
background-color: ${p.color_white};
|
|
1479
1479
|
border-radius: ${p.border_radius_400};
|
|
1480
1480
|
box-shadow: ${p.elevation_static_high};
|
|
1481
|
-
`;function Gr(e){const t=S.useRef(null),n=S.useRef(null),{popoverRef:r=t,targetRef:o,state:a,children:i,isTargetWidth:l,width:s,className:u,isNonModal:d,disableFocusManagement:f}=e,{popoverProps:m}=S9({...e,triggerRef:o,popoverRef:r,isNonModal:d},a);let g=s??"auto";l&&o.current&&(g=`${o.current.offsetWidth}px`);const h={...m.style,width:g,marginTop:p.spacing_100};return
|
|
1481
|
+
`;function Gr(e){const t=S.useRef(null),n=S.useRef(null),{popoverRef:r=t,targetRef:o,state:a,children:i,isTargetWidth:l,width:s,className:u,isNonModal:d,disableFocusManagement:f}=e,{popoverProps:m}=S9({...e,triggerRef:o,popoverRef:r,isNonModal:d},a);let g=s??"auto";l&&o.current&&(g=`${o.current.offsetWidth}px`);const h={...m.style,width:g,marginTop:p.spacing_100};return J(C9,{disableFocusManagement:f,children:[a.isOpen?E(ge,{ref:n,role:"none",style:{position:"fixed",inset:"0",zIndex:p.z_index_overlay_high}}):null,J(X9,{className:u,...m,style:h,ref:r,children:[!d&&E(Gv,{onDismiss:()=>a.close()}),i,E(Gv,{onDismiss:()=>a.close()})]})]})}const gd=N.default(ge)`
|
|
1482
1482
|
display: flex;
|
|
1483
1483
|
|
|
1484
1484
|
&:focus-within {
|
|
@@ -1632,7 +1632,7 @@ Valid keys: `+JSON.stringify(Object.keys(F),null," "));var le=_e(ae,se,G,re,oe+
|
|
|
1632
1632
|
display: flex;
|
|
1633
1633
|
align-items: center;
|
|
1634
1634
|
justify-content: space-between;
|
|
1635
|
-
padding: ${p.
|
|
1635
|
+
padding: ${p.spacing_200} ${p.spacing_200};
|
|
1636
1636
|
position: relative;
|
|
1637
1637
|
cursor: pointer;
|
|
1638
1638
|
user-select: none;
|