@justfixnyc/component-library 0.53.4 → 0.53.6

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/README.md CHANGED
@@ -32,5 +32,4 @@ Publishing to NPM registry is more manual because of permission issues that coul
32
32
  ```shell
33
33
  npm run build
34
34
  npm publish --access public --@justfixnyc:registry=https://registry.npmjs.org/
35
-
36
35
  ```
@@ -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 { 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
- import { faPrint, faEyeSlash, faEye, faDownload, faCircleExclamation } from '@awesome.me/kit-dd32553919/icons/classic/regular';
4
+ import { faBan, faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faLocationDot, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope as faEnvelope$1, 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
+ import { faPrint, faEyeSlash, faEye, faDownload, faEnvelope, 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';
8
8
  import Select, { components } from 'react-select';
@@ -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;
@@ -92,7 +95,7 @@ const Icon = _ref => {
92
95
  faIcon = faCommentSms;
93
96
  break;
94
97
  case 'envelope':
95
- faIcon = faEnvelope;
98
+ if (type === 'regular') faIcon = faEnvelope;else faIcon = faEnvelope$1;
96
99
  break;
97
100
  case 'bars':
98
101
  faIcon = faBars;
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;
@@ -103,7 +106,7 @@ const Icon = _ref => {
103
106
  faIcon = solid.faCommentSms;
104
107
  break;
105
108
  case 'envelope':
106
- faIcon = solid.faEnvelope;
109
+ if (type === 'regular') faIcon = regular.faEnvelope;else faIcon = solid.faEnvelope;
107
110
  break;
108
111
  case 'bars':
109
112
  faIcon = solid.faBars;
@@ -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' | 'locationDot' | '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' | '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;
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.53.4",
5
+ "version": "0.53.6",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.es.js",
8
8
  "files": [