@symbo.ls/tooltip 2.11.247 → 2.11.288
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/index.js +5 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import { Flex } from '@symbo.ls/atoms'
|
|
|
6
6
|
export const Tooltip = {
|
|
7
7
|
extend: Flex,
|
|
8
8
|
props: {
|
|
9
|
+
theme: 'dialog',
|
|
9
10
|
background: 'black',
|
|
10
11
|
flow: 'column',
|
|
11
12
|
shape: 'tooltip',
|
|
@@ -105,9 +106,11 @@ export const TooltipHidden = {
|
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
export const TooltipParent = {
|
|
108
|
-
props: (
|
|
109
|
+
props: (el) => {
|
|
110
|
+
const { Tooltip, TooltipHidden } = el
|
|
109
111
|
const TooltipElem = (Tooltip || TooltipHidden)
|
|
110
|
-
|
|
112
|
+
if (!TooltipElem || TooltipElem) return console.warn('Tooltip was not found in', el.__ref.path)
|
|
113
|
+
const TooltipActive = TooltipElem.props && TooltipElem.props['.active']
|
|
111
114
|
return {
|
|
112
115
|
position: 'relative',
|
|
113
116
|
zIndex: 999,
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/tooltip",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.288",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "2793d8d6b6903041e9d988b292ee6fdf7ed67176",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@symbo.ls/atoms": "latest"
|
|
9
9
|
},
|