toggle-components-library 1.31.0 → 1.32.0

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-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -13,7 +13,7 @@
13
13
  > {{ label }}
14
14
  </button>
15
15
  <label
16
- class="toggle-input-crud-container-description"
16
+ :class="['toggle-input-crud-container-description', {'hide-overflow':hideDescriptionOverflow}]"
17
17
  > {{ description ? description : '&nbsp;' }}
18
18
  </label>
19
19
 
@@ -65,7 +65,12 @@ export default {
65
65
  empty:{
66
66
  type: Boolean,
67
67
  default: false
68
+ },
69
+ hideDescriptionOverflow:{
70
+ type: Boolean,
71
+ default: false
68
72
  }
73
+
69
74
  },
70
75
 
71
76
  created : function(){
@@ -722,6 +722,7 @@ $iconWidth:20px;
722
722
  }
723
723
  }
724
724
 
725
+
725
726
  .toggle-input-crud-container-buttons{
726
727
  .toggle-button-container{
727
728
  display: block;
@@ -753,6 +754,12 @@ $iconWidth:20px;
753
754
  clear: both;
754
755
  font-size: $toggle-font-size-small;
755
756
  color: $toggle-header-colour;
757
+ &.hide-overflow{
758
+ overflow-x: clip;
759
+ text-overflow: ellipsis;
760
+ white-space: nowrap;
761
+ width: inherit;
762
+ }
756
763
  }
757
764
  .toggle-input-protocol {
758
765
  width: 100px;