@primer/components 0.0.0-2021103221942 → 0.0.0-2021103224544

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-2021103221942
3
+ ## 0.0.0-2021103224544
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [#1574](https://github.com/primer/react/pull/1574) [`a49dbdde`](https://github.com/primer/react/commit/a49dbddef70c3f0477a22d158f0e8d6d1fee02a0) Thanks [@jfuchs](https://github.com/jfuchs)! - SubNav 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
+ - [`1b51453b`](https://github.com/primer/react/commit/1b51453b37e2cc0f68dc95166384f0c01628d3dd) Thanks [@jfuchs](https://github.com/jfuchs)! - Truncate 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
 
@@ -403,8 +403,6 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
403
403
  `;function va({variant:t="subtle",title:r,auxiliaryText:o,children:a,...n}){return e.createElement(ha,Pt({role:"heading",variant:t},n),r,o&&e.createElement("span",null,o))}va.displayName="Header";const xa=f.div`
404
404
  ${rr}
405
405
  `;function ya({header:t,items:r,...o}){return e.createElement(xa,o,t&&e.createElement(va,t),r)}ya.displayName="Group";const wa=f.div`
406
- ${At}
407
- ${It}
408
406
  display: ${e=>e.inline?"inline-block":"inherit"};
409
407
  overflow: hidden;
410
408
  text-overflow: ellipsis;
@@ -1720,11 +1718,10 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
1720
1718
  align-self: center;
1721
1719
  }
1722
1720
 
1721
+ ${It};
1722
+ ${Mt};
1723
1723
  ${rr};
1724
- `;function id({actions:t,className:r,children:o,label:a,...n}){const i=en(r,"SubNav");return e.createElement(nd,Pt({className:i,"aria-label":a},n),e.createElement("div",{className:"SubNav-body"},o),t&&e.createElement("div",{className:"SubNav-actions"},t))}id.displayName="SubNav";const ld=f.div`
1725
- display: flex;
1726
- ${rr};
1727
- `,dd=f.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:en("SubNav-item",e.selected&&"selected",e.className)})))`
1724
+ `;function id({actions:t,className:r,children:o,label:a,...n}){const i=en(r,"SubNav");return e.createElement(nd,Pt({className:i,"aria-label":a},n),e.createElement("div",{className:"SubNav-body"},o),t&&e.createElement("div",{className:"SubNav-actions"},t))}function ld(t){return e.createElement(or,Pt({display:"flex"},t))}id.displayName="SubNav",ld.displayName="SubNavLinks";const dd=f.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:en("SubNav-item",e.selected&&"selected",e.className)})))`
1728
1725
  padding-left: ${Nt("space.3")};
1729
1726
  padding-right: ${Nt("space.3")};
1730
1727
  font-weight: ${Nt("fontWeights.semibold")};
@@ -1771,6 +1768,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
1771
1768
  }
1772
1769
  }
1773
1770
 
1771
+ ${It};
1774
1772
  ${rr};
1775
1773
  `;dd.displayName="SubNav.Link",ld.displayName="SubNav.Links";var sd=Object.assign(id,{Link:dd,Links:ld});const cd=f.div`
1776
1774
  margin-top: 0;