@primer/components 0.0.0-2021103231153 → 0.0.0-2021103231920

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.
@@ -1155,22 +1155,22 @@
1155
1155
  margin-right: 0;
1156
1156
  }
1157
1157
  ${Kt};
1158
- `;const Ti=r.css(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";background-color:transparent;"],xt("colors.fg.muted"),xt("borderWidths.1"),xt("colors.border.default"),Qe),Ei=re({variants:{small:{fontSize:0,lineHeight:"16px",padding:"0px 8px"},medium:{fontSize:0,lineHeight:"20px",padding:"0 8px"},large:{fontSize:0,lineHeight:"24px",padding:"0 12px"},xl:{fontSize:1,lineHeight:"16px",padding:"8px 12px"}}}),Ci=i.default.span`
1158
+ `;const Ti=r.css(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";",";background-color:transparent;"],xt("colors.fg.muted"),xt("borderWidths.1"),xt("colors.border.default"),Qe,yt),Ei=re({variants:{small:{fontSize:0,lineHeight:"16px",padding:"0px 8px"},medium:{fontSize:0,lineHeight:"20px",padding:"0 8px"},large:{fontSize:0,lineHeight:"24px",padding:"0 12px"},xl:{fontSize:1,lineHeight:"16px",padding:"8px 12px"}}}),Ci=i.default.span`
1159
1159
  display: inline-block;
1160
1160
  font-weight: ${xt("fontWeights.semibold")};
1161
1161
  color: ${xt("colors.fg.onEmphasis")};
1162
1162
  border-radius: ${xt("radii.3")};
1163
- background-color: ${xt("colors.neutral.emphasis")};
1164
1163
 
1165
1164
  &:hover {
1166
1165
  text-decoration: none;
1167
1166
  }
1168
1167
 
1169
1168
  ${Ei}
1169
+ ${yt}
1170
1170
  ${e=>e.dropshadow?"box-shadow: inset 0 -1px 0 rgba(27, 31, 35, 0.12)":""}
1171
1171
  ${e=>e.outline?Ti:""} // must be last to override other values
1172
1172
  ${Kt}
1173
- `;Ci.defaultProps={variant:"medium"};var zi=Ci;const Ri=k({hoverColor:{property:"color",scale:"colors"}});var Ni=i.default.a`
1173
+ `;Ci.defaultProps={bg:"neutral.emphasis",variant:"medium"};var zi=Ci;const Ri=k({hoverColor:{property:"color",scale:"colors"}});var Ni=i.default.a`
1174
1174
  color: ${e=>e.muted?xt("colors.fg.muted")(e):xt("colors.accent.fg")(e)};
1175
1175
  text-decoration: ${e=>e.underline?"underline":"none"};
1176
1176
  &:hover {
@@ -1188,8 +1188,6 @@
1188
1188
  border: 0;
1189
1189
  appearance: none;
1190
1190
  }
1191
- ${wt};
1192
- ${yt};
1193
1191
  ${Kt};
1194
1192
  `;var Ai=i.default.div`
1195
1193
  position: relative;