@farm-investimentos/front-mfe-components 9.1.1 → 9.1.2

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": "9.1.1",
3
+ "version": "9.1.2",
4
4
  "author": "farm investimentos",
5
5
  "private": false,
6
6
  "main": "./dist/front-mfe-components.common.js",
@@ -1,13 +1,15 @@
1
1
  .header-text {
2
2
  position: relative;
3
- i {
3
+ color: var(--v-primary-base);
4
+ font-size: 12px;
5
+ .farm-icon {
4
6
  position: absolute;
5
7
  right: -20px;
6
8
  top: -1px;
7
9
  }
8
10
 
9
- .v-icon {
10
- &.v-icon--asc {
11
+ .farm-icon {
12
+ &.farm-icon--asc {
11
13
  transform: rotateX(180deg);
12
14
  }
13
15
  }
@@ -21,15 +21,16 @@
21
21
  <span class="header-text" v-if="!isTHDataTableSelect(item)">
22
22
  {{ item.text }}
23
23
 
24
- <v-icon
24
+ <farm-icon
25
25
  v-if="item.sortable && sortClick[$index].show"
26
26
  v-bind:class="[
27
- sortClick[$index][item.value] ? 'v-icon--desc' : 'v-icon--asc',
27
+ sortClick[$index][item.value] ? 'farm-icon--desc' : 'farm-icon--asc',
28
28
  ]"
29
- small
29
+ size="sm"
30
+ color="gray"
30
31
  >
31
- mdi-sort-descending
32
- </v-icon>
32
+ sort-descending
33
+ </farm-icon>
33
34
  </span>
34
35
 
35
36
  <span v-if="isTHDataTableSelect(item) && showCheckbox">
@@ -47,13 +48,11 @@
47
48
  <script>
48
49
  /* eslint-disable */
49
50
  import Vue from 'vue';
50
- import VIcon from 'vuetify/lib/components/VIcon';
51
51
  import VSimpleCheckbox from 'vuetify/lib/components/VCheckbox/VSimpleCheckbox';
52
52
 
53
53
  export default Vue.extend({
54
54
  name: 'farm-datatable-header',
55
55
  components: {
56
- VIcon,
57
56
  VSimpleCheckbox,
58
57
  },
59
58
  props: {
@@ -10,7 +10,7 @@ $defaultLefts: 0, 4rem, 4rem;
10
10
  tr td {
11
11
  background-color: white;
12
12
  }
13
- tr th {
13
+ .v-data-table-header tr th {
14
14
  color: var(--v-primary-base);
15
15
  text-transform: uppercase;
16
16
  font-weight: bold;