tycho-components 0.19.2 → 0.19.4

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.
@@ -143,9 +143,15 @@
143
143
  .app-table-pagination {
144
144
  flex-direction: column;
145
145
 
146
+ .itens-container .itens-total {
147
+ margin-right: unset;
148
+ margin-left: auto;
149
+ }
150
+
146
151
  .pages-navigation {
147
152
  justify-content: center;
148
- margin: 16px unset 0px auto;
153
+ margin-left: auto;
154
+ margin-right: auto;
149
155
  }
150
156
  }
151
157
  }
@@ -33,14 +33,6 @@ export default function HeaderApps({ navigateLogout, navigateNotLogged, hideKeyb
33
33
  return null;
34
34
  if (item.admin && !isAdminOfAnyCorpus())
35
35
  return null;
36
- if (item.lexicon &&
37
- (!hasCorpus() || !hasLexiconAccess(getCorpus().uid))) {
38
- return null;
39
- }
40
- if (item.parser &&
41
- (!hasCorpus() || !hasParserAccess(getCorpus().uid))) {
42
- return null;
43
- }
44
36
  return (_jsxs("div", { className: "item", title: t(`${item.code}.desc`), onClick: () => goto(item, item.external ? true : false), children: [item.icon && _jsx(Icon, { name: item.icon, size: "medium" }), item.image && _jsx("img", { src: item.image }), _jsx("span", { className: "title-app", children: t(`${item.code}.name`) }), _jsxs("div", { className: "options", children: [item.visibility && (_jsx(Tag, { text: t(`common:label.${item.visibility}`), size: "small", color: "green", className: "d-none" })), _jsx(IconButton, { name: "open_in_new", size: "x-small", className: "icon-open", mode: "ghost", onClick: (e) => {
45
37
  e.stopPropagation();
46
38
  goto(item, true);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.19.2",
4
+ "version": "0.19.4",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {