@eturnity/eturnity_reusable_components 1.0.33 → 1.0.34

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.33",
3
+ "version": "1.0.34",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -87,7 +87,7 @@ const Container = styled("label", containerAttrs)`
87
87
  &:after {
88
88
  content: "";
89
89
  position: absolute;
90
- display: none;
90
+ display: ${(props) => (props.isChecked ? "block" : "none")};
91
91
  }
92
92
  }
93
93
 
@@ -124,10 +124,6 @@ const InputCheckbox = styled.input`
124
124
  cursor: pointer;
125
125
  height: 0;
126
126
  width: 0;
127
-
128
- &:checked ~ .checkmark:after {
129
- display: block;
130
- }
131
127
  `
132
128
 
133
129
  export default {