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/dist/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +0 -1
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +8 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.css +0 -1
- package/src/domain/ContentEditor.js +1 -1
- package/src/site/site.js +4 -1
- package/src/widgets/upload/UploadDialog.js +2 -2
package/package.json
CHANGED
@@ -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}
|
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
|
-
<
|
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>
|