@kigi/components 1.40.0-beta.2 → 1.40.0-beta.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": "@kigi/components",
3
- "version": "1.40.0-beta.2",
3
+ "version": "1.40.0-beta.3",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -177,14 +177,39 @@
177
177
  }
178
178
  }
179
179
 
180
-
181
- @media screen and (max-width: 1024px) {
180
+ @media screen and (max-width: 1368px) {
182
181
  .dashboard-goal{
183
- display: none;
182
+ display: flex !important;
184
183
  }
185
184
  .dashboard-wrapper{
186
- position: relative;
187
- left: 74px;
185
+ .dashboard-estimated-store{
186
+ display: none !important;
187
+ }
188
+
189
+ .dashboard-estimated{
190
+ position: relative !important;
191
+ left: 232px !important;
192
+ }
193
+
194
+ .chart-container{
195
+ position: relative !important;
196
+ left: -13% !important;
197
+ }
198
+
199
+ }
200
+ }
201
+
202
+
203
+ @media screen and (max-width: 1024px) {
204
+ .dashboard-wrapper{
205
+ .chart-container{
206
+ position: relative !important;
207
+ left: -20px !important;
208
+ }
209
+
210
+ .dashboard-goal{
211
+ display: none !important;
212
+ }
188
213
  }
189
214
  }
190
215
 
@@ -64,7 +64,7 @@ class MbgStoreGoalController {
64
64
 
65
65
  const storeGoalPercentage = this.hideValue ? Number(this.goalDataForTheMonth.targetMonth) : 0
66
66
 
67
- this.showDashboard = this.goalDataForTheMonth.sales > 0
67
+ this.showDashboard = this.goalDataForTheMonth.target
68
68
  const percentageTarget = this.goalDataForTheMonth.estimatePercentage
69
69
  const showPercentage = this.hideValue ? `${percentageTarget}%` : '****'
70
70
  this.percentageEstimatedMessage = `Alerta: Você atingirá aproximadamente ${showPercentage} da sua meta se continuar no ritmo atual.`