@justfixnyc/component-library 0.36.0 → 0.37.1

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.
@@ -159,7 +159,7 @@
159
159
  word-wrap: break-word;
160
160
  vertical-align: middle;
161
161
  width: fit-content;
162
- padding: 22px 32px;
162
+ padding: 22px 28px;
163
163
  border: 1px solid;
164
164
  border-radius: 100px;
165
165
  transition: all 0.1s linear;
@@ -198,7 +198,7 @@
198
198
  margin-right: 0;
199
199
  }
200
200
  .jfcl-button.jfcl-size-small {
201
- padding: 12px 32px;
201
+ padding: 12px 28px;
202
202
  }
203
203
  .jfcl-button.jfcl-size-small.jfcl-btn-icon-only {
204
204
  padding: 0;
@@ -159,7 +159,7 @@
159
159
  word-wrap: break-word;
160
160
  vertical-align: middle;
161
161
  width: fit-content;
162
- padding: 22px 32px;
162
+ padding: 22px 28px;
163
163
  border: 1px solid;
164
164
  border-radius: 100px;
165
165
  transition: all 0.1s linear;
@@ -198,7 +198,7 @@
198
198
  margin-right: 0;
199
199
  }
200
200
  .jfcl-button.jfcl-size-small {
201
- padding: 12px 32px;
201
+ padding: 12px 28px;
202
202
  }
203
203
  .jfcl-button.jfcl-size-small.jfcl-btn-icon-only {
204
204
  padding: 0;
@@ -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, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCirclePlus, faCircleExclamation, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faSquareArrowUpRight, faArrowRight, faArrowLeft } from '@fortawesome/free-solid-svg-icons';
5
- import { faTwitter, faFacebookF } from '@fortawesome/free-brands-svg-icons';
4
+ import { faXmark, faDownload, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCommentSms, faCirclePlus, faCircleExclamation, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faSquareArrowUpRight, faArrowRight, faArrowLeft } from '@fortawesome/free-solid-svg-icons';
5
+ import { faXTwitter, faTwitter, faFacebookF } from '@fortawesome/free-brands-svg-icons';
6
6
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
7
7
  import Select, { components } from 'react-select';
8
8
 
@@ -49,6 +49,12 @@ const Icon = _ref => {
49
49
  case 'twitter':
50
50
  faIcon = faTwitter;
51
51
  break;
52
+ case 'xTwitter':
53
+ faIcon = faXTwitter;
54
+ break;
55
+ case 'sms':
56
+ faIcon = faCommentSms;
57
+ break;
52
58
  case 'envelope':
53
59
  faIcon = faEnvelope;
54
60
  break;
package/dist/src/index.js CHANGED
@@ -60,6 +60,12 @@ const Icon = _ref => {
60
60
  case 'twitter':
61
61
  faIcon = freeBrandsSvgIcons.faTwitter;
62
62
  break;
63
+ case 'xTwitter':
64
+ faIcon = freeBrandsSvgIcons.faXTwitter;
65
+ break;
66
+ case 'sms':
67
+ faIcon = freeSolidSvgIcons.faCommentSms;
68
+ break;
63
69
  case 'envelope':
64
70
  faIcon = freeSolidSvgIcons.faEnvelope;
65
71
  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' | 'squareArrowUpRight' | 'check' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circlePlus' | 'facebook' | 'twitter' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'download' | 'xmark';
3
+ export type IconNames = 'arrowLeft' | 'arrowRight' | 'squareArrowUpRight' | 'check' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circlePlus' | 'facebook' | 'twitter' | 'xTwitter' | 'sms' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'download' | 'xmark';
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.36.0",
5
+ "version": "0.37.1",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.es.js",
8
8
  "files": [