@primer/components 0.0.0-202110188728 → 0.0.0-2021101912536

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,18 +1,16 @@
1
1
  # @primer/components
2
2
 
3
- ## 0.0.0-202110188728
3
+ ## 0.0.0-2021101912536
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#1544](https://github.com/primer/react/pull/1544) [`5b55b0ab`](https://github.com/primer/react/commit/5b55b0ab8ea06b077e141c02285c81b99e246b77) Thanks [@jfuchs](https://github.com/jfuchs)! - The sx prop now has types that will inform autocomplete for color and shadow values that are key paths into the theme.
7
+ - [#1606](https://github.com/primer/react/pull/1606) [`82271fce`](https://github.com/primer/react/commit/82271fceab80234a24f2e84e9589c864cce0fb15) Thanks [@rezrah](https://github.com/rezrah)! - Adds a new Checkbox form component
8
8
 
9
- * [#1517](https://github.com/primer/react/pull/1517) [`561c0bd3`](https://github.com/primer/react/commit/561c0bd371b8d2135fb1d69555abc424ab796f2d) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Add experimental `ActionList` with composable API
9
+ * [#1544](https://github.com/primer/react/pull/1544) [`5b55b0ab`](https://github.com/primer/react/commit/5b55b0ab8ea06b077e141c02285c81b99e246b77) Thanks [@jfuchs](https://github.com/jfuchs)! - The sx prop now has types that will inform autocomplete for color and shadow values that are key paths into the theme.
10
10
 
11
- ### Patch Changes
12
-
13
- - [#1599](https://github.com/primer/react/pull/1599) [`a2e195b0`](https://github.com/primer/react/commit/a2e195b0a26ce70f44aea38b009856c0089aae0e) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Better labels and description for accessible ActionList.Item
11
+ - [#1517](https://github.com/primer/react/pull/1517) [`561c0bd3`](https://github.com/primer/react/commit/561c0bd371b8d2135fb1d69555abc424ab796f2d) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Add experimental `ActionList` with composable API
14
12
 
15
- * [#1603](https://github.com/primer/react/pull/1603) [`f4057b89`](https://github.com/primer/react/commit/f4057b897cc4c23012fb1b1881cefacbb57e081d) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Improve keyboard accessibility with focus styles cross browser
13
+ ### Patch Changes
16
14
 
17
15
  - [#1583](https://github.com/primer/react/pull/1583) [`24b1ebbc`](https://github.com/primer/react/commit/24b1ebbc21ca2eaa92bd6b5b8c15ab0e7577f5a0) Thanks [@pksjce](https://github.com/pksjce)! - Add a utility to provide useIsoMorphicEffect function and use that instead of useLayoutEffect everywhere
18
16
 
@@ -2254,5 +2254,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
2254
2254
 
2255
2255
  ${Nt};
2256
2256
  ${rr};
2257
- `;us.displayName="UnderlineNav.Link";var ps=Object.assign(gs,{Link:us});export{gr as Absolute,Fa as ActionList,Ja as ActionMenu,mn as Autocomplete,vn as Avatar,wn as AvatarPair,kn as AvatarStack,ds as AvatarToken,Wt as BaseStyles,nr as BorderBox,or as Box,Tn as BranchName,Nn as Breadcrumb,In 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,Hn as Caret,_n as CircleBadge,jn as CircleOcticon,ma as ConfirmationDialog,Un as CounterLabel,Vn as Details,ri as Dialog,ci as Dropdown,fi as DropdownButton,gi as DropdownMenu,vi as FilterList,ui as FilteredSearch,ur as Fixed,wi as Flash,lr as Flex,ki as FormGroup,sr as Grid,Ci as Header,Ii as Heading,ns as IssueLabelToken,Oi as Label,Ni as LabelGroup,Pi as Link,Va as Overlay,Hi as Pagehead,_i as Pagination,Gi as PointerBox,qi as Popover,fr as Position,Zi as ProgressBar,pr as Relative,jo as SSRProvider,ql as SelectMenu,ed as SideNav,kl as Spinner,nd as StateLabel,br as Sticky,Oo as StyledOcticon,cd as SubNav,bd as TabNav,Xn as Text,ln as TextInput,Md as TextInputWithTokens,tr as ThemeProvider,_d as Timeline,Ad as Token,cs as Tooltip,$a as Truncate,ps as UnderlineNav,x as theme,It as themeGet,Qt as useColorSchemeVar,ha as useConfirm,mr as useDetails,Cr as useOnEscapePress,wr as useOnOutsideClick,Tr as useOpenAndCloseFocus,Ir as useOverlay,Go as useSSRSafeId,hr as useSafeTimeout,Zt as useTheme};
2257
+ `;us.displayName="UnderlineNav.Link";var ps=Object.assign(gs,{Link:us});const bs=f.input`
2258
+ cursor: pointer;
2259
+
2260
+ ${e=>e.disabled&&"cursor: not-allowed;"}
2261
+
2262
+ ${Nt};
2263
+ ${rr}
2264
+ `,ms=e.forwardRef((({checked:t,indeterminate:o,disabled:a,sx:n,...i},d)=>{const s=r(null);return l((()=>{s.current&&(s.current.indeterminate=o||!1)}),[o,t]),e.createElement(bs,Pt({type:"checkbox",disabled:a,ref:d||s,checked:t,"aria-checked":o?"mixed":t,sx:{...n}},i))}));export{gr as Absolute,Fa as ActionList,Ja as ActionMenu,mn as Autocomplete,vn as Avatar,wn as AvatarPair,kn as AvatarStack,ds as AvatarToken,Wt as BaseStyles,nr as BorderBox,or as Box,Tn as BranchName,Nn as Breadcrumb,In 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,Hn as Caret,ms as Checkbox,_n as CircleBadge,jn as CircleOcticon,ma as ConfirmationDialog,Un as CounterLabel,Vn as Details,ri as Dialog,ci as Dropdown,fi as DropdownButton,gi as DropdownMenu,vi as FilterList,ui as FilteredSearch,ur as Fixed,wi as Flash,lr as Flex,ki as FormGroup,sr as Grid,Ci as Header,Ii as Heading,ns as IssueLabelToken,Oi as Label,Ni as LabelGroup,Pi as Link,Va as Overlay,Hi as Pagehead,_i as Pagination,Gi as PointerBox,qi as Popover,fr as Position,Zi as ProgressBar,pr as Relative,jo as SSRProvider,ql as SelectMenu,ed as SideNav,kl as Spinner,nd as StateLabel,br as Sticky,Oo as StyledOcticon,cd as SubNav,bd as TabNav,Xn as Text,ln as TextInput,Md as TextInputWithTokens,tr as ThemeProvider,_d as Timeline,Ad as Token,cs as Tooltip,$a as Truncate,ps as UnderlineNav,x as theme,It as themeGet,Qt as useColorSchemeVar,ha as useConfirm,mr as useDetails,Cr as useOnEscapePress,wr as useOnOutsideClick,Tr as useOpenAndCloseFocus,Ir as useOverlay,Go as useSSRSafeId,hr as useSafeTimeout,Zt as useTheme};
2258
2265
  //# sourceMappingURL=browser.esm.js.map