@sellout/ui 0.0.35 → 0.0.36
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 +4 -2
- package/build/components/Icons.d.ts +4 -2
- package/build/index.d.ts +4 -2
- package/build/index.es.js +7 -5
- package/build/index.js +4 -2
- package/package.json +3 -3
- package/src/components/Icons.ts +125 -121
- package/utils/generateIconLibrary.js +4 -6
- package/utils/icon-library.csv +5 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Colors } from "../Colors";
|
|
3
3
|
export declare const Icons: {
|
|
4
|
-
EnvelopeOpenRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
4
|
AnalyticsLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
5
|
BellLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
6
|
BoxOfficeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -11,6 +10,7 @@ export declare const Icons: {
|
|
|
11
10
|
CalendarStarLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
11
|
CheckLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
12
|
EnvelopeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
|
+
EnvelopeOpenRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
14
|
ExportLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
15
|
FilterLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
16
16
|
HelpLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -63,6 +63,7 @@ export declare const Icons: {
|
|
|
63
63
|
SearchRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
64
64
|
Settings: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
65
65
|
SignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
66
|
+
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
66
67
|
TicketRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
67
68
|
UnderlineRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
68
69
|
UnlockRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -70,7 +71,6 @@ export declare const Icons: {
|
|
|
70
71
|
Update: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
71
72
|
UpgradeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
72
73
|
UsersRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
73
|
-
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
74
74
|
AudienceSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
75
75
|
BackArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
76
76
|
BoxOfficeSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -105,6 +105,8 @@ export declare const Icons: {
|
|
|
105
105
|
RightChevronSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
106
106
|
SearchSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
107
107
|
Sort: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
108
|
+
ThumbsUpSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
109
|
+
ThumbsDownSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
108
110
|
TicketSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
109
111
|
UserCircle: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
110
112
|
UserSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const IconEnum: {
|
|
2
|
-
EnvelopeOpenRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
3
2
|
AnalyticsLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
3
|
BellLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
4
|
BoxOfficeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -9,6 +8,7 @@ export declare const IconEnum: {
|
|
|
9
8
|
CalendarStarLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
9
|
CheckLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
10
|
EnvelopeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
+
EnvelopeOpenRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
12
|
ExportLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
13
|
FilterLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
14
|
HelpLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -61,6 +61,7 @@ export declare const IconEnum: {
|
|
|
61
61
|
SearchRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
62
62
|
Settings: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
63
63
|
SignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
64
|
+
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
64
65
|
TicketRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
65
66
|
UnderlineRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
66
67
|
UnlockRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -68,7 +69,6 @@ export declare const IconEnum: {
|
|
|
68
69
|
Update: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
69
70
|
UpgradeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
70
71
|
UsersRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
71
|
-
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
72
72
|
AudienceSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
73
73
|
BackArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
74
74
|
BoxOfficeSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -103,6 +103,8 @@ export declare const IconEnum: {
|
|
|
103
103
|
RightChevronSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
104
104
|
SearchSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
105
105
|
Sort: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
106
|
+
ThumbsUpSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
107
|
+
ThumbsDownSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
106
108
|
TicketSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
107
109
|
UserCircle: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
108
110
|
UserSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
package/build/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import Loader, { LoaderSizes } from "./components/Loader";
|
|
|
7
7
|
import Product from "./components/Product";
|
|
8
8
|
import makeEventHandler from './utils/makeEventHandler';
|
|
9
9
|
declare const Icons: {
|
|
10
|
-
EnvelopeOpenRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
10
|
AnalyticsLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
11
|
BellLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
12
|
BoxOfficeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -17,6 +16,7 @@ declare const Icons: {
|
|
|
17
16
|
CalendarStarLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
17
|
CheckLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
19
18
|
EnvelopeLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
19
|
+
EnvelopeOpenRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
20
20
|
ExportLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
21
21
|
FilterLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
22
22
|
HelpLight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -69,6 +69,7 @@ declare const Icons: {
|
|
|
69
69
|
SearchRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
70
70
|
Settings: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
71
71
|
SignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
72
|
+
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
72
73
|
TicketRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
73
74
|
UnderlineRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
74
75
|
UnlockRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -76,7 +77,6 @@ declare const Icons: {
|
|
|
76
77
|
Update: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
77
78
|
UpgradeRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
78
79
|
UsersRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
79
|
-
SyncRegular: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
80
80
|
AudienceSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
81
81
|
BackArrow: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
82
82
|
BoxOfficeSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -111,6 +111,8 @@ declare const Icons: {
|
|
|
111
111
|
RightChevronSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
112
112
|
SearchSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
113
113
|
Sort: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
114
|
+
ThumbsUpSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
115
|
+
ThumbsDownSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
114
116
|
TicketSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
115
117
|
UserCircle: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
116
118
|
UserSolid: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
package/build/index.es.js
CHANGED
|
@@ -2,10 +2,10 @@ import React, { Fragment, useState } from 'react';
|
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { lighten, darken } from 'polished';
|
|
4
4
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
5
|
-
import {
|
|
5
|
+
import { faAnalytics, faBell, faCashRegister, faBullhorn, faCalendarDay, faCalendarAlt, faCalendarStar, faCheck, faEnvelope, faEnvelopeOpenText, faFileExport, faFilter, faQuestionCircle, faHome, faLock, faMapMarkerAlt, faMicrophoneAlt, faMinusCircle, faMobileAlt, faPlusCircle, faReceipt, faSearch, faSortAlt, faUnlock, faUpload, faUser, faUsers, faLandmark } from '@fortawesome/pro-light-svg-icons';
|
|
6
6
|
import { faAnalytics as faAnalytics$1, faCalendarStar as faCalendarStar$1, faCreditCardFront, faUsdSquare, faKey, faLongArrowRight, faFileChartLine, faSortAlt as faSortAlt$1, faArrowAltSquareUp } from '@fortawesome/pro-solid-svg-icons';
|
|
7
|
-
import { faUserFriends, faBold, faCalculator, faCheck as faCheck$1, faGlassCheers, faClipboardList, faCrown, faTrash, faDollarSign, faArrowAltDown, faFileDownload, faCode, faUsdSquare as faUsdSquare$1, faFilter as faFilter$1, faGlobeAmericas, faChartLine, faItalic, faKey as faKey$1, faChevronLeft, faLink, faPrint, faFileChartLine as faFileChartLine$1, faSearch as faSearch$1, faCog, faSignOut, faTicketAlt, faUnderline, faUnlock as faUnlock$1, faArrowAltUp, faMegaphone, faArrowAltSquareUp as faArrowAltSquareUp$1, faUsers as faUsers$1
|
|
8
|
-
import { faUserFriends as faUserFriends$1, faArrowLeft, faCashRegister as faCashRegister$1, faBullhorn as faBullhorn$1, faCalculator as faCalculator$1, faCalendarDay as faCalendarDay$1, faTimes, faTimesCircle, faCaretDown, faMoneyBill, faCheckCircle, faCopy, faCreditCard, faCrown as faCrown$1, faICursor, faTrash as faTrash$1, faEnvelope as faEnvelope$1, faEye, faQuestionCircle as faQuestionCircle$1, faHome as faHome$1, faInfoCircle, faChevronLeft as faChevronLeft$1, faBars, faMicrophoneAlt as faMicrophoneAlt$1, faMobileAlt as faMobileAlt$1, faPlus, faPlusCircle as faPlusCircle$1, faPrint as faPrint$1, faReceipt as faReceipt$1, faChevronCircleRight, faChevronRight, faSearch as faSearch$2, faSort, faTicketAlt as faTicketAlt$1, faUserCircle, faUser as faUser$1, faUsers as faUsers$2, faLandmark as faLandmark$1, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
7
|
+
import { faUserFriends, faBold, faCalculator, faCheck as faCheck$1, faGlassCheers, faClipboardList, faCrown, faTrash, faDollarSign, faArrowAltDown, faFileDownload, faCode, faUsdSquare as faUsdSquare$1, faFilter as faFilter$1, faGlobeAmericas, faChartLine, faItalic, faKey as faKey$1, faChevronLeft, faLink, faPrint, faFileChartLine as faFileChartLine$1, faSearch as faSearch$1, faCog, faSignOut, faSync, faTicketAlt, faUnderline, faUnlock as faUnlock$1, faArrowAltUp, faMegaphone, faArrowAltSquareUp as faArrowAltSquareUp$1, faUsers as faUsers$1 } from '@fortawesome/pro-regular-svg-icons';
|
|
8
|
+
import { faUserFriends as faUserFriends$1, faArrowLeft, faCashRegister as faCashRegister$1, faBullhorn as faBullhorn$1, faCalculator as faCalculator$1, faCalendarDay as faCalendarDay$1, faTimes, faTimesCircle, faCaretDown, faMoneyBill, faCheckCircle, faCopy, faCreditCard, faCrown as faCrown$1, faICursor, faTrash as faTrash$1, faEnvelope as faEnvelope$1, faEye, faQuestionCircle as faQuestionCircle$1, faHome as faHome$1, faInfoCircle, faChevronLeft as faChevronLeft$1, faBars, faMicrophoneAlt as faMicrophoneAlt$1, faMobileAlt as faMobileAlt$1, faPlus, faPlusCircle as faPlusCircle$1, faPrint as faPrint$1, faReceipt as faReceipt$1, faChevronCircleRight, faChevronRight, faSearch as faSearch$2, faSort, faThumbsUp, faThumbsDown, faTicketAlt as faTicketAlt$1, faUserCircle, faUser as faUser$1, faUsers as faUsers$2, faLandmark as faLandmark$1, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
|
9
9
|
import { faCalendarAlt as faCalendarAlt$1, faClock, faCopy as faCopy$1, faEdit, faEye as faEye$1, faEyeSlash, faLifeRing, faSadTear, faUser as faUser$2 } from '@fortawesome/free-regular-svg-icons';
|
|
10
10
|
import AnimateHeight from 'react-animate-height';
|
|
11
11
|
import { output } from '@sellout/utils/.dist/price';
|
|
@@ -85,7 +85,6 @@ function Loader(_a) {
|
|
|
85
85
|
var templateObject_1;
|
|
86
86
|
|
|
87
87
|
var IconEnum = {
|
|
88
|
-
EnvelopeOpenRegular: faEnvelopeOpenText,
|
|
89
88
|
AnalyticsLight: faAnalytics,
|
|
90
89
|
BellLight: faBell,
|
|
91
90
|
BoxOfficeLight: faCashRegister,
|
|
@@ -95,6 +94,7 @@ var IconEnum = {
|
|
|
95
94
|
CalendarStarLight: faCalendarStar,
|
|
96
95
|
CheckLight: faCheck,
|
|
97
96
|
EnvelopeLight: faEnvelope,
|
|
97
|
+
EnvelopeOpenRegular: faEnvelopeOpenText,
|
|
98
98
|
ExportLight: faFileExport,
|
|
99
99
|
FilterLight: faFilter,
|
|
100
100
|
HelpLight: faQuestionCircle,
|
|
@@ -147,6 +147,7 @@ var IconEnum = {
|
|
|
147
147
|
SearchRegular: faSearch$1,
|
|
148
148
|
Settings: faCog,
|
|
149
149
|
SignOut: faSignOut,
|
|
150
|
+
SyncRegular: faSync,
|
|
150
151
|
TicketRegular: faTicketAlt,
|
|
151
152
|
UnderlineRegular: faUnderline,
|
|
152
153
|
UnlockRegular: faUnlock$1,
|
|
@@ -154,7 +155,6 @@ var IconEnum = {
|
|
|
154
155
|
Update: faMegaphone,
|
|
155
156
|
UpgradeRegular: faArrowAltSquareUp$1,
|
|
156
157
|
UsersRegular: faUsers$1,
|
|
157
|
-
SyncRegular: faSync,
|
|
158
158
|
AudienceSolid: faUserFriends$1,
|
|
159
159
|
BackArrow: faArrowLeft,
|
|
160
160
|
BoxOfficeSolid: faCashRegister$1,
|
|
@@ -189,6 +189,8 @@ var IconEnum = {
|
|
|
189
189
|
RightChevronSolid: faChevronRight,
|
|
190
190
|
SearchSolid: faSearch$2,
|
|
191
191
|
Sort: faSort,
|
|
192
|
+
ThumbsUpSolid: faThumbsUp,
|
|
193
|
+
ThumbsDownSolid: faThumbsDown,
|
|
192
194
|
TicketSolid: faTicketAlt$1,
|
|
193
195
|
UserCircle: faUserCircle,
|
|
194
196
|
UserSolid: faUser$1,
|
package/build/index.js
CHANGED
|
@@ -90,7 +90,6 @@ function Loader(_a) {
|
|
|
90
90
|
var templateObject_1;
|
|
91
91
|
|
|
92
92
|
var IconEnum = {
|
|
93
|
-
EnvelopeOpenRegular: proLightSvgIcons.faEnvelopeOpenText,
|
|
94
93
|
AnalyticsLight: proLightSvgIcons.faAnalytics,
|
|
95
94
|
BellLight: proLightSvgIcons.faBell,
|
|
96
95
|
BoxOfficeLight: proLightSvgIcons.faCashRegister,
|
|
@@ -100,6 +99,7 @@ var IconEnum = {
|
|
|
100
99
|
CalendarStarLight: proLightSvgIcons.faCalendarStar,
|
|
101
100
|
CheckLight: proLightSvgIcons.faCheck,
|
|
102
101
|
EnvelopeLight: proLightSvgIcons.faEnvelope,
|
|
102
|
+
EnvelopeOpenRegular: proLightSvgIcons.faEnvelopeOpenText,
|
|
103
103
|
ExportLight: proLightSvgIcons.faFileExport,
|
|
104
104
|
FilterLight: proLightSvgIcons.faFilter,
|
|
105
105
|
HelpLight: proLightSvgIcons.faQuestionCircle,
|
|
@@ -152,6 +152,7 @@ var IconEnum = {
|
|
|
152
152
|
SearchRegular: proRegularSvgIcons.faSearch,
|
|
153
153
|
Settings: proRegularSvgIcons.faCog,
|
|
154
154
|
SignOut: proRegularSvgIcons.faSignOut,
|
|
155
|
+
SyncRegular: proRegularSvgIcons.faSync,
|
|
155
156
|
TicketRegular: proRegularSvgIcons.faTicketAlt,
|
|
156
157
|
UnderlineRegular: proRegularSvgIcons.faUnderline,
|
|
157
158
|
UnlockRegular: proRegularSvgIcons.faUnlock,
|
|
@@ -159,7 +160,6 @@ var IconEnum = {
|
|
|
159
160
|
Update: proRegularSvgIcons.faMegaphone,
|
|
160
161
|
UpgradeRegular: proRegularSvgIcons.faArrowAltSquareUp,
|
|
161
162
|
UsersRegular: proRegularSvgIcons.faUsers,
|
|
162
|
-
SyncRegular: proRegularSvgIcons.faSync,
|
|
163
163
|
AudienceSolid: freeSolidSvgIcons.faUserFriends,
|
|
164
164
|
BackArrow: freeSolidSvgIcons.faArrowLeft,
|
|
165
165
|
BoxOfficeSolid: freeSolidSvgIcons.faCashRegister,
|
|
@@ -194,6 +194,8 @@ var IconEnum = {
|
|
|
194
194
|
RightChevronSolid: freeSolidSvgIcons.faChevronRight,
|
|
195
195
|
SearchSolid: freeSolidSvgIcons.faSearch,
|
|
196
196
|
Sort: freeSolidSvgIcons.faSort,
|
|
197
|
+
ThumbsUpSolid: freeSolidSvgIcons.faThumbsUp,
|
|
198
|
+
ThumbsDownSolid: freeSolidSvgIcons.faThumbsDown,
|
|
197
199
|
TicketSolid: freeSolidSvgIcons.faTicketAlt,
|
|
198
200
|
UserCircle: freeSolidSvgIcons.faUserCircle,
|
|
199
201
|
UserSolid: freeSolidSvgIcons.faUser,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"module": "build/index.es.js",
|
|
6
6
|
"jsnext:main": "build/index.es.js",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"@fortawesome/pro-regular-svg-icons": "^5.12.1",
|
|
47
47
|
"@fortawesome/pro-solid-svg-icons": "^5.12.1",
|
|
48
48
|
"@fortawesome/react-fontawesome": "^0.1.9",
|
|
49
|
-
"@sellout/utils": "^0.0.
|
|
49
|
+
"@sellout/utils": "^0.0.36",
|
|
50
50
|
"csvtojson": "^2.0.10",
|
|
51
51
|
"polished": "^3.4.4",
|
|
52
52
|
"react-animate-height": "^2.0.20"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "ceb1b397ac0e0e863b3e8b0c01fccf1e64ba1ed7",
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^16.13.0",
|
|
57
57
|
"react-dom": "^16.13.0",
|
package/src/components/Icons.ts
CHANGED
|
@@ -1,125 +1,126 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { faFileExport as ExportLight} from '@fortawesome/pro-light-svg-icons'
|
|
12
|
-
import { faFilter as FilterLight} from '@fortawesome/pro-light-svg-icons'
|
|
13
|
-
import { faQuestionCircle as HelpLight} from '@fortawesome/pro-light-svg-icons'
|
|
14
|
-
import { faHome as HomeLight} from '@fortawesome/pro-light-svg-icons'
|
|
15
|
-
import { faLock as Lock} from '@fortawesome/pro-light-svg-icons'
|
|
16
|
-
import { faMapMarkerAlt as mapPinLight} from '@fortawesome/pro-light-svg-icons'
|
|
17
|
-
import { faMicrophoneAlt as MicrophoneLight} from '@fortawesome/pro-light-svg-icons'
|
|
18
|
-
import { faMinusCircle as MinusCircleLight} from '@fortawesome/pro-light-svg-icons'
|
|
19
|
-
import { faMobileAlt as MobileLight} from '@fortawesome/pro-light-svg-icons'
|
|
20
|
-
import { faPlusCircle as PlusCircleLight} from '@fortawesome/pro-light-svg-icons'
|
|
21
|
-
import { faReceipt as ReceiptLight} from '@fortawesome/pro-light-svg-icons'
|
|
22
|
-
import { faSearch as SearchLight} from '@fortawesome/pro-light-svg-icons'
|
|
23
|
-
import { faSortAlt as SortByLight} from '@fortawesome/pro-light-svg-icons'
|
|
24
|
-
import { faUnlock as UnlockLight} from '@fortawesome/pro-light-svg-icons'
|
|
25
|
-
import { faUpload as UploadLight} from '@fortawesome/pro-light-svg-icons'
|
|
26
|
-
import { faUser as UserLight} from '@fortawesome/pro-light-svg-icons'
|
|
27
|
-
import { faUsers as UsersLight} from '@fortawesome/pro-light-svg-icons'
|
|
28
|
-
import { faLandmark as VenueLight} from '@fortawesome/pro-light-svg-icons'
|
|
29
|
-
import { faAnalytics as AnalyticsSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
30
|
-
import { faCalendarStar as CalendarStarSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
31
|
-
import { faCreditCardFront as CreditCardFront} from '@fortawesome/pro-solid-svg-icons'
|
|
32
|
-
import { faUsdSquare as FeeSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
33
|
-
import { faKey as KeySolid} from '@fortawesome/pro-solid-svg-icons'
|
|
34
|
-
import { faLongArrowRight as LongRightArrow} from '@fortawesome/pro-solid-svg-icons'
|
|
35
|
-
import { faFileChartLine as ReportSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
36
|
-
import { faSortAlt as SortBy} from '@fortawesome/pro-solid-svg-icons'
|
|
37
|
-
import { faArrowAltSquareUp as UpgradeSolid} from '@fortawesome/pro-solid-svg-icons'
|
|
38
|
-
import { faUserFriends as AudienceRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
39
|
-
import { faBold as BoldRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
40
|
-
import { faCalculator as CalculatorRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
41
|
-
import { faCheck as CheckRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
42
|
-
import { faGlassCheers as Cheers} from '@fortawesome/pro-regular-svg-icons'
|
|
43
|
-
import { faClipboardList as Clipboard} from '@fortawesome/pro-regular-svg-icons'
|
|
44
|
-
import { faCrown as CrownRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
45
|
-
import { faTrash as DeleteRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
46
|
-
import { faDollarSign as Dollar} from '@fortawesome/pro-regular-svg-icons'
|
|
47
|
-
import { faArrowAltDown as DownArrow} from '@fortawesome/pro-regular-svg-icons'
|
|
48
|
-
import { faFileDownload as DownloadReport} from '@fortawesome/pro-regular-svg-icons'
|
|
49
|
-
import { faCode as Embed} from '@fortawesome/pro-regular-svg-icons'
|
|
50
|
-
import { faUsdSquare as FeeRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
51
|
-
import { faFilter as FilterRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
52
|
-
import { faGlobeAmericas as GlobeRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
53
|
-
import { faChartLine as GraphGrowth} from '@fortawesome/pro-regular-svg-icons'
|
|
54
|
-
import { faItalic as ItalicRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
55
|
-
import { faKey as KeyRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
56
|
-
import { faChevronLeft as LeftChevronRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
57
|
-
import { faLink as LinkRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
58
|
-
import { faPrint as PrintRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
59
|
-
import { faFileChartLine as ReportRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
60
|
-
import { faSearch as SearchRegular} from '@fortawesome/pro-regular-svg-icons'
|
|
61
|
-
import { faCog as Settings} from '@fortawesome/pro-regular-svg-icons'
|
|
62
|
-
import { faSignOut as SignOut} from '@fortawesome/pro-regular-svg-icons'
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import { faUserFriends as AudienceSolid} from '@fortawesome/free-solid-svg-icons'
|
|
72
|
-
import { faArrowLeft as BackArrow} from '@fortawesome/free-solid-svg-icons'
|
|
73
|
-
import { faCashRegister as BoxOfficeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
74
|
-
import { faBullhorn as BullhornSolid} from '@fortawesome/free-solid-svg-icons'
|
|
75
|
-
import { faCalculator as CalculatorSolid} from '@fortawesome/free-solid-svg-icons'
|
|
76
|
-
import { faCalendarDay as CalendarDaySolid} from '@fortawesome/free-solid-svg-icons'
|
|
77
|
-
import { faTimes as Cancel} from '@fortawesome/free-solid-svg-icons'
|
|
78
|
-
import { faTimesCircle as CancelCircle} from '@fortawesome/free-solid-svg-icons'
|
|
79
|
-
import { faCaretDown as CaretDown} from '@fortawesome/free-solid-svg-icons'
|
|
80
|
-
import { faMoneyBill as Cash} from '@fortawesome/free-solid-svg-icons'
|
|
81
|
-
import { faCheckCircle as CheckCircle} from '@fortawesome/free-solid-svg-icons'
|
|
82
|
-
import { faCopy as CopySolid} from '@fortawesome/free-solid-svg-icons'
|
|
83
|
-
import { faCreditCard as CreditCardBack} from '@fortawesome/free-solid-svg-icons'
|
|
84
|
-
import { faCrown as CrownSolid} from '@fortawesome/free-solid-svg-icons'
|
|
85
|
-
import { faICursor as Cursor} from '@fortawesome/free-solid-svg-icons'
|
|
86
|
-
import { faTrash as DeleteSolid} from '@fortawesome/free-solid-svg-icons'
|
|
87
|
-
import { faEnvelope as EnvelopeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
88
|
-
import { faEye as EyeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
89
|
-
import { faQuestionCircle as HelpSolid} from '@fortawesome/free-solid-svg-icons'
|
|
90
|
-
import { faHome as HomeSolid} from '@fortawesome/free-solid-svg-icons'
|
|
91
|
-
import { faInfoCircle as InfotipSolid} from '@fortawesome/free-solid-svg-icons'
|
|
92
|
-
import { faArrowLeft as LeftArrowSolid} from '@fortawesome/free-solid-svg-icons'
|
|
93
|
-
import { faChevronLeft as LeftChevronSolid} from '@fortawesome/free-solid-svg-icons'
|
|
94
|
-
import { faBars as Menu} from '@fortawesome/free-solid-svg-icons'
|
|
95
|
-
import { faMicrophoneAlt as MicrophoneSolid} from '@fortawesome/free-solid-svg-icons'
|
|
96
|
-
import { faMobileAlt as MobileSolid} from '@fortawesome/free-solid-svg-icons'
|
|
97
|
-
import { faPlus as Plus} from '@fortawesome/free-solid-svg-icons'
|
|
98
|
-
import { faPlusCircle as PlusCircle} from '@fortawesome/free-solid-svg-icons'
|
|
99
|
-
import { faPrint as PrintSolid} from '@fortawesome/free-solid-svg-icons'
|
|
100
|
-
import { faReceipt as ReceiptSolid} from '@fortawesome/free-solid-svg-icons'
|
|
101
|
-
import { faChevronCircleRight as RightChevronCircle} from '@fortawesome/free-solid-svg-icons'
|
|
102
|
-
import { faChevronRight as RightChevronSolid} from '@fortawesome/free-solid-svg-icons'
|
|
103
|
-
import { faSearch as SearchSolid} from '@fortawesome/free-solid-svg-icons'
|
|
104
|
-
import { faSort as Sort} from '@fortawesome/free-solid-svg-icons'
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
1
|
+
import { faAnalytics as AnalyticsLight} from '@fortawesome/pro-light-svg-icons';
|
|
2
|
+
import { faBell as BellLight} from '@fortawesome/pro-light-svg-icons';
|
|
3
|
+
import { faCashRegister as BoxOfficeLight} from '@fortawesome/pro-light-svg-icons';
|
|
4
|
+
import { faBullhorn as BullHornLight} from '@fortawesome/pro-light-svg-icons';
|
|
5
|
+
import { faCalendarDay as CalendarDayLight} from '@fortawesome/pro-light-svg-icons';
|
|
6
|
+
import { faCalendarAlt as CalendarLight} from '@fortawesome/pro-light-svg-icons';
|
|
7
|
+
import { faCalendarStar as CalendarStarLight} from '@fortawesome/pro-light-svg-icons';
|
|
8
|
+
import { faCheck as CheckLight} from '@fortawesome/pro-light-svg-icons';
|
|
9
|
+
import { faEnvelope as EnvelopeLight} from '@fortawesome/pro-light-svg-icons';
|
|
10
|
+
import { faEnvelopeOpenText as EnvelopeOpenRegular} from '@fortawesome/pro-light-svg-icons';
|
|
11
|
+
import { faFileExport as ExportLight} from '@fortawesome/pro-light-svg-icons';
|
|
12
|
+
import { faFilter as FilterLight} from '@fortawesome/pro-light-svg-icons';
|
|
13
|
+
import { faQuestionCircle as HelpLight} from '@fortawesome/pro-light-svg-icons';
|
|
14
|
+
import { faHome as HomeLight} from '@fortawesome/pro-light-svg-icons';
|
|
15
|
+
import { faLock as Lock} from '@fortawesome/pro-light-svg-icons';
|
|
16
|
+
import { faMapMarkerAlt as mapPinLight} from '@fortawesome/pro-light-svg-icons';
|
|
17
|
+
import { faMicrophoneAlt as MicrophoneLight} from '@fortawesome/pro-light-svg-icons';
|
|
18
|
+
import { faMinusCircle as MinusCircleLight} from '@fortawesome/pro-light-svg-icons';
|
|
19
|
+
import { faMobileAlt as MobileLight} from '@fortawesome/pro-light-svg-icons';
|
|
20
|
+
import { faPlusCircle as PlusCircleLight} from '@fortawesome/pro-light-svg-icons';
|
|
21
|
+
import { faReceipt as ReceiptLight} from '@fortawesome/pro-light-svg-icons';
|
|
22
|
+
import { faSearch as SearchLight} from '@fortawesome/pro-light-svg-icons';
|
|
23
|
+
import { faSortAlt as SortByLight} from '@fortawesome/pro-light-svg-icons';
|
|
24
|
+
import { faUnlock as UnlockLight} from '@fortawesome/pro-light-svg-icons';
|
|
25
|
+
import { faUpload as UploadLight} from '@fortawesome/pro-light-svg-icons';
|
|
26
|
+
import { faUser as UserLight} from '@fortawesome/pro-light-svg-icons';
|
|
27
|
+
import { faUsers as UsersLight} from '@fortawesome/pro-light-svg-icons';
|
|
28
|
+
import { faLandmark as VenueLight} from '@fortawesome/pro-light-svg-icons';
|
|
29
|
+
import { faAnalytics as AnalyticsSolid} from '@fortawesome/pro-solid-svg-icons';
|
|
30
|
+
import { faCalendarStar as CalendarStarSolid} from '@fortawesome/pro-solid-svg-icons';
|
|
31
|
+
import { faCreditCardFront as CreditCardFront} from '@fortawesome/pro-solid-svg-icons';
|
|
32
|
+
import { faUsdSquare as FeeSolid} from '@fortawesome/pro-solid-svg-icons';
|
|
33
|
+
import { faKey as KeySolid} from '@fortawesome/pro-solid-svg-icons';
|
|
34
|
+
import { faLongArrowRight as LongRightArrow} from '@fortawesome/pro-solid-svg-icons';
|
|
35
|
+
import { faFileChartLine as ReportSolid} from '@fortawesome/pro-solid-svg-icons';
|
|
36
|
+
import { faSortAlt as SortBy} from '@fortawesome/pro-solid-svg-icons';
|
|
37
|
+
import { faArrowAltSquareUp as UpgradeSolid} from '@fortawesome/pro-solid-svg-icons';
|
|
38
|
+
import { faUserFriends as AudienceRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
39
|
+
import { faBold as BoldRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
40
|
+
import { faCalculator as CalculatorRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
41
|
+
import { faCheck as CheckRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
42
|
+
import { faGlassCheers as Cheers} from '@fortawesome/pro-regular-svg-icons';
|
|
43
|
+
import { faClipboardList as Clipboard} from '@fortawesome/pro-regular-svg-icons';
|
|
44
|
+
import { faCrown as CrownRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
45
|
+
import { faTrash as DeleteRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
46
|
+
import { faDollarSign as Dollar} from '@fortawesome/pro-regular-svg-icons';
|
|
47
|
+
import { faArrowAltDown as DownArrow} from '@fortawesome/pro-regular-svg-icons';
|
|
48
|
+
import { faFileDownload as DownloadReport} from '@fortawesome/pro-regular-svg-icons';
|
|
49
|
+
import { faCode as Embed} from '@fortawesome/pro-regular-svg-icons';
|
|
50
|
+
import { faUsdSquare as FeeRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
51
|
+
import { faFilter as FilterRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
52
|
+
import { faGlobeAmericas as GlobeRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
53
|
+
import { faChartLine as GraphGrowth} from '@fortawesome/pro-regular-svg-icons';
|
|
54
|
+
import { faItalic as ItalicRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
55
|
+
import { faKey as KeyRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
56
|
+
import { faChevronLeft as LeftChevronRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
57
|
+
import { faLink as LinkRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
58
|
+
import { faPrint as PrintRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
59
|
+
import { faFileChartLine as ReportRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
60
|
+
import { faSearch as SearchRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
61
|
+
import { faCog as Settings} from '@fortawesome/pro-regular-svg-icons';
|
|
62
|
+
import { faSignOut as SignOut} from '@fortawesome/pro-regular-svg-icons';
|
|
63
|
+
import { faSync as SyncRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
64
|
+
import { faTicketAlt as TicketRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
65
|
+
import { faUnderline as UnderlineRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
66
|
+
import { faUnlock as UnlockRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
67
|
+
import { faArrowAltUp as UpArrow} from '@fortawesome/pro-regular-svg-icons';
|
|
68
|
+
import { faMegaphone as Update} from '@fortawesome/pro-regular-svg-icons';
|
|
69
|
+
import { faArrowAltSquareUp as UpgradeRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
70
|
+
import { faUsers as UsersRegular} from '@fortawesome/pro-regular-svg-icons';
|
|
71
|
+
import { faUserFriends as AudienceSolid} from '@fortawesome/free-solid-svg-icons';
|
|
72
|
+
import { faArrowLeft as BackArrow} from '@fortawesome/free-solid-svg-icons';
|
|
73
|
+
import { faCashRegister as BoxOfficeSolid} from '@fortawesome/free-solid-svg-icons';
|
|
74
|
+
import { faBullhorn as BullhornSolid} from '@fortawesome/free-solid-svg-icons';
|
|
75
|
+
import { faCalculator as CalculatorSolid} from '@fortawesome/free-solid-svg-icons';
|
|
76
|
+
import { faCalendarDay as CalendarDaySolid} from '@fortawesome/free-solid-svg-icons';
|
|
77
|
+
import { faTimes as Cancel} from '@fortawesome/free-solid-svg-icons';
|
|
78
|
+
import { faTimesCircle as CancelCircle} from '@fortawesome/free-solid-svg-icons';
|
|
79
|
+
import { faCaretDown as CaretDown} from '@fortawesome/free-solid-svg-icons';
|
|
80
|
+
import { faMoneyBill as Cash} from '@fortawesome/free-solid-svg-icons';
|
|
81
|
+
import { faCheckCircle as CheckCircle} from '@fortawesome/free-solid-svg-icons';
|
|
82
|
+
import { faCopy as CopySolid} from '@fortawesome/free-solid-svg-icons';
|
|
83
|
+
import { faCreditCard as CreditCardBack} from '@fortawesome/free-solid-svg-icons';
|
|
84
|
+
import { faCrown as CrownSolid} from '@fortawesome/free-solid-svg-icons';
|
|
85
|
+
import { faICursor as Cursor} from '@fortawesome/free-solid-svg-icons';
|
|
86
|
+
import { faTrash as DeleteSolid} from '@fortawesome/free-solid-svg-icons';
|
|
87
|
+
import { faEnvelope as EnvelopeSolid} from '@fortawesome/free-solid-svg-icons';
|
|
88
|
+
import { faEye as EyeSolid} from '@fortawesome/free-solid-svg-icons';
|
|
89
|
+
import { faQuestionCircle as HelpSolid} from '@fortawesome/free-solid-svg-icons';
|
|
90
|
+
import { faHome as HomeSolid} from '@fortawesome/free-solid-svg-icons';
|
|
91
|
+
import { faInfoCircle as InfotipSolid} from '@fortawesome/free-solid-svg-icons';
|
|
92
|
+
import { faArrowLeft as LeftArrowSolid} from '@fortawesome/free-solid-svg-icons';
|
|
93
|
+
import { faChevronLeft as LeftChevronSolid} from '@fortawesome/free-solid-svg-icons';
|
|
94
|
+
import { faBars as Menu} from '@fortawesome/free-solid-svg-icons';
|
|
95
|
+
import { faMicrophoneAlt as MicrophoneSolid} from '@fortawesome/free-solid-svg-icons';
|
|
96
|
+
import { faMobileAlt as MobileSolid} from '@fortawesome/free-solid-svg-icons';
|
|
97
|
+
import { faPlus as Plus} from '@fortawesome/free-solid-svg-icons';
|
|
98
|
+
import { faPlusCircle as PlusCircle} from '@fortawesome/free-solid-svg-icons';
|
|
99
|
+
import { faPrint as PrintSolid} from '@fortawesome/free-solid-svg-icons';
|
|
100
|
+
import { faReceipt as ReceiptSolid} from '@fortawesome/free-solid-svg-icons';
|
|
101
|
+
import { faChevronCircleRight as RightChevronCircle} from '@fortawesome/free-solid-svg-icons';
|
|
102
|
+
import { faChevronRight as RightChevronSolid} from '@fortawesome/free-solid-svg-icons';
|
|
103
|
+
import { faSearch as SearchSolid} from '@fortawesome/free-solid-svg-icons';
|
|
104
|
+
import { faSort as Sort} from '@fortawesome/free-solid-svg-icons';
|
|
105
|
+
import { faThumbsUp as ThumbsUpSolid} from '@fortawesome/free-solid-svg-icons';
|
|
106
|
+
import { faThumbsDown as ThumbsDownSolid} from '@fortawesome/free-solid-svg-icons';
|
|
107
|
+
import { faTicketAlt as TicketSolid} from '@fortawesome/free-solid-svg-icons';
|
|
108
|
+
import { faUserCircle as UserCircle} from '@fortawesome/free-solid-svg-icons';
|
|
109
|
+
import { faUser as UserSolid} from '@fortawesome/free-solid-svg-icons';
|
|
110
|
+
import { faUsers as UsersSolid} from '@fortawesome/free-solid-svg-icons';
|
|
111
|
+
import { faLandmark as VenueSolid} from '@fortawesome/free-solid-svg-icons';
|
|
112
|
+
import { faExclamationTriangle as Warning} from '@fortawesome/free-solid-svg-icons';
|
|
113
|
+
import { faCalendarAlt as CalendarRegular} from '@fortawesome/free-regular-svg-icons';
|
|
114
|
+
import { faClock as Clock} from '@fortawesome/free-regular-svg-icons';
|
|
115
|
+
import { faCopy as CopyRegular} from '@fortawesome/free-regular-svg-icons';
|
|
116
|
+
import { faEdit as Edit} from '@fortawesome/free-regular-svg-icons';
|
|
117
|
+
import { faEye as EyeRegular} from '@fortawesome/free-regular-svg-icons';
|
|
118
|
+
import { faEyeSlash as EyeSlashRegular} from '@fortawesome/free-regular-svg-icons';
|
|
119
|
+
import { faLifeRing as Help} from '@fortawesome/free-regular-svg-icons';
|
|
120
|
+
import { faSadTear as SadTear} from '@fortawesome/free-regular-svg-icons';
|
|
121
|
+
import { faUser as UserRegular} from '@fortawesome/free-regular-svg-icons';
|
|
120
122
|
|
|
121
123
|
export const IconEnum = {
|
|
122
|
-
EnvelopeOpenRegular,
|
|
123
124
|
AnalyticsLight,
|
|
124
125
|
BellLight,
|
|
125
126
|
BoxOfficeLight,
|
|
@@ -129,6 +130,7 @@ export const IconEnum = {
|
|
|
129
130
|
CalendarStarLight,
|
|
130
131
|
CheckLight,
|
|
131
132
|
EnvelopeLight,
|
|
133
|
+
EnvelopeOpenRegular,
|
|
132
134
|
ExportLight,
|
|
133
135
|
FilterLight,
|
|
134
136
|
HelpLight,
|
|
@@ -181,6 +183,7 @@ export const IconEnum = {
|
|
|
181
183
|
SearchRegular,
|
|
182
184
|
Settings,
|
|
183
185
|
SignOut,
|
|
186
|
+
SyncRegular,
|
|
184
187
|
TicketRegular,
|
|
185
188
|
UnderlineRegular,
|
|
186
189
|
UnlockRegular,
|
|
@@ -188,7 +191,6 @@ export const IconEnum = {
|
|
|
188
191
|
Update,
|
|
189
192
|
UpgradeRegular,
|
|
190
193
|
UsersRegular,
|
|
191
|
-
SyncRegular,
|
|
192
194
|
AudienceSolid,
|
|
193
195
|
BackArrow,
|
|
194
196
|
BoxOfficeSolid,
|
|
@@ -223,6 +225,8 @@ export const IconEnum = {
|
|
|
223
225
|
RightChevronSolid,
|
|
224
226
|
SearchSolid,
|
|
225
227
|
Sort,
|
|
228
|
+
ThumbsUpSolid,
|
|
229
|
+
ThumbsDownSolid,
|
|
226
230
|
TicketSolid,
|
|
227
231
|
UserCircle,
|
|
228
232
|
UserSolid,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const fs = require('fs-extra');
|
|
2
|
-
// const csvFilePath = __basedir + './icon-library.csv';
|
|
3
2
|
const csv = require('csvtojson');
|
|
4
3
|
|
|
5
4
|
const csvFilePath = process.argv[2]
|
|
@@ -7,12 +6,10 @@ const outputFile = process.argv[3];
|
|
|
7
6
|
|
|
8
7
|
if(!csvFilePath || !outputFile) {
|
|
9
8
|
console.log('Error: Please specify a CSV file and output file to generate icons.')
|
|
10
|
-
console.log('
|
|
9
|
+
console.log('Usage: node generateIconLibrary.js path-to-icon-csv-file.csv path-to-output-file.ts');
|
|
11
10
|
process.exit(0);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
|
-
console.log(csvFilePath);
|
|
15
|
-
|
|
16
13
|
csv()
|
|
17
14
|
.fromFile(csvFilePath)
|
|
18
15
|
.then((jsonObj) => {
|
|
@@ -22,7 +19,7 @@ csv()
|
|
|
22
19
|
key = `@fortawesome/${key}-svg-icons`;
|
|
23
20
|
|
|
24
21
|
icon = {
|
|
25
|
-
import: `import { ${icon['FA Name']} as ${icon.Name}} from '${key}'
|
|
22
|
+
import: `import { ${icon['FA Name']} as ${icon.Name}} from '${key}';`,
|
|
26
23
|
export: `${icon.Name}`,
|
|
27
24
|
};
|
|
28
25
|
|
|
@@ -48,4 +45,5 @@ csv()
|
|
|
48
45
|
})
|
|
49
46
|
.then(async (finalText) => await fs.writeFile(outputFile, finalText, 'utf8'))
|
|
50
47
|
.catch(e => console.error(e));
|
|
51
|
-
|
|
48
|
+
|
|
49
|
+
console.log('Finished');
|
package/utils/icon-library.csv
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Icon,Name,Library,Weight,FA Name
|
|
2
|
-
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/envelope-open-text-light.svg,EnvelopeOpenRegular,Pro,Light,faEnvelopeOpenText
|
|
3
2
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/cc-amex-brands.svg,Amex,Brands,,faCcAmex
|
|
4
3
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/analytics-light.svg,AnalyticsLight,Pro,Light,faAnalytics
|
|
5
4
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/analytics-solid.svg,AnalyticsSolid,Pro,Solid,faAnalytics
|
|
@@ -46,6 +45,7 @@ FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/file-download-regular.s
|
|
|
46
45
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/edit-regular.svg,Edit,Free,Regular,faEdit
|
|
47
46
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/code-regular_(1).svg,Embed,Pro,Regular,faCode
|
|
48
47
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/envelope-light.svg,EnvelopeLight,Pro,Light,faEnvelope
|
|
48
|
+
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/envelope-open-text-light.svg,EnvelopeOpenRegular,Pro,Light,faEnvelopeOpenText
|
|
49
49
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/envelope-solid.svg,EnvelopeSolid,Free,Solid,faEnvelope
|
|
50
50
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/file-export-light.svg,ExportLight,Pro,Light,faFileExport
|
|
51
51
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/eye-regular.svg,EyeRegular,Free,Regular,faEye
|
|
@@ -100,6 +100,9 @@ FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/sign-out-regular.svg,Si
|
|
|
100
100
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/sort-solid.svg,Sort,Free,Solid,faSort
|
|
101
101
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/sort-alt-solid.svg,SortBy,Pro,Solid,faSortAlt
|
|
102
102
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/sort-alt-light.svg,SortByLight,Pro,Light,faSortAlt
|
|
103
|
+
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/sync-regular.svg,SyncRegular,Pro,Regular,faSync
|
|
104
|
+
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/thumbs-up-solid.svg,ThumbsUpSolid,Free,Solid,faThumbsUp
|
|
105
|
+
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/thumbs-down-solid.svg,ThumbsDownSolid,Free,Solid,faThumbsDown
|
|
103
106
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/ticket-alt-regular.svg,TicketRegular,Pro,Regular,faTicketAlt
|
|
104
107
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/ticket-alt-solid.svg,TicketSolid,Free,Solid,faTicketAlt
|
|
105
108
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/underline-regular.svg,UnderlineRegular,Pro,Regular,faUnderline
|
|
@@ -120,5 +123,4 @@ FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/users-solid.svg,UsersSo
|
|
|
120
123
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/landmark-light.svg,VenueLight,Pro,Light,faLandmark
|
|
121
124
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/landmark-solid.svg,VenueSolid,Free,Solid,faLandmark
|
|
122
125
|
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/cc-visa-brands.svg,Visa,Brands,,faCcVisa
|
|
123
|
-
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/exclamation-triangle-solid.svg,Warning,Free,Solid,faExclamationTriangle
|
|
124
|
-
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/sync-regular.svg,SyncRegular,Pro,Regular,faSync
|
|
126
|
+
FontAwesome%20Library%20c273194098044eb2862e141b7e48a687/exclamation-triangle-solid.svg,Warning,Free,Solid,faExclamationTriangle
|