@primer/components 0.0.0-202110321848 → 0.0.0-2021103221155
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 +1 -1
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +1 -1
- package/dist/browser.umd.js.map +1 -1
- package/lib/Pagehead.d.ts +2 -1
- package/lib/Pagehead.js +1 -1
- package/lib/StateLabel.d.ts +1 -2
- package/lib/StateLabel.js +1 -1
- package/lib-esm/Pagehead.d.ts +2 -1
- package/lib-esm/Pagehead.js +2 -2
- package/lib-esm/StateLabel.d.ts +1 -2
- package/lib-esm/StateLabel.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-2021103221155
|
4
4
|
|
5
5
|
### Major Changes
|
6
6
|
|
7
|
-
- [#
|
7
|
+
- [#1573](https://github.com/primer/react/pull/1573) [`96928dea`](https://github.com/primer/react/commit/96928deae852a07010fbc1098ecfe2eccb11bf54) Thanks [@jfuchs](https://github.com/jfuchs)! - StateLabel 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
@@ -1197,6 +1197,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1197
1197
|
padding-bottom: ${Nt("space.4")};
|
1198
1198
|
margin-bottom: ${Nt("space.4")};
|
1199
1199
|
border-bottom: 1px solid ${Nt("colors.border.default")};
|
1200
|
+
${It};
|
1200
1201
|
${rr};
|
1201
1202
|
`;const Hi=f.a`
|
1202
1203
|
display: inline-block;
|
@@ -1696,7 +1697,6 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1696
1697
|
border-radius: ${Nt("radii.3")};
|
1697
1698
|
${td};
|
1698
1699
|
${rd};
|
1699
|
-
${It};
|
1700
1700
|
${rr};
|
1701
1701
|
`;function ad({children:t,status:r,variant:o,...a}){const n="small"===o?{width:"1em"}:{};return e.createElement(od,Pt({},a,{variant:o,status:r}),r&&e.createElement(Lo,Pt({mr:1},n,{icon:ed[r]||go})),t)}ad.displayName="StateLabel",ad.defaultProps={variant:"normal"};const nd=f.nav`
|
1702
1702
|
display: flex;
|