@primer/components 0.0.0-2021101915381 → 0.0.0-20211019163725
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 +5 -1
- package/dist/browser.esm.js +8 -1
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +8 -1
- package/dist/browser.umd.js.map +1 -1
- package/lib/ActionList2/Description.js +4 -8
- package/lib/ActionList2/Description.jsx +3 -2
- package/lib/ActionList2/Item.js +7 -6
- package/lib/ActionList2/Item.jsx +5 -5
- package/lib/Checkbox.d.ts +21 -0
- package/lib/Checkbox.js +60 -0
- package/lib/Checkbox.jsx +50 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib-esm/ActionList2/Description.js +4 -8
- package/lib-esm/ActionList2/Item.js +7 -6
- package/lib-esm/Checkbox.d.ts +21 -0
- package/lib-esm/Checkbox.js +40 -0
- package/lib-esm/index.d.ts +2 -0
- package/lib-esm/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# @primer/components
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20211019163725
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
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
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
package/dist/browser.esm.js
CHANGED
|
@@ -2265,5 +2265,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
|
2265
2265
|
|
|
2266
2266
|
${Nt};
|
|
2267
2267
|
${rr};
|
|
2268
|
-
`;ys.displayName="UnderlineNav.Link";var ws=Object.assign(xs,{Link:ys});
|
|
2268
|
+
`;ys.displayName="UnderlineNav.Link";var ws=Object.assign(xs,{Link:ys});const Bs=f.input`
|
|
2269
|
+
cursor: pointer;
|
|
2270
|
+
|
|
2271
|
+
${e=>e.disabled&&"cursor: not-allowed;"}
|
|
2272
|
+
|
|
2273
|
+
${Nt};
|
|
2274
|
+
${rr}
|
|
2275
|
+
`,$s=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,"aria-disabled":a?"true":"false",ref:d||s,checked:!o&&t,"aria-checked":o?"mixed":t?"true":"false",sx:{...n}},i))}));$s.displayName="Checkbox";var ks=$s;export{gr as Absolute,_a as ActionList,Za as ActionMenu,mn as Autocomplete,xn as Avatar,Bn as AvatarPair,Sn as AvatarStack,ps as AvatarToken,Wt as BaseStyles,nr as BorderBox,or as Box,Tn as BranchName,An as Breadcrumb,Nn 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,Vn as Caret,ks as Checkbox,Yn as CircleBadge,Jn as CircleOcticon,ma as ConfirmationDialog,Pn as CounterLabel,Qn as Details,si as Dialog,mi as Dropdown,vi as DropdownButton,xi as DropdownMenu,Si as FilterList,yi as FilteredSearch,ur as Fixed,Ci as Flash,lr as Flex,Ni as FormGroup,sr as Grid,Oi as Header,Pi as Heading,gs as IssueLabelToken,_i as Label,Di as LabelGroup,Ui as Link,Hn as NewButton,Ka as Overlay,Gi as Pagehead,Xi as Pagination,Zi as PointerBox,tl as Popover,fr as Position,nl as ProgressBar,br as Relative,Uo as SSRProvider,td as SelectMenu,ld as SideNav,Nl as Spinner,gd as StateLabel,pr as Sticky,Mo as StyledOcticon,md as SubNav,Bd as TabNav,ri as Text,dn as TextInput,jd as TextInputWithTokens,tr as ThemeProvider,Xd as Timeline,Hd as Token,ms as Tooltip,ka as Truncate,ws as UnderlineNav,x as theme,It as themeGet,Qt as useColorSchemeVar,va as useConfirm,hr as useDetails,Cr as useOnEscapePress,wr as useOnOutsideClick,Sr as useOpenAndCloseFocus,Ir as useOverlay,Vo as useSSRSafeId,mr as useSafeTimeout,Zt as useTheme};
|
|
2269
2276
|
//# sourceMappingURL=browser.esm.js.map
|