@eturnity/eturnity_reusable_components 1.0.63 → 1.0.67

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": "@eturnity/eturnity_reusable_components",
3
- "version": "1.0.63",
3
+ "version": "1.0.67",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -61,6 +61,7 @@
61
61
  // fontSize="13px"
62
62
  // labelText="Number of Modules"
63
63
  // labelInfoText="Here is some information for you..."
64
+ // labelInfoAlign="left"
64
65
  // />
65
66
  import styled from "vue-styled-components"
66
67
  import {
@@ -1,9 +1,12 @@
1
1
  <template>
2
2
  <container>
3
3
  <flex-wrapper :size="size">
4
- <label-text v-if="labelAlign === 'left'" :size="size">{{
5
- label
6
- }}</label-text>
4
+ <label-text
5
+ v-if="labelAlign === 'left'"
6
+ :size="size"
7
+ @click="onToggleChange"
8
+ >{{ label }}</label-text
9
+ >
7
10
  <toggle-wrapper
8
11
  role="checkbox"
9
12
  :checked="isChecked"
@@ -106,6 +106,8 @@ const TableContainer = styled.table`
106
106
  &.empty {
107
107
  height: 100px;
108
108
  text-align: center;
109
+ cursor: default;
110
+ background-color: #fff !important;
109
111
  }
110
112
 
111
113
  &.no-border {
@@ -193,6 +195,7 @@ const TableContainer = styled.table`
193
195
  }
194
196
 
195
197
  .icons-container {
198
+ padding-right: 2px; // so that the icons are not cut off when hovering
196
199
  width: 1%; // necessary so it doesn't take up too much white space
197
200
  display: table-cell;
198
201
  flex-wrap: nowrap;