@cypress-design/react-tooltip 0.7.1 → 0.8.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/Tooltip.tsx +3 -3
- package/dist/index.es.mjs +4 -4
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -33608,13 +33608,13 @@ var Tooltip = function (_a) {
|
|
|
33608
33608
|
case 'light':
|
|
33609
33609
|
return {
|
|
33610
33610
|
svg: 'stroke-none fill-white',
|
|
33611
|
-
block: 'text-gray-900
|
|
33611
|
+
block: 'text-gray-900 border-transparent',
|
|
33612
33612
|
background: 'bg-white',
|
|
33613
33613
|
};
|
|
33614
33614
|
case 'dark':
|
|
33615
33615
|
return {
|
|
33616
33616
|
svg: 'stroke-none fill-gray-900',
|
|
33617
|
-
block: 'text-white
|
|
33617
|
+
block: 'text-white border-transparent',
|
|
33618
33618
|
background: 'bg-gray-900',
|
|
33619
33619
|
};
|
|
33620
33620
|
default:
|
|
@@ -33628,7 +33628,7 @@ var Tooltip = function (_a) {
|
|
|
33628
33628
|
ref: floating,
|
|
33629
33629
|
style: __assign({ position: strategy, top: y !== null && y !== void 0 ? y : '', left: x !== null && x !== void 0 ? x : '' }, (interactive ? { padding: '16px' } : {})),
|
|
33630
33630
|
})),
|
|
33631
|
-
React__namespace.createElement("div", { className: clsx('rounded shadow border', [
|
|
33631
|
+
React__namespace.createElement("div", { className: clsx('rounded shadow-tooltip border', [
|
|
33632
33632
|
colors.background,
|
|
33633
33633
|
colors.block,
|
|
33634
33634
|
(!x || !y) && 'invisible',
|
|
@@ -33650,4 +33650,4 @@ var Tooltip = function (_a) {
|
|
|
33650
33650
|
module.exports = Tooltip;
|
|
33651
33651
|
//# sourceMappingURL=index.umd.js.map
|
|
33652
33652
|
|
|
33653
|
-
/* <wind-keep class="stroke-none fill-white block text-gray-900
|
|
33653
|
+
/* <wind-keep class="stroke-none fill-white block text-gray-900 border-transparent bg-white fill-gray-900 text-white bg-gray-900 rounded shadow-tooltip border invisible absolute z-10 transform filter text-[16px] leading-[24px] min-w-[160px] text-center p-[8px] relative z-20 drop-shadow"> */
|