@symbo.ls/atoms 2.29.70 → 2.29.71

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.
Files changed (2) hide show
  1. package/Box.js +4 -2
  2. package/package.json +6 -6
package/Box.js CHANGED
@@ -104,8 +104,10 @@ export const Box = {
104
104
  attr: {
105
105
  id: (el) => el.call('isString', el.props.id) && el.props.id,
106
106
  title: (el) => el.call('isString', el.props.title) && el.props.title,
107
- contentEditable: (el) =>
108
- el.props.contentEditable || el.props.contenteditable,
107
+ contentEditable: async (el) => {
108
+ const isEditable = el.props.contentEditable || el.props.contenteditable
109
+ if (isEditable) return await el.call('exec', isEditable, el, state)
110
+ },
109
111
  dir: (el) => el.props.dir,
110
112
  draggable: (el) => el.props.draggable,
111
113
  hidden: (el) => el.props.hidden,
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@symbo.ls/atoms",
3
- "version": "2.29.70",
3
+ "version": "2.29.71",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "1407af1db22e20fafb2f7c7a5f9259a97c2dbb26",
6
+ "gitHead": "2ccd453fff2f5e00cf6df90d9562d075bf436c9b",
7
7
  "dependencies": {
8
- "@domql/state": "^2.29.70",
9
- "@domql/utils": "^2.29.70",
10
- "@symbo.ls/emotion": "^2.29.70",
11
- "@symbo.ls/scratch": "^2.29.70"
8
+ "@domql/state": "^2.29.71",
9
+ "@domql/utils": "^2.29.71",
10
+ "@symbo.ls/emotion": "^2.29.71",
11
+ "@symbo.ls/scratch": "^2.29.71"
12
12
  },
13
13
  "source": "src/index.js",
14
14
  "devDependencies": {