@granto-umbrella/umbrella-components 3.0.13 → 3.0.15

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": "@granto-umbrella/umbrella-components",
3
- "version": "3.0.13",
3
+ "version": "3.0.15",
4
4
  "description": "Umbrella Components for React",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1,15 +1,15 @@
1
- import styled from "styled-components";
1
+ import styled from 'styled-components';
2
2
  import {
3
3
  semanticSizes,
4
4
  typographyTokens,
5
5
  semanticColors,
6
- } from "../../../styles/tokens";
6
+ } from '../../../styles/tokens';
7
7
 
8
8
  export const Container = styled.div`
9
- width: 325px;
9
+ width: 100%;
10
10
  color: ${semanticColors.neutral[700]};
11
11
  text-align: center;
12
- font-family: "Mulish", sans-serif;
12
+ font-family: 'Mulish', sans-serif;
13
13
  font-size: ${typographyTokens.fontSizes.bodyM};
14
14
  font-weight: 400;
15
15
  line-height: 125%;
@@ -18,4 +18,4 @@ export const Container = styled.div`
18
18
  @media (max-width: 768px) {
19
19
  font-size: ${typographyTokens.fontSizes.bodyS};
20
20
  }
21
- `;
21
+ `;
@@ -1,8 +1,8 @@
1
- import styled from "styled-components"
2
- import { typographyTokens, semanticColors } from "../../../styles/tokens"
1
+ import styled from 'styled-components';
2
+ import { typographyTokens, semanticColors } from '../../../styles/tokens';
3
3
 
4
4
  export const Container = styled.div`
5
- width: 505px;
5
+ width: 100%;
6
6
  font-size: ${typographyTokens.fontSizes.displayM};
7
7
  color: ${semanticColors.base.text};
8
8
  font-weight: 600;
@@ -14,4 +14,4 @@ export const Container = styled.div`
14
14
  @media (max-width: 768px) {
15
15
  font-size: ${typographyTokens.fontSizes.displayL};
16
16
  }
17
- `
17
+ `;
@@ -119,7 +119,7 @@ export const List = styled.ol`
119
119
  list-style: none;
120
120
  margin: 0;
121
121
  padding: 0;
122
- gap: 32px;
122
+ gap: 8px;
123
123
  display: flex;
124
124
  flex-direction: column;
125
125
  `;
@@ -70,7 +70,7 @@ export const Timeline: React.FC<TimelineProps> = ({
70
70
  minute: '2-digit',
71
71
  });
72
72
 
73
- const actorName = it.actor?.displayName || 'Sistema';
73
+ //const actorName = it.actor?.displayName || 'Sistema';
74
74
 
75
75
  return (
76
76
  <ItemWrap key={it.id}>
@@ -82,8 +82,9 @@ export const Timeline: React.FC<TimelineProps> = ({
82
82
 
83
83
  <Sub>
84
84
  <div>
85
- Por: {actorName}{' '}
86
- {dateStr ? `dia ${dateStr} às ${timeStr}` : ''}
85
+ {/*Por: {actorName}{' '}
86
+ {dateStr ? `dia ${dateStr} às ${timeStr}` : ''}*/}
87
+ Em: {dateStr ? `Dia ${dateStr} às ${timeStr}` : ''}
87
88
  </div>
88
89
  </Sub>
89
90
  </Card>