ywana-core8 0.0.275 → 0.0.278
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 +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -0
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +8 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/list.js +1 -1
- package/src/html/table.js +0 -2
- package/src/html/tooltip.css +1 -0
- package/src/html/tooltip.js +1 -1
- package/src/site/site.js +1 -0
- package/src/widgets/upload/Upload.test.js +2 -2
- package/src/widgets/upload/UploadArea.js +4 -1
- package/src/widgets/upload/Uploader.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -593,7 +593,6 @@
|
|
593
593
|
}
|
594
594
|
|
595
595
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
596
|
-
id: id,
|
597
596
|
onClick: select
|
598
597
|
}, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
599
598
|
icon: icon,
|
@@ -2007,7 +2006,7 @@
|
|
2007
2006
|
|
2008
2007
|
var Tooltip = function Tooltip(props) {
|
2009
2008
|
var _props$text = props.text,
|
2010
|
-
text = _props$text === void 0 ? "
|
2009
|
+
text = _props$text === void 0 ? "" : _props$text,
|
2011
2010
|
_props$top = props.top,
|
2012
2011
|
top = _props$top === void 0 ? "1rem" : _props$top,
|
2013
2012
|
_props$left = props.left,
|
@@ -2718,7 +2717,10 @@
|
|
2718
2717
|
resumable = _ref.resumable;
|
2719
2718
|
var iconElement = React.useRef();
|
2720
2719
|
React.useEffect(function () {
|
2721
|
-
if (resumable && iconElement
|
2720
|
+
if (resumable && iconElement.current) {
|
2721
|
+
resumable.assignBrowse(iconElement.current);
|
2722
|
+
console.log('uploadicon');
|
2723
|
+
}
|
2722
2724
|
}, []);
|
2723
2725
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2724
2726
|
className: "upload-icon",
|
@@ -3008,6 +3010,9 @@
|
|
3008
3010
|
confirm: function confirm(message) {
|
3009
3011
|
return window.confirm(message);
|
3010
3012
|
},
|
3013
|
+
prompt: function prompt(message) {
|
3014
|
+
return window.prompt(message);
|
3015
|
+
},
|
3011
3016
|
notify: function notify(_ref2) {
|
3012
3017
|
var title = _ref2.title,
|
3013
3018
|
body = _ref2.body,
|