@cypress-design/react-tooltip 0.0.2 → 0.1.0
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 +6 -0
- package/Tooltip.tsx +9 -0
- package/dist/Tooltip.d.ts +9 -0
- package/dist/Tooltip.d.ts.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -30400,13 +30400,13 @@ var Tooltip = function (_a) {
|
|
|
30400
30400
|
color === 'dark' && 'stroke-gray-800 fill-gray-900',
|
|
30401
30401
|
color === 'light' && 'stroke-gray-100 fill-white',
|
|
30402
30402
|
]), style: (_b = {
|
|
30403
|
-
transform: "rotate("
|
|
30403
|
+
transform: "rotate(" + arrowRotate + "deg)",
|
|
30404
30404
|
filter: placementSide === 'bottom' || color === 'dark'
|
|
30405
30405
|
? undefined
|
|
30406
30406
|
: 'drop-shadow(0 1px 1px rgba(225, 227, 237, .8))'
|
|
30407
30407
|
},
|
|
30408
|
-
_b[arrowXRule] =
|
|
30409
|
-
_b[arrowYRule] =
|
|
30408
|
+
_b[arrowXRule] = (arrowX !== null && arrowX !== void 0 ? arrowX : -6) + "px",
|
|
30409
|
+
_b[arrowYRule] = (arrowY !== null && arrowY !== void 0 ? arrowY : -6) + "px",
|
|
30410
30410
|
_b), fill: "none" },
|
|
30411
30411
|
React__namespace.createElement("rect", { x: "0", y: "0", width: "48", height: "4", strokeWidth: "0" }),
|
|
30412
30412
|
React__namespace.createElement("path", { d: "M 0 3 C 12 3 18 18 24 18 C 30 18 36 3 48 3", "stroke-width": "2" })),
|