@primer/components 0.0.0-2021101542743 → 0.0.0-2021101544947

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @primer/components
2
2
 
3
- ## 0.0.0-2021101542743
3
+ ## 0.0.0-2021101544947
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -418,7 +418,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
418
418
  background: ${Nt("colors.border.muted")};
419
419
  margin-top: calc(${Nt("space.2")} - 1px);
420
420
  margin-bottom: ${Nt("space.2")};
421
- `;function Ta(){return e.createElement(ka,null)}Ta.displayName="Divider",Ta.renderItem=Ta;const Sa=(e="default",t)=>{if(t)return{color:Nt("colors.primer.fg.disabled"),iconColor:Nt("colors.primer.fg.disabled"),annotationColor:Nt("colors.primer.fg.disabled"),hoverCursor:"default"};switch(e){case"danger":return{color:Nt("colors.danger.fg"),iconColor:Nt("colors.danger.fg"),annotationColor:Nt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:Nt("colors.actionListItem.danger.hoverBg"),focusBg:Nt("colors.actionListItem.danger.activeBg")};default:return{color:Nt("colors.fg.default"),iconColor:Nt("colors.fg.muted"),annotationColor:Nt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:Nt("colors.actionListItem.default.hoverBg"),focusBg:Nt("colors.actionListItem.default.activeBg")}}},Ea=f.div`
421
+ `;function Ta(){return e.createElement(ka,null)}Ta.displayName="Divider",Ta.renderItem=Ta;const Sa=(e="default",t)=>{if(t)return{color:Nt("colors.primer.fg.disabled"),iconColor:Nt("colors.primer.fg.disabled"),annotationColor:Nt("colors.primer.fg.disabled"),hoverCursor:"default"};switch(e){case"danger":return{color:Nt("colors.danger.fg"),iconColor:Nt("colors.danger.fg"),annotationColor:Nt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:Nt("colors.actionListItem.danger.hoverBg"),focusBg:Nt("colors.actionListItem.danger.activeBg"),hoverText:Nt("colors.actionListItem.danger.hoverText")};default:return{color:Nt("colors.fg.default"),iconColor:Nt("colors.fg.muted"),annotationColor:Nt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:Nt("colors.actionListItem.default.hoverBg"),focusBg:Nt("colors.actionListItem.default.activeBg")}}},Ea=f.div`
422
422
  display: flex;
423
423
  min-width: 0;
424
424
 
@@ -452,6 +452,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
452
452
  --item-hover-bg-override,
453
453
  ${({variant:e,item:t})=>Sa(e,null==t?void 0:t.disabled).hoverBg}
454
454
  );
455
+ color: ${({variant:e,item:t})=>Sa(e,null==t?void 0:t.disabled).hoverText};
455
456
  cursor: ${({variant:e,item:t})=>Sa(e,null==t?void 0:t.disabled).hoverCursor};
456
457
  }
457
458
  }