@primer/components 0.0.0-2021103205051 → 0.0.0-2021103205322

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,10 +1,10 @@
1
1
  # @primer/components
2
2
 
3
- ## 0.0.0-2021103205051
3
+ ## 0.0.0-2021103205322
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [#1564](https://github.com/primer/react/pull/1564) [`bdd6c479`](https://github.com/primer/react/commit/bdd6c479613960e20e9298f009f053414728eb7a) Thanks [@jfuchs](https://github.com/jfuchs)! - Label no longer accepts styled-system props. Please use the `sx` prop to extend Primer component styling instead. See also https://primer.style/react/overriding-styles for information about `sx` and https://primer.style/react/system-props for context on the removal.
7
+ - [#1565](https://github.com/primer/react/pull/1565) [`0c829589`](https://github.com/primer/react/commit/0c829589b3b6db88982c9a4593904c3ea193fe4f) Thanks [@jfuchs](https://github.com/jfuchs)! - LabelGroup no longer accepts styled-system props. Please use the `sx` prop to extend Primer component styling instead. See also https://primer.style/react/overriding-styles for information about `sx` and https://primer.style/react/system-props for context on the removal.
8
8
 
9
9
  ### Minor Changes
10
10
 
@@ -1147,7 +1147,6 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
1147
1147
  ${It};
1148
1148
  ${rr};
1149
1149
  `;Ci.defaultProps={theme:x};var zi=Ci;var Ni=f.span`
1150
- ${It}
1151
1150
  & * {
1152
1151
  margin-right: ${Nt("space.1")};
1153
1152
  }
@@ -1155,22 +1154,22 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
1155
1154
  margin-right: 0;
1156
1155
  }
1157
1156
  ${rr};
1158
- `;const Ii=p(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";background-color:transparent;"],Nt("colors.fg.muted"),Nt("borderWidths.1"),Nt("colors.border.default"),ct),Ai=ue({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"}}}),Ri=f.span`
1157
+ `;const Ii=p(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";",";background-color:transparent;"],Nt("colors.fg.muted"),Nt("borderWidths.1"),Nt("colors.border.default"),ct,It),Ai=ue({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"}}}),Ri=f.span`
1159
1158
  display: inline-block;
1160
1159
  font-weight: ${Nt("fontWeights.semibold")};
1161
1160
  color: ${Nt("colors.fg.onEmphasis")};
1162
1161
  border-radius: ${Nt("radii.3")};
1163
- bg: ${Nt("colors.neutral.emphasis")}
1164
1162
 
1165
1163
  &:hover {
1166
1164
  text-decoration: none;
1167
1165
  }
1168
1166
 
1169
1167
  ${Ai}
1168
+ ${It}
1170
1169
  ${e=>e.dropshadow?"box-shadow: inset 0 -1px 0 rgba(27, 31, 35, 0.12)":""}
1171
1170
  ${e=>e.outline?Ii:""} // must be last to override other values
1172
1171
  ${rr}
1173
- `;Ri.defaultProps={variant:"medium"};var Li=Ri;const Oi=L({hoverColor:{property:"color",scale:"colors"}});var Mi=f.a`
1172
+ `;Ri.defaultProps={bg:"neutral.emphasis",variant:"medium"};var Li=Ri;const Oi=L({hoverColor:{property:"color",scale:"colors"}});var Mi=f.a`
1174
1173
  color: ${e=>e.muted?Nt("colors.fg.muted")(e):Nt("colors.accent.fg")(e)};
1175
1174
  text-decoration: ${e=>e.underline?"underline":"none"};
1176
1175
  &:hover {