@sellout/ui 0.0.73 → 0.0.75
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/build/components/Button.js +3 -2
- package/build/components/Icon.d.ts +51 -42
- package/build/components/Icons.d.ts +51 -42
- package/build/components/Icons.js +74 -65
- package/build/components/Input.js +13 -23
- package/build/components/TextButton.d.ts +1 -0
- package/build/components/TextButton.js +6 -0
- package/package.json +4 -4
|
@@ -129,7 +129,8 @@ var Text = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObj
|
|
|
129
129
|
return null;
|
|
130
130
|
}, function (props) {
|
|
131
131
|
if (props.type === ButtonTypes.Next) {
|
|
132
|
-
return "
|
|
132
|
+
return "600";
|
|
133
|
+
// return "700";
|
|
133
134
|
}
|
|
134
135
|
if (props.type === ButtonTypes.Regular) {
|
|
135
136
|
return "600";
|
|
@@ -165,7 +166,7 @@ var Text = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObj
|
|
|
165
166
|
}, function (props) {
|
|
166
167
|
if (props.state)
|
|
167
168
|
if (props.state === ButtonStates.Disabled) {
|
|
168
|
-
return Colors.
|
|
169
|
+
return Colors.Grey5;
|
|
169
170
|
}
|
|
170
171
|
if (props.state === ButtonStates.Warning) {
|
|
171
172
|
return Colors.Grey3;
|
|
@@ -1,7 +1,54 @@
|
|
|
1
1
|
import { Colors } from "../Colors";
|
|
2
2
|
export declare const Icons: {
|
|
3
|
+
VerticalEllipsisRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
|
+
AngleDownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
|
+
AudienceRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
|
+
BoldRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
|
+
CalculatorRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
|
+
CheckRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
|
+
Cheers: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
+
Clipboard: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
+
CrownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
+
DeleteRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
|
+
Dollar: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
|
+
DownArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
|
+
DownloadReport: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
16
|
+
Embed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
17
|
+
FeeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
|
+
FilterRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
19
|
+
FireRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
20
|
+
GiftRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
21
|
+
GlobeLinesRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
22
|
+
GlobeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
23
|
+
GraphGrowth: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
24
|
+
ItalicRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
25
|
+
KeyRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
26
|
+
LeftArrowRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
27
|
+
LeftChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
28
|
+
LinkRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
29
|
+
OListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
30
|
+
PlusRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
31
|
+
PrintRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
32
|
+
ReportRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
33
|
+
RightArrowRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
34
|
+
RightChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
35
|
+
SearchRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
36
|
+
SettingsRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
37
|
+
SignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
38
|
+
StreamRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
39
|
+
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
40
|
+
TicketRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
41
|
+
UListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
42
|
+
UnderlineRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
43
|
+
UnlockRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
44
|
+
UpArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
45
|
+
Update: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
46
|
+
UpgradeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
47
|
+
UsersRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
3
48
|
Amex: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
49
|
Discover: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
50
|
+
FacebookPlain: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
51
|
+
Google: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
52
|
Mastercard: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
53
|
Visa: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
54
|
AnalyticsLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -13,7 +60,9 @@ export declare const Icons: {
|
|
|
13
60
|
CalendarLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
61
|
CalendarStarLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
62
|
CancelLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
63
|
+
CartLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
16
64
|
CheckLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
65
|
+
ClipboardLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
17
66
|
CopyLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
67
|
EditLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
19
68
|
EnvelopeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -45,6 +94,8 @@ export declare const Icons: {
|
|
|
45
94
|
ShareLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
46
95
|
SortByLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
47
96
|
TeamLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
97
|
+
ThumbsDownLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
98
|
+
ThumbsUpLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
48
99
|
UnlockLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
49
100
|
UploadLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
50
101
|
UserLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -61,48 +112,6 @@ export declare const Icons: {
|
|
|
61
112
|
SortBy: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
62
113
|
TeamSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
63
114
|
UpgradeSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
64
|
-
AngleDownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
65
|
-
AudienceRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
66
|
-
BoldRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
67
|
-
CalculatorRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
68
|
-
CheckRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
69
|
-
Cheers: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
70
|
-
Clipboard: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
71
|
-
CrownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
72
|
-
DeleteRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
73
|
-
Dollar: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
74
|
-
DownArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
75
|
-
DownloadReport: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
76
|
-
Embed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
77
|
-
FeeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
78
|
-
FilterRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
79
|
-
FireRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
80
|
-
GiftRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
81
|
-
GlobeLinesRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
82
|
-
GlobeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
83
|
-
GraphGrowth: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
84
|
-
ItalicRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
85
|
-
KeyRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
86
|
-
LeftChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
87
|
-
LinkRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
88
|
-
OListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
89
|
-
PlusRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
90
|
-
PrintRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
91
|
-
ReportRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
92
|
-
RightChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
93
|
-
SearchRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
94
|
-
SettingsRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
95
|
-
SignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
96
|
-
StreamRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
97
|
-
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
98
|
-
TicketRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
99
|
-
UListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
100
|
-
UnderlineRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
101
|
-
UnlockRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
102
|
-
UpArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
103
|
-
Update: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
104
|
-
UpgradeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
105
|
-
UsersRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
106
115
|
AngleDownSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
107
116
|
AngleUpSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
108
117
|
AudienceSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -1,6 +1,53 @@
|
|
|
1
1
|
export declare const IconEnum: {
|
|
2
|
+
VerticalEllipsisRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
3
|
+
AngleDownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
|
+
AudienceRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
|
+
BoldRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
|
+
CalculatorRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
|
+
CheckRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
|
+
Cheers: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
|
+
Clipboard: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
+
CrownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
+
DeleteRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
+
Dollar: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
|
+
DownArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
|
+
DownloadReport: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
|
+
Embed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
16
|
+
FeeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
17
|
+
FilterRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
|
+
FireRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
19
|
+
GiftRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
20
|
+
GlobeLinesRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
21
|
+
GlobeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
22
|
+
GraphGrowth: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
23
|
+
ItalicRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
24
|
+
KeyRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
25
|
+
LeftArrowRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
26
|
+
LeftChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
27
|
+
LinkRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
28
|
+
OListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
29
|
+
PlusRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
30
|
+
PrintRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
31
|
+
ReportRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
32
|
+
RightArrowRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
33
|
+
RightChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
34
|
+
SearchRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
35
|
+
SettingsRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
36
|
+
SignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
37
|
+
StreamRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
38
|
+
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
39
|
+
TicketRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
40
|
+
UListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
41
|
+
UnderlineRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
42
|
+
UnlockRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
43
|
+
UpArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
44
|
+
Update: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
45
|
+
UpgradeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
46
|
+
UsersRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
2
47
|
Amex: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
3
48
|
Discover: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
49
|
+
FacebookPlain: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
50
|
+
Google: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
51
|
Mastercard: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
52
|
Visa: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
53
|
AnalyticsLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -12,7 +59,9 @@ export declare const IconEnum: {
|
|
|
12
59
|
CalendarLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
60
|
CalendarStarLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
61
|
CancelLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
62
|
+
CartLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
63
|
CheckLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
64
|
+
ClipboardLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
16
65
|
CopyLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
17
66
|
EditLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
67
|
EnvelopeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -44,6 +93,8 @@ export declare const IconEnum: {
|
|
|
44
93
|
ShareLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
45
94
|
SortByLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
46
95
|
TeamLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
96
|
+
ThumbsDownLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
97
|
+
ThumbsUpLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
47
98
|
UnlockLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
48
99
|
UploadLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
49
100
|
UserLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -60,48 +111,6 @@ export declare const IconEnum: {
|
|
|
60
111
|
SortBy: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
61
112
|
TeamSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
62
113
|
UpgradeSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
63
|
-
AngleDownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
64
|
-
AudienceRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
65
|
-
BoldRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
66
|
-
CalculatorRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
67
|
-
CheckRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
68
|
-
Cheers: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
69
|
-
Clipboard: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
70
|
-
CrownRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
71
|
-
DeleteRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
72
|
-
Dollar: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
73
|
-
DownArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
74
|
-
DownloadReport: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
75
|
-
Embed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
76
|
-
FeeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
77
|
-
FilterRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
78
|
-
FireRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
79
|
-
GiftRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
80
|
-
GlobeLinesRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
81
|
-
GlobeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
82
|
-
GraphGrowth: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
83
|
-
ItalicRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
84
|
-
KeyRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
85
|
-
LeftChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
86
|
-
LinkRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
87
|
-
OListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
88
|
-
PlusRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
89
|
-
PrintRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
90
|
-
ReportRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
91
|
-
RightChevronRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
92
|
-
SearchRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
93
|
-
SettingsRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
94
|
-
SignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
95
|
-
StreamRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
96
|
-
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
97
|
-
TicketRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
98
|
-
UListRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
99
|
-
UnderlineRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
100
|
-
UnlockRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
101
|
-
UpArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
102
|
-
Update: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
103
|
-
UpgradeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
104
|
-
UsersRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
105
114
|
AngleDownSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
106
115
|
AngleUpSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
107
116
|
AudienceSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -1,37 +1,86 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { faAnalytics as
|
|
4
|
-
import {
|
|
5
|
-
import { faAngleDown as faAngleDown$1, faAngleUp, faUserFriends as faUserFriends$1, faArrowLeft, faCashRegister as faCashRegister$1, faBullhorn as faBullhorn$1, faCalculator as faCalculator$2, faCalendarDay as faCalendarDay$1, faCalendarWeek, faTimes as faTimes$1, faTimesCircle, faCaretDown, faMoneyBill, faCheckCircle, faUserTie, faCopy as faCopy$1, faCreditCard, faCrown as faCrown$1, faICursor, faTrash as faTrash$1, faEnvelope as faEnvelope$1, faEye as faEye$1, faGlobe as faGlobe$2, faGlobeAmericas as faGlobeAmericas$1, faQuestionCircle as faQuestionCircle$1, faHome as faHome$1, faInfoCircle, faChevronLeft as faChevronLeft$1, faLock as faLock$1, faBars, faChartBar as faChartBar$1, faMicrophoneAlt as faMicrophoneAlt$1, faMobileAlt as faMobileAlt$1, faBuilding as faBuilding$1, faPiggyBank as faPiggyBank$1, faPlug as faPlug$1, faPlus as faPlus$1, faPlusCircle as faPlusCircle$1, faPrint as faPrint$1, faReceipt as faReceipt$1, faChevronCircleRight, faChevronRight as faChevronRight$1, faSearch as faSearch$2, faChair as faChair$1, faCog as faCog$1, faShare as faShare$1, faSort, faStar, faThumbsDown, faThumbsUp, faTicketAlt as faTicketAlt$1, faUpload as faUpload$1, faUserCircle, faUser as faUser$1, faUsers as faUsers$2, faLandmark as faLandmark$1, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
1
|
+
import { faEllipsisV, faAngleDown, faUserFriends, faBold, faCalculator, faCheck, faGlassCheers, faClipboardList, faCrown, faTrash, faDollarSign, faArrowAltDown, faFileDownload, faCode, faUsdSquare, faFilter, faFire, faGift, faGlobe, faGlobeAmericas, faChartLine, faItalic, faKey, faArrowLeft, faChevronLeft, faLink, faListOl, faPlus, faPrint, faFileChartLine, faArrowRight, faChevronRight, faSearch, faCog, faSignOut, faStream, faSync, faTicketAlt, faListUl, faUnderline, faUnlock, faArrowAltUp, faMegaphone, faArrowAltSquareUp, faUsers } from '@fortawesome/pro-regular-svg-icons';
|
|
2
|
+
import { faCcAmex, faCcDiscover, faFacebookF, faGoogle, faCcMastercard, faCcVisa } from '@fortawesome/free-brands-svg-icons';
|
|
3
|
+
import { faAnalytics, faBell, faCashRegister, faBullhorn, faCalculator as faCalculator$1, faCalendarDay, faCalendarAlt, faCalendarStar, faTimes, faShoppingCart, faCheck as faCheck$1, faClipboardListCheck, faCopy, faEdit, faEnvelope, faEnvelopeOpenText, faFileExport, faEye, faFilter as faFilter$1, faGift as faGift$1, faGlobe as faGlobe$1, faQuestionCircle, faHome, faLink as faLink$1, faLock, faMapMarkerAlt, faChartBar, faMicrophoneAlt, faMinusCircle, faMobileAlt, faBuilding, faPhone, faPiggyBank, faPlug, faPlusCircle, faReceipt, faFileChartLine as faFileChartLine$1, faBarcodeRead, faSearch as faSearch$1, faChair, faShare, faSortAlt, faUsersCrown, faThumbsDown, faThumbsUp, faUnlock as faUnlock$1, faUpload, faUser, faUsers as faUsers$1, faLandmark } from '@fortawesome/pro-light-svg-icons';
|
|
4
|
+
import { faAnalytics as faAnalytics$1, faCalendarStar as faCalendarStar$1, faCreditCardFront, faUsdSquare as faUsdSquare$1, faKey as faKey$1, faLongArrowRight, faQuestionSquare, faFileChartLine as faFileChartLine$2, faSortAlt as faSortAlt$1, faUsersCrown as faUsersCrown$1, faArrowAltSquareUp as faArrowAltSquareUp$1 } from '@fortawesome/pro-solid-svg-icons';
|
|
5
|
+
import { faAngleDown as faAngleDown$1, faAngleUp, faUserFriends as faUserFriends$1, faArrowLeft as faArrowLeft$1, faCashRegister as faCashRegister$1, faBullhorn as faBullhorn$1, faCalculator as faCalculator$2, faCalendarDay as faCalendarDay$1, faCalendarWeek, faTimes as faTimes$1, faTimesCircle, faCaretDown, faMoneyBill, faCheckCircle, faUserTie, faCopy as faCopy$1, faCreditCard, faCrown as faCrown$1, faICursor, faTrash as faTrash$1, faEnvelope as faEnvelope$1, faEye as faEye$1, faGlobe as faGlobe$2, faGlobeAmericas as faGlobeAmericas$1, faQuestionCircle as faQuestionCircle$1, faHome as faHome$1, faInfoCircle, faChevronLeft as faChevronLeft$1, faLock as faLock$1, faBars, faChartBar as faChartBar$1, faMicrophoneAlt as faMicrophoneAlt$1, faMobileAlt as faMobileAlt$1, faBuilding as faBuilding$1, faPiggyBank as faPiggyBank$1, faPlug as faPlug$1, faPlus as faPlus$1, faPlusCircle as faPlusCircle$1, faPrint as faPrint$1, faReceipt as faReceipt$1, faChevronCircleRight, faChevronRight as faChevronRight$1, faSearch as faSearch$2, faChair as faChair$1, faCog as faCog$1, faShare as faShare$1, faSort, faStar, faThumbsDown as faThumbsDown$1, faThumbsUp as faThumbsUp$1, faTicketAlt as faTicketAlt$1, faUpload as faUpload$1, faUserCircle, faUser as faUser$1, faUsers as faUsers$2, faLandmark as faLandmark$1, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
6
6
|
import { faCalendarAlt as faCalendarAlt$1, faClock, faCopy as faCopy$2, faEdit as faEdit$1, faEye as faEye$2, faEyeSlash, faLifeRing, faSadTear, faUser as faUser$2 } from '@fortawesome/free-regular-svg-icons';
|
|
7
7
|
|
|
8
8
|
var IconEnum = {
|
|
9
|
+
VerticalEllipsisRegular: faEllipsisV,
|
|
10
|
+
AngleDownRegular: faAngleDown,
|
|
11
|
+
AudienceRegular: faUserFriends,
|
|
12
|
+
BoldRegular: faBold,
|
|
13
|
+
CalculatorRegular: faCalculator,
|
|
14
|
+
CheckRegular: faCheck,
|
|
15
|
+
Cheers: faGlassCheers,
|
|
16
|
+
Clipboard: faClipboardList,
|
|
17
|
+
CrownRegular: faCrown,
|
|
18
|
+
DeleteRegular: faTrash,
|
|
19
|
+
Dollar: faDollarSign,
|
|
20
|
+
DownArrow: faArrowAltDown,
|
|
21
|
+
DownloadReport: faFileDownload,
|
|
22
|
+
Embed: faCode,
|
|
23
|
+
FeeRegular: faUsdSquare,
|
|
24
|
+
FilterRegular: faFilter,
|
|
25
|
+
FireRegular: faFire,
|
|
26
|
+
GiftRegular: faGift,
|
|
27
|
+
GlobeLinesRegular: faGlobe,
|
|
28
|
+
GlobeRegular: faGlobeAmericas,
|
|
29
|
+
GraphGrowth: faChartLine,
|
|
30
|
+
ItalicRegular: faItalic,
|
|
31
|
+
KeyRegular: faKey,
|
|
32
|
+
LeftArrowRegular: faArrowLeft,
|
|
33
|
+
LeftChevronRegular: faChevronLeft,
|
|
34
|
+
LinkRegular: faLink,
|
|
35
|
+
OListRegular: faListOl,
|
|
36
|
+
PlusRegular: faPlus,
|
|
37
|
+
PrintRegular: faPrint,
|
|
38
|
+
ReportRegular: faFileChartLine,
|
|
39
|
+
RightArrowRegular: faArrowRight,
|
|
40
|
+
RightChevronRegular: faChevronRight,
|
|
41
|
+
SearchRegular: faSearch,
|
|
42
|
+
SettingsRegular: faCog,
|
|
43
|
+
SignOut: faSignOut,
|
|
44
|
+
StreamRegular: faStream,
|
|
45
|
+
SyncRegular: faSync,
|
|
46
|
+
TicketRegular: faTicketAlt,
|
|
47
|
+
UListRegular: faListUl,
|
|
48
|
+
UnderlineRegular: faUnderline,
|
|
49
|
+
UnlockRegular: faUnlock,
|
|
50
|
+
UpArrow: faArrowAltUp,
|
|
51
|
+
Update: faMegaphone,
|
|
52
|
+
UpgradeRegular: faArrowAltSquareUp,
|
|
53
|
+
UsersRegular: faUsers,
|
|
9
54
|
Amex: faCcAmex,
|
|
10
55
|
Discover: faCcDiscover,
|
|
56
|
+
FacebookPlain: faFacebookF,
|
|
57
|
+
Google: faGoogle,
|
|
11
58
|
Mastercard: faCcMastercard,
|
|
12
59
|
Visa: faCcVisa,
|
|
13
60
|
AnalyticsLight: faAnalytics,
|
|
14
61
|
BellLight: faBell,
|
|
15
62
|
BoxOfficeLight: faCashRegister,
|
|
16
63
|
BullHornLight: faBullhorn,
|
|
17
|
-
CalculatorLight: faCalculator,
|
|
64
|
+
CalculatorLight: faCalculator$1,
|
|
18
65
|
CalendarDayLight: faCalendarDay,
|
|
19
66
|
CalendarLight: faCalendarAlt,
|
|
20
67
|
CalendarStarLight: faCalendarStar,
|
|
21
68
|
CancelLight: faTimes,
|
|
22
|
-
|
|
69
|
+
CartLight: faShoppingCart,
|
|
70
|
+
CheckLight: faCheck$1,
|
|
71
|
+
ClipboardLight: faClipboardListCheck,
|
|
23
72
|
CopyLight: faCopy,
|
|
24
73
|
EditLight: faEdit,
|
|
25
74
|
EnvelopeLight: faEnvelope,
|
|
26
75
|
EnvelopeOpenRegular: faEnvelopeOpenText,
|
|
27
76
|
ExportLight: faFileExport,
|
|
28
77
|
EyeLight: faEye,
|
|
29
|
-
FilterLight: faFilter,
|
|
30
|
-
GiftLight: faGift,
|
|
31
|
-
GlobeLinesLight: faGlobe,
|
|
78
|
+
FilterLight: faFilter$1,
|
|
79
|
+
GiftLight: faGift$1,
|
|
80
|
+
GlobeLinesLight: faGlobe$1,
|
|
32
81
|
HelpLight: faQuestionCircle,
|
|
33
82
|
HomeLight: faHome,
|
|
34
|
-
LinkLight: faLink,
|
|
83
|
+
LinkLight: faLink$1,
|
|
35
84
|
Lock: faLock,
|
|
36
85
|
MapPinLight: faMapMarkerAlt,
|
|
37
86
|
MetricsLight: faChartBar,
|
|
@@ -44,75 +93,35 @@ var IconEnum = {
|
|
|
44
93
|
PlugLight: faPlug,
|
|
45
94
|
PlusCircleLight: faPlusCircle,
|
|
46
95
|
ReceiptLight: faReceipt,
|
|
47
|
-
ReportLight: faFileChartLine,
|
|
96
|
+
ReportLight: faFileChartLine$1,
|
|
48
97
|
Scan: faBarcodeRead,
|
|
49
|
-
SearchLight: faSearch,
|
|
98
|
+
SearchLight: faSearch$1,
|
|
50
99
|
SeatingLight: faChair,
|
|
51
100
|
ShareLight: faShare,
|
|
52
101
|
SortByLight: faSortAlt,
|
|
53
102
|
TeamLight: faUsersCrown,
|
|
54
|
-
|
|
103
|
+
ThumbsDownLight: faThumbsDown,
|
|
104
|
+
ThumbsUpLight: faThumbsUp,
|
|
105
|
+
UnlockLight: faUnlock$1,
|
|
55
106
|
UploadLight: faUpload,
|
|
56
107
|
UserLight: faUser,
|
|
57
|
-
UsersLight: faUsers,
|
|
108
|
+
UsersLight: faUsers$1,
|
|
58
109
|
VenueLight: faLandmark,
|
|
59
110
|
AnalyticsSolid: faAnalytics$1,
|
|
60
111
|
CalendarStarSolid: faCalendarStar$1,
|
|
61
112
|
CreditCardFront: faCreditCardFront,
|
|
62
|
-
FeeSolid: faUsdSquare,
|
|
63
|
-
KeySolid: faKey,
|
|
113
|
+
FeeSolid: faUsdSquare$1,
|
|
114
|
+
KeySolid: faKey$1,
|
|
64
115
|
LongRightArrow: faLongArrowRight,
|
|
65
116
|
QuestionSquareSolid: faQuestionSquare,
|
|
66
|
-
ReportSolid: faFileChartLine$
|
|
117
|
+
ReportSolid: faFileChartLine$2,
|
|
67
118
|
SortBy: faSortAlt$1,
|
|
68
119
|
TeamSolid: faUsersCrown$1,
|
|
69
|
-
UpgradeSolid: faArrowAltSquareUp,
|
|
70
|
-
AngleDownRegular: faAngleDown,
|
|
71
|
-
AudienceRegular: faUserFriends,
|
|
72
|
-
BoldRegular: faBold,
|
|
73
|
-
CalculatorRegular: faCalculator$1,
|
|
74
|
-
CheckRegular: faCheck$1,
|
|
75
|
-
Cheers: faGlassCheers,
|
|
76
|
-
Clipboard: faClipboardList,
|
|
77
|
-
CrownRegular: faCrown,
|
|
78
|
-
DeleteRegular: faTrash,
|
|
79
|
-
Dollar: faDollarSign,
|
|
80
|
-
DownArrow: faArrowAltDown,
|
|
81
|
-
DownloadReport: faFileDownload,
|
|
82
|
-
Embed: faCode,
|
|
83
|
-
FeeRegular: faUsdSquare$1,
|
|
84
|
-
FilterRegular: faFilter$1,
|
|
85
|
-
FireRegular: faFire,
|
|
86
|
-
GiftRegular: faGift$1,
|
|
87
|
-
GlobeLinesRegular: faGlobe$1,
|
|
88
|
-
GlobeRegular: faGlobeAmericas,
|
|
89
|
-
GraphGrowth: faChartLine,
|
|
90
|
-
ItalicRegular: faItalic,
|
|
91
|
-
KeyRegular: faKey$1,
|
|
92
|
-
LeftChevronRegular: faChevronLeft,
|
|
93
|
-
LinkRegular: faLink$1,
|
|
94
|
-
OListRegular: faListOl,
|
|
95
|
-
PlusRegular: faPlus,
|
|
96
|
-
PrintRegular: faPrint,
|
|
97
|
-
ReportRegular: faFileChartLine$2,
|
|
98
|
-
RightChevronRegular: faChevronRight,
|
|
99
|
-
SearchRegular: faSearch$1,
|
|
100
|
-
SettingsRegular: faCog,
|
|
101
|
-
SignOut: faSignOut,
|
|
102
|
-
StreamRegular: faStream,
|
|
103
|
-
SyncRegular: faSync,
|
|
104
|
-
TicketRegular: faTicketAlt,
|
|
105
|
-
UListRegular: faListUl,
|
|
106
|
-
UnderlineRegular: faUnderline,
|
|
107
|
-
UnlockRegular: faUnlock$1,
|
|
108
|
-
UpArrow: faArrowAltUp,
|
|
109
|
-
Update: faMegaphone,
|
|
110
|
-
UpgradeRegular: faArrowAltSquareUp$1,
|
|
111
|
-
UsersRegular: faUsers$1,
|
|
120
|
+
UpgradeSolid: faArrowAltSquareUp$1,
|
|
112
121
|
AngleDownSolid: faAngleDown$1,
|
|
113
122
|
AngleUpSolid: faAngleUp,
|
|
114
123
|
AudienceSolid: faUserFriends$1,
|
|
115
|
-
BackArrow: faArrowLeft,
|
|
124
|
+
BackArrow: faArrowLeft$1,
|
|
116
125
|
BoxOfficeSolid: faCashRegister$1,
|
|
117
126
|
BullhornSolid: faBullhorn$1,
|
|
118
127
|
CalculatorSolid: faCalculator$2,
|
|
@@ -136,7 +145,7 @@ var IconEnum = {
|
|
|
136
145
|
HelpSolid: faQuestionCircle$1,
|
|
137
146
|
HomeSolid: faHome$1,
|
|
138
147
|
InfotipSolid: faInfoCircle,
|
|
139
|
-
LeftArrowSolid: faArrowLeft,
|
|
148
|
+
LeftArrowSolid: faArrowLeft$1,
|
|
140
149
|
LeftChevronSolid: faChevronLeft$1,
|
|
141
150
|
LockSolid: faLock$1,
|
|
142
151
|
Menu: faBars,
|
|
@@ -158,8 +167,8 @@ var IconEnum = {
|
|
|
158
167
|
ShareSolid: faShare$1,
|
|
159
168
|
Sort: faSort,
|
|
160
169
|
StarSolid: faStar,
|
|
161
|
-
ThumbsDownSolid: faThumbsDown,
|
|
162
|
-
ThumbsUpSolid: faThumbsUp,
|
|
170
|
+
ThumbsDownSolid: faThumbsDown$1,
|
|
171
|
+
ThumbsUpSolid: faThumbsUp$1,
|
|
163
172
|
TicketSolid: faTicketAlt$1,
|
|
164
173
|
UploadSolid: faUpload$1,
|
|
165
174
|
UserCircle: faUserCircle,
|
|
@@ -2,7 +2,7 @@ import { Colors } from '../Colors.js';
|
|
|
2
2
|
import { __makeTemplateObject } from '../_virtual/_tslib.js';
|
|
3
3
|
import React, { useState, Fragment } from 'react';
|
|
4
4
|
import styled from 'styled-components';
|
|
5
|
-
import { darken
|
|
5
|
+
import { darken } from 'polished';
|
|
6
6
|
import Icon, { Icons } from './Icon.js';
|
|
7
7
|
import Loader, { LoaderSizes } from './Loader.js';
|
|
8
8
|
import Label from './Label.js';
|
|
@@ -25,12 +25,9 @@ var Form = styled.form(templateObject_2 || (templateObject_2 = __makeTemplateObj
|
|
|
25
25
|
return darken(0.05, Colors.Grey5);
|
|
26
26
|
return Colors.Grey5;
|
|
27
27
|
}, function (props) { return props.disabled ? Colors.Grey6 + " !important" : null; }, function (props) { return props.disabled ? Colors.Grey6 + " !important" : null; });
|
|
28
|
-
var Button = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ", ";\n height: ", ";\n width: ", ";\n border-radius: 0 10px 10px 0;\n top: -1px;\n right: -1px;\n transition: all 0.2s;\n
|
|
28
|
+
var Button = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ", ";\n height: ", ";\n width: ", ";\n border-radius: 0 10px 10px 0;\n top: -1px;\n right: -1px;\n transition: all 0.2s;\n\n &:hover {\n cursor: ", ";\n }\n\n &:active {\n cursor: ", ";\n }\n"], ["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ", ";\n height: ",
|
|
29
29
|
";\n width: ",
|
|
30
|
-
";\n border-radius: 0 10px 10px 0;\n top: -1px;\n right: -1px;\n transition: all 0.2s;\n
|
|
31
|
-
";\n\n &:hover {\n cursor: ", ";\n background-color: ",
|
|
32
|
-
";\n }\n\n &:active {\n cursor: ", ";\n background-color: ",
|
|
33
|
-
";\n }\n"])), Colors.White, function (props) {
|
|
30
|
+
";\n border-radius: 0 10px 10px 0;\n top: -1px;\n right: -1px;\n transition: all 0.2s;\n\n &:hover {\n cursor: ", ";\n }\n\n &:active {\n cursor: ", ";\n }\n"])), Colors.White, function (props) {
|
|
34
31
|
if (props.size === InputSizes.Large)
|
|
35
32
|
return "50px";
|
|
36
33
|
if (props.size === InputSizes.Regular)
|
|
@@ -42,22 +39,8 @@ var Button = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateOb
|
|
|
42
39
|
if (props.size === InputSizes.Regular)
|
|
43
40
|
return "40px";
|
|
44
41
|
return null;
|
|
45
|
-
}, function (props) {
|
|
46
|
-
return props.canSubmit ? Colors.Orange : Colors.Grey6;
|
|
47
|
-
}, function (props) { return (props.onClick ? "pointer" : null); }, function (props) {
|
|
48
|
-
return props.canSubmit ? lighten(0.025, Colors.Orange) : null;
|
|
49
|
-
}, function (props) { return (props.onClick ? "pointer" : null); }, function (props) {
|
|
50
|
-
return props.canSubmit ? darken(0.025, Colors.Orange) : null;
|
|
51
|
-
});
|
|
42
|
+
}, function (props) { return (props.onClick ? "pointer" : null); }, function (props) { return (props.onClick ? "pointer" : null); });
|
|
52
43
|
var IconContainer = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n"])));
|
|
53
|
-
/* height: ${(props) => {
|
|
54
|
-
if (props.size === InputSizes.Large) return "50px";
|
|
55
|
-
if (props.size === InputSizes.Regular) return "40px";
|
|
56
|
-
}};
|
|
57
|
-
width: ${(props) => {
|
|
58
|
-
if (props.size === InputSizes.Large) return "50px";
|
|
59
|
-
if (props.size === InputSizes.Regular) return "40px";
|
|
60
|
-
}}; */
|
|
61
44
|
var LeftContainer = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 15px;\n top: 0px;\n left: 0px;\n background-color: ", ";\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 15px;\n top: 0px;\n left: 0px;\n background-color: ", ";\n"])), Colors.White);
|
|
62
45
|
var RightContainer = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: ", ";\n width: ", ";\n top: -1px;\n right: -1px;\n background-color: ", ";\n\n &:hover {\n cursor: ", ";\n }\n"], ["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: ",
|
|
63
46
|
";\n width: ",
|
|
@@ -105,6 +88,13 @@ function Input(_a) {
|
|
|
105
88
|
return 14;
|
|
106
89
|
return 14;
|
|
107
90
|
})();
|
|
91
|
+
var submitIconSize = (function () {
|
|
92
|
+
if (size === InputSizes.Large)
|
|
93
|
+
return 18;
|
|
94
|
+
if (size === InputSizes.Regular)
|
|
95
|
+
return 16;
|
|
96
|
+
return 16;
|
|
97
|
+
})();
|
|
108
98
|
return (React.createElement(Container, { width: width, margin: margin },
|
|
109
99
|
React.createElement(Flex, { justify: "space-between" },
|
|
110
100
|
label && React.createElement(Label, { text: label, subText: subLabel, tip: tip }),
|
|
@@ -150,9 +140,9 @@ function Input(_a) {
|
|
|
150
140
|
React.createElement(Spacer, null),
|
|
151
141
|
React.createElement(Button, { canSubmit: canSubmit, onClick: function (event) { return submit(event); }, size: size }, (function () {
|
|
152
142
|
if (loading) {
|
|
153
|
-
return React.createElement(Loader, { size: LoaderSizes.VerySmall });
|
|
143
|
+
return React.createElement(Loader, { size: LoaderSizes.VerySmall, color: Colors.Orange });
|
|
154
144
|
}
|
|
155
|
-
return (React.createElement(Icon, { icon: Icons.RightChevronCircle, color: canSubmit ? Colors.
|
|
145
|
+
return (React.createElement(Icon, { icon: Icons.RightChevronCircle, color: canSubmit ? Colors.Orange : Colors.Grey5, size: submitIconSize }));
|
|
156
146
|
})())));
|
|
157
147
|
}
|
|
158
148
|
if (loading) {
|
|
@@ -6,12 +6,15 @@ import Icon from './Icon.js';
|
|
|
6
6
|
|
|
7
7
|
var TextButtonSizes;
|
|
8
8
|
(function (TextButtonSizes) {
|
|
9
|
+
TextButtonSizes["Large"] = "Large";
|
|
9
10
|
TextButtonSizes["Regular"] = "Regular";
|
|
10
11
|
TextButtonSizes["Small"] = "Small";
|
|
11
12
|
})(TextButtonSizes || (TextButtonSizes = {}));
|
|
12
13
|
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin: ", ";\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin: ", ";\n"])), function (props) { return props.margin; });
|
|
13
14
|
var Text = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n color: ", ";\n text-decoration: underline;\n cursor: pointer;\n font-weight: 500;\n &:hover {\n text-decoration: none;\n }\n"], ["\n font-size: ",
|
|
14
15
|
";\n color: ", ";\n text-decoration: underline;\n cursor: pointer;\n font-weight: 500;\n &:hover {\n text-decoration: none;\n }\n"])), function (props) {
|
|
16
|
+
if (props.size === TextButtonSizes.Large)
|
|
17
|
+
return "1.8rem";
|
|
15
18
|
if (props.size === TextButtonSizes.Regular)
|
|
16
19
|
return "1.4rem";
|
|
17
20
|
if (props.size === TextButtonSizes.Small)
|
|
@@ -21,6 +24,9 @@ var Text = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObje
|
|
|
21
24
|
var TextButton = function (_a) {
|
|
22
25
|
var children = _a.children, _b = _a.size, size = _b === void 0 ? TextButtonSizes.Regular : _b, onClick = _a.onClick, margin = _a.margin, icon = _a.icon, iconRotation = _a.iconRotation;
|
|
23
26
|
var iconSize = (function () {
|
|
27
|
+
if (size === TextButtonSizes.Large) {
|
|
28
|
+
return 14;
|
|
29
|
+
}
|
|
24
30
|
if (size === TextButtonSizes.Regular) {
|
|
25
31
|
return 12;
|
|
26
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.75",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"module": "build/index.es.js",
|
|
6
6
|
"files": [
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@hapi/joi": "^17.1.1",
|
|
57
57
|
"@react-pdf/primitives": "^2.0.0-beta.11",
|
|
58
58
|
"@react-pdf/renderer": "^2.0.0-beta.14",
|
|
59
|
-
"@sellout/models": "^0.0.
|
|
60
|
-
"@sellout/utils": "^0.0.
|
|
59
|
+
"@sellout/models": "^0.0.75",
|
|
60
|
+
"@sellout/utils": "^0.0.75",
|
|
61
61
|
"@types/escape-html": "^1.0.0",
|
|
62
62
|
"@types/hapi__joi": "^16.0.12",
|
|
63
63
|
"@types/react-pdf": "^4.0.6",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"rollup-plugin-url": "^3.0.1",
|
|
71
71
|
"shortid": "^2.2.15"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "f56876971eb608d5c87c3dcbc1d49714158f80e4",
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"react": "^16.13.0",
|
|
76
76
|
"react-dom": "^16.13.0",
|