ywana-core8 0.0.424 → 0.0.425

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.424",
3
+ "version": "0.0.425",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
package/src/site/site.js CHANGED
@@ -2,6 +2,7 @@ import React, { Children, Fragment, useState, useContext, useEffect } from 'reac
2
2
  import { Icon } from '../html/icon'
3
3
  import { Tabs, Tab } from '../html/tab'
4
4
  import { Header } from '../html/header'
5
+ import { Tooltip } from '../html/tooltip'
5
6
  import { Page } from './page'
6
7
  import { SiteContext } from './siteContext'
7
8
  import './site.css'
@@ -230,7 +231,9 @@ const SiteMenu = ({ logo, title, children, min }) => {
230
231
  const styleItem = id === page ? 'selected' : ''
231
232
  return (
232
233
  <div className={`site-menu-item ${styleItem}`} key={id} onClick={() => goto(id)}>
233
- <Icon key={id} icon={icon} clickable action={() => goto(id)} />
234
+ <Tooltip text={title}>
235
+ <Icon key={id} icon={icon} clickable action={() => goto(id)} />
236
+ </Tooltip>
234
237
  {sideNav === 'max' ? <label>{title}</label> : null}
235
238
  </div>
236
239
  )