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.cjs
CHANGED
@@ -598,7 +598,6 @@ var ListItem = function ListItem(_ref) {
|
|
598
598
|
}
|
599
599
|
|
600
600
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
601
|
-
id: id,
|
602
601
|
onClick: select
|
603
602
|
}, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
604
603
|
icon: icon,
|
@@ -2012,7 +2011,7 @@ var Switch = function Switch(props) {
|
|
2012
2011
|
|
2013
2012
|
var Tooltip = function Tooltip(props) {
|
2014
2013
|
var _props$text = props.text,
|
2015
|
-
text = _props$text === void 0 ? "
|
2014
|
+
text = _props$text === void 0 ? "" : _props$text,
|
2016
2015
|
_props$top = props.top,
|
2017
2016
|
top = _props$top === void 0 ? "1rem" : _props$top,
|
2018
2017
|
_props$left = props.left,
|
@@ -2723,7 +2722,10 @@ var UploadIcon = function UploadIcon(_ref) {
|
|
2723
2722
|
resumable = _ref.resumable;
|
2724
2723
|
var iconElement = React.useRef();
|
2725
2724
|
React.useEffect(function () {
|
2726
|
-
if (resumable && iconElement
|
2725
|
+
if (resumable && iconElement.current) {
|
2726
|
+
resumable.assignBrowse(iconElement.current);
|
2727
|
+
console.log('uploadicon');
|
2728
|
+
}
|
2727
2729
|
}, []);
|
2728
2730
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2729
2731
|
className: "upload-icon",
|
@@ -3013,6 +3015,9 @@ var SiteProvider = function SiteProvider(_ref) {
|
|
3013
3015
|
confirm: function confirm(message) {
|
3014
3016
|
return window.confirm(message);
|
3015
3017
|
},
|
3018
|
+
prompt: function prompt(message) {
|
3019
|
+
return window.prompt(message);
|
3020
|
+
},
|
3016
3021
|
notify: function notify(_ref2) {
|
3017
3022
|
var title = _ref2.title,
|
3018
3023
|
body = _ref2.body,
|