ywana-core8 0.0.323 → 0.0.326

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.323",
3
+ "version": "0.0.326",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@ export const ContentEditor = ({ content, filter, onChange }) => {
30
30
  <section key={title}>
31
31
  {title && title.length > 0 ? <header>{title}</header> : null}
32
32
  <main>
33
- {filtered.map((field) => <FieldEditor key={field.id} field={field} onChange={change} outlined={true} />)}
33
+ {filtered.map((field) => <FieldEditor key={field.id} field={field} onChange={change} outlined={true} content={content} />)}
34
34
  </main>
35
35
  </section>
36
36
  ) : null
@@ -1,3 +1,15 @@
1
+
2
+ .table-page .size {
3
+ background-color: var(--divider-color);
4
+ width: 2rem;
5
+ text-align: center;
6
+ font-size: .8rem;
7
+ font-weight: 600;
8
+ border-radius: .3rem;
9
+ padding: .2rem;
10
+ margin-right: 2rem;
11
+ }
12
+
1
13
  .table-page .datatable8 {
2
14
  margin: 0 1rem;
3
15
  }
@@ -31,6 +43,11 @@ main.table-editor {
31
43
  overflow: auto;
32
44
  }
33
45
 
46
+ .table-editor > header {
47
+ padding-right: 1rem;
48
+ }
49
+
50
+
34
51
  .table-selector {
35
52
  display: flex;
36
53
  flex-direction: column;
@@ -197,8 +197,8 @@ const TableSelector = (props) => {
197
197
 
198
198
  return (
199
199
  <div className="table-selector">
200
- <Header title="Selection">
201
- {count}
200
+ <Header icon="checklist_rtl" title="Selección">
201
+ <span className="size">{count}</span>
202
202
  </Header>
203
203
  <main>
204
204
  <DataTable {...table} />
@@ -46,8 +46,8 @@ const UploadIcon = ({ icon = "folder_open", resumable }) => {
46
46
 
47
47
  useEffect(() => {
48
48
  if (resumable && iconElement.current) {
49
+ console.log('UploadIcon.effect', resumable, iconElement.current)
49
50
  resumable.assignBrowse(iconElement.current)
50
- console.log('uploadicon')
51
51
  }
52
52
  }, [iconElement])
53
53