ywana-core8 0.0.89 → 0.0.93

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.89",
3
+ "version": "0.0.93",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@ export const ContentEditor = ({ content, filter, onChange }) => {
28
28
 
29
29
  return filtered.length > 0 ? (
30
30
  <section key={title}>
31
- <header>{title}</header>
31
+ { title && title.length > 0 ? <header>{title}</header> : null }
32
32
  <main>
33
33
  {filtered.map((field) => <FieldEditor key={field.id} field={field} onChange={change} outlined={true} />)}
34
34
  </main>
package/src/html/menu.css CHANGED
@@ -76,6 +76,7 @@
76
76
  }
77
77
 
78
78
  .menu-separator {
79
+ min-height: 0px !important;
79
80
  height: 1px;
80
- border: solid 1px var(--divider-color);
81
+ border-top: solid 1px var(--divider-color);
81
82
  }
@@ -4,7 +4,7 @@ import RSwitch from 'react-switch'
4
4
  export const Switch = (props) => {
5
5
 
6
6
  return (
7
- <RSwitch {...props}
7
+ <RSwitch
8
8
  onColor="#86d3ff"
9
9
  onHandleColor="#2693e6"
10
10
  handleDiameter={30}
@@ -14,6 +14,9 @@ export const Switch = (props) => {
14
14
  activeBoxShadow="0px 0px 1px 10px rgba(0, 0, 0, 0.2)"
15
15
  height={20}
16
16
  width={48}
17
+
18
+ {...props}
19
+
17
20
  className="react-switch"
18
21
  />
19
22
  )
@@ -11,7 +11,7 @@ const STATES = {
11
11
  /**
12
12
  * Uploader
13
13
  */
14
- export const Uploader = ({ label, target, accept, simultaneousUploads = 1, className, onSuccess, onError, onComplete, errors = [] }) => {
14
+ export const Uploader = ({ label, target, accept, simultaneousUploads = 1, className, onProgress, onSuccess, onError, onComplete, errors = [] }) => {
15
15
 
16
16
 
17
17
  const resumable = useMemo(() => {