code7-leia 0.2.34 → 0.2.36

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,5 +1,5 @@
1
1
  {
2
- "version": "0.2.34",
2
+ "version": "0.2.36",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -23,7 +23,8 @@
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16",
26
- "react-router-dom": ">=5"
26
+ "react-router-dom": ">=5",
27
+ "styled-components": "5.3.11"
27
28
  },
28
29
  "husky": {
29
30
  "hooks": {
@@ -65,6 +65,11 @@ export const Container = styled.div<ContainerProps>`
65
65
  background: #fae0d2;
66
66
  padding: 12px 20px;
67
67
  border-radius: 4px;
68
+
69
+ &:disabled {
70
+ cursor: not-allowed;
71
+ opacity: 0.7;
72
+ }
68
73
  }
69
74
 
70
75
  .buttonDelete:hover {
@@ -77,6 +82,11 @@ export const Container = styled.div<ContainerProps>`
77
82
  padding: 12px 20px;
78
83
  border-radius: 4px;
79
84
  margin-right: 10px;
85
+
86
+ &:disabled {
87
+ cursor: not-allowed;
88
+ opacity: 0.7;
89
+ }
80
90
  }
81
91
 
82
92
  .buttonTraining:hover {
@@ -165,7 +175,7 @@ export const Header = styled.div`
165
175
 
166
176
  &:disabled {
167
177
  cursor: not-allowed;
168
- opacity: 0.5;
178
+ opacity: 0.7;
169
179
  }
170
180
  }
171
181
  }