@justfixnyc/component-library 0.53.3 → 0.53.5
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import React, { forwardRef, useId } from 'react';
|
|
4
|
-
import { faBan, faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faLocationDot, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCommentSms, faCirclePlus, faCircleInfo, faCircleExclamation as faCircleExclamation$1, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faCaretDown, faCaretRight, faSquareArrowUpRight, faArrowsRotateReverse, faArrowDownWideShort, faArrowUpShortWide, faArrowUpArrowDown, faArrowDownLong, faArrowUpLong, faArrowDown, faArrowUp, faArrowRight, faArrowLeft } from '@awesome.me/kit-dd32553919/icons/classic/solid';
|
|
4
|
+
import { faBan, faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faLocationDot, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCommentSms, faCopy, faCirclePlus, faCircleInfo, faCircleExclamation as faCircleExclamation$1, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faCaretDown, faCaretRight, faSquareArrowUpRight, faArrowsRotateReverse, faArrowDownWideShort, faArrowUpShortWide, faArrowUpArrowDown, faArrowDownLong, faArrowUpLong, faArrowDown, faArrowUp, faArrowRight, faArrowLeft } from '@awesome.me/kit-dd32553919/icons/classic/solid';
|
|
5
5
|
import { faPrint, faEyeSlash, faEye, faDownload, faCircleExclamation } from '@awesome.me/kit-dd32553919/icons/classic/regular';
|
|
6
6
|
import { faXTwitter, faTwitter, faFacebookF } from '@awesome.me/kit-dd32553919/icons/classic/brands';
|
|
7
7
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
@@ -79,6 +79,9 @@ const Icon = _ref => {
|
|
|
79
79
|
case 'circlePlus':
|
|
80
80
|
faIcon = faCirclePlus;
|
|
81
81
|
break;
|
|
82
|
+
case 'copy':
|
|
83
|
+
faIcon = faCopy;
|
|
84
|
+
break;
|
|
82
85
|
case 'facebook':
|
|
83
86
|
faIcon = faFacebookF;
|
|
84
87
|
break;
|
|
@@ -109,7 +112,7 @@ const Icon = _ref => {
|
|
|
109
112
|
case 'house':
|
|
110
113
|
faIcon = faHouse;
|
|
111
114
|
break;
|
|
112
|
-
case '
|
|
115
|
+
case 'locationDot':
|
|
113
116
|
faIcon = faLocationDot;
|
|
114
117
|
break;
|
|
115
118
|
case 'memoPad':
|
package/dist/src/index.js
CHANGED
|
@@ -90,6 +90,9 @@ const Icon = _ref => {
|
|
|
90
90
|
case 'circlePlus':
|
|
91
91
|
faIcon = solid.faCirclePlus;
|
|
92
92
|
break;
|
|
93
|
+
case 'copy':
|
|
94
|
+
faIcon = solid.faCopy;
|
|
95
|
+
break;
|
|
93
96
|
case 'facebook':
|
|
94
97
|
faIcon = brands.faFacebookF;
|
|
95
98
|
break;
|
|
@@ -120,7 +123,7 @@ const Icon = _ref => {
|
|
|
120
123
|
case 'house':
|
|
121
124
|
faIcon = solid.faHouse;
|
|
122
125
|
break;
|
|
123
|
-
case '
|
|
126
|
+
case 'locationDot':
|
|
124
127
|
faIcon = solid.faLocationDot;
|
|
125
128
|
break;
|
|
126
129
|
case 'memoPad':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
3
|
-
export type IconNames = 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'arrowDown' | 'arrowUpLong' | 'arrowDownLong' | 'arrowUpArrowDown' | 'arrowUpShortWide' | 'arrowDownWideShort' | 'arrowsRotateReverse' | 'squareArrowUpRight' | 'caretRight' | 'caretDown' | 'check' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circleExclamationRegular' | 'circleInfo' | 'circlePlus' | 'facebook' | 'twitter' | 'xTwitter' | 'sms' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'house' | '
|
|
3
|
+
export type IconNames = 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'arrowDown' | 'arrowUpLong' | 'arrowDownLong' | 'arrowUpArrowDown' | 'arrowUpShortWide' | 'arrowDownWideShort' | 'arrowsRotateReverse' | 'squareArrowUpRight' | 'caretRight' | 'caretDown' | 'check' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circleExclamationRegular' | 'circleInfo' | 'circlePlus' | 'copy' | 'facebook' | 'twitter' | 'xTwitter' | 'sms' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'house' | 'locationDot' | 'memoPad' | 'mapLocationDot' | 'building' | 'addressCard' | 'buildingColumns' | 'download' | 'downloadRegular' | 'xmark' | 'ban' | 'eye' | 'eyeSlash' | 'print';
|
|
4
4
|
export interface IconProps extends Omit<FontAwesomeIconProps, 'icon'> {
|
|
5
5
|
className?: string;
|
|
6
6
|
icon?: IconNames;
|