@cypress-design/react-tooltip 0.3.1 → 0.3.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/CHANGELOG.md +6 -0
- package/Tooltip.rootstory.tsx +3 -3
- package/Tooltip.tsx +5 -5
- package/dist/index.es.mjs +6 -6
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -30401,14 +30401,14 @@ var Tooltip = function (_a) {
|
|
|
30401
30401
|
switch (color) {
|
|
30402
30402
|
case 'light':
|
|
30403
30403
|
return {
|
|
30404
|
-
svg: 'stroke-
|
|
30405
|
-
block: 'text-gray-900
|
|
30404
|
+
svg: 'stroke-none fill-white',
|
|
30405
|
+
block: 'text-gray-900 shadow-gray-100 border-transparent ',
|
|
30406
30406
|
background: 'bg-white'
|
|
30407
30407
|
};
|
|
30408
30408
|
case 'dark':
|
|
30409
30409
|
return {
|
|
30410
|
-
svg: 'stroke-
|
|
30411
|
-
block: 'text-white shadow-gray-800 border-
|
|
30410
|
+
svg: 'stroke-none fill-gray-900',
|
|
30411
|
+
block: 'text-white shadow-gray-800 border-transparent',
|
|
30412
30412
|
background: 'bg-gray-900'
|
|
30413
30413
|
};
|
|
30414
30414
|
default:
|
|
@@ -30435,7 +30435,7 @@ var Tooltip = function (_a) {
|
|
|
30435
30435
|
React__namespace.createElement("svg", { ref: arrowRef, viewBox: "0 0 48 48", width: "24", height: "24", className: clsx__default["default"]('absolute z-10', colors.svg), style: (_b = {
|
|
30436
30436
|
transform: "rotate(" + arrowRotate + "deg)",
|
|
30437
30437
|
filter: placementSide === 'bottom' || color === 'dark'
|
|
30438
|
-
?
|
|
30438
|
+
? 'drop-shadow(0 1px 1px rgba(225, 227, 237, .3))'
|
|
30439
30439
|
: 'drop-shadow(0 1px 1px rgba(225, 227, 237, .8))'
|
|
30440
30440
|
},
|
|
30441
30441
|
_b[arrowXRule] = (arrowX !== null && arrowX !== void 0 ? arrowX : -6) + "px",
|
|
@@ -30448,5 +30448,5 @@ var Tooltip = function (_a) {
|
|
|
30448
30448
|
|
|
30449
30449
|
module.exports = Tooltip;
|
|
30450
30450
|
|
|
30451
|
-
/* <windicss-keep class="container stroke-
|
|
30451
|
+
/* <windicss-keep class="container stroke-none fill-white text-gray-900 shadow-gray-100 border-transparent bg-white fill-gray-900 text-white shadow-gray-800 bg-gray-900 rounded shadow border invisible absolute z-10 text-16px leading-24px min-w-160px text-center p-8px relative z-20"> */
|
|
30452
30452
|
//# sourceMappingURL=index.umd.js.map
|