@factorearth/component-library 3.2.5 → 3.2.7-fetch-template-02.0

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/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # `componentLibrary`
2
-
3
- > TODO: description
4
-
5
- ## Usage
6
-
7
- ```
8
- const componentlibrary = require('componentLibrary');
9
-
10
- // TODO: DEMONSTRATE API
11
- ```
1
+ # `componentLibrary`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const componentlibrary = require('componentLibrary');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
@@ -1,21 +1,21 @@
1
1
  import React from "react";
2
2
  import styled from "@emotion/styled";
3
- const DivButton = styled.div `
4
- height: 14px;
5
- background-color: ${({ color, variant }) => color.buttonBackground[variant]};
6
- color: ${({ color, variant }) => color.buttonText[variant]};
7
- display: flex;
8
- padding: 8px 9.5px;
9
- justify-content: center;
10
- align-items: center;
11
- gap: 8px;
12
- cursor: pointer;
13
- border-radius: 4px;
14
- border-style: solid;
15
- border-width: 1px;
16
- font-size: 14px;
17
- font-weight: 700;
18
- border-color: ${({ color, variant }) => color.buttonBorder[variant]};
3
+ const DivButton = styled.div `
4
+ height: 14px;
5
+ background-color: ${({ color, variant }) => color.buttonBackground[variant]};
6
+ color: ${({ color, variant }) => color.buttonText[variant]};
7
+ display: flex;
8
+ padding: 8px 9.5px;
9
+ justify-content: center;
10
+ align-items: center;
11
+ gap: 8px;
12
+ cursor: pointer;
13
+ border-radius: 4px;
14
+ border-style: solid;
15
+ border-width: 1px;
16
+ font-size: 14px;
17
+ font-weight: 700;
18
+ border-color: ${({ color, variant }) => color.buttonBorder[variant]};
19
19
  `;
20
20
  export const Button = (props) => {
21
21
  const { colorPalette, icon, variant, label, children } = props;
@@ -3,101 +3,101 @@ import styled from "@emotion/styled";
3
3
  import { FiCalendar } from "react-icons/fi";
4
4
  import DatePicker from "react-datepicker";
5
5
  import "react-datepicker/dist/react-datepicker.css";
6
- const DateIcon = styled(FiCalendar) `
7
- color: ${({ colorpalette }) => colorpalette.text.primary};
8
- background: ${({ colorpalette }) => colorpalette.background.primary};
9
- border-width: 1px;
10
- border-style: solid;
11
- border-color: ${({ colorpalette }) => colorpalette.border.primary};
12
- border-left: none;
13
- width: 24px;
14
- height: 38px;
15
- padding-right: 8px;
16
- cursor: pointer;
17
- border-radius: 0px 4px 4px 0px;
18
- ${({ morehorizon }) => morehorizon === "true" && `border-right: none; border-radius: 0px;`};
6
+ const DateIcon = styled(FiCalendar) `
7
+ color: ${({ colorpalette }) => colorpalette.text.primary};
8
+ background: ${({ colorpalette }) => colorpalette.background.primary};
9
+ border-width: 1px;
10
+ border-style: solid;
11
+ border-color: ${({ colorpalette }) => colorpalette.border.primary};
12
+ border-left: none;
13
+ width: 24px;
14
+ height: 38px;
15
+ padding-right: 8px;
16
+ cursor: pointer;
17
+ border-radius: 0px 4px 4px 0px;
18
+ ${({ morehorizon }) => morehorizon === "true" && `border-right: none; border-radius: 0px;`};
19
19
  `;
20
- const DateFieldContainer = styled.div `
21
- display: flex;
22
- background: ${({ colorpalette }) => colorpalette.background.primary};
23
- width: 100%;
24
-
25
- .react-datepicker-wrapper {
26
- width: 100% !important;
27
- }
28
- .react-datepicker {
29
- border-color: ${({ colorpalette }) => colorpalette.border.primary};
30
- background: ${({ colorpalette }) => colorpalette.background.primary};
31
- left: 33px;
32
- border-radius: 4px;
33
- }
34
-
35
- .react-datepicker__input-container > input {
36
- height: 38px;
37
- border-width: 1px;
38
- border-style: solid;
39
- border-color: ${({ colorpalette }) => colorpalette.border.primary};
40
- color: ${({ colorpalette }) => colorpalette.text.primary};
41
- background: ${({ colorpalette }) => colorpalette.background.primary};
42
- border-radius: 4px;
43
- border-right: none;
44
- font-size: 14px;
45
- text-align: center;
46
- width: 100%;
47
- padding: 0;
48
- margin: 0;
49
- &:focus-visible {
50
- outline: none;
51
- }
52
- }
53
-
54
- .react-datepicker__header {
55
- background-color: ${({ colorpalette }) => colorpalette.background.secondary};
56
- border-bottom: none;
57
- padding: 10px;
58
- border-radius: 4px 4px 0 0;
59
- }
60
- .react-datepicker__month-container {
61
- background-color: ${({ colorpalette }) => colorpalette.background.primary};
62
- }
63
- .react-datepicker__day {
64
- background-color: ${({ colorpalette }) => colorpalette.background.primary};
65
- color: ${({ colorpalette }) => colorpalette.text.primary};
66
- }
67
-
68
- .react-datepicker__current-month {
69
- color: ${({ colorpalette }) => colorpalette.text.primary};
70
- font-weight: bold;
71
- font-size: 16px;
72
- }
73
-
74
- .react-datepicker__navigation {
75
- color: ${({ colorpalette }) => colorpalette.text.primary};
76
- }
77
-
78
- .react-datepicker__day-name {
79
- color: ${({ colorpalette }) => colorpalette.text.primary};
80
- }
81
-
82
- .react-datepicker__day--selected,
83
- .react-datepicker__day--keyboard-selected {
84
- background-color: ${({ colorpalette }) => colorpalette.background.secondary};
85
- color: ${({ colorpalette }) => colorpalette.text.primary};
86
- border-radius: 50%;
87
- }
88
-
89
- .react-datepicker__day:hover {
90
- background-color: ${({ colorpalette }) => colorpalette.background.secondary};
91
- border-radius: 50%;
92
- }
93
-
94
- .react-datepicker__day--outside-month {
95
- color: ${({ colorpalette }) => colorpalette.text.secondary};
96
- }
97
-
98
- .react-datepicker__triangle {
99
- display: none;
100
- }
20
+ const DateFieldContainer = styled.div `
21
+ display: flex;
22
+ background: ${({ colorpalette }) => colorpalette.background.primary};
23
+ width: 100%;
24
+
25
+ .react-datepicker-wrapper {
26
+ width: 100% !important;
27
+ }
28
+ .react-datepicker {
29
+ border-color: ${({ colorpalette }) => colorpalette.border.primary};
30
+ background: ${({ colorpalette }) => colorpalette.background.primary};
31
+ left: 33px;
32
+ border-radius: 4px;
33
+ }
34
+
35
+ .react-datepicker__input-container > input {
36
+ height: 38px;
37
+ border-width: 1px;
38
+ border-style: solid;
39
+ border-color: ${({ colorpalette }) => colorpalette.border.primary};
40
+ color: ${({ colorpalette }) => colorpalette.text.primary};
41
+ background: ${({ colorpalette }) => colorpalette.background.primary};
42
+ border-radius: 4px;
43
+ border-right: none;
44
+ font-size: 14px;
45
+ text-align: center;
46
+ width: 100%;
47
+ padding: 0;
48
+ margin: 0;
49
+ &:focus-visible {
50
+ outline: none;
51
+ }
52
+ }
53
+
54
+ .react-datepicker__header {
55
+ background-color: ${({ colorpalette }) => colorpalette.background.secondary};
56
+ border-bottom: none;
57
+ padding: 10px;
58
+ border-radius: 4px 4px 0 0;
59
+ }
60
+ .react-datepicker__month-container {
61
+ background-color: ${({ colorpalette }) => colorpalette.background.primary};
62
+ }
63
+ .react-datepicker__day {
64
+ background-color: ${({ colorpalette }) => colorpalette.background.primary};
65
+ color: ${({ colorpalette }) => colorpalette.text.primary};
66
+ }
67
+
68
+ .react-datepicker__current-month {
69
+ color: ${({ colorpalette }) => colorpalette.text.primary};
70
+ font-weight: bold;
71
+ font-size: 16px;
72
+ }
73
+
74
+ .react-datepicker__navigation {
75
+ color: ${({ colorpalette }) => colorpalette.text.primary};
76
+ }
77
+
78
+ .react-datepicker__day-name {
79
+ color: ${({ colorpalette }) => colorpalette.text.primary};
80
+ }
81
+
82
+ .react-datepicker__day--selected,
83
+ .react-datepicker__day--keyboard-selected {
84
+ background-color: ${({ colorpalette }) => colorpalette.background.secondary};
85
+ color: ${({ colorpalette }) => colorpalette.text.primary};
86
+ border-radius: 50%;
87
+ }
88
+
89
+ .react-datepicker__day:hover {
90
+ background-color: ${({ colorpalette }) => colorpalette.background.secondary};
91
+ border-radius: 50%;
92
+ }
93
+
94
+ .react-datepicker__day--outside-month {
95
+ color: ${({ colorpalette }) => colorpalette.text.secondary};
96
+ }
97
+
98
+ .react-datepicker__triangle {
99
+ display: none;
100
+ }
101
101
  `;
102
102
  export const DateFieldPicker = ({ colorPalette, handleBlur, handleChange, value, placeholder, moreHorizon, }) => {
103
103
  const [selectedDate, setSelectedDate] = useState(null);
@@ -1,28 +1,28 @@
1
1
  import React from "react";
2
2
  import styled from "@emotion/styled";
3
- const FieldWrapperContainer = styled.div `
4
- display: flex;
5
- width: 100%;
6
- gap: 16px;
3
+ const FieldWrapperContainer = styled.div `
4
+ display: flex;
5
+ width: 100%;
6
+ gap: 16px;
7
7
  `;
8
- const LabelContainer = styled.label `
9
- display: flex;
10
- min-height: 56px;
11
- align-items: center;
12
- gap: 16px;
13
- text-overflow: ellipsis;
14
- font-size: 16px;
15
- font-style: normal;
16
- font-weight: 700;
17
- line-height: 125%;
18
- color: ${({ colorPalette }) => colorPalette.text.primary};
19
- width: 50%;
8
+ const LabelContainer = styled.label `
9
+ display: flex;
10
+ min-height: 56px;
11
+ align-items: center;
12
+ gap: 16px;
13
+ text-overflow: ellipsis;
14
+ font-size: 16px;
15
+ font-style: normal;
16
+ font-weight: 700;
17
+ line-height: 125%;
18
+ color: ${({ colorPalette }) => colorPalette.text.primary};
19
+ width: 50%;
20
20
  `;
21
- const FieldActionContainer = styled.div `
22
- display: flex;
23
- width: 100%;
24
- padding: 8px 0;
25
- align-items: center;
21
+ const FieldActionContainer = styled.div `
22
+ display: flex;
23
+ width: 100%;
24
+ padding: 8px 0;
25
+ align-items: center;
26
26
  `;
27
27
  export const FieldWrapper = (props) => {
28
28
  const { colorPalette, label, children, link, ...remainderProps } = props;
@@ -1,66 +1,66 @@
1
1
  import React, { useState, useRef, useEffect } from "react";
2
2
  import styled from "@emotion/styled";
3
3
  import { FiClock, FiMoreVertical, FiRefreshCw } from "react-icons/fi";
4
- const MoreHorizonPipe = styled.div `
5
- color: ${({ colorPalette }) => colorPalette.text.primary};
6
- display: flex;
7
- align-items: center;
8
- justify-content: center;
9
- font-family: Arial;
10
- font-size: 12px;
11
- font-style: normal;
12
- font-weight: 700;
13
- line-height: normal;
4
+ const MoreHorizonPipe = styled.div `
5
+ color: ${({ colorPalette }) => colorPalette.text.primary};
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: center;
9
+ font-family: Arial;
10
+ font-size: 12px;
11
+ font-style: normal;
12
+ font-weight: 700;
13
+ line-height: normal;
14
14
  `;
15
- const MoreHorizonIcon = styled.div `
16
- position: relative;
17
- left: ${({ menuOpen }) => (menuOpen ? "95px" : "0px")};
18
- display: flex;
15
+ const MoreHorizonIcon = styled.div `
16
+ position: relative;
17
+ left: ${({ menuOpen }) => (menuOpen ? "95px" : "0px")};
18
+ display: flex;
19
19
  `;
20
- const MoreHorizonContainer = styled.div `
21
- display: flex;
22
- height: 14px;
23
- width: 16px;
24
- padding: 12px 8px;
25
- align-items: center;
26
- justify-content: center;
27
- flex-shrink: 0;
28
- border-radius: 0px 4px 4px 0px;
29
- border-color: ${({ colorPalette }) => colorPalette.border.primary};
30
- border-style: solid;
31
- border-width: 1px;
32
- background-color: ${({ colorPalette }) => colorPalette.background.primary};
20
+ const MoreHorizonContainer = styled.div `
21
+ display: flex;
22
+ height: 14px;
23
+ width: 16px;
24
+ padding: 12px 8px;
25
+ align-items: center;
26
+ justify-content: center;
27
+ flex-shrink: 0;
28
+ border-radius: 0px 4px 4px 0px;
29
+ border-color: ${({ colorPalette }) => colorPalette.border.primary};
30
+ border-style: solid;
31
+ border-width: 1px;
32
+ background-color: ${({ colorPalette }) => colorPalette.background.primary};
33
33
  `;
34
- const MoreHorizonOption = styled.div `
35
- padding: 6px 12px;
36
- display: flex;
37
- align-items: center;
38
- justify-content: center;
39
- gap: 4px;
40
- width: 69px;
41
- height: 21px;
42
- font-size: 14px;
43
- font-style: normal;
44
- font-weight: 700;
45
- line-height: 150%;
46
- cursor: pointer;
47
- color: ${({ colorPalette }) => colorPalette.text.primary};
34
+ const MoreHorizonOption = styled.div `
35
+ padding: 6px 12px;
36
+ display: flex;
37
+ align-items: center;
38
+ justify-content: center;
39
+ gap: 4px;
40
+ width: 69px;
41
+ height: 21px;
42
+ font-size: 14px;
43
+ font-style: normal;
44
+ font-weight: 700;
45
+ line-height: 150%;
46
+ cursor: pointer;
47
+ color: ${({ colorPalette }) => colorPalette.text.primary};
48
48
  `;
49
- const MoreHorizonMenu = styled.div `
50
- display: ${({ menuOpen }) => (menuOpen ? "flex" : "none")};
51
- position: relative;
52
- top: ${({ yPosition }) => (yPosition === "down" ? "40px " : "-40px")};
49
+ const MoreHorizonMenu = styled.div `
50
+ display: ${({ menuOpen }) => (menuOpen ? "flex" : "none")};
51
+ position: relative;
52
+ top: ${({ yPosition }) => (yPosition === "down" ? "40px " : "-40px")};
53
53
  left: ${({ xPosition }) => xPosition === "center"
54
54
  ? "-8px !important"
55
55
  : xPosition === "right"
56
56
  ? "70px"
57
- : "-85px"};
58
- flex-direction: row;
59
- background-color: ${({ colorPalette }) => colorPalette.highlight.secondary};
60
- border-radius: 4px;
61
- box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
62
- z-index: 1000;
63
- transform-origin: top left;
57
+ : "-85px"};
58
+ flex-direction: row;
59
+ background-color: ${({ colorPalette }) => colorPalette.highlight.secondary};
60
+ border-radius: 4px;
61
+ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
62
+ z-index: 1000;
63
+ transform-origin: top left;
64
64
  `;
65
65
  export const MoreHorizonButton = (props) => {
66
66
  const { colorPalette, handleToggleHistory, handleRefreshField, ...remainderProps } = props;
@@ -1,48 +1,48 @@
1
1
  import React, { forwardRef } from "react";
2
2
  import styled from "@emotion/styled";
3
3
  import { FiMaximize } from "react-icons/fi";
4
- const NoteContainer = styled.div `
5
- display: flex;
6
- width: 100%;
7
- justify-content: flex-end;
4
+ const NoteContainer = styled.div `
5
+ display: flex;
6
+ width: 100%;
7
+ justify-content: flex-end;
8
8
  `;
9
- const MaximizeIconContainer = styled.div `
10
- border-radius: 4px 0px 0px 4px;
11
- height: 38px;
12
- width: 40px;
13
- display: flex;
14
- justify-content: center;
15
- align-items: center;
16
- cursor: pointer;
17
- color: ${({ colorPalette }) => colorPalette.text.primary};
18
- background: ${({ colorPalette }) => colorPalette.background.primary};
19
- border-width: 1px;
20
- border-style: solid;
21
- border-color: ${({ colorPalette }) => colorPalette.border.primary};
9
+ const MaximizeIconContainer = styled.div `
10
+ border-radius: 4px 0px 0px 4px;
11
+ height: 38px;
12
+ width: 40px;
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ cursor: pointer;
17
+ color: ${({ colorPalette }) => colorPalette.text.primary};
18
+ background: ${({ colorPalette }) => colorPalette.background.primary};
19
+ border-width: 1px;
20
+ border-style: solid;
21
+ border-color: ${({ colorPalette }) => colorPalette.border.primary};
22
22
  `;
23
- const MaximizeIcon = styled(FiMaximize) `
24
- width: 20px;
25
- height: 20px;
23
+ const MaximizeIcon = styled(FiMaximize) `
24
+ width: 20px;
25
+ height: 20px;
26
26
  `;
27
- const NoteArea = styled.textarea `
28
- border-color: ${({ colorPalette }) => colorPalette.border.primary};
29
- border-style: solid;
30
- border-width: 1px;
31
- padding: 8px 16px 0px 16px;
32
- height: 30px;
33
- width: 100%;
34
- min-height: 30px;
35
- resize: vertical;
36
- color: ${({ colorPalette }) => colorPalette.text.primary};
37
- background: ${({ colorPalette }) => colorPalette.background.primary};
38
- border-left: none;
39
- font-size: 16px;
40
- :focus-visible {
41
- max-height: 30px;
42
- }
43
- ${({ moreHorizon }) => moreHorizon && `border-right: none;`}
27
+ const NoteArea = styled.textarea `
28
+ border-color: ${({ colorPalette }) => colorPalette.border.primary};
29
+ border-style: solid;
30
+ border-width: 1px;
31
+ padding: 8px 16px 0px 16px;
32
+ height: 30px;
33
+ width: 100%;
34
+ min-height: 30px;
35
+ resize: vertical;
36
+ color: ${({ colorPalette }) => colorPalette.text.primary};
37
+ background: ${({ colorPalette }) => colorPalette.background.primary};
38
+ border-left: none;
39
+ font-size: 16px;
40
+ :focus-visible {
41
+ max-height: 30px;
42
+ }
43
+ ${({ moreHorizon }) => moreHorizon && `border-right: none;`}
44
44
  ${({ moreHorizon }) => moreHorizon &&
45
- `border-top-right-radius: 0px; border-bottom-right-radius: 0px;`}
45
+ `border-top-right-radius: 0px; border-bottom-right-radius: 0px;`}
46
46
  `;
47
47
  export const NoteFieldTextArea = forwardRef((props, ref) => {
48
48
  const { colorPalette, toggleFullScreenView, moreHorizon, ...textAreaProps } = props;
@@ -1,72 +1,72 @@
1
1
  import React, { useState, useRef, useEffect } from "react";
2
2
  import styled from "@emotion/styled";
3
3
  import { FiPlus, FiMinus } from "react-icons/fi";
4
- const NumberFieldContainer = styled.div `
5
- display: flex;
6
- align-items: center;
7
- width: 100%;
4
+ const NumberFieldContainer = styled.div `
5
+ display: flex;
6
+ align-items: center;
7
+ width: 100%;
8
8
  `;
9
- const NumberInput = styled.input `
10
- display: flex;
11
- justify-content: center;
12
- align-items: center;
13
- text-align: center;
14
- min-width: 67px;
15
- height: 38px;
16
- width: 100%;
17
- gap: 10px;
18
- align-self: stretch;
19
- color: ${({ colorPalette }) => colorPalette.text.primary};
20
- background: ${({ colorPalette }) => colorPalette.background.primary};
21
- border-width: 1px;
22
- border-style: solid;
23
- border-color: ${({ colorPalette }) => colorPalette.border.primary};
24
- border-right: none;
25
- border-left: none;
26
- border-radius: 0px;
27
- padding: 0;
28
- &:focus-visible {
29
- outline: none;
30
- }
31
- &::-webkit-inner-spin-button,
32
- ::-webkit-outer-spin-button {
33
- -webkit-appearance: none;
34
- margin: 0;
35
- }
36
- ::placeholder {
37
- font-size: 14px;
38
- }
9
+ const NumberInput = styled.input `
10
+ display: flex;
11
+ justify-content: center;
12
+ align-items: center;
13
+ text-align: center;
14
+ min-width: 67px;
15
+ height: 38px;
16
+ width: 100%;
17
+ gap: 10px;
18
+ align-self: stretch;
19
+ color: ${({ colorPalette }) => colorPalette.text.primary};
20
+ background: ${({ colorPalette }) => colorPalette.background.primary};
21
+ border-width: 1px;
22
+ border-style: solid;
23
+ border-color: ${({ colorPalette }) => colorPalette.border.primary};
24
+ border-right: none;
25
+ border-left: none;
26
+ border-radius: 0px;
27
+ padding: 0;
28
+ &:focus-visible {
29
+ outline: none;
30
+ }
31
+ &::-webkit-inner-spin-button,
32
+ ::-webkit-outer-spin-button {
33
+ -webkit-appearance: none;
34
+ margin: 0;
35
+ }
36
+ ::placeholder {
37
+ font-size: 14px;
38
+ }
39
39
  `;
40
- const DecrementButton = styled.div `
41
- cursor: pointer;
42
- display: flex;
43
- width: 16px;
44
- height: 22px;
45
- padding: 8px 16px;
46
- justify-content: center;
47
- align-items: center;
48
- border-radius: 4px 0px 0px 4px;
49
- border-width: 1px;
50
- border-style: solid;
51
- border-color: ${({ colorPalette }) => colorPalette.border.primary};
52
- background: ${({ colorPalette }) => colorPalette.background.primary};
53
- color: ${({ colorPalette }) => colorPalette.text.primary};
40
+ const DecrementButton = styled.div `
41
+ cursor: pointer;
42
+ display: flex;
43
+ width: 16px;
44
+ height: 22px;
45
+ padding: 8px 16px;
46
+ justify-content: center;
47
+ align-items: center;
48
+ border-radius: 4px 0px 0px 4px;
49
+ border-width: 1px;
50
+ border-style: solid;
51
+ border-color: ${({ colorPalette }) => colorPalette.border.primary};
52
+ background: ${({ colorPalette }) => colorPalette.background.primary};
53
+ color: ${({ colorPalette }) => colorPalette.text.primary};
54
54
  `;
55
- const IncrementButton = styled.div `
56
- cursor: pointer;
57
- display: flex;
58
- width: 16px;
59
- height: 22px;
60
- padding: 8px 16px;
61
- justify-content: center;
62
- align-items: center;
63
- border-width: 1px;
64
- border-style: solid;
65
- border-color: ${({ colorPalette }) => colorPalette.border.primary};
66
- background: ${({ colorPalette }) => colorPalette.background.primary};
67
- color: ${({ colorPalette }) => colorPalette.text.primary};
68
- ${({ moreHorizon }) => !moreHorizon && `border-radius: 0px 4px 4px 0px;`}
69
- ${({ moreHorizon }) => moreHorizon && `border-right: none;`}
55
+ const IncrementButton = styled.div `
56
+ cursor: pointer;
57
+ display: flex;
58
+ width: 16px;
59
+ height: 22px;
60
+ padding: 8px 16px;
61
+ justify-content: center;
62
+ align-items: center;
63
+ border-width: 1px;
64
+ border-style: solid;
65
+ border-color: ${({ colorPalette }) => colorPalette.border.primary};
66
+ background: ${({ colorPalette }) => colorPalette.background.primary};
67
+ color: ${({ colorPalette }) => colorPalette.text.primary};
68
+ ${({ moreHorizon }) => !moreHorizon && `border-radius: 0px 4px 4px 0px;`}
69
+ ${({ moreHorizon }) => moreHorizon && `border-right: none;`}
70
70
  `;
71
71
  export const NumberField = (props) => {
72
72
  const { colorPalette, handleChange, handleBlur, fromTable, moreHorizon, value, ...inputProps } = props;