@primer/components 0.0.0-2021103224249 → 0.0.0-2021103224544
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 -3
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +1 -3
- package/dist/browser.umd.js.map +1 -1
- package/lib/Tooltip.d.ts +2 -1
- package/lib/Tooltip.js +1 -1
- package/lib/Truncate.d.ts +1 -2
- package/lib/Truncate.js +1 -3
- package/lib-esm/Tooltip.d.ts +2 -1
- package/lib-esm/Tooltip.js +2 -2
- package/lib-esm/Truncate.d.ts +1 -2
- package/lib-esm/Truncate.js +1 -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-2021103224544
|
4
4
|
|
5
5
|
### Major Changes
|
6
6
|
|
7
|
-
- [
|
7
|
+
- [`1b51453b`](https://github.com/primer/react/commit/1b51453b37e2cc0f68dc95166384f0c01628d3dd) Thanks [@jfuchs](https://github.com/jfuchs)! - Truncate 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
@@ -403,8 +403,6 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
403
403
|
`;function va({variant:t="subtle",title:r,auxiliaryText:o,children:a,...n}){return e.createElement(ha,Pt({role:"heading",variant:t},n),r,o&&e.createElement("span",null,o))}va.displayName="Header";const xa=f.div`
|
404
404
|
${rr}
|
405
405
|
`;function ya({header:t,items:r,...o}){return e.createElement(xa,o,t&&e.createElement(va,t),r)}ya.displayName="Group";const wa=f.div`
|
406
|
-
${At}
|
407
|
-
${It}
|
408
406
|
display: ${e=>e.inline?"inline-block":"inherit"};
|
409
407
|
overflow: hidden;
|
410
408
|
text-overflow: ellipsis;
|
@@ -2186,7 +2184,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2186
2184
|
&.tooltipped-align-left-2::before {
|
2187
2185
|
left: 10px;
|
2188
2186
|
}
|
2189
|
-
|
2187
|
+
${It};
|
2190
2188
|
${rr};
|
2191
2189
|
`;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`
|
2192
2190
|
display: flex;
|