intelicoreact 0.2.64 → 0.2.67
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/dist/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.scss +2 -1
- package/dist/Atomic/FormElements/Textarea/Textarea.scss +4 -4
- package/dist/Atomic/UI/Button/Button.scss +4 -0
- package/dist/Atomic/UI/Modal/Modal.scss +0 -3
- package/dist/Atomic/UI/Price/Price.js +1 -8
- package/package.json +1 -1
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
font-size: 12px;
|
|
16
16
|
font-weight: 400;
|
|
17
17
|
font-family: Roboto, sans-serif;
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
&:focus {
|
|
20
20
|
border-color: $color--primary;
|
|
21
21
|
filter: drop-shadow(0px 0px 4px rgba(93, 120, 255, 0.5));
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
|
|
24
24
|
&:disabled {
|
|
25
25
|
background: #f7f8fa;
|
|
26
26
|
opacity: 0.5;
|
|
27
27
|
border-color: #a6acb1;
|
|
28
28
|
pointer-events: none;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
@include custom-
|
|
30
|
+
|
|
31
|
+
@include custom-scroll2;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// &-label {
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
border: 1px solid #f06d8d;
|
|
24
24
|
background-color: #f06d8d;
|
|
25
25
|
color: #fff;
|
|
26
|
+
|
|
26
27
|
&:hover {
|
|
27
28
|
filter: brightness(1.1);
|
|
28
29
|
}
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
border: 1px solid #6b81ddff;
|
|
42
43
|
background-color: #6b81ddff;
|
|
43
44
|
color: #fff;
|
|
45
|
+
|
|
44
46
|
&:hover {
|
|
45
47
|
filter: brightness(1.1);
|
|
46
48
|
}
|
|
@@ -50,6 +52,7 @@
|
|
|
50
52
|
border: 1px solid #bac2c9ff;
|
|
51
53
|
background-color: #bac2c9ff;
|
|
52
54
|
color: #fff;
|
|
55
|
+
|
|
53
56
|
&:hover {
|
|
54
57
|
filter: brightness(1.1);
|
|
55
58
|
}
|
|
@@ -104,6 +107,7 @@
|
|
|
104
107
|
display: flex;
|
|
105
108
|
justify-content: center;
|
|
106
109
|
align-items: center;
|
|
110
|
+
box-shadow: none;
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
&:active {
|
|
@@ -16,14 +16,7 @@ var Price = function Price(_ref) {
|
|
|
16
16
|
unitAfter = _ref.unitAfter,
|
|
17
17
|
className = _ref.className;
|
|
18
18
|
if (value === undefined || value === null) return null;
|
|
19
|
-
var formatted;
|
|
20
|
-
|
|
21
|
-
if (value.length <= 3) {
|
|
22
|
-
formatted = parseFloat(value).toFixed(2);
|
|
23
|
-
} else {
|
|
24
|
-
formatted = Number(value.toString().replace(/[+*?$^(,)]/g, '')).toLocaleString('en-US');
|
|
25
|
-
}
|
|
26
|
-
|
|
19
|
+
var formatted = Number(value.toString().replace(/[+*?$^(,)]/g, '')).toLocaleString('en-US');
|
|
27
20
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
28
21
|
"data-testid": 'test-price',
|
|
29
22
|
className: "price ".concat(className)
|