@primer/components 0.0.0-202110320369 → 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 +2 -2
- package/dist/browser.esm.js +3 -1
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +3 -1
- package/dist/browser.umd.js.map +1 -1
- package/lib/FormGroup.d.ts +5 -4
- package/lib/FormGroup.js +2 -2
- package/lib/LabelGroup.d.ts +1 -2
- package/lib/LabelGroup.js +1 -1
- package/lib-esm/FormGroup.d.ts +5 -4
- package/lib-esm/FormGroup.js +3 -3
- package/lib-esm/LabelGroup.d.ts +1 -2
- package/lib-esm/LabelGroup.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# @primer/components
|
2
2
|
|
3
|
-
## 0.0.0-
|
3
|
+
## 0.0.0-2021103205322
|
4
4
|
|
5
5
|
### Major Changes
|
6
6
|
|
7
|
-
- [#
|
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
|
|
package/dist/browser.esm.js
CHANGED
@@ -1085,12 +1085,15 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1085
1085
|
`;xi.defaultProps={variant:"default"};var yi=xi;const wi=f.div`
|
1086
1086
|
margin: ${Nt("space.3")} 0;
|
1087
1087
|
font-weight: ${Nt("fontWeights.normal")};
|
1088
|
+
${It};
|
1088
1089
|
${rr};
|
1089
1090
|
`,Bi=f.label`
|
1090
1091
|
display: block;
|
1091
1092
|
margin: 0 0 ${Nt("space.2")};
|
1092
1093
|
font-size: ${Nt("fontSizes.1")};
|
1093
1094
|
font-weight: ${Nt("fontWeights.bold")};
|
1095
|
+
${At};
|
1096
|
+
${It};
|
1094
1097
|
${rr};
|
1095
1098
|
`;Bi.displayName="FormGroup.Label";var $i=Object.assign(wi,{Label:Bi});const ki=f.div`
|
1096
1099
|
z-index: 32;
|
@@ -1144,7 +1147,6 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1144
1147
|
${It};
|
1145
1148
|
${rr};
|
1146
1149
|
`;Ci.defaultProps={theme:x};var zi=Ci;var Ni=f.span`
|
1147
|
-
${It}
|
1148
1150
|
& * {
|
1149
1151
|
margin-right: ${Nt("space.1")};
|
1150
1152
|
}
|