@raketa-builder/ui 0.1.3 → 0.1.4
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +10 -10
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/DefaultAvatar.jsx +1 -1
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
$ TIMING=1 eslint "**/*.js"
|
|
2
2
|
Rule | Time (ms) | Relative
|
|
3
3
|
:------------------------------|----------:|--------:
|
|
4
|
-
react/display-name | 5.
|
|
5
|
-
react/no-direct-mutation-state | 3.
|
|
6
|
-
react/require-render-return | 2.
|
|
7
|
-
react-hooks/exhaustive-deps | 0.
|
|
8
|
-
react/no-deprecated | 0.
|
|
9
|
-
react-hooks/rules-of-hooks | 0.
|
|
10
|
-
react/no-string-refs | 0.
|
|
11
|
-
react/no-unescaped-entities | 0.
|
|
12
|
-
react/jsx-no-comment-textnodes | 0.
|
|
13
|
-
|
|
4
|
+
react/display-name | 5.485 | 31.9%
|
|
5
|
+
react/no-direct-mutation-state | 3.729 | 21.7%
|
|
6
|
+
react/require-render-return | 2.416 | 14.1%
|
|
7
|
+
react-hooks/exhaustive-deps | 0.898 | 5.2%
|
|
8
|
+
react/no-deprecated | 0.868 | 5.1%
|
|
9
|
+
react-hooks/rules-of-hooks | 0.757 | 4.4%
|
|
10
|
+
react/no-string-refs | 0.591 | 3.4%
|
|
11
|
+
react/no-unescaped-entities | 0.249 | 1.4%
|
|
12
|
+
react/jsx-no-comment-textnodes | 0.233 | 1.4%
|
|
13
|
+
turbo/no-undeclared-env-vars | 0.195 | 1.1%
|
package/dist/index.js
CHANGED
|
@@ -1079,7 +1079,7 @@ var DefaultAvatarStyles = import_styled_components26.default.div`
|
|
|
1079
1079
|
border-radius: 50%;
|
|
1080
1080
|
background-color: ${(props) => initialsToColor(props.initials, AVATAR_COLORS)};
|
|
1081
1081
|
color: #fff;
|
|
1082
|
-
font-size: calc(${(props) => props.size} * 0.
|
|
1082
|
+
font-size: calc(${(props) => props.size} * 0.4);
|
|
1083
1083
|
text-shadow: 1px 1px rgba(0, 0, 0, 0.1)
|
|
1084
1084
|
`;
|
|
1085
1085
|
var DefaultAvatar = (_a) => {
|
package/package.json
CHANGED
package/src/DefaultAvatar.jsx
CHANGED
|
@@ -36,7 +36,7 @@ const DefaultAvatarStyles = styled.div`
|
|
|
36
36
|
border-radius: 50%;
|
|
37
37
|
background-color: ${props => initialsToColor(props.initials, AVATAR_COLORS)};
|
|
38
38
|
color: #fff;
|
|
39
|
-
font-size: calc(${props => props.size} * 0.
|
|
39
|
+
font-size: calc(${props => props.size} * 0.4);
|
|
40
40
|
text-shadow: 1px 1px rgba(0, 0, 0, 0.1)
|
|
41
41
|
`;
|
|
42
42
|
|