@sellout/ui 0.0.14 → 0.0.16
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/Icon.d.ts +31 -21
- package/build/components/Icons.d.ts +31 -21
- package/build/components/Loader.d.ts +2 -0
- package/build/index.d.ts +31 -21
- package/build/index.es.js +52 -39
- package/build/index.js +37 -24
- package/package.json +7 -4
- package/src/components/Icons.ts +203 -185
- package/src/components/Loader.tsx +5 -1
- package/utils/generateIconLibrary.js +19 -5
- package/utils/icon-library.csv +107 -98
package/build/index.js
CHANGED
|
@@ -9,11 +9,11 @@ var React__default = _interopDefault(React);
|
|
|
9
9
|
var styled = _interopDefault(require('styled-components'));
|
|
10
10
|
var Polished = require('polished');
|
|
11
11
|
var reactFontawesome = require('@fortawesome/react-fontawesome');
|
|
12
|
+
var proLightSvgIcons = require('@fortawesome/pro-light-svg-icons');
|
|
13
|
+
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
12
14
|
var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
|
|
13
15
|
var freeSolidSvgIcons = require('@fortawesome/free-solid-svg-icons');
|
|
14
16
|
var freeRegularSvgIcons = require('@fortawesome/free-regular-svg-icons');
|
|
15
|
-
var proLightSvgIcons = require('@fortawesome/pro-light-svg-icons');
|
|
16
|
-
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
17
17
|
var AnimateHeight = _interopDefault(require('react-animate-height'));
|
|
18
18
|
var PriceUtil = require('@sellout/utils/.dist/price');
|
|
19
19
|
|
|
@@ -59,12 +59,16 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
59
59
|
|
|
60
60
|
var _a;
|
|
61
61
|
(function (LoaderSizes) {
|
|
62
|
+
LoaderSizes["FuckingTiny"] = "FuckingTiny";
|
|
63
|
+
LoaderSizes["SuperSmall"] = "SuperSmall";
|
|
62
64
|
LoaderSizes["VerySmall"] = "VerySmall";
|
|
63
65
|
LoaderSizes["Small"] = "Small";
|
|
64
66
|
LoaderSizes["Medium"] = "Medium";
|
|
65
67
|
LoaderSizes["Large"] = "Large";
|
|
66
68
|
})(exports.LoaderSizes || (exports.LoaderSizes = {}));
|
|
67
69
|
var LoaderSizesMap = (_a = {},
|
|
70
|
+
_a[exports.LoaderSizes.FuckingTiny] = 14,
|
|
71
|
+
_a[exports.LoaderSizes.SuperSmall] = 20,
|
|
68
72
|
_a[exports.LoaderSizes.VerySmall] = 24,
|
|
69
73
|
_a[exports.LoaderSizes.Small] = 30,
|
|
70
74
|
_a[exports.LoaderSizes.Medium] = 40,
|
|
@@ -82,23 +86,46 @@ function Loader(_a) {
|
|
|
82
86
|
}
|
|
83
87
|
var templateObject_1;
|
|
84
88
|
|
|
85
|
-
// import { library } from "@fortawesome/fontawesome-svg-core";
|
|
86
89
|
var IconEnum = {
|
|
90
|
+
AnalyticsLight: proLightSvgIcons.faAnalytics,
|
|
91
|
+
BellLight: proLightSvgIcons.faBell,
|
|
92
|
+
BullHornLight: proLightSvgIcons.faBullhorn,
|
|
93
|
+
CalendarDayLight: proLightSvgIcons.faCalendarDay,
|
|
94
|
+
CalendarStarLight: proLightSvgIcons.faCalendarStar,
|
|
95
|
+
ExportLight: proLightSvgIcons.faFileExport,
|
|
96
|
+
FilterLight: proLightSvgIcons.faFilter,
|
|
97
|
+
HelpLight: proLightSvgIcons.faQuestionCircle,
|
|
98
|
+
mapPinLight: proLightSvgIcons.faMapMarkerAlt,
|
|
99
|
+
MicrophoneLight: proLightSvgIcons.faMicrophoneAlt,
|
|
100
|
+
MinusCircleLight: proLightSvgIcons.faMinusCircle,
|
|
101
|
+
PlusCircleLight: proLightSvgIcons.faPlusCircle,
|
|
102
|
+
ReceiptLight: proLightSvgIcons.faReceipt,
|
|
103
|
+
SearchLight: proLightSvgIcons.faSearch,
|
|
104
|
+
SortByLight: proLightSvgIcons.faSortAlt,
|
|
105
|
+
UsersLight: proLightSvgIcons.faUsers,
|
|
106
|
+
VenueLight: proLightSvgIcons.faLandmark,
|
|
107
|
+
AnalyticsSolid: proSolidSvgIcons.faAnalytics,
|
|
108
|
+
CalendarStarSolid: proSolidSvgIcons.faCalendarStar,
|
|
109
|
+
CreditCardFront: proSolidSvgIcons.faCreditCardFront,
|
|
110
|
+
FeeSolid: proSolidSvgIcons.faUsdSquare,
|
|
111
|
+
HomeLight: proSolidSvgIcons.faHome,
|
|
112
|
+
KeySolid: proSolidSvgIcons.faKeySkeleton,
|
|
113
|
+
LongRightArrow: proSolidSvgIcons.faLongArrowRight,
|
|
114
|
+
ReportSolid: proSolidSvgIcons.faFileChartLine,
|
|
115
|
+
SortBy: proSolidSvgIcons.faSortAlt,
|
|
116
|
+
UpgradeSolid: proSolidSvgIcons.faArrowAltSquareUp,
|
|
87
117
|
AudienceRegular: proRegularSvgIcons.faUserFriends,
|
|
88
118
|
BoxOfficeRegular: proRegularSvgIcons.faCashRegister,
|
|
89
119
|
CalculatorRegular: proRegularSvgIcons.faCalculator,
|
|
90
|
-
CalendarStarRegular: proRegularSvgIcons.faCalendarStar,
|
|
91
120
|
Check: proRegularSvgIcons.faCheck,
|
|
92
121
|
Cheers: proRegularSvgIcons.faGlassCheers,
|
|
93
122
|
Clipboard: proRegularSvgIcons.faClipboardList,
|
|
94
123
|
CrownRegular: proRegularSvgIcons.faCrown,
|
|
95
|
-
DashboardRegular: proRegularSvgIcons.faTachometer,
|
|
96
124
|
DeleteRegular: proRegularSvgIcons.faTrash,
|
|
97
125
|
Dollar: proRegularSvgIcons.faDollarSign,
|
|
98
126
|
DownArrow: proRegularSvgIcons.faArrowAltDown,
|
|
99
127
|
DownloadReport: proRegularSvgIcons.faFileDownload,
|
|
100
128
|
Embed: proRegularSvgIcons.faCode,
|
|
101
|
-
Export: proRegularSvgIcons.faFileExport,
|
|
102
129
|
FeeRegular: proRegularSvgIcons.faUsdSquare,
|
|
103
130
|
FilterRegular: proRegularSvgIcons.faFilter,
|
|
104
131
|
GlobeRegular: proRegularSvgIcons.faGlobeAmericas,
|
|
@@ -106,9 +133,7 @@ var IconEnum = {
|
|
|
106
133
|
KeyRegular: proRegularSvgIcons.faKeySkeleton,
|
|
107
134
|
LeftChevron: proRegularSvgIcons.faChevronLeft,
|
|
108
135
|
Link: proRegularSvgIcons.faLink,
|
|
109
|
-
MicrophoneRegular: proRegularSvgIcons.faMicrophoneAlt,
|
|
110
136
|
PrintRegular: proRegularSvgIcons.faPrint,
|
|
111
|
-
ReceiptRegular: proRegularSvgIcons.faReceipt,
|
|
112
137
|
ReportRegular: proRegularSvgIcons.faFileChartLine,
|
|
113
138
|
SearchRegular: proRegularSvgIcons.faSearch,
|
|
114
139
|
TicketRegular: proRegularSvgIcons.faTicketAlt,
|
|
@@ -117,12 +142,11 @@ var IconEnum = {
|
|
|
117
142
|
UpgradeRegular: proRegularSvgIcons.faArrowAltSquareUp,
|
|
118
143
|
Upload: proRegularSvgIcons.faUpload,
|
|
119
144
|
UsersRegular: proRegularSvgIcons.faUsers,
|
|
120
|
-
VenueRegular: proRegularSvgIcons.faLandmark,
|
|
121
145
|
AudienceSolid: freeSolidSvgIcons.faUserFriends,
|
|
122
146
|
BackArrow: freeSolidSvgIcons.faArrowLeft,
|
|
123
147
|
Bold: freeSolidSvgIcons.faBold,
|
|
124
148
|
BoxOfficeSolid: freeSolidSvgIcons.faCashRegister,
|
|
125
|
-
|
|
149
|
+
BullhornSolid: freeSolidSvgIcons.faBullhorn,
|
|
126
150
|
CalculatorSolid: freeSolidSvgIcons.faCalculator,
|
|
127
151
|
CalendarDaySolid: freeSolidSvgIcons.faCalendarDay,
|
|
128
152
|
Cancel: freeSolidSvgIcons.faTimes,
|
|
@@ -138,12 +162,14 @@ var IconEnum = {
|
|
|
138
162
|
EnvelopeSolid: freeSolidSvgIcons.faEnvelope,
|
|
139
163
|
EyeSolid: freeSolidSvgIcons.faEye,
|
|
140
164
|
HelpSolid: freeSolidSvgIcons.faQuestionCircle,
|
|
165
|
+
HomeSolid: freeSolidSvgIcons.faHome,
|
|
141
166
|
Italic: freeSolidSvgIcons.faItalic,
|
|
142
167
|
MicrophoneSolid: freeSolidSvgIcons.faMicrophoneAlt,
|
|
143
168
|
Mobile: freeSolidSvgIcons.faMobileAlt,
|
|
144
169
|
PlusCircle: freeSolidSvgIcons.faPlusCircle,
|
|
145
170
|
PrintSolid: freeSolidSvgIcons.faPrint,
|
|
146
171
|
ReceiptSolid: freeSolidSvgIcons.faReceipt,
|
|
172
|
+
RightChevron: freeSolidSvgIcons.faChevronRight,
|
|
147
173
|
RightChevronCircle: freeSolidSvgIcons.faChevronCircleRight,
|
|
148
174
|
SearchSolid: freeSolidSvgIcons.faSearch,
|
|
149
175
|
Sort: freeSolidSvgIcons.faSort,
|
|
@@ -154,28 +180,15 @@ var IconEnum = {
|
|
|
154
180
|
UsersSolid: freeSolidSvgIcons.faUsers,
|
|
155
181
|
VenueSolid: freeSolidSvgIcons.faLandmark,
|
|
156
182
|
Warning: freeSolidSvgIcons.faExclamationTriangle,
|
|
183
|
+
Menu: freeSolidSvgIcons.faBars,
|
|
157
184
|
Calendar: freeRegularSvgIcons.faCalendarAlt,
|
|
158
185
|
Clock: freeRegularSvgIcons.faClock,
|
|
159
186
|
CopyRegular: freeRegularSvgIcons.faCopy,
|
|
160
187
|
Edit: freeRegularSvgIcons.faEdit,
|
|
161
188
|
EyeRegular: freeRegularSvgIcons.faEye,
|
|
162
189
|
EyeSlashRegular: freeRegularSvgIcons.faEyeSlash,
|
|
163
|
-
HelpRegular: freeRegularSvgIcons.faQuestionCircle,
|
|
164
190
|
SadTear: freeRegularSvgIcons.faSadTear,
|
|
165
191
|
UserRegular: freeRegularSvgIcons.faUser,
|
|
166
|
-
CalendarDayLight: proLightSvgIcons.faCalendarDay,
|
|
167
|
-
mapPinLight: proLightSvgIcons.faMapMarkerAlt,
|
|
168
|
-
MinusCircleLight: proLightSvgIcons.faMinusCircle,
|
|
169
|
-
PlusCircleLight: proLightSvgIcons.faPlusCircle,
|
|
170
|
-
CalendarStarSolid: proSolidSvgIcons.faCalendarStar,
|
|
171
|
-
CreditCardFront: proSolidSvgIcons.faCreditCardFront,
|
|
172
|
-
DashboardSolid: proSolidSvgIcons.faTachometer,
|
|
173
|
-
FeeSolid: proSolidSvgIcons.faUsdSquare,
|
|
174
|
-
KeySolid: proSolidSvgIcons.faKeySkeleton,
|
|
175
|
-
LongRightArrow: proSolidSvgIcons.faLongArrowRight,
|
|
176
|
-
ReportSolid: proSolidSvgIcons.faFileChartLine,
|
|
177
|
-
SortBy: proSolidSvgIcons.faSortAlt,
|
|
178
|
-
UpgradeSolid: proSolidSvgIcons.faArrowAltSquareUp,
|
|
179
192
|
};
|
|
180
193
|
|
|
181
194
|
var Icons = IconEnum;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"module": "build/index.es.js",
|
|
6
6
|
"jsnext:main": "build/index.es.js",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"start": "rollup -c -w",
|
|
11
11
|
"test": "jest --coverage",
|
|
12
12
|
"storybook": "start-storybook -p 9009 -s public",
|
|
13
|
-
"build-storybook": "build-storybook -s public"
|
|
13
|
+
"build-storybook": "build-storybook -s public",
|
|
14
|
+
"generate-icons": "node ./utils/generateIconLibrary.js ./utils/icon-library.csv ./src/components/Icons.ts"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [],
|
|
16
17
|
"author": "",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"@types/styled-components": "^5.0.1",
|
|
27
28
|
"awesome-typescript-loader": "^5.2.1",
|
|
28
29
|
"babel-loader": "^8.0.6",
|
|
30
|
+
"fs-extra": "^9.0.0",
|
|
29
31
|
"jest": "^24.9.0",
|
|
30
32
|
"rollup": "^1.27.13",
|
|
31
33
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
@@ -44,11 +46,12 @@
|
|
|
44
46
|
"@fortawesome/pro-regular-svg-icons": "^5.12.1",
|
|
45
47
|
"@fortawesome/pro-solid-svg-icons": "^5.12.1",
|
|
46
48
|
"@fortawesome/react-fontawesome": "^0.1.9",
|
|
47
|
-
"@sellout/utils": "^0.0.
|
|
49
|
+
"@sellout/utils": "^0.0.16",
|
|
50
|
+
"csvtojson": "^2.0.10",
|
|
48
51
|
"polished": "^3.4.4",
|
|
49
52
|
"react-animate-height": "^2.0.20"
|
|
50
53
|
},
|
|
51
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "da7d0c8f23c7612b36a0f7e0fdbb7daaaa48cdcc",
|
|
52
55
|
"peerDependencies": {
|
|
53
56
|
"react": "^16.13.0",
|
|
54
57
|
"react-dom": "^16.13.0",
|
package/src/components/Icons.ts
CHANGED
|
@@ -1,189 +1,207 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
|
|
94
|
-
|
|
1
|
+
import { faAnalytics as AnalyticsLight} from '@fortawesome/pro-light-svg-icons'
|
|
2
|
+
import { faBell as BellLight} from '@fortawesome/pro-light-svg-icons'
|
|
3
|
+
import { faBullhorn as BullHornLight} from '@fortawesome/pro-light-svg-icons'
|
|
4
|
+
import { faCalendarDay as CalendarDayLight} from '@fortawesome/pro-light-svg-icons'
|
|
5
|
+
import { faCalendarStar as CalendarStarLight} from '@fortawesome/pro-light-svg-icons'
|
|
6
|
+
import { faFileExport as ExportLight} from '@fortawesome/pro-light-svg-icons'
|
|
7
|
+
import { faFilter as FilterLight} from '@fortawesome/pro-light-svg-icons'
|
|
8
|
+
import { faQuestionCircle as HelpLight} from '@fortawesome/pro-light-svg-icons'
|
|
9
|
+
import { faMapMarkerAlt as mapPinLight} from '@fortawesome/pro-light-svg-icons'
|
|
10
|
+
import { faMicrophoneAlt as MicrophoneLight} from '@fortawesome/pro-light-svg-icons'
|
|
11
|
+
import { faMinusCircle as MinusCircleLight} from '@fortawesome/pro-light-svg-icons'
|
|
12
|
+
import { faPlusCircle as PlusCircleLight} from '@fortawesome/pro-light-svg-icons'
|
|
13
|
+
import { faReceipt as ReceiptLight} from '@fortawesome/pro-light-svg-icons'
|
|
14
|
+
import { faSearch as SearchLight} from '@fortawesome/pro-light-svg-icons'
|
|
15
|
+
import { faSortAlt as SortByLight} from '@fortawesome/pro-light-svg-icons'
|
|
16
|
+
import { faUsers as UsersLight} from '@fortawesome/pro-light-svg-icons'
|
|
17
|
+
import { faLandmark as VenueLight} from '@fortawesome/pro-light-svg-icons'
|
|
18
|
+
import { faAnalytics as AnalyticsSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
19
|
+
import { faCalendarStar as CalendarStarSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
20
|
+
import { faCreditCardFront as CreditCardFront} from '@fortawesome/pro-solid-svg-icons'
|
|
21
|
+
import { faUsdSquare as FeeSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
22
|
+
import { faHome as HomeLight} from '@fortawesome/pro-solid-svg-icons'
|
|
23
|
+
import { faKeySkeleton as KeySolid} from '@fortawesome/pro-solid-svg-icons'
|
|
24
|
+
import { faLongArrowRight as LongRightArrow} from '@fortawesome/pro-solid-svg-icons'
|
|
25
|
+
import { faFileChartLine as ReportSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
26
|
+
import { faSortAlt as SortBy} from '@fortawesome/pro-solid-svg-icons'
|
|
27
|
+
import { faArrowAltSquareUp as UpgradeSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
28
|
+
import { faUserFriends as AudienceRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
29
|
+
import { faCashRegister as BoxOfficeRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
30
|
+
import { faCalculator as CalculatorRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
31
|
+
import { faCheck as Check} from '@fortawesome/pro-regular-svg-icons'
|
|
32
|
+
import { faGlassCheers as Cheers} from '@fortawesome/pro-regular-svg-icons'
|
|
33
|
+
import { faClipboardList as Clipboard} from '@fortawesome/pro-regular-svg-icons'
|
|
34
|
+
import { faCrown as CrownRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
35
|
+
import { faTrash as DeleteRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
36
|
+
import { faDollarSign as Dollar} from '@fortawesome/pro-regular-svg-icons'
|
|
37
|
+
import { faArrowAltDown as DownArrow} from '@fortawesome/pro-regular-svg-icons'
|
|
38
|
+
import { faFileDownload as DownloadReport} from '@fortawesome/pro-regular-svg-icons'
|
|
39
|
+
import { faCode as Embed} from '@fortawesome/pro-regular-svg-icons'
|
|
40
|
+
import { faUsdSquare as FeeRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
41
|
+
import { faFilter as FilterRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
42
|
+
import { faGlobeAmericas as GlobeRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
43
|
+
import { faChartLine as GraphGrowth} from '@fortawesome/pro-regular-svg-icons'
|
|
44
|
+
import { faKeySkeleton as KeyRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
45
|
+
import { faChevronLeft as LeftChevron} from '@fortawesome/pro-regular-svg-icons'
|
|
46
|
+
import { faLink as Link} from '@fortawesome/pro-regular-svg-icons'
|
|
47
|
+
import { faPrint as PrintRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
48
|
+
import { faFileChartLine as ReportRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
49
|
+
import { faSearch as SearchRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
50
|
+
import { faTicketAlt as TicketRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
51
|
+
import { faUnlock as Unlock} from '@fortawesome/pro-regular-svg-icons'
|
|
52
|
+
import { faArrowAltUp as UpArrow} from '@fortawesome/pro-regular-svg-icons'
|
|
53
|
+
import { faArrowAltSquareUp as UpgradeRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
54
|
+
import { faUpload as Upload} from '@fortawesome/pro-regular-svg-icons'
|
|
55
|
+
import { faUsers as UsersRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
56
|
+
import { faUserFriends as AudienceSolid} from '@fortawesome/free-solid-svg-icons'
|
|
57
|
+
import { faArrowLeft as BackArrow} from '@fortawesome/free-solid-svg-icons'
|
|
58
|
+
import { faBold as Bold} from '@fortawesome/free-solid-svg-icons'
|
|
59
|
+
import { faCashRegister as BoxOfficeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
60
|
+
import { faBullhorn as BullhornSolid} from '@fortawesome/free-solid-svg-icons'
|
|
61
|
+
import { faCalculator as CalculatorSolid} from '@fortawesome/free-solid-svg-icons'
|
|
62
|
+
import { faCalendarDay as CalendarDaySolid} from '@fortawesome/free-solid-svg-icons'
|
|
63
|
+
import { faTimes as Cancel} from '@fortawesome/free-solid-svg-icons'
|
|
64
|
+
import { faTimesCircle as CancelCircle} from '@fortawesome/free-solid-svg-icons'
|
|
65
|
+
import { faCaretDown as CaretDown} from '@fortawesome/free-solid-svg-icons'
|
|
66
|
+
import { faMoneyBill as Cash} from '@fortawesome/free-solid-svg-icons'
|
|
67
|
+
import { faCheckCircle as CheckCircle} from '@fortawesome/free-solid-svg-icons'
|
|
68
|
+
import { faCopy as CopySolid} from '@fortawesome/free-solid-svg-icons'
|
|
69
|
+
import { faCreditCard as CreditCardBack} from '@fortawesome/free-solid-svg-icons'
|
|
70
|
+
import { faCrown as CrownSolid} from '@fortawesome/free-solid-svg-icons'
|
|
71
|
+
import { faICursor as Cursor} from '@fortawesome/free-solid-svg-icons'
|
|
72
|
+
import { faTrash as DeleteSolid} from '@fortawesome/free-solid-svg-icons'
|
|
73
|
+
import { faEnvelope as EnvelopeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
74
|
+
import { faEye as EyeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
75
|
+
import { faQuestionCircle as HelpSolid} from '@fortawesome/free-solid-svg-icons'
|
|
76
|
+
import { faHome as HomeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
77
|
+
import { faItalic as Italic} from '@fortawesome/free-solid-svg-icons'
|
|
78
|
+
import { faMicrophoneAlt as MicrophoneSolid} from '@fortawesome/free-solid-svg-icons'
|
|
79
|
+
import { faMobileAlt as Mobile} from '@fortawesome/free-solid-svg-icons'
|
|
80
|
+
import { faPlusCircle as PlusCircle} from '@fortawesome/free-solid-svg-icons'
|
|
81
|
+
import { faPrint as PrintSolid} from '@fortawesome/free-solid-svg-icons'
|
|
82
|
+
import { faReceipt as ReceiptSolid} from '@fortawesome/free-solid-svg-icons'
|
|
83
|
+
import { faChevronRight as RightChevron} from '@fortawesome/free-solid-svg-icons'
|
|
84
|
+
import { faChevronCircleRight as RightChevronCircle} from '@fortawesome/free-solid-svg-icons'
|
|
85
|
+
import { faSearch as SearchSolid} from '@fortawesome/free-solid-svg-icons'
|
|
86
|
+
import { faSort as Sort} from '@fortawesome/free-solid-svg-icons'
|
|
87
|
+
import { faTicketAlt as TicketSolid} from '@fortawesome/free-solid-svg-icons'
|
|
88
|
+
import { faUnderline as Underline} from '@fortawesome/free-solid-svg-icons'
|
|
89
|
+
import { faUserCircle as UserCircle} from '@fortawesome/free-solid-svg-icons'
|
|
90
|
+
import { faUser as UserSolid} from '@fortawesome/free-solid-svg-icons'
|
|
91
|
+
import { faUsers as UsersSolid} from '@fortawesome/free-solid-svg-icons'
|
|
92
|
+
import { faLandmark as VenueSolid} from '@fortawesome/free-solid-svg-icons'
|
|
93
|
+
import { faExclamationTriangle as Warning} from '@fortawesome/free-solid-svg-icons'
|
|
94
|
+
import { faBars as Menu} from '@fortawesome/free-solid-svg-icons'
|
|
95
|
+
import { faCalendarAlt as Calendar} from '@fortawesome/free-regular-svg-icons'
|
|
96
|
+
import { faClock as Clock} from '@fortawesome/free-regular-svg-icons'
|
|
97
|
+
import { faCopy as CopyRegular} from '@fortawesome/free-regular-svg-icons'
|
|
98
|
+
import { faEdit as Edit} from '@fortawesome/free-regular-svg-icons'
|
|
99
|
+
import { faEye as EyeRegular} from '@fortawesome/free-regular-svg-icons'
|
|
100
|
+
import { faEyeSlash as EyeSlashRegular} from '@fortawesome/free-regular-svg-icons'
|
|
101
|
+
import { faSadTear as SadTear} from '@fortawesome/free-regular-svg-icons'
|
|
102
|
+
import { faUser as UserRegular} from '@fortawesome/free-regular-svg-icons'
|
|
95
103
|
|
|
96
104
|
export const IconEnum = {
|
|
105
|
+
AnalyticsLight,
|
|
106
|
+
BellLight,
|
|
107
|
+
BullHornLight,
|
|
108
|
+
CalendarDayLight,
|
|
109
|
+
CalendarStarLight,
|
|
110
|
+
ExportLight,
|
|
111
|
+
FilterLight,
|
|
112
|
+
HelpLight,
|
|
113
|
+
mapPinLight,
|
|
114
|
+
MicrophoneLight,
|
|
115
|
+
MinusCircleLight,
|
|
116
|
+
PlusCircleLight,
|
|
117
|
+
ReceiptLight,
|
|
118
|
+
SearchLight,
|
|
119
|
+
SortByLight,
|
|
120
|
+
UsersLight,
|
|
121
|
+
VenueLight,
|
|
122
|
+
AnalyticsSolid,
|
|
123
|
+
CalendarStarSolid,
|
|
124
|
+
CreditCardFront,
|
|
125
|
+
FeeSolid,
|
|
126
|
+
HomeLight,
|
|
127
|
+
KeySolid,
|
|
128
|
+
LongRightArrow,
|
|
129
|
+
ReportSolid,
|
|
130
|
+
SortBy,
|
|
131
|
+
UpgradeSolid,
|
|
97
132
|
AudienceRegular,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
EyeSlashRegular,
|
|
173
|
-
HelpRegular,
|
|
174
|
-
SadTear,
|
|
175
|
-
UserRegular,
|
|
176
|
-
CalendarDayLight,
|
|
177
|
-
mapPinLight,
|
|
178
|
-
MinusCircleLight,
|
|
179
|
-
PlusCircleLight,
|
|
180
|
-
CalendarStarSolid,
|
|
181
|
-
CreditCardFront,
|
|
182
|
-
DashboardSolid,
|
|
183
|
-
FeeSolid,
|
|
184
|
-
KeySolid,
|
|
185
|
-
LongRightArrow,
|
|
186
|
-
ReportSolid,
|
|
187
|
-
SortBy,
|
|
188
|
-
UpgradeSolid,
|
|
133
|
+
BoxOfficeRegular,
|
|
134
|
+
CalculatorRegular,
|
|
135
|
+
Check,
|
|
136
|
+
Cheers,
|
|
137
|
+
Clipboard,
|
|
138
|
+
CrownRegular,
|
|
139
|
+
DeleteRegular,
|
|
140
|
+
Dollar,
|
|
141
|
+
DownArrow,
|
|
142
|
+
DownloadReport,
|
|
143
|
+
Embed,
|
|
144
|
+
FeeRegular,
|
|
145
|
+
FilterRegular,
|
|
146
|
+
GlobeRegular,
|
|
147
|
+
GraphGrowth,
|
|
148
|
+
KeyRegular,
|
|
149
|
+
LeftChevron,
|
|
150
|
+
Link,
|
|
151
|
+
PrintRegular,
|
|
152
|
+
ReportRegular,
|
|
153
|
+
SearchRegular,
|
|
154
|
+
TicketRegular,
|
|
155
|
+
Unlock,
|
|
156
|
+
UpArrow,
|
|
157
|
+
UpgradeRegular,
|
|
158
|
+
Upload,
|
|
159
|
+
UsersRegular,
|
|
160
|
+
AudienceSolid,
|
|
161
|
+
BackArrow,
|
|
162
|
+
Bold,
|
|
163
|
+
BoxOfficeSolid,
|
|
164
|
+
BullhornSolid,
|
|
165
|
+
CalculatorSolid,
|
|
166
|
+
CalendarDaySolid,
|
|
167
|
+
Cancel,
|
|
168
|
+
CancelCircle,
|
|
169
|
+
CaretDown,
|
|
170
|
+
Cash,
|
|
171
|
+
CheckCircle,
|
|
172
|
+
CopySolid,
|
|
173
|
+
CreditCardBack,
|
|
174
|
+
CrownSolid,
|
|
175
|
+
Cursor,
|
|
176
|
+
DeleteSolid,
|
|
177
|
+
EnvelopeSolid,
|
|
178
|
+
EyeSolid,
|
|
179
|
+
HelpSolid,
|
|
180
|
+
HomeSolid,
|
|
181
|
+
Italic,
|
|
182
|
+
MicrophoneSolid,
|
|
183
|
+
Mobile,
|
|
184
|
+
PlusCircle,
|
|
185
|
+
PrintSolid,
|
|
186
|
+
ReceiptSolid,
|
|
187
|
+
RightChevron,
|
|
188
|
+
RightChevronCircle,
|
|
189
|
+
SearchSolid,
|
|
190
|
+
Sort,
|
|
191
|
+
TicketSolid,
|
|
192
|
+
Underline,
|
|
193
|
+
UserCircle,
|
|
194
|
+
UserSolid,
|
|
195
|
+
UsersSolid,
|
|
196
|
+
VenueSolid,
|
|
197
|
+
Warning,
|
|
198
|
+
Menu,
|
|
199
|
+
Calendar,
|
|
200
|
+
Clock,
|
|
201
|
+
CopyRegular,
|
|
202
|
+
Edit,
|
|
203
|
+
EyeRegular,
|
|
204
|
+
EyeSlashRegular,
|
|
205
|
+
SadTear,
|
|
206
|
+
UserRegular,
|
|
189
207
|
};
|
|
@@ -3,13 +3,17 @@ import styled from "styled-components";
|
|
|
3
3
|
import { Colors } from "./../Colors";
|
|
4
4
|
|
|
5
5
|
export enum LoaderSizes {
|
|
6
|
+
FuckingTiny = "FuckingTiny",
|
|
7
|
+
SuperSmall = "SuperSmall",
|
|
6
8
|
VerySmall = "VerySmall",
|
|
7
9
|
Small = "Small",
|
|
8
10
|
Medium = "Medium",
|
|
9
|
-
Large = "Large"
|
|
11
|
+
Large = "Large",
|
|
10
12
|
};
|
|
11
13
|
|
|
12
14
|
const LoaderSizesMap = {
|
|
15
|
+
[LoaderSizes.FuckingTiny]: 14,
|
|
16
|
+
[LoaderSizes.SuperSmall]: 20,
|
|
13
17
|
[LoaderSizes.VerySmall]: 24,
|
|
14
18
|
[LoaderSizes.Small]: 30,
|
|
15
19
|
[LoaderSizes.Medium]: 40,
|