@justfixnyc/component-library 0.47.0 → 0.48.0
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,8 +1,8 @@
|
|
|
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 { faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCommentSms, faCirclePlus, faCircleInfo, faCircleExclamation, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faCaretDown, faCaretRight, faSquareArrowUpRight, faArrowDownWideShort, faArrowUpShortWide, faArrowUpArrowDown, faArrowDownLong, faArrowUpLong, faArrowDown, faArrowUp, faArrowRight, faArrowLeft } from '@awesome.me/kit-dd32553919/icons/classic/solid';
|
|
5
|
-
import { faDownload } from '@awesome.me/kit-dd32553919/icons/classic/regular';
|
|
4
|
+
import { faBan, faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCommentSms, faCirclePlus, faCircleInfo, faCircleExclamation, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faCaretDown, faCaretRight, faSquareArrowUpRight, faArrowDownWideShort, faArrowUpShortWide, faArrowUpArrowDown, faArrowDownLong, faArrowUpLong, faArrowDown, faArrowUp, faArrowRight, faArrowLeft } from '@awesome.me/kit-dd32553919/icons/classic/solid';
|
|
5
|
+
import { faEyeSlash, faDownload } 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';
|
|
8
8
|
import Select, { components } from 'react-select';
|
|
@@ -126,6 +126,12 @@ const Icon = _ref => {
|
|
|
126
126
|
case 'xmark':
|
|
127
127
|
faIcon = faXmark;
|
|
128
128
|
break;
|
|
129
|
+
case 'ban':
|
|
130
|
+
faIcon = faBan;
|
|
131
|
+
break;
|
|
132
|
+
case 'eyeSlash':
|
|
133
|
+
faIcon = faEyeSlash;
|
|
134
|
+
break;
|
|
129
135
|
default:
|
|
130
136
|
console.warn("".concat(icon, " is not a supported icon name."));
|
|
131
137
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
package/dist/src/index.js
CHANGED
|
@@ -137,6 +137,12 @@ const Icon = _ref => {
|
|
|
137
137
|
case 'xmark':
|
|
138
138
|
faIcon = solid.faXmark;
|
|
139
139
|
break;
|
|
140
|
+
case 'ban':
|
|
141
|
+
faIcon = solid.faBan;
|
|
142
|
+
break;
|
|
143
|
+
case 'eyeSlash':
|
|
144
|
+
faIcon = regular.faEyeSlash;
|
|
145
|
+
break;
|
|
140
146
|
default:
|
|
141
147
|
console.warn("".concat(icon, " is not a supported icon name."));
|
|
142
148
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null);
|
|
@@ -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' | 'squareArrowUpRight' | 'caretRight' | 'caretDown' | 'check' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circleInfo' | 'circlePlus' | 'facebook' | 'twitter' | 'xTwitter' | 'sms' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'house' | 'memoPad' | 'mapLocationDot' | 'building' | 'addressCard' | 'buildingColumns' | 'download' | 'downloadRegular' | 'xmark';
|
|
3
|
+
export type IconNames = 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'arrowDown' | 'arrowUpLong' | 'arrowDownLong' | 'arrowUpArrowDown' | 'arrowUpShortWide' | 'arrowDownWideShort' | 'squareArrowUpRight' | 'caretRight' | 'caretDown' | 'check' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circleInfo' | 'circlePlus' | 'facebook' | 'twitter' | 'xTwitter' | 'sms' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'house' | 'memoPad' | 'mapLocationDot' | 'building' | 'addressCard' | 'buildingColumns' | 'download' | 'downloadRegular' | 'xmark' | 'ban' | 'eyeSlash';
|
|
4
4
|
export interface IconProps extends Omit<FontAwesomeIconProps, 'icon'> {
|
|
5
5
|
className?: string;
|
|
6
6
|
icon?: IconNames;
|