@justfixnyc/component-library 0.53.1 → 0.53.3
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, 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, 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';
|
|
@@ -109,6 +109,9 @@ const Icon = _ref => {
|
|
|
109
109
|
case 'house':
|
|
110
110
|
faIcon = faHouse;
|
|
111
111
|
break;
|
|
112
|
+
case 'faLocationDot':
|
|
113
|
+
faIcon = faLocationDot;
|
|
114
|
+
break;
|
|
112
115
|
case 'memoPad':
|
|
113
116
|
faIcon = faMemoPad;
|
|
114
117
|
break;
|
|
@@ -413,11 +416,12 @@ const Dropdown = _ref => {
|
|
|
413
416
|
helperText: helperText,
|
|
414
417
|
invalid: invalid,
|
|
415
418
|
invalidText: invalidText
|
|
416
|
-
}), /*#__PURE__*/React.createElement(Select, _extends({
|
|
419
|
+
}), /*#__PURE__*/React.createElement(Select, _extends({
|
|
420
|
+
placeholder: null
|
|
421
|
+
}, props, {
|
|
417
422
|
instanceId: instanceId,
|
|
418
423
|
className: dropdownClassNames,
|
|
419
424
|
classNamePrefix: "jfcl-dropdown",
|
|
420
|
-
placeholder: null,
|
|
421
425
|
isDisabled: disabled,
|
|
422
426
|
options: options
|
|
423
427
|
}, hasOnChange && {
|
package/dist/src/index.js
CHANGED
|
@@ -120,6 +120,9 @@ const Icon = _ref => {
|
|
|
120
120
|
case 'house':
|
|
121
121
|
faIcon = solid.faHouse;
|
|
122
122
|
break;
|
|
123
|
+
case 'faLocationDot':
|
|
124
|
+
faIcon = solid.faLocationDot;
|
|
125
|
+
break;
|
|
123
126
|
case 'memoPad':
|
|
124
127
|
faIcon = solid.faMemoPad;
|
|
125
128
|
break;
|
|
@@ -424,11 +427,12 @@ const Dropdown = _ref => {
|
|
|
424
427
|
helperText: helperText,
|
|
425
428
|
invalid: invalid,
|
|
426
429
|
invalidText: invalidText
|
|
427
|
-
}), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], _extends__default["default"]({
|
|
430
|
+
}), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], _extends__default["default"]({
|
|
431
|
+
placeholder: null
|
|
432
|
+
}, props, {
|
|
428
433
|
instanceId: instanceId,
|
|
429
434
|
className: dropdownClassNames,
|
|
430
435
|
classNamePrefix: "jfcl-dropdown",
|
|
431
|
-
placeholder: null,
|
|
432
436
|
isDisabled: disabled,
|
|
433
437
|
options: options
|
|
434
438
|
}, hasOnChange && {
|
|
@@ -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' | 'memoPad' | 'mapLocationDot' | 'building' | 'addressCard' | 'buildingColumns' | 'download' | 'downloadRegular' | 'xmark' | 'ban' | 'eye' | 'eyeSlash' | 'print';
|
|
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' | 'faLocationDot' | '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;
|