ywana-core8 0.0.423 → 0.0.426

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.423",
3
+ "version": "0.0.426",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -44,7 +44,6 @@ main.collection-page {
44
44
 
45
45
  .collection-page > article {
46
46
  display: flex;
47
- max-height: 50%;
48
47
  overflow: hidden;
49
48
  }
50
49
 
@@ -306,7 +306,7 @@ export const ListEditor = ({ field, value = [], onChange }) => {
306
306
 
307
307
  return (
308
308
  <div className="list-editor">
309
- <TokenField id={field.id} label={label} init={value} onChange={change} />
309
+ <TokenField id={field.id} label={label} tokens={value} onChange={change} />
310
310
  </div>
311
311
  )
312
312
  }
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
  )
@@ -6,7 +6,7 @@ import { SiteContext, Dialog } from '../../site';
6
6
  /**
7
7
  * Upload Dialog
8
8
  */
9
- export const UploadDialog = ({ label, target, accept, onSuccess, onComplete, onClose, children }) => {
9
+ export const UploadDialog = ({ label, target, accept, onSuccess, onComplete, onClose, children, className }) => {
10
10
 
11
11
  const site = useContext(SiteContext);
12
12
 
@@ -33,7 +33,7 @@ export const UploadDialog = ({ label, target, accept, onSuccess, onComplete, onC
33
33
 
34
34
  const title = <Text use="headline6">{label}</Text>
35
35
  return (
36
- <Dialog title={title} open={true} onAction={onAction} actions={actions}>
36
+ <Dialog title={title} open={true} onAction={onAction} actions={actions} className={className}>
37
37
  <Uploader label={label} accept={accept} target={target} onSuccess={success} onComplete={complete} />
38
38
  {children}
39
39
  </Dialog>