@scality/core-ui 0.143.0 → 0.145.0

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.
@@ -16,5 +16,5 @@ const InfoMessageContainer = styled.div `
16
16
  export const InfoMessage = ({ title, content, link }) => {
17
17
  const { containerRef, backgroundColor } = useComputeBackgroundColor();
18
18
  const theme = useTheme();
19
- return (_jsxs(InfoMessageContainer, { ref: containerRef, style: { backgroundColor: backgroundColor }, children: [_jsxs(Stack, { children: [_jsx(Icon, { name: "Info-circle", color: theme.infoPrimary, size: "lg" }), typeof title === 'string' ? _jsx(Text, { isEmphazed: true, children: title }) : title] }), _jsx(Text, { color: "textSecondary", isGentleEmphazed: true, children: content }), link && (_jsxs(Link, { href: link, target: "_blank", style: { alignSelf: 'flex-end' }, children: ["More infos ", _jsx(Icon, { name: "External-link" })] }))] }));
19
+ return (_jsxs(InfoMessageContainer, { ref: containerRef, style: { backgroundColor: backgroundColor }, children: [_jsxs(Stack, { children: [_jsx(Icon, { name: "Info-circle", color: theme.infoPrimary, size: "lg" }), typeof title === 'string' ? _jsx(Text, { isEmphazed: true, children: title }) : title] }), _jsx(Text, { color: "textSecondary", isGentleEmphazed: true, children: content }), link && (_jsxs(Link, { href: link, target: "_blank", style: { alignSelf: 'flex-end' }, children: ["More info ", _jsx(Icon, { name: "External-link" })] }))] }));
20
20
  };
@@ -51,7 +51,7 @@ export const TabItem = styled.div `
51
51
  export const TabsContainer = styled.div `
52
52
  height: 100%;
53
53
  width: 100%;
54
- contain: 'layout';
54
+ contain: layout;
55
55
  display: flex;
56
56
  flex-direction: column;
57
57
  background-color: ${(props) => props.tabLineColor || props.theme.backgroundLevel3};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scality/core-ui",
3
- "version": "0.143.0",
3
+ "version": "0.145.0",
4
4
  "description": "Scality common React component library",
5
5
  "author": "Scality Engineering",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -39,7 +39,7 @@ export const InfoMessage = ({ title, content, link }: Props) => {
39
39
  </Text>
40
40
  {link && (
41
41
  <Link href={link} target="_blank" style={{ alignSelf: 'flex-end' }}>
42
- More infos <Icon name="External-link"></Icon>
42
+ More info <Icon name="External-link"></Icon>
43
43
  </Link>
44
44
  )}
45
45
  </InfoMessageContainer>
@@ -62,7 +62,7 @@ export const TabsContainer = styled.div<{
62
62
  }>`
63
63
  height: 100%;
64
64
  width: 100%;
65
- contain: 'layout';
65
+ contain: layout;
66
66
  display: flex;
67
67
  flex-direction: column;
68
68
  background-color: ${(props) =>