@loomhq/lens 10.37.0 → 10.38.2
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/dist/components/icon/available-icons/index.d.ts +1 -0
- package/dist/components/icon/available-icons/index.js +1 -0
- package/dist/components/icon/available-icons/reply-left.js +1 -3
- package/dist/components/icon/available-icons/reply-right.js +1 -3
- package/dist/components/icon/available-icons/smile-select.d.ts +2 -0
- package/dist/components/icon/available-icons/smile-select.js +10 -0
- package/dist/components/tooltip/tooltip.js +1 -2
- package/package.json +1 -1
|
@@ -139,6 +139,7 @@ export { default as SvgShowChart } from "./show-chart.js";
|
|
|
139
139
|
export { default as SvgSkipBack } from "./skip-back.js";
|
|
140
140
|
export { default as SvgSmile } from "./smile.js";
|
|
141
141
|
export { default as SvgSmileAlt } from "./smile-alt.js";
|
|
142
|
+
export { default as SvgSmileSelect } from "./smile-select.js";
|
|
142
143
|
export { default as SvgSparkle } from "./sparkle.js";
|
|
143
144
|
export { default as SvgStar } from "./star.js";
|
|
144
145
|
export { default as SvgStarOutline } from "./star-outline.js";
|
|
@@ -139,6 +139,7 @@ export { default as SvgShowChart } from './show-chart.js';
|
|
|
139
139
|
export { default as SvgSkipBack } from './skip-back.js';
|
|
140
140
|
export { default as SvgSmile } from './smile.js';
|
|
141
141
|
export { default as SvgSmileAlt } from './smile-alt.js';
|
|
142
|
+
export { default as SvgSmileSelect } from './smile-select.js';
|
|
142
143
|
export { default as SvgSparkle } from './sparkle.js';
|
|
143
144
|
export { default as SvgStar } from './star.js';
|
|
144
145
|
export { default as SvgStarOutline } from './star-outline.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
function SvgReplyLeft(props) {
|
|
3
3
|
return (React.createElement("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none" }, props),
|
|
4
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.
|
|
5
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 9.375a1 1 0 011-1h10.5a4.5 4.5 0 014.5 4.5 1 1 0 11-2 0 2.5 2.5 0 00-2.5-2.5H5a1 1 0 01-1-1z", fill: "currentColor" }),
|
|
6
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.125 19a1 1 0 001 1H15.5a4.5 4.5 0 004.5-4.5v-2.625a1 1 0 10-2 0V15.5a2.5 2.5 0 01-2.5 2.5h-4.375a1 1 0 00-1 1z", fill: "currentColor" })));
|
|
4
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5108 6.70673C10.8576 6.2732 10.8108 5.62052 10.4062 5.24892C10.0015 4.87732 9.39238 4.92753 9.04556 5.36106L4.0918 11.5534C3.78206 11.9405 3.78206 12.5119 4.0918 12.899L9.04597 19.0918C9.39279 19.5253 10.002 19.5755 10.4066 19.2039C10.8112 18.8323 10.8581 18.1796 10.5112 17.7461L6.89554 13.2265L13.8617 13.2265C16.0707 13.2265 17.8615 15.0172 17.8615 17.2263L17.8615 18.4188C17.8615 18.9711 18.3092 19.4188 18.8615 19.4188C19.4138 19.4188 19.8615 18.9711 19.8615 18.4188V17.2263C19.8615 13.9127 17.1753 11.2265 13.8617 11.2265L6.8951 11.2265L10.5108 6.70673Z", fill: "currentColor" })));
|
|
7
5
|
}
|
|
8
6
|
export default SvgReplyLeft;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
function SvgReplyRight(props) {
|
|
3
3
|
return (React.createElement("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none" }, props),
|
|
4
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.
|
|
5
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20 9.375a1 1 0 00-1-1H8.5a4.5 4.5 0 00-4.5 4.5 1 1 0 102 0 2.5 2.5 0 012.5-2.5H19a1 1 0 001-1z", fill: "currentColor" }),
|
|
6
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.875 19a1 1 0 01-1 1H8.5A4.5 4.5 0 014 15.5v-2.625a1 1 0 112 0V15.5A2.5 2.5 0 008.5 18h4.375a1 1 0 011 1z", fill: "currentColor" })));
|
|
4
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3487 6.70673C13.0018 6.2732 13.0487 5.62052 13.4533 5.24892C13.858 4.87732 14.4671 4.92753 14.8139 5.36106L19.7677 11.5534C20.0774 11.9405 20.0774 12.5119 19.7677 12.899L14.8135 19.0918C14.4667 19.5253 13.8575 19.5755 13.4529 19.2039C13.0483 18.8323 13.0014 18.1796 13.3483 17.7461L16.964 13.2265L9.99784 13.2265C7.78881 13.2265 5.99803 15.0172 5.99803 17.2263L5.99803 18.4188C5.99803 18.9711 5.55032 19.4188 4.99803 19.4188C4.44575 19.4188 3.99803 18.9711 3.99803 18.4188V17.2263C3.99803 13.9127 6.68424 11.2265 9.99784 11.2265L16.9644 11.2265L13.3487 6.70673Z", fill: "currentColor" })));
|
|
7
5
|
}
|
|
8
6
|
export default SvgReplyRight;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
function SvgSmileSelect(props) {
|
|
3
|
+
return (React.createElement("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none" }, props),
|
|
4
|
+
React.createElement("g", { clipPath: "url(#clip0_10_43)" },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 5C6.13401 5 3 8.13401 3 12C3 15.866 6.13401 19 10 19C12.774 19 15.1711 17.3864 16.304 15.0466L17.7818 16.5244C16.2222 19.2011 13.3212 21 10 21C5.02944 21 1 16.9706 1 12C1 7.02944 5.02944 3 10 3C13.8688 3 17.1675 5.44115 18.4397 8.86717C17.7299 8.47856 16.8961 8.39843 16.1351 8.62677C14.9438 6.46475 12.643 5 10 5ZM16.8416 10.5126C16.6407 10.5446 16.4477 10.638 16.2929 10.7929C15.9024 11.1834 15.9024 11.8166 16.2929 12.2071L16.9475 12.8617L18.6341 14.5483L19.2929 15.2071C19.6834 15.5976 20.3166 15.5976 20.7071 15.2071L21.4142 14.5L23.7071 12.2071C24.0976 11.8166 24.0976 11.1834 23.7071 10.7929C23.3166 10.4024 22.6834 10.4024 22.2929 10.7929L20 13.0858L18.9996 12.0854L17.7071 10.7929C17.4714 10.5572 17.1474 10.4638 16.8416 10.5126ZM5.98716 13.0175C6.17497 12.7554 6.47758 12.6 6.79998 12.6H13.2C13.5224 12.6 13.825 12.7554 14.0128 13.0175C14.2006 13.2795 14.2505 13.616 14.1469 13.9213C13.5401 15.7097 11.9263 17 9.99998 17C8.07369 17 6.45983 15.7097 5.85301 13.9213C5.74941 13.616 5.79936 13.2795 5.98716 13.0175ZM7.59995 8.60001C7.04767 8.60001 6.59995 9.04773 6.59995 9.60001C6.59995 10.1523 7.04767 10.6 7.59995 10.6H7.60995C8.16224 10.6 8.60995 10.1523 8.60995 9.60001C8.60995 9.04773 8.16224 8.60001 7.60995 8.60001H7.59995ZM11.4 9.60001C11.4 9.04773 11.8478 8.60001 12.4 8.60001H12.41C12.9623 8.60001 13.41 9.04773 13.41 9.60001C13.41 10.1523 12.9623 10.6 12.41 10.6H12.4C11.8478 10.6 11.4 10.1523 11.4 9.60001Z", fill: "currentColor" })),
|
|
6
|
+
React.createElement("defs", null,
|
|
7
|
+
React.createElement("clipPath", { id: "clip0_10_43" },
|
|
8
|
+
React.createElement("rect", { width: "24", height: "24", fill: "currentColor" })))));
|
|
9
|
+
}
|
|
10
|
+
export default SvgSmileSelect;
|
|
@@ -59,7 +59,7 @@ function Tooltip(_a) {
|
|
|
59
59
|
delayLeave: 100,
|
|
60
60
|
});
|
|
61
61
|
const [isOverTooltip, setIsOverTooltip] = useState(false);
|
|
62
|
-
const isOpen = content && (show || (isOverTooltip && keepOpen));
|
|
62
|
+
const isOpen = content && (show || (isOverTooltip && keepOpen)) && !isDisabled;
|
|
63
63
|
const { layerProps, triggerProps, renderLayer } = useLayer({
|
|
64
64
|
isOpen,
|
|
65
65
|
placement: placements[placement],
|
|
@@ -71,7 +71,6 @@ function Tooltip(_a) {
|
|
|
71
71
|
return (React.createElement(React.Fragment, null,
|
|
72
72
|
React.createElement(TooltipChildren, Object.assign({}, triggerProps, hoverProps, { isInline: isInline, verticalAlign: verticalAlign }), children),
|
|
73
73
|
isOpen &&
|
|
74
|
-
!isDisabled &&
|
|
75
74
|
renderLayer(React.createElement("div", Object.assign({}, layerProps, { style: Object.assign(Object.assign({}, layerProps.style), { zIndex }) }),
|
|
76
75
|
React.createElement(TooltipBox, Object.assign({ maxWidth: maxWidth, onMouseEnter: () => setIsOverTooltip(true), onMouseLeave: () => setIsOverTooltip(false) }, rest), content)))));
|
|
77
76
|
}
|