@farm-investimentos/front-mfe-components 15.7.2 → 15.7.3

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": "@farm-investimentos/front-mfe-components",
3
- "version": "15.7.2",
3
+ "version": "15.7.3",
4
4
  "author": "farm investimentos",
5
5
  "private": false,
6
6
  "main": "./dist/front-mfe-components.common.js",
@@ -31,7 +31,7 @@ export const Primary = () => ({
31
31
  formattedDate: '13/06/2022 20:40',
32
32
  status: 'error',
33
33
  },
34
-
34
+
35
35
  {
36
36
  message: 'Aprovado entre as pré elegíveis',
37
37
  userName: 'Cleyton Rasta',
@@ -69,10 +69,10 @@ export const Primary = () => ({
69
69
  status: 'success',
70
70
  },
71
71
  {
72
- message: 'Info',
72
+ message: 'Em validação',
73
73
  userName: 'Cleyton Rasta',
74
74
  formattedDate: '13/06/2022 20:40',
75
- status: 'info',
75
+ status: 'warning',
76
76
  },
77
77
  ],
78
78
  };
@@ -174,7 +174,7 @@ export const Horizontal = () => ({
174
174
  details() {
175
175
  alert('Ver Detalhes');
176
176
  },
177
- }
177
+ },
178
178
  ],
179
179
  };
180
180
  },
@@ -220,7 +220,7 @@ export const HorizontalLeftAligned = () => ({
220
220
  details() {
221
221
  alert('Ver Detalhes');
222
222
  },
223
- }
223
+ },
224
224
  ],
225
225
  };
226
226
  },
@@ -62,6 +62,10 @@
62
62
  @include loggerMessage(var(--farm-info-base));
63
63
  }
64
64
 
65
+ &.logger__item--warning {
66
+ @include loggerMessage(var(--farm-warning-base));
67
+ }
68
+
65
69
  &--horizontal {
66
70
  flex-direction: column;
67
71
  height: auto;
@@ -74,6 +74,20 @@ export const Info = () => ({
74
74
  template: `<farm-logger-item :item="item" />`,
75
75
  });
76
76
 
77
+ export const Warning = () => ({
78
+ data() {
79
+ return {
80
+ item: {
81
+ message: 'Recusado entre as pré elegíveis',
82
+ userName: 'Cleyton Rasta',
83
+ formattedDate: '13/06/2022 20:40',
84
+ status: 'warning',
85
+ },
86
+ };
87
+ },
88
+ template: `<farm-logger-item :item="item" />`,
89
+ });
90
+
77
91
  export const ExtraMessage = () => ({
78
92
  data() {
79
93
  return {
@@ -137,6 +151,17 @@ export const Details = () => ({
137
151
  alert('Ver Detalhes');
138
152
  },
139
153
  },
154
+
155
+ {
156
+ icon: 'book',
157
+ message: 'Warning',
158
+ userName: 'Cleyton Rasta',
159
+ formattedDate: '13/06/2022 20:40',
160
+ status: 'warning',
161
+ details() {
162
+ alert('Ver Detalhes');
163
+ },
164
+ },
140
165
  ],
141
166
  };
142
167
  },
@@ -2,4 +2,5 @@ export default {
2
2
  success: 'check',
3
3
  info: 'timer-sand',
4
4
  error: 'close',
5
+ warning: 'alert-circle-outline',
5
6
  };