@justfixnyc/component-library 0.56.1 → 0.56.4

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.
@@ -36,7 +36,7 @@
36
36
  }
37
37
  @font-face {
38
38
  font-family: "Degular Text";
39
- font-weight: normal;
39
+ font-weight: 500;
40
40
  font-style: normal;
41
41
  src: url("./Degular_Text-Medium-d50a409e.woff2") format("woff2"), url("./Degular_Text-Medium-7ac2ef6b.woff") format("woff");
42
42
  }
@@ -44,7 +44,7 @@
44
44
  font-family: "Degular Text";
45
45
  font-weight: 600;
46
46
  font-style: normal;
47
- src: url("./Degular_Text-Medium-d50a409e.woff2") format("woff2"), url("./Degular_Text-Medium-7ac2ef6b.woff") format("woff");
47
+ src: url("./Degular_Text-Semibold-ba0fa88d.woff2") format("woff2"), url("./Degular_Text-Semibold-d972c06e.woff") format("woff");
48
48
  }
49
49
  .jfcl-sr-only {
50
50
  position: absolute;
@@ -36,7 +36,7 @@
36
36
  }
37
37
  @font-face {
38
38
  font-family: "Degular Text";
39
- font-weight: normal;
39
+ font-weight: 500;
40
40
  font-style: normal;
41
41
  src: url("./Degular_Text-Medium-d50a409e.woff2") format("woff2"), url("./Degular_Text-Medium-7ac2ef6b.woff") format("woff");
42
42
  }
@@ -44,7 +44,7 @@
44
44
  font-family: "Degular Text";
45
45
  font-weight: 600;
46
46
  font-style: normal;
47
- src: url("./Degular_Text-Medium-d50a409e.woff2") format("woff2"), url("./Degular_Text-Medium-7ac2ef6b.woff") format("woff");
47
+ src: url("./Degular_Text-Semibold-ba0fa88d.woff2") format("woff2"), url("./Degular_Text-Semibold-d972c06e.woff") format("woff");
48
48
  }
49
49
  .jfcl-sr-only {
50
50
  position: absolute;
@@ -2,11 +2,12 @@ import _extends from '@babel/runtime/helpers/extends';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import classNames from 'classnames';
4
4
  import React, { forwardRef, useId } from 'react';
5
- import { faPlus, 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, faCheckDouble, faCheck, faCaretDown, faCaretRight, faBookmark as faBookmark$1, faSquareArrowUpRight, faArrowsRotateReverse, faArrowDownWideShort, faArrowUpShortWide, faArrowUpArrowDown, faArrowDownLong, faArrowUpLong, faArrowDown, faArrowUpRight, faArrowUp, faArrowRight, faArrowLeft } from '@awesome.me/kit-6863e5a21e/icons/classic/solid';
6
- import { faMailboxOpenLetter, faPaperPlane, faEnvelopeCircleCheck } from '@awesome.me/kit-6863e5a21e/icons/classic/light';
7
- import { faPrint, faEyeSlash, faEye, faDownload, faEnvelope, faCircleExclamation, faBookmark } from '@awesome.me/kit-6863e5a21e/icons/classic/regular';
5
+ import { faPlus, faBan, faXmark, faDownload as faDownload$1, faBuildingColumns, faAddressCard, faBuilding, faMapLocationDot, faMemoPad, faLocationDot, faHouse, faGlobe, faUser, faSpinner, faBars, faEnvelope as faEnvelope$2, faCommentSms, faCopy, faCirclePlus, faCircleInfo, faCircleExclamation as faCircleExclamation$1, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheckDouble, faCheck, faCaretDown, faCaretRight, faBookmark as faBookmark$1, faSquareArrowUpRight, faArrowsRotateReverse, faArrowDownWideShort, faArrowUpShortWide, faArrowUpArrowDown, faArrowDownLong, faArrowUpLong, faArrowDown, faArrowUpRight, faArrowUp, faArrowRight, faArrowLeft } from '@awesome.me/kit-6863e5a21e/icons/classic/solid';
6
+ import { faMailboxOpenLetter, faPaperPlane, faEnvelopeCircleCheck, faEnvelope } from '@awesome.me/kit-6863e5a21e/icons/classic/light';
7
+ import { faPrint, faEyeSlash, faEye, faDownload, faEnvelope as faEnvelope$1, faCircleExclamation, faBookmark } from '@awesome.me/kit-6863e5a21e/icons/classic/regular';
8
8
  import { faXTwitter, faTwitter, faFacebookF } from '@awesome.me/kit-6863e5a21e/icons/classic/brands';
9
9
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
10
+ import { faEnvelopeCircleExclamationLight } from '@awesome.me/kit-6863e5a21e/icons/kit/custom';
10
11
  import Select, { components } from 'react-select';
11
12
 
12
13
  const _excluded$9 = ["className", "icon"];
@@ -112,14 +113,20 @@ const Icon = _ref => {
112
113
  faIcon = faCommentSms;
113
114
  break;
114
115
  case 'envelope':
115
- faIcon = faEnvelope$1;
116
+ faIcon = faEnvelope$2;
116
117
  break;
117
118
  case 'envelopeRegular':
119
+ faIcon = faEnvelope$1;
120
+ break;
121
+ case 'envelopeLight':
118
122
  faIcon = faEnvelope;
119
123
  break;
120
124
  case 'envelopeCircleCheck':
121
125
  faIcon = faEnvelopeCircleCheck;
122
126
  break;
127
+ case 'envelopeCircleExclamationLight':
128
+ faIcon = faEnvelopeCircleExclamationLight;
129
+ break;
123
130
  case 'paperPlaneLight':
124
131
  faIcon = faPaperPlane;
125
132
  break;
package/dist/src/index.js CHANGED
@@ -11,6 +11,7 @@ var light = require('@awesome.me/kit-6863e5a21e/icons/classic/light');
11
11
  var regular = require('@awesome.me/kit-6863e5a21e/icons/classic/regular');
12
12
  var brands = require('@awesome.me/kit-6863e5a21e/icons/classic/brands');
13
13
  var reactFontawesome = require('@fortawesome/react-fontawesome');
14
+ var custom = require('@awesome.me/kit-6863e5a21e/icons/kit/custom');
14
15
  var Select = require('react-select');
15
16
 
16
17
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -129,9 +130,15 @@ const Icon = _ref => {
129
130
  case 'envelopeRegular':
130
131
  faIcon = regular.faEnvelope;
131
132
  break;
133
+ case 'envelopeLight':
134
+ faIcon = light.faEnvelope;
135
+ break;
132
136
  case 'envelopeCircleCheck':
133
137
  faIcon = light.faEnvelopeCircleCheck;
134
138
  break;
139
+ case 'envelopeCircleExclamationLight':
140
+ faIcon = custom.faEnvelopeCircleExclamationLight;
141
+ break;
135
142
  case 'paperPlaneLight':
136
143
  faIcon = light.faPaperPlane;
137
144
  break;
@@ -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' | 'arrowUpRight' | 'arrowDown' | 'arrowUpLong' | 'arrowDownLong' | 'arrowUpArrowDown' | 'arrowUpShortWide' | 'arrowDownWideShort' | 'arrowsRotateReverse' | 'squareArrowUpRight' | 'bookmark' | 'bookmarkRegular' | 'caretRight' | 'caretDown' | 'check' | 'checkDouble' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circleExclamationRegular' | 'circleInfo' | 'circlePlus' | 'copy' | 'facebook' | 'twitter' | 'xTwitter' | 'sms' | 'envelope' | 'envelopeRegular' | 'envelopeCircleCheck' | 'paperPlaneLight' | 'bars' | 'spinner' | 'user' | 'globe' | 'house' | 'locationDot' | 'memoPad' | 'mapLocationDot' | 'building' | 'addressCard' | 'buildingColumns' | 'download' | 'downloadRegular' | 'xmark' | 'ban' | 'eye' | 'eyeSlash' | 'print' | 'plus' | 'mailboxOpenLetter';
3
+ export type IconNames = 'addressCard' | 'arrowDown' | 'arrowDownLong' | 'arrowDownWideShort' | 'arrowLeft' | 'arrowRight' | 'arrowsRotateReverse' | 'arrowUp' | 'arrowUpArrowDown' | 'arrowUpLong' | 'arrowUpRight' | 'arrowUpShortWide' | 'ban' | 'bars' | 'bookmark' | 'bookmarkRegular' | 'building' | 'buildingColumns' | 'caretDown' | 'caretRight' | 'check' | 'checkDouble' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUp' | 'circleExclamation' | 'circleExclamationRegular' | 'circleInfo' | 'circlePlus' | 'copy' | 'download' | 'downloadRegular' | 'envelope' | 'envelopeCircleCheck' | 'envelopeCircleExclamationLight' | 'envelopeLight' | 'envelopeRegular' | 'eye' | 'eyeSlash' | 'facebook' | 'globe' | 'house' | 'locationDot' | 'mailboxOpenLetter' | 'mapLocationDot' | 'memoPad' | 'paperPlaneLight' | 'plus' | 'print' | 'sms' | 'spinner' | 'squareArrowUpRight' | 'twitter' | 'user' | 'xmark' | 'xTwitter';
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.56.1",
5
+ "version": "0.56.4",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.es.js",
8
8
  "files": [
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "types": "dist/typings/index.d.ts",
27
27
  "dependencies": {
28
- "@awesome.me/kit-6863e5a21e": "^1.0.3",
28
+ "@awesome.me/kit-6863e5a21e": "^1.0.4",
29
29
  "@babel/runtime": "^7.12.5",
30
30
  "@fortawesome/fontawesome-svg-core": "^7.1.0",
31
31
  "@fortawesome/react-fontawesome": "^3.1.0",