ywana-core8 0.1.96 → 0.1.100
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 +1 -1
- package/src/html/property.js +5 -5
- package/dist/index.cjs +0 -36722
- package/dist/index.cjs.map +0 -1
- package/dist/index.css +0 -12371
- package/dist/index.css.map +0 -1
- package/dist/index.modern.js +0 -36558
- package/dist/index.modern.js.map +0 -1
- package/dist/index.umd.js +0 -36717
- package/dist/index.umd.js.map +0 -1
package/package.json
CHANGED
package/src/html/property.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import React, { useState, useCallback, useRef, useEffect } from 'react'
|
1
|
+
import React, { useState, useCallback, useRef, useEffect, Fragment } from 'react'
|
2
2
|
import PropTypes from 'prop-types'
|
3
3
|
import { Icon } from './icon'
|
4
4
|
import { Text } from './text'
|
@@ -229,7 +229,7 @@ export const Property = (props) => {
|
|
229
229
|
{/* Property value (maintaining original structure) */}
|
230
230
|
<div className="property-value">
|
231
231
|
{editable ? (
|
232
|
-
|
232
|
+
<Fragment>
|
233
233
|
{multiline ? (
|
234
234
|
<textarea
|
235
235
|
ref={inputRef}
|
@@ -282,9 +282,9 @@ export const Property = (props) => {
|
|
282
282
|
aria-label="Clear value"
|
283
283
|
/>
|
284
284
|
)}
|
285
|
-
|
285
|
+
</Fragment>
|
286
286
|
) : (
|
287
|
-
|
287
|
+
<Fragment>
|
288
288
|
{/* Display value */}
|
289
289
|
<span
|
290
290
|
className={`property-value__display ${copyable ? 'property-value__display--copyable' : ''}`}
|
@@ -303,7 +303,7 @@ export const Property = (props) => {
|
|
303
303
|
aria-label="Copy value"
|
304
304
|
/>
|
305
305
|
)}
|
306
|
-
|
306
|
+
</Fragment>
|
307
307
|
)}
|
308
308
|
</div>
|
309
309
|
|