@primer/components 0.0.0-2021103224924 → 0.0.0-202110323331

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-2021103224924
3
+ ## 0.0.0-202110323331
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [#1579](https://github.com/primer/react/pull/1579) [`cf510f78`](https://github.com/primer/react/commit/cf510f78124b818de13130f31d86c74367314445) Thanks [@jfuchs](https://github.com/jfuchs)! - UnderlineNav 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
+ - [#1560](https://github.com/primer/react/pull/1560) [`39d13744`](https://github.com/primer/react/commit/39d1374462d04960ede2c5a521c8c40785ac9de9) Thanks [@jfuchs](https://github.com/jfuchs)! - FilterList 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
 
@@ -1032,7 +1032,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
1032
1032
  ${rr}
1033
1033
  `;const ui=f.ul`
1034
1034
  list-style-type: none;
1035
- ${It};
1035
+ margin: 0;
1036
+ padding: 0;
1036
1037
  ${rr};
1037
1038
  `,pi=({children:t,...r})=>{const o=e.Children.map(t,(t=>e.createElement("li",null,t)));return e.createElement(ui,r,o)};pi.displayName="FilterList";const bi=f.a`
1038
1039
  position: relative;
@@ -1060,9 +1061,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
1060
1061
  float: right;
1061
1062
  font-weight: ${Nt("fontWeights.bold")};
1062
1063
  }
1063
- ${It};
1064
1064
  ${rr};
1065
- `;function mi({children:t,count:r,...o}){return e.createElement(bi,o,r&&e.createElement("span",{title:"results",className:"count"},r),t)}mi.displayName="FilterListItem",pi.defaultProps={m:0,p:0},mi.displayName="FilterList.Item";var hi=Object.assign(pi,{Item:mi});const vi=ue({variants:{default:{color:"fg.default",backgroundColor:"accent.subtle",borderColor:"accent.muted",svg:{color:"accent.fg"}},success:{color:"fg.default",backgroundColor:"success.subtle",borderColor:"success.muted",svg:{color:"success.fg"}},danger:{color:"fg.default",backgroundColor:"danger.subtle",borderColor:"danger.muted",svg:{color:"danger.fg"}},warning:{color:"fg.default",backgroundColor:"attention.subtle",borderColor:"attention.muted",svg:{color:"attention.fg"}}}}),xi=f.div`
1065
+ `;function mi({children:t,count:r,...o}){return e.createElement(bi,o,r&&e.createElement("span",{title:"results",className:"count"},r),t)}mi.displayName="FilterListItem",mi.displayName="FilterList.Item";var hi=Object.assign(pi,{Item:mi});const vi=ue({variants:{default:{color:"fg.default",backgroundColor:"accent.subtle",borderColor:"accent.muted",svg:{color:"accent.fg"}},success:{color:"fg.default",backgroundColor:"success.subtle",borderColor:"success.muted",svg:{color:"success.fg"}},danger:{color:"fg.default",backgroundColor:"danger.subtle",borderColor:"danger.muted",svg:{color:"danger.fg"}},warning:{color:"fg.default",backgroundColor:"attention.subtle",borderColor:"attention.muted",svg:{color:"attention.fg"}}}}),xi=f.div`
1066
1066
  position: relative;
1067
1067
  color: ${Nt("colors.fg.default")};
1068
1068
  padding: ${Nt("space.3")};
@@ -2217,6 +2217,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
2217
2217
  align-self: center;
2218
2218
  }
2219
2219
 
2220
+ ${It};
2220
2221
  ${rr};
2221
2222
  `;function fs({actions:t,className:r,align:o,children:a,full:n,label:i,theme:l,...d}){const s=en(r,"UnderlineNav",o&&`UnderlineNav--${o}`,n&&"UnderlineNav--full");return e.createElement(cs,Pt({className:s,"aria-label":i,theme:l},d),e.createElement("div",{className:"UnderlineNav-body"},a),t&&e.createElement("div",{className:"UnderlineNav-actions"},t))}fs.displayName="UnderlineNav";const gs=f.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:en("UnderlineNav-item",e.selected&&"selected",e.className)})))`
2222
2223
  padding: ${Nt("space.3")} ${Nt("space.2")};
@@ -2249,6 +2250,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
2249
2250
  }
2250
2251
  }
2251
2252
 
2253
+ ${It};
2252
2254
  ${rr};
2253
2255
  `;gs.displayName="UnderlineNav.Link";var us=Object.assign(fs,{Link:gs});export{gr as Absolute,Wa as ActionList,Ya as ActionMenu,bn as Autocomplete,hn as Avatar,yn as AvatarPair,$n as AvatarStack,ls as AvatarToken,Wt as BaseStyles,nr as BorderBox,or as Box,kn as BranchName,Nn as Breadcrumb,zn as Breadcrumbs,qr as Button,mo as ButtonClose,Xr as ButtonDanger,Jr as ButtonGroup,eo as ButtonInvisible,Zr as ButtonOutline,Qr as ButtonPrimary,to as ButtonTableList,Pn as Caret,Fn as CircleBadge,_n as CircleOcticon,ba as ConfirmationDialog,jn as CounterLabel,Gn as Details,ti as Dialog,si as Dropdown,ci as DropdownButton,fi as DropdownMenu,hi as FilterList,gi as FilteredSearch,ur as Fixed,yi as Flash,lr as Flex,$i as FormGroup,sr as Grid,Ei as Header,zi as Heading,as as IssueLabelToken,Li as Label,Ni as LabelGroup,Mi as Link,Ga as Overlay,Pi as Pagehead,Fi as Pagination,Ui as PointerBox,Ki as Popover,fr as Position,Ji as ProgressBar,pr as Relative,_o as SSRProvider,Kl as SelectMenu,Ql as SideNav,$l as Spinner,ad as StateLabel,br as Sticky,Lo as StyledOcticon,sd as SubNav,pd as TabNav,qn as Text,nn as TextInput,Od as TextInputWithTokens,tr as ThemeProvider,Fd as Timeline,Id as Token,ss as Tooltip,Ba as Truncate,us as UnderlineNav,x as theme,Nt as themeGet,Qt as useColorSchemeVar,ma as useConfirm,mr as useDetails,Cr as useOnEscapePress,wr as useOnOutsideClick,Tr as useOpenAndCloseFocus,Nr as useOverlay,Uo as useSSRSafeId,hr as useSafeTimeout,Zt as useTheme};
2254
2256
  //# sourceMappingURL=browser.esm.js.map