ywana-core8 0.0.848 → 0.0.850

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.848",
3
+ "version": "0.0.850",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -480,11 +480,11 @@ export const TableEditor = (props) => {
480
480
  children: <DataTable {...table} onRowSelection={select} editable={editable} onCheckAll={check} className={className} />
481
481
  })
482
482
  })
483
-
483
+
484
484
  return (
485
485
  <Fragment>
486
486
  <Header icon={icon} title={<Text>{title}</Text>}>
487
- {groupBy ? <DropDown id="groupBy" label="Agrupar Por" value={groupBy} options={buildGroupOptions(schema)} onChange={changeGroup} /> : null}
487
+ {groupBy ? <DropDown id="groupBy" label={<Text>Group By</Text>} value={groupBy} options={buildGroupOptions(schema)} onChange={changeGroup} /> : null}
488
488
  {tabbedBy ? <Tabs fillRight={true} fillLeft={false}>
489
489
  {tabs.map(tab => <Tab id={tab.value} label={tab.label} />)}
490
490
  </Tabs> : ''}
package/src/site/site.js CHANGED
@@ -114,11 +114,11 @@ export const SiteProvider = ({ children, siteLang, siteDictionary }) => {
114
114
  /**
115
115
  * Site
116
116
  */
117
- export const Site = ({ icon, logo, title, toolbar, footer, children, init, min, lang, dictionary }) => {
117
+ export const Site = ({ icon, iconSrc, logo, title, toolbar, footer, children, init, min, lang, dictionary }) => {
118
118
  return (
119
119
  <SiteProvider siteLang={lang} siteDictionary={dictionary}>
120
120
  <div className="site6">
121
- <SiteHeader icon={icon} title={title} />
121
+ <SiteHeader icon={icon} iconSrc={iconSrc} title={title} />
122
122
  <SiteToolBar >{toolbar}</SiteToolBar>
123
123
  <SiteMenu logo={logo} title={title} min={min} >{children}</SiteMenu>
124
124
  <SitePage init={init}>
@@ -147,9 +147,9 @@ const SiteNotifications = () => {
147
147
  * Site Header
148
148
  */
149
149
  const SiteHeader = (props) => {
150
- const { icon = "equalizer", title } = props
150
+ const { icon = "equalizer", iconSrc, title } = props
151
151
  return (
152
- <Header icon={icon} title={title} />
152
+ <Header icon={icon} iconSrc={iconSrc} title={title} />
153
153
  )
154
154
  }
155
155