@justfixnyc/component-library 0.56.0 → 0.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/src/index.es.js
CHANGED
|
@@ -2,11 +2,12 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import React, { forwardRef, useId } from 'react';
|
|
5
|
-
import { faPlus, faBan, faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faLocationDot, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope as faEnvelope$
|
|
6
|
-
import { faMailboxOpenLetter, faEnvelopeCircleCheck } from '@awesome.me/kit-6863e5a21e/icons/classic/light';
|
|
7
|
-
import { faPrint, faEyeSlash, faEye, faDownload, faEnvelope, faCircleExclamation, faBookmark } from '@awesome.me/kit-6863e5a21e/icons/classic/regular';
|
|
5
|
+
import { faPlus, faBan, faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faLocationDot, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope as faEnvelope$2, faCommentSms, faCopy, faCirclePlus, faCircleInfo, faCircleExclamation as faCircleExclamation$1, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheckDouble, faCheck, faCaretDown, faCaretRight, faBookmark as faBookmark$1, faSquareArrowUpRight, faArrowsRotateReverse, faArrowDownWideShort, faArrowUpShortWide, faArrowUpArrowDown, faArrowDownLong, faArrowUpLong, faArrowDown, faArrowUpRight, faArrowUp, faArrowRight, faArrowLeft } from '@awesome.me/kit-6863e5a21e/icons/classic/solid';
|
|
6
|
+
import { faMailboxOpenLetter, faPaperPlane, faEnvelopeCircleCheck, faEnvelope } from '@awesome.me/kit-6863e5a21e/icons/classic/light';
|
|
7
|
+
import { faPrint, faEyeSlash, faEye, faDownload, faEnvelope as faEnvelope$1, faCircleExclamation, faBookmark } from '@awesome.me/kit-6863e5a21e/icons/classic/regular';
|
|
8
8
|
import { faXTwitter, faTwitter, faFacebookF } from '@awesome.me/kit-6863e5a21e/icons/classic/brands';
|
|
9
9
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
10
|
+
import { faEnvelopeCircleExclamationLight } from '@awesome.me/kit-6863e5a21e/icons/kit/custom';
|
|
10
11
|
import Select, { components } from 'react-select';
|
|
11
12
|
|
|
12
13
|
const _excluded$9 = ["className", "icon"];
|
|
@@ -112,14 +113,23 @@ const Icon = _ref => {
|
|
|
112
113
|
faIcon = faCommentSms;
|
|
113
114
|
break;
|
|
114
115
|
case 'envelope':
|
|
115
|
-
faIcon = faEnvelope$
|
|
116
|
+
faIcon = faEnvelope$2;
|
|
116
117
|
break;
|
|
117
118
|
case 'envelopeRegular':
|
|
119
|
+
faIcon = faEnvelope$1;
|
|
120
|
+
break;
|
|
121
|
+
case 'envelopeLight':
|
|
118
122
|
faIcon = faEnvelope;
|
|
119
123
|
break;
|
|
120
124
|
case 'envelopeCircleCheck':
|
|
121
125
|
faIcon = faEnvelopeCircleCheck;
|
|
122
126
|
break;
|
|
127
|
+
case 'envelopeCircleExclamationLight':
|
|
128
|
+
faIcon = faEnvelopeCircleExclamationLight;
|
|
129
|
+
break;
|
|
130
|
+
case 'paperPlaneLight':
|
|
131
|
+
faIcon = faPaperPlane;
|
|
132
|
+
break;
|
|
123
133
|
case 'mailboxOpenLetter':
|
|
124
134
|
faIcon = faMailboxOpenLetter;
|
|
125
135
|
break;
|
package/dist/src/index.js
CHANGED
|
@@ -11,6 +11,7 @@ var light = require('@awesome.me/kit-6863e5a21e/icons/classic/light');
|
|
|
11
11
|
var regular = require('@awesome.me/kit-6863e5a21e/icons/classic/regular');
|
|
12
12
|
var brands = require('@awesome.me/kit-6863e5a21e/icons/classic/brands');
|
|
13
13
|
var reactFontawesome = require('@fortawesome/react-fontawesome');
|
|
14
|
+
var custom = require('@awesome.me/kit-6863e5a21e/icons/kit/custom');
|
|
14
15
|
var Select = require('react-select');
|
|
15
16
|
|
|
16
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -129,9 +130,18 @@ const Icon = _ref => {
|
|
|
129
130
|
case 'envelopeRegular':
|
|
130
131
|
faIcon = regular.faEnvelope;
|
|
131
132
|
break;
|
|
133
|
+
case 'envelopeLight':
|
|
134
|
+
faIcon = light.faEnvelope;
|
|
135
|
+
break;
|
|
132
136
|
case 'envelopeCircleCheck':
|
|
133
137
|
faIcon = light.faEnvelopeCircleCheck;
|
|
134
138
|
break;
|
|
139
|
+
case 'envelopeCircleExclamationLight':
|
|
140
|
+
faIcon = custom.faEnvelopeCircleExclamationLight;
|
|
141
|
+
break;
|
|
142
|
+
case 'paperPlaneLight':
|
|
143
|
+
faIcon = light.faPaperPlane;
|
|
144
|
+
break;
|
|
135
145
|
case 'mailboxOpenLetter':
|
|
136
146
|
faIcon = light.faMailboxOpenLetter;
|
|
137
147
|
break;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
3
|
-
export type IconNames = '
|
|
3
|
+
export type IconNames = 'addressCard' | 'arrowDown' | 'arrowDownLong' | 'arrowDownWideShort' | 'arrowLeft' | 'arrowRight' | 'arrowsRotateReverse' | 'arrowUp' | 'arrowUpArrowDown' | 'arrowUpLong' | 'arrowUpRight' | 'arrowUpShortWide' | 'ban' | 'bars' | 'bookmark' | 'bookmarkRegular' | 'building' | 'buildingColumns' | 'caretDown' | 'caretRight' | 'check' | 'checkDouble' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUp' | 'circleExclamation' | 'circleExclamationRegular' | 'circleInfo' | 'circlePlus' | 'copy' | 'download' | 'downloadRegular' | 'envelope' | 'envelopeCircleCheck' | 'envelopeCircleExclamationLight' | 'envelopeLight' | 'envelopeRegular' | 'eye' | 'eyeSlash' | 'facebook' | 'globe' | 'house' | 'locationDot' | 'mailboxOpenLetter' | 'mapLocationDot' | 'memoPad' | 'paperPlaneLight' | 'plus' | 'print' | 'sms' | 'spinner' | 'squareArrowUpRight' | 'twitter' | 'user' | 'xmark' | 'xTwitter';
|
|
4
4
|
export interface IconProps extends Omit<FontAwesomeIconProps, 'icon'> {
|
|
5
5
|
className?: string;
|
|
6
6
|
icon?: IconNames;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@justfixnyc/component-library",
|
|
3
3
|
"description": "JustFix Component Library",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.56.
|
|
5
|
+
"version": "0.56.2",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
7
7
|
"module": "dist/src/index.es.js",
|
|
8
8
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"types": "dist/typings/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@awesome.me/kit-6863e5a21e": "^1.0.
|
|
28
|
+
"@awesome.me/kit-6863e5a21e": "^1.0.4",
|
|
29
29
|
"@babel/runtime": "^7.12.5",
|
|
30
30
|
"@fortawesome/fontawesome-svg-core": "^7.1.0",
|
|
31
31
|
"@fortawesome/react-fontawesome": "^3.1.0",
|