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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.275",
3
+ "version": "0.0.278",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
package/src/html/list.js CHANGED
@@ -66,7 +66,7 @@ const ListItem = ({ item, onSelect }) => {
66
66
  }
67
67
 
68
68
  return (
69
- <li id={id} onClick={select}>
69
+ <li onClick={select}>
70
70
  {icon ? <Icon icon={icon} size="small" /> : null}
71
71
  <main>
72
72
  <div className="primary-line"><Text>{line1}</Text></div>
package/src/html/table.js CHANGED
@@ -42,10 +42,8 @@ export const DataTable = (props) => {
42
42
  // Loop until sorted (-1 or 1) or until the sort keys have been processed.
43
43
  while (sorted === 0 && index < sortKeys.length) {
44
44
  const key = sortKeys[index];
45
-
46
45
  if (key) {
47
46
  const direction = sortObject[key];
48
-
49
47
  sorted = keySort(a[key], b[key], direction);
50
48
  index++;
51
49
  }
@@ -5,6 +5,7 @@
5
5
 
6
6
  .tooltip-text {
7
7
  display: none;
8
+ z-index: 10;
8
9
  }
9
10
 
10
11
  .tooltip:hover .tooltip-text {
@@ -6,7 +6,7 @@ import './tooltip.css'
6
6
  */
7
7
  export const Tooltip = (props) => {
8
8
 
9
- const { text = "...", top = "1rem", left = "1rem" } = props
9
+ const { text = "", top = "1rem", left = "1rem" } = props
10
10
 
11
11
  const style = { top, left }
12
12
 
package/src/site/site.js CHANGED
@@ -70,6 +70,7 @@ export const SiteProvider = ({ children, siteLang, siteDictionary, showConsole }
70
70
  closePreview: () => { setPreview(null) },
71
71
 
72
72
  confirm: (message) => window.confirm(message),
73
+ prompt: (message) => window.prompt(message),
73
74
 
74
75
  notify: ({ title, body, type = "success" }) => {
75
76
  Store.addNotification({
@@ -1,8 +1,8 @@
1
1
  import React from 'react'
2
2
  import { UploadArea } from './UploadArea'
3
- import { UploadDialog } from './UploadDialog'
4
- import { Uploader, UPLOAD_STATES } from './Uploader'
3
+ import { Uploader } from './Uploader'
5
4
  import { UploadProgress } from './UploadProgress'
5
+ import { UPLOAD_STATES } from './UploadStates'
6
6
 
7
7
  const UploadAreaTest = (props) => {
8
8
  return (
@@ -45,7 +45,10 @@ const UploadIcon = ({ icon = "folder_open", resumable }) => {
45
45
  const iconElement = useRef()
46
46
 
47
47
  useEffect(() => {
48
- if (resumable && iconElement) resumable.assignBrowse(iconElement.current)
48
+ if (resumable && iconElement.current) {
49
+ resumable.assignBrowse(iconElement.current)
50
+ console.log('uploadicon')
51
+ }
49
52
  }, [])
50
53
 
51
54
  return (
@@ -2,8 +2,8 @@ import React, { useState, useMemo } from 'react'
2
2
  import ResumableJS from 'resumablejs'
3
3
  import { UploadArea } from "./UploadArea";
4
4
  import { UploadProgress } from './UploadProgress';
5
- import './Uploader.css'
6
5
  import { UPLOAD_STATES } from './UploadStates';
6
+ import './Uploader.css'
7
7
 
8
8
 
9
9
  /**