@symbo.ls/tooltip 2.11.320 → 2.11.358

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.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,10 +1,9 @@
1
1
  'use strict'
2
2
 
3
3
  import { isDefined } from '@domql/utils'
4
- import { Flex } from '@symbo.ls/atoms'
5
4
 
6
5
  export const Tooltip = {
7
- extend: Flex,
6
+ extend: 'Flex',
8
7
  props: {
9
8
  theme: 'dialog',
10
9
  background: 'black',
@@ -109,7 +108,7 @@ export const TooltipParent = {
109
108
  props: (el) => {
110
109
  const { Tooltip, TooltipHidden } = el
111
110
  const TooltipElem = (Tooltip || TooltipHidden)
112
- if (!TooltipElem || TooltipElem) return console.warn('Tooltip was not found in', el.__ref.path)
111
+ if (!TooltipElem || TooltipElem) return
113
112
  const TooltipActive = TooltipElem && TooltipElem.props && TooltipElem.props['.active']
114
113
  return {
115
114
  position: 'relative',
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/tooltip",
3
- "version": "2.11.320",
3
+ "version": "2.11.358",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "07584843d411d9cf98b38801e8d76ef01baef471",
6
+ "gitHead": "87d35aa05d75b0023b44ec251df1f5739b8c6aa4",
7
7
  "dependencies": {
8
8
  "@symbo.ls/atoms": "latest"
9
9
  },