@itfin/components 1.3.80 → 1.3.82

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": "@itfin/components",
3
- "version": "1.3.80",
3
+ "version": "1.3.82",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -53,7 +53,7 @@
53
53
  --squircle-outline: 0px;
54
54
  --squircle-corners: top-left top-right bottom-left bottom-right;
55
55
  }
56
- .itf-button.btn:not(.dropdown-toggle):focus:after {
56
+ .itf-button.btn-squircle.btn:not(.dropdown-toggle):focus:after {
57
57
  -webkit-mask-image: paint(squircle);
58
58
  --squircle-smooth: 0.6;
59
59
  --squircle-radius: 10px;
@@ -71,9 +71,14 @@
71
71
  &:focus {
72
72
  -webkit-mask-image: none!important;
73
73
  }
74
+ &.btn-squircle:focus:after {
75
+ background: rgb(103, 146, 244);
76
+ border-color: rgb(103, 146, 244);
77
+ }
74
78
  &:not(.dropdown-toggle):focus:after {
79
+ border: 3px solid #6792f4;
80
+ border-radius: .5rem;
75
81
  content: '';
76
- background: rgb(103, 146, 244);
77
82
  position: absolute;
78
83
  top: -3px;
79
84
  left: -3px;
@@ -159,7 +159,8 @@ class itfTable2 extends Vue {
159
159
  if (!this.stateName) {
160
160
  return;
161
161
  }
162
- localStorage.setItem(this.stateKey, JSON.stringify(this.state));
162
+ const columns = this.state.columns.map((s) => ({ property: s.property, width: s.width, index: s.index }));
163
+ localStorage.setItem(this.stateKey, JSON.stringify({ columns }));
163
164
  }
164
165
 
165
166
  mounted() {