@justfixnyc/component-library 0.37.1 → 0.39.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.
- package/dist/src/assets/Degular-Light-26580741.woff2 +0 -0
- package/dist/src/assets/Degular-Light-7e2b7661.woff +0 -0
- package/dist/src/assets/Degular-Regular-16c29743.woff2 +0 -0
- package/dist/src/assets/Degular-Regular-527c7e62.woff +0 -0
- package/dist/src/assets/index.css +12 -0
- package/dist/src/assets/index.es.css +12 -0
- package/dist/src/index.es.js +4 -1
- package/dist/src/index.js +3 -0
- package/dist/typings/Components/Icon/Icon.d.ts +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,10 +4,22 @@
|
|
|
4
4
|
font-style: normal;
|
|
5
5
|
src: url("./SuisseIntlMono-Regular-WebS-2b4f81e5.woff2") format("woff2"), url("./SuisseIntlMono-Regular-WebS-3efe1a93.woff") format("woff");
|
|
6
6
|
}
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: "Degular";
|
|
9
|
+
font-weight: 300;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
src: url("./Degular-Light-26580741.woff2") format("woff2"), url("./Degular-Light-7e2b7661.woff") format("woff");
|
|
12
|
+
}
|
|
7
13
|
@font-face {
|
|
8
14
|
font-family: "Degular";
|
|
9
15
|
font-weight: normal;
|
|
10
16
|
font-style: normal;
|
|
17
|
+
src: url("./Degular-Regular-16c29743.woff2") format("woff2"), url("./Degular-Regular-527c7e62.woff") format("woff");
|
|
18
|
+
}
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: "Degular";
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
font-style: normal;
|
|
11
23
|
src: url("./Degular-Medium-8a48b9b1.woff2") format("woff2"), url("./Degular-Medium-c91f21ea.woff") format("woff");
|
|
12
24
|
}
|
|
13
25
|
@font-face {
|
|
@@ -4,10 +4,22 @@
|
|
|
4
4
|
font-style: normal;
|
|
5
5
|
src: url("./SuisseIntlMono-Regular-WebS-2b4f81e5.woff2") format("woff2"), url("./SuisseIntlMono-Regular-WebS-3efe1a93.woff") format("woff");
|
|
6
6
|
}
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: "Degular";
|
|
9
|
+
font-weight: 300;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
src: url("./Degular-Light-26580741.woff2") format("woff2"), url("./Degular-Light-7e2b7661.woff") format("woff");
|
|
12
|
+
}
|
|
7
13
|
@font-face {
|
|
8
14
|
font-family: "Degular";
|
|
9
15
|
font-weight: normal;
|
|
10
16
|
font-style: normal;
|
|
17
|
+
src: url("./Degular-Regular-16c29743.woff2") format("woff2"), url("./Degular-Regular-527c7e62.woff") format("woff");
|
|
18
|
+
}
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: "Degular";
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
font-style: normal;
|
|
11
23
|
src: url("./Degular-Medium-8a48b9b1.woff2") format("woff2"), url("./Degular-Medium-c91f21ea.woff") format("woff");
|
|
12
24
|
}
|
|
13
25
|
@font-face {
|
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 { faXmark, faDownload, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCommentSms, faCirclePlus, faCircleExclamation, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faSquareArrowUpRight, faArrowRight, faArrowLeft } from '@fortawesome/free-solid-svg-icons';
|
|
4
|
+
import { faXmark, faDownload, faGlobe, faUser, faSpinner, faBars, faEnvelope, faCommentSms, faCirclePlus, faCircleInfo, faCircleExclamation, faChevronRight, faChevronLeft, faChevronDown, faChevronUp, faCheck, faSquareArrowUpRight, faArrowRight, faArrowLeft } from '@fortawesome/free-solid-svg-icons';
|
|
5
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';
|
|
@@ -40,6 +40,9 @@ const Icon = _ref => {
|
|
|
40
40
|
case 'circleExclamation':
|
|
41
41
|
faIcon = faCircleExclamation;
|
|
42
42
|
break;
|
|
43
|
+
case 'circleInfo':
|
|
44
|
+
faIcon = faCircleInfo;
|
|
45
|
+
break;
|
|
43
46
|
case 'circlePlus':
|
|
44
47
|
faIcon = faCirclePlus;
|
|
45
48
|
break;
|
package/dist/src/index.js
CHANGED
|
@@ -51,6 +51,9 @@ const Icon = _ref => {
|
|
|
51
51
|
case 'circleExclamation':
|
|
52
52
|
faIcon = freeSolidSvgIcons.faCircleExclamation;
|
|
53
53
|
break;
|
|
54
|
+
case 'circleInfo':
|
|
55
|
+
faIcon = freeSolidSvgIcons.faCircleInfo;
|
|
56
|
+
break;
|
|
54
57
|
case 'circlePlus':
|
|
55
58
|
faIcon = freeSolidSvgIcons.faCirclePlus;
|
|
56
59
|
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' | 'xTwitter' | 'sms' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'download' | 'xmark';
|
|
3
|
+
export type IconNames = 'arrowLeft' | 'arrowRight' | 'squareArrowUpRight' | 'check' | 'chevronUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'circleExclamation' | 'circleInfo' | '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;
|