@justfixnyc/component-library 0.53.5 → 0.53.7

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, 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, 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, faBookmark as faBookmark$1, 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, faBookmark } 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';
@@ -49,6 +49,9 @@ const Icon = _ref => {
49
49
  case 'squareArrowUpRight':
50
50
  faIcon = faSquareArrowUpRight;
51
51
  break;
52
+ case 'bookmark':
53
+ if (type === 'regular') faIcon = faBookmark;else faIcon = faBookmark$1;
54
+ break;
52
55
  case 'caretRight':
53
56
  faIcon = faCaretRight;
54
57
  break;
@@ -95,7 +98,7 @@ const Icon = _ref => {
95
98
  faIcon = faCommentSms;
96
99
  break;
97
100
  case 'envelope':
98
- faIcon = faEnvelope;
101
+ if (type === 'regular') faIcon = faEnvelope;else faIcon = faEnvelope$1;
99
102
  break;
100
103
  case 'bars':
101
104
  faIcon = faBars;
package/dist/src/index.js CHANGED
@@ -60,6 +60,9 @@ const Icon = _ref => {
60
60
  case 'squareArrowUpRight':
61
61
  faIcon = solid.faSquareArrowUpRight;
62
62
  break;
63
+ case 'bookmark':
64
+ if (type === 'regular') faIcon = regular.faBookmark;else faIcon = solid.faBookmark;
65
+ break;
63
66
  case 'caretRight':
64
67
  faIcon = solid.faCaretRight;
65
68
  break;
@@ -106,7 +109,7 @@ const Icon = _ref => {
106
109
  faIcon = solid.faCommentSms;
107
110
  break;
108
111
  case 'envelope':
109
- faIcon = solid.faEnvelope;
112
+ if (type === 'regular') faIcon = regular.faEnvelope;else faIcon = solid.faEnvelope;
110
113
  break;
111
114
  case 'bars':
112
115
  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' | 'copy' | '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' | 'bookmark' | '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.5",
5
+ "version": "0.53.7",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.es.js",
8
8
  "files": [