@topconsultnpm/sdkui-react-beta 6.7.62 → 6.7.64

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.
@@ -1,23 +1,29 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import TMTooltip from './TMTooltip';
3
3
  import styled from 'styled-components';
4
4
  const StyledList = styled.div `
5
- background-color: #f9f9f9;
5
+ background-color: #f0f0f0;
6
6
  display: flex;
7
7
  bottom: 10px;
8
8
  position: absolute;
9
9
  right: 10px;
10
- padding: 10px;
10
+ padding: 5px 10px;
11
11
  left: 10px;
12
12
  align-items: center;
13
13
  `;
14
14
  const StyledListItem = styled.div `
15
15
  margin-right: 0;
16
16
  font-size: 12px;
17
+ display: flex;
18
+ align-items: center;
19
+ svg {
20
+ margin-right: 5px;
21
+ font-size: 12px;
22
+ }
17
23
  `;
18
24
  const TMCounterBar = ({ items }) => {
19
25
  return (_jsx(StyledList, { children: items.map((item, index) => {
20
- return _jsx(TMTooltip, { content: item.tooltip, children: _jsxs(StyledListItem, { children: [" ", item.icon, item.text] }) }, index);
26
+ return _jsx(TMTooltip, { content: item.tooltip, children: _jsxs(StyledListItem, { children: [" ", item.icon, _jsx("span", { children: item.text })] }) }, index);
21
27
  }) }));
22
28
  };
23
29
  export default TMCounterBar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.7.62",
3
+ "version": "6.7.64",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",