@primer/components 0.0.0-2021103221155 → 0.0.0-2021103224249
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 +2 -1
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +2 -1
- package/dist/browser.umd.js.map +1 -1
- package/lib/StateLabel.d.ts +2 -1
- package/lib/StateLabel.js +1 -1
- package/lib/Tooltip.d.ts +1 -2
- package/lib/Tooltip.js +1 -1
- package/lib-esm/StateLabel.d.ts +2 -1
- package/lib-esm/StateLabel.js +2 -2
- package/lib-esm/Tooltip.d.ts +1 -2
- package/lib-esm/Tooltip.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-2021103224249
|
4
4
|
|
5
5
|
### Major Changes
|
6
6
|
|
7
|
-
- [#
|
7
|
+
- [#1577](https://github.com/primer/react/pull/1577) [`b28cd7f1`](https://github.com/primer/react/commit/b28cd7f17fd0a3f876a1c36bae20927df51f71d2) Thanks [@jfuchs](https://github.com/jfuchs)! - Tooltip 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
@@ -1697,6 +1697,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1697
1697
|
border-radius: ${Nt("radii.3")};
|
1698
1698
|
${td};
|
1699
1699
|
${rd};
|
1700
|
+
${It};
|
1700
1701
|
${rr};
|
1701
1702
|
`;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
1703
|
display: flex;
|
@@ -2185,7 +2186,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2185
2186
|
&.tooltipped-align-left-2::before {
|
2186
2187
|
left: 10px;
|
2187
2188
|
}
|
2188
|
-
|
2189
|
+
|
2189
2190
|
${rr};
|
2190
2191
|
`;function ss({direction:t="n",children:r,className:o,text:a,noDelay:n,align:i,wrap:l,...d}){const s=en(o,`tooltipped-${t}`,i&&`tooltipped-align-${i}-2`,n&&"tooltipped-no-delay",l&&"tooltipped-multiline");return e.createElement(ds,Pt({role:"tooltip","aria-label":a},d,{className:s}),r)}ss.displayName="Tooltip",ss.alignments=["left","right"],ss.directions=["n","ne","e","se","s","sw","w","nw"];const cs=f.nav`
|
2191
2192
|
display: flex;
|