@justfixnyc/component-library 0.38.0 → 0.40.0
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 +7 -1
- package/dist/src/index.js +6 -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, faCircleInfo, 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, faArrowDown, faArrowUp, 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';
|
|
@@ -19,6 +19,12 @@ const Icon = _ref => {
|
|
|
19
19
|
case 'arrowRight':
|
|
20
20
|
faIcon = faArrowRight;
|
|
21
21
|
break;
|
|
22
|
+
case 'arrowUp':
|
|
23
|
+
faIcon = faArrowUp;
|
|
24
|
+
break;
|
|
25
|
+
case 'arrowDown':
|
|
26
|
+
faIcon = faArrowDown;
|
|
27
|
+
break;
|
|
22
28
|
case 'squareArrowUpRight':
|
|
23
29
|
faIcon = faSquareArrowUpRight;
|
|
24
30
|
break;
|
package/dist/src/index.js
CHANGED
|
@@ -30,6 +30,12 @@ const Icon = _ref => {
|
|
|
30
30
|
case 'arrowRight':
|
|
31
31
|
faIcon = freeSolidSvgIcons.faArrowRight;
|
|
32
32
|
break;
|
|
33
|
+
case 'arrowUp':
|
|
34
|
+
faIcon = freeSolidSvgIcons.faArrowUp;
|
|
35
|
+
break;
|
|
36
|
+
case 'arrowDown':
|
|
37
|
+
faIcon = freeSolidSvgIcons.faArrowDown;
|
|
38
|
+
break;
|
|
33
39
|
case 'squareArrowUpRight':
|
|
34
40
|
faIcon = freeSolidSvgIcons.faSquareArrowUpRight;
|
|
35
41
|
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' | 'circleInfo' | 'circlePlus' | 'facebook' | 'twitter' | 'xTwitter' | 'sms' | 'envelope' | 'bars' | 'spinner' | 'user' | 'globe' | 'download' | 'xmark';
|
|
3
|
+
export type IconNames = 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'arrowDown' | '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;
|