@7shifts/sous-chef 2.3.3 → 2.3.5
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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconSize } from '../types';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
size?: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
} & React.SVGProps<SVGSVGElement>;
|
|
7
|
+
declare const IconGif: {
|
|
8
|
+
(props: Props): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export default IconGif;
|
|
@@ -57,6 +57,7 @@ export { default as IconFlag } from './IconFlag';
|
|
|
57
57
|
export { default as IconFourDotsCircle } from './IconFourDotsCircle';
|
|
58
58
|
export { default as IconFourSquares } from './IconFourSquares';
|
|
59
59
|
export { default as IconGavel } from './IconGavel';
|
|
60
|
+
export { default as IconGif } from './IconGif';
|
|
60
61
|
export { default as IconGift } from './IconGift';
|
|
61
62
|
export { default as IconGrinBeam } from './IconGrinBeam';
|
|
62
63
|
export { default as IconGripVertical } from './IconGripVertical';
|
package/dist/index.js
CHANGED
|
@@ -443,6 +443,11 @@ var Tooltip = function Tooltip(_ref, forwardedRef) {
|
|
|
443
443
|
|
|
444
444
|
var isFocusingOnTooltip = React.useRef(false);
|
|
445
445
|
var isFocusingOnAnchor = React.useRef(false);
|
|
446
|
+
React.useEffect(function () {
|
|
447
|
+
if (isVisible && !header && !overlay) {
|
|
448
|
+
setIsVisible(false);
|
|
449
|
+
}
|
|
450
|
+
}, [isVisible, header, overlay]);
|
|
446
451
|
|
|
447
452
|
var updateOverlayVisibility = function updateOverlayVisibility(shouldShow) {
|
|
448
453
|
setIsVisible(shouldShow);
|
|
@@ -1808,6 +1813,25 @@ var IconGavel = function IconGavel(props) {
|
|
|
1808
1813
|
|
|
1809
1814
|
IconGavel.displayName = 'IconGavel';
|
|
1810
1815
|
|
|
1816
|
+
var IconGif = function IconGif(props) {
|
|
1817
|
+
return React__default.createElement("svg", Object.assign({
|
|
1818
|
+
viewBox: "0 0 20 20",
|
|
1819
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1820
|
+
"data-testid": "icon-gif",
|
|
1821
|
+
style: getIconStyles(props)
|
|
1822
|
+
}, props), React__default.createElement("path", {
|
|
1823
|
+
d: "M18.096 2.85H1.906c-.79 0-1.43.64-1.43 1.429v11.428c0 .79.64 1.429 1.43 1.429h16.19c.789 0 1.428-.64 1.428-1.429V4.28c0-.79-.64-1.429-1.428-1.429Z",
|
|
1824
|
+
stroke: "currentColor",
|
|
1825
|
+
strokeWidth: 0.952,
|
|
1826
|
+
fill: "none"
|
|
1827
|
+
}), React__default.createElement("path", {
|
|
1828
|
+
d: "M7.124 12.541c.876 0 1.592-.373 2.087-.93V9.715H6.804v.785h1.524v.785c-.23.22-.686.457-1.204.457-1.006 0-1.753-.777-1.753-1.836 0-1.074.747-1.836 1.753-1.836a1.64 1.64 0 0 1 1.318.678l.724-.42c-.404-.578-1.052-1.05-2.042-1.05-1.478 0-2.667 1.028-2.667 2.628 0 1.592 1.189 2.636 2.667 2.636Zm3.907-.099V7.36h-.892v5.082h.892Zm1.971 0V10.24h2.538v-.785h-2.538v-1.31h2.59V7.36h-3.481v5.082h.891Z",
|
|
1829
|
+
fill: "currentColor"
|
|
1830
|
+
}));
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
IconGif.displayName = 'IconGif';
|
|
1834
|
+
|
|
1811
1835
|
var IconGift = function IconGift(props) {
|
|
1812
1836
|
return React__default.createElement("svg", Object.assign({
|
|
1813
1837
|
viewBox: "0 0 20 20",
|
|
@@ -5864,6 +5888,7 @@ exports.IconFlag = IconFlag;
|
|
|
5864
5888
|
exports.IconFourDotsCircle = IconFourDotsCircle;
|
|
5865
5889
|
exports.IconFourSquares = IconFourSquares;
|
|
5866
5890
|
exports.IconGavel = IconGavel;
|
|
5891
|
+
exports.IconGif = IconGif;
|
|
5867
5892
|
exports.IconGift = IconGift;
|
|
5868
5893
|
exports.IconGrinBeam = IconGrinBeam;
|
|
5869
5894
|
exports.IconGripVertical = IconGripVertical;
|