asab_webui_shell 28.1.0-alpha.2 → 28.1.0-alpha.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.
@@ -12,24 +12,14 @@ var _BrandImage = require("../../components/branding/BrandImage");
12
12
  var _reactstrap = require("reactstrap");
13
13
  var _jsxRuntime = require("react/jsx-runtime");
14
14
  function AboutScreen(props) {
15
- const theme = (0, _asab_webui_components.useAppSelector)(state => state.theme);
16
- const brandImage = (0, _react.useMemo)(() => (0, _BrandImage.getBrandImage)(props, theme), [theme]);
17
15
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Container, {
18
16
  className: "h-100",
19
17
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Row, {
20
- className: "justify-content-center h-100 pt-4",
18
+ className: "justify-content-center h-100",
21
19
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactstrap.Col, {
22
20
  md: "6",
23
- className: "d-flex flex-column gap-4 h-100 min-vh-0",
24
- children: [brandImage && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
25
- style: {
26
- height: '8rem'
27
- },
28
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
29
- src: brandImage.full,
30
- alt: "TeskaLabs logo"
31
- })
32
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(AboutCard, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
21
+ className: "d-flex flex-column gap-4",
22
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(AboutCard, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
33
23
  className: "flex-grow-1",
34
24
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ApplicationManifestsCard, {
35
25
  app: props.app
@@ -43,7 +33,7 @@ var _default = exports.default = AboutScreen;
43
33
  /*
44
34
 
45
35
  Language localizations for AboutCard can be added to the translation.json files of
46
- public/locales/en & public/locales/cs
36
+ public/locales/en & public/locales/cs@
47
37
 
48
38
  Example:
49
39
 
@@ -140,7 +130,7 @@ function ApplicationManifestsCard({
140
130
  };
141
131
  const columns = [{
142
132
  title: t('General|Name'),
143
- tdStyle: {
133
+ thStyle: {
144
134
  width: '8rem',
145
135
  maxWidth: '12rem'
146
136
  },
@@ -156,7 +146,7 @@ function ApplicationManifestsCard({
156
146
  }
157
147
  }, {
158
148
  title: t('AboutCard|Tag'),
159
- tdStyle: {
149
+ thStyle: {
160
150
  width: '8rem',
161
151
  maxWidth: '12rem'
162
152
  },
@@ -165,14 +155,14 @@ function ApplicationManifestsCard({
165
155
  }) => {
166
156
  const tag = row.version ?? '';
167
157
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
168
- className: "d-block text-truncate",
158
+ className: "font-monospace d-block text-truncate",
169
159
  title: tag,
170
160
  children: tag
171
161
  });
172
162
  }
173
163
  }, {
174
164
  title: t('AboutCard|Built at'),
175
- tdStyle: {
165
+ thStyle: {
176
166
  width: '8rem',
177
167
  maxWidth: '12rem'
178
168
  },
@@ -183,7 +173,9 @@ function ApplicationManifestsCard({
183
173
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
184
174
  className: "d-block text-truncate",
185
175
  title: builtAt,
186
- children: builtAt
176
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_asab_webui_components.DateTime, {
177
+ value: builtAt
178
+ })
187
179
  });
188
180
  }
189
181
  }];
@@ -81,6 +81,11 @@
81
81
  position: fixed !important;
82
82
  }
83
83
 
84
+ /* Temporal monaco workaround for not displaying the shortcut tooltips (e.g. o ctr+f) until this monaco issue is resolved (monaco-editor #5208) */
85
+ .workbench-hover-container {
86
+ display: none !important;
87
+ }
88
+
84
89
  .cursor-pointer {
85
90
  cursor: pointer;
86
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asab_webui_shell",
3
- "version": "28.1.0-alpha.2",
3
+ "version": "28.1.0-alpha.4",
4
4
  "license": "BSD-3-Clause",
5
5
  "description": "TeskaLabs ASAB WebUI Shell Application",
6
6
  "contributors": [