ywana-core8 0.0.394 → 0.0.395
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.map +1 -1
- package/dist/index.css +4 -3
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/tokenfield.css +4 -3
- package/src/html/tokenfield.js +0 -2
package/package.json
CHANGED
package/src/html/tokenfield.css
CHANGED
@@ -11,12 +11,13 @@
|
|
11
11
|
}
|
12
12
|
|
13
13
|
.tokenField>label {
|
14
|
+
color: var(--primary-color);
|
15
|
+
font-size: .8rem;
|
16
|
+
font-weight: normal;
|
14
17
|
position: absolute;
|
18
|
+
pointer-events: none;
|
15
19
|
top:-9px;
|
16
20
|
padding: 2px 6px 2px 4px;
|
17
|
-
font-size: .8rem;
|
18
|
-
background-color: var(--paper-color);
|
19
|
-
color: var(--text-color-light)
|
20
21
|
}
|
21
22
|
|
22
23
|
.tokenField input,
|
package/src/html/tokenfield.js
CHANGED
@@ -59,9 +59,7 @@ export const TokenField = ({ id, label, init = [], readOnly, options, onChange }
|
|
59
59
|
return (
|
60
60
|
<div className='tokenField'>
|
61
61
|
<label>{label}</label>
|
62
|
-
|
63
62
|
{tokens.map((text, index) => <Token text={text} onDelete={() => remove(index)} />)}
|
64
|
-
|
65
63
|
{options ? (
|
66
64
|
<DropDown onChange={changeDropDown} options={options} predictive={true} verbose={false} />
|
67
65
|
) : (
|