@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.
@@ -5,4 +5,4 @@ CLI tsup v6.5.0
5
5
  CLI Target: es6
6
6
  CJS Build start
7
7
  CJS dist/index.js 32.23 KB
8
- CJS ⚡️ Build success in 18ms
8
+ CJS ⚡️ Build success in 37ms
@@ -1,13 +1,13 @@
1
1
  $ TIMING=1 eslint "**/*.js"
2
2
  Rule | Time (ms) | Relative
3
3
  :------------------------------|----------:|--------:
4
- react/display-name | 5.504 | 31.9%
5
- react/no-direct-mutation-state | 3.788 | 21.9%
6
- react/require-render-return | 2.444 | 14.1%
7
- react-hooks/exhaustive-deps | 0.876 | 5.1%
8
- react/no-deprecated | 0.860 | 5.0%
9
- react-hooks/rules-of-hooks | 0.758 | 4.4%
10
- react/no-string-refs | 0.562 | 3.3%
11
- react/no-unescaped-entities | 0.247 | 1.4%
12
- react/jsx-no-comment-textnodes | 0.239 | 1.4%
13
- react/no-danger-with-children | 0.194 | 1.1%
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.5);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-builder/ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
@@ -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.5);
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