@raketa-builder/ui 0.1.3 → 0.1.5

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.
@@ -4,5 +4,5 @@ CLI Using tsconfig: tsconfig.json
4
4
  CLI tsup v6.5.0
5
5
  CLI Target: es6
6
6
  CJS Build start
7
- CJS dist/index.js 32.23 KB
8
- CJS ⚡️ Build success in 18ms
7
+ CJS dist/index.js 32.24 KB
8
+ CJS ⚡️ Build success in 66ms
@@ -1,13 +1,13 @@
1
1
  $ TIMING=1 eslint "**/*.js"
2
- Rule | Time (ms) | Relative
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%
2
+ Rule | Time (ms) | Relative
3
+ :---------------------------------|----------:|--------:
4
+ react/display-name | 8.302 | 28.2%
5
+ react/no-direct-mutation-state | 7.268 | 24.7%
6
+ react/require-render-return | 3.017 | 10.3%
7
+ react-hooks/rules-of-hooks | 2.475 | 8.4%
8
+ react-hooks/exhaustive-deps | 1.821 | 6.2%
9
+ react/no-deprecated | 1.469 | 5.0%
10
+ react/no-string-refs | 0.841 | 2.9%
11
+ jsx-a11y/role-supports-aria-props | 0.462 | 1.6%
12
+ react/jsx-no-comment-textnodes | 0.318 | 1.1%
13
+ react/no-unescaped-entities | 0.299 | 1.0%
package/dist/index.js CHANGED
@@ -556,7 +556,7 @@ var Overlay = import_styled_components18.default.div`
556
556
  right: 0;
557
557
  bottom: 0;
558
558
  left: 0;
559
- z-index: 11;
559
+ z-index: 1100;
560
560
  background-color: rgba(0, 0, 0, 0.6);
561
561
  cursor: pointer;
562
562
  `;
@@ -567,7 +567,7 @@ var Wrapper = import_styled_components18.default.div`
567
567
  right: 0;
568
568
  bottom: 0;
569
569
  left: 0;
570
- z-index: 12;
570
+ z-index: 1200;
571
571
  display: flex;
572
572
  justify-content: center;
573
573
  align-items: center;
@@ -598,7 +598,7 @@ var CloseButton = import_styled_components18.default.button`
598
598
  ${buttonReset_default};
599
599
  position: relative;
600
600
  right: -4px;
601
- z-index: 13;
601
+ z-index: 1300;
602
602
  width: 2em;
603
603
  height: 2em;
604
604
  margin: 0;
@@ -926,7 +926,7 @@ var LanguageSwitcherWrapper = import_styled_components24.default.div`
926
926
  var LanguageSwitcherMenu = import_styled_components24.default.div`
927
927
  ${reset_default};
928
928
  position: absolute;
929
- z-index: 9;
929
+ z-index: 90;
930
930
  left: -1000px;
931
931
  display: flex;
932
932
  flex-wrap: nowrap;
@@ -982,7 +982,7 @@ var LanguageSwitcherNewItem = import_styled_components24.default.div`
982
982
  bottom: 0;
983
983
  left: 0;
984
984
  right: 0;
985
- z-index: 3;
985
+ z-index: 30;
986
986
 
987
987
  color: ${(props) => props.theme.colors.trueWhite};
988
988
  font-weight: 700;
@@ -996,7 +996,7 @@ var LanguageSwitcherNewItem = import_styled_components24.default.div`
996
996
  var LanguageSwitcherCurrent = import_styled_components24.default.div`
997
997
  ${reset_default};
998
998
  position: relative;
999
- z-index: 10;
999
+ z-index: 100;
1000
1000
  display: flex;
1001
1001
  justify-content: center;
1002
1002
  align-items: center;
@@ -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.5",
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
 
@@ -22,7 +22,7 @@ const LanguageSwitcherWrapper = styled.div`
22
22
  const LanguageSwitcherMenu = styled.div`
23
23
  ${reset};
24
24
  position: absolute;
25
- z-index: 9;
25
+ z-index: 90;
26
26
  left: -1000px;
27
27
  display: flex;
28
28
  flex-wrap: nowrap;
@@ -80,7 +80,7 @@ const LanguageSwitcherNewItem = styled.div`
80
80
  bottom: 0;
81
81
  left: 0;
82
82
  right: 0;
83
- z-index: 3;
83
+ z-index: 30;
84
84
 
85
85
  color: ${(props) => props.theme.colors.trueWhite};
86
86
  font-weight: 700;
@@ -95,7 +95,7 @@ const LanguageSwitcherNewItem = styled.div`
95
95
  const LanguageSwitcherCurrent = styled.div`
96
96
  ${reset};
97
97
  position: relative;
98
- z-index: 10;
98
+ z-index: 100;
99
99
  display: flex;
100
100
  justify-content: center;
101
101
  align-items: center;
package/src/Modal.js CHANGED
@@ -10,7 +10,7 @@ const Overlay = styled.div`
10
10
  right: 0;
11
11
  bottom: 0;
12
12
  left: 0;
13
- z-index: 11;
13
+ z-index: 1100;
14
14
  background-color: rgba(0, 0, 0, 0.6);
15
15
  cursor: pointer;
16
16
  `;
@@ -22,7 +22,7 @@ const Wrapper = styled.div`
22
22
  right: 0;
23
23
  bottom: 0;
24
24
  left: 0;
25
- z-index: 12;
25
+ z-index: 1200;
26
26
  display: flex;
27
27
  justify-content: center;
28
28
  align-items: center;
@@ -57,7 +57,7 @@ const CloseButton = styled.button`
57
57
  ${buttonReset};
58
58
  position: relative;
59
59
  right: -4px;
60
- z-index: 13;
60
+ z-index: 1300;
61
61
  width: 2em;
62
62
  height: 2em;
63
63
  margin: 0;