ywana-core8 0.0.570 → 0.0.571
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 +3 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +13 -0
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +3 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +0 -1
- package/src/html/tokenfield.js +0 -2
- package/src/site/site.css +13 -0
- package/src/site/site.js +1 -1
package/package.json
CHANGED
package/src/html/textfield.js
CHANGED
package/src/html/tokenfield.js
CHANGED
@@ -24,7 +24,6 @@ export const TokenField = ({ id, label, tokens = [], readOnly, options, onChange
|
|
24
24
|
|
25
25
|
function changeDropDown(fid, value) {
|
26
26
|
const next = Array.isArray(tokens) ? tokens.concat(value) : [value]
|
27
|
-
console.log("next", next)
|
28
27
|
if (onChange) onChange(id, next)
|
29
28
|
setValue('')
|
30
29
|
}
|
@@ -48,7 +47,6 @@ export const TokenField = ({ id, label, tokens = [], readOnly, options, onChange
|
|
48
47
|
}
|
49
48
|
|
50
49
|
const tks = Array.isArray(tokens) ? tokens : []
|
51
|
-
console.log("render", tks)
|
52
50
|
return (
|
53
51
|
<div className='tokenField'>
|
54
52
|
<label>{label}</label>
|
package/src/site/site.css
CHANGED
@@ -52,6 +52,10 @@
|
|
52
52
|
width: 20rem;
|
53
53
|
}
|
54
54
|
|
55
|
+
.site6>menu.min {
|
56
|
+
overflow: visible;
|
57
|
+
}
|
58
|
+
|
55
59
|
.site6>menu>main {
|
56
60
|
padding: .4rem;
|
57
61
|
}
|
@@ -95,6 +99,15 @@
|
|
95
99
|
align-items: center;
|
96
100
|
}
|
97
101
|
|
102
|
+
.site6>menu.min>main {
|
103
|
+
flex: 1;
|
104
|
+
overflow-x: visible;
|
105
|
+
overflow-y: visible;
|
106
|
+
display: flex;
|
107
|
+
flex-direction: column;
|
108
|
+
align-items: center;
|
109
|
+
}
|
110
|
+
|
98
111
|
.site6>main {
|
99
112
|
grid-area: main;
|
100
113
|
overflow: hidden;
|
package/src/site/site.js
CHANGED
@@ -234,7 +234,7 @@ const SiteMenu = ({ logo, title, children, min }) => {
|
|
234
234
|
const styleItem = id === page ? 'selected' : ''
|
235
235
|
return (
|
236
236
|
<div className={`site-menu-item ${styleItem}`} key={id} onClick={() => goto(id)}>
|
237
|
-
<Tooltip text={title}>
|
237
|
+
<Tooltip text={title} top=".5rem" left="2rem">
|
238
238
|
<Icon key={id} icon={icon} clickable action={() => goto(id)} />
|
239
239
|
</Tooltip>
|
240
240
|
{sideNav === 'max' ? <label>{title}</label> : null}
|