ywana-core8 0.1.39 → 0.1.41

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.1.39",
3
+ "version": "0.1.41",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -201,7 +201,7 @@ export const FieldEditor = ({ field, onChange, content, outlined = false, onRelo
201
201
  case TYPES.STRING:
202
202
  return <StringEditor outlined={outlined} field={field} value={value1} onChange={change} content={content} />
203
203
  case TYPES.BOOLEAN:
204
- return <CheckBox outlined id={id} label={label} value={value1} onChange={change} readOnly={editable} />
204
+ return <CheckBox outlined id={id} label={label} value={value1} onChange={change} readOnly={!editable} />
205
205
  case TYPES.NUMBER:
206
206
  return <NumberEditor outlined={outlined} field={field} value={value1} onChange={change} />
207
207
  case TYPES.ARRAY:
@@ -1,5 +1,5 @@
1
1
  import React, { useContext } from 'react'
2
- import { Icon } from '../../html'
2
+ import { Icon, Text } from '../../html'
3
3
  import { Dialog, SiteContext } from '../../site'
4
4
  import { ResetPasswordBox } from './ResetPasswordBox'
5
5
  import './dialogs.css'