@l3mpire/icons 0.3.5
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 +108 -0
- package/dist/index.d.mts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +641 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +47 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +57 -0
package/README.md
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# @l3mpire/icons
|
|
2
|
+
|
|
3
|
+
Icon component and FontAwesome icon re-exports for the lemDS design system.
|
|
4
|
+
|
|
5
|
+
Wraps `@fortawesome/react-fontawesome` with design-system sizes and provides tree-shakeable icon imports.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @l3mpire/icons
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Peer dependencies:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pnpm add react react-dom
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```tsx
|
|
22
|
+
import { Icon, faMagnifyingGlass } from "@l3mpire/icons";
|
|
23
|
+
|
|
24
|
+
<Icon icon={faMagnifyingGlass} size="md" />
|
|
25
|
+
<Icon icon={faMagnifyingGlass} size="sm" color="var(--core-text-main-secondary)" />
|
|
26
|
+
<Icon icon={faMagnifyingGlass} size="lg" label="Search" />
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Sizes
|
|
30
|
+
|
|
31
|
+
| Size | Glyph | CSS |
|
|
32
|
+
|------|-------|-----|
|
|
33
|
+
| `xs` | 12px | `0.75rem` |
|
|
34
|
+
| `sm` | 14px | `0.875rem` |
|
|
35
|
+
| `md` | 16px | `1rem` |
|
|
36
|
+
| `lg` | 20px | `1.25rem` |
|
|
37
|
+
| `xl` | 24px | `1.5rem` |
|
|
38
|
+
|
|
39
|
+
## Props
|
|
40
|
+
|
|
41
|
+
| Prop | Type | Default | Description |
|
|
42
|
+
|------|------|---------|-------------|
|
|
43
|
+
| `icon` | `IconDefinition` | *required* | FontAwesome icon definition |
|
|
44
|
+
| `size` | `"xs" \| "sm" \| "md" \| "lg" \| "xl"` | `"md"` | Icon size |
|
|
45
|
+
| `color` | `string` | — | CSS color value (inherits `currentColor` if omitted) |
|
|
46
|
+
| `label` | `string` | — | Accessible label (`aria-label`) |
|
|
47
|
+
| `className` | `string` | — | Additional CSS classes |
|
|
48
|
+
|
|
49
|
+
When no `label` is provided, the icon is marked as decorative (`aria-hidden="true"`).
|
|
50
|
+
|
|
51
|
+
## Available Icons
|
|
52
|
+
|
|
53
|
+
### Solid Icons
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
faCheck, faXmark, faPlus, faMinus, faPen, faTrash, faMagnifyingGlass,
|
|
57
|
+
faChevronDown, faChevronUp, faChevronLeft, faChevronRight,
|
|
58
|
+
faArrowLeft, faArrowRight, faEllipsis, faEllipsisVertical,
|
|
59
|
+
faSpinner, faCircleNotch, faTriangleExclamation, faCircleExclamation,
|
|
60
|
+
faCircleCheck, faCircleInfo, faCircleXmark, faBell, faGear,
|
|
61
|
+
faUser, faUsers, faEnvelope, faPaperPlane, faLink, faCopy,
|
|
62
|
+
faDownload, faUpload, faFilter, faSort, faStar, faHeart,
|
|
63
|
+
faEye, faEyeSlash, faLock, faUnlock, faCalendar, faClock,
|
|
64
|
+
faHome, faFolder, faFile, faArrowUp, faArrowDown,
|
|
65
|
+
faGripDotsVertical
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Regular (Outline) Icons
|
|
69
|
+
|
|
70
|
+
Suffixed with `Outline` for clarity:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
faBellOutline, faStarOutline, faHeartOutline, faEnvelopeOutline,
|
|
74
|
+
faEyeOutline, faCalendarOutline, faClockOutline, faFolderOutline,
|
|
75
|
+
faFileOutline, faCopyOutline, faPaperPlaneOutline, faTrashCanOutline,
|
|
76
|
+
faSquarePlusOutline, faCircleCheckOutline, faSquareCheckOutline,
|
|
77
|
+
faPenToSquareOutline, faBookmarkOutline, faCommentOutline,
|
|
78
|
+
faMessageOutline, faUserOutline, faCircleXmarkOutline,
|
|
79
|
+
faFilterOutline, faSortOutline, faArrowUpOutline, faArrowDownOutline
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Pro Regular Icons
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
faCircleExclamationOutline
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
> Requires `@fortawesome/pro-regular-svg-icons` (FontAwesome Pro license).
|
|
89
|
+
|
|
90
|
+
## Tree Shaking
|
|
91
|
+
|
|
92
|
+
All icons are individually exported for optimal tree shaking. Only the icons you import will be included in your bundle:
|
|
93
|
+
|
|
94
|
+
```tsx
|
|
95
|
+
// Only faCheck and faXmark are bundled
|
|
96
|
+
import { Icon, faCheck, faXmark } from "@l3mpire/icons";
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Using Custom Icons
|
|
100
|
+
|
|
101
|
+
You can pass any FontAwesome `IconDefinition` directly:
|
|
102
|
+
|
|
103
|
+
```tsx
|
|
104
|
+
import { Icon } from "@l3mpire/icons";
|
|
105
|
+
import { faCoffee } from "@fortawesome/free-solid-svg-icons";
|
|
106
|
+
|
|
107
|
+
<Icon icon={faCoffee} size="md" />
|
|
108
|
+
```
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
4
|
+
export { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
5
|
+
export { faAddressBook as faAddressBookOutline, faArrowLeftFromLine as faArrowLeftFromLineOutline, faArrowLeft as faArrowLeftOutline, faArrowRightFromBracket as faArrowRightFromBracketOutline, faArrowRightFromLine as faArrowRightFromLineOutline, faArrowRight as faArrowRightOutline, faBadgeDollar as faBadgeDollarOutline, faBell as faBellOutline, faBookmark as faBookmarkOutline, faBrakeWarning as faBrakeWarningOutline, faBuildings as faBuildingsOutline, faBullseye as faBullseyeOutline, faCalendar as faCalendarOutline, faChartLineUp as faChartLineUpOutline, faCheck as faCheckOutline, faChevronDown as faChevronDownOutline, faChevronLeft as faChevronLeftOutline, faChevronRight as faChevronRightOutline, faChevronUp as faChevronUpOutline, faCircleCheck as faCircleCheckOutline, faCircleExclamation as faCircleExclamationOutline, faCircleInfo as faCircleInfoOutline, faCircleNotch as faCircleNotchOutline, faCircleXmark as faCircleXmarkOutline, faClock as faClockOutline, faCoin as faCoinOutline, faComment as faCommentOutline, faCopy as faCopyOutline, faDownload as faDownloadOutline, faEllipsis as faEllipsisOutline, faEllipsisVertical as faEllipsisVerticalOutline, faEnvelope as faEnvelopeOutline, faEye as faEyeOutline, faEyeSlash as faEyeSlashOutline, faFile as faFileOutline, faFilter as faFilterOutline, faFolder as faFolderOutline, faGaugeHigh as faGaugeHighOutline, faGear as faGearOutline, faGripDotsVertical as faGripDotsVerticalOutline, faHeart as faHeartOutline, faHome as faHomeOutline, faInbox as faInboxOutline, faLink as faLinkOutline, faLock as faLockOutline, faMagnifyingGlass as faMagnifyingGlassOutline, faMessage as faMessageOutline, faMinus as faMinusOutline, faPaperPlane as faPaperPlaneOutline, faPaperPlaneTop as faPaperPlaneTopOutline, faPen as faPenOutline, faPenToSquare as faPenToSquareOutline, faPhone as faPhoneOutline, faPlus as faPlusOutline, faRefresh as faRefreshOutline, faShapes as faShapesOutline, faSidebarFlip as faSidebarFlipOutline, faSortDown as faSortDownOutline, faSort as faSortOutline, faSortUp as faSortUpOutline, faSpinner as faSpinnerOutline, faSquareCheck as faSquareCheckOutline, faSquarePlus as faSquarePlusOutline, faStar as faStarOutline, faStars as faStarsOutline, faTrashCan as faTrashCanOutline, faTrash as faTrashOutline, faTriangleExclamation as faTriangleExclamationOutline, faUnlock as faUnlockOutline, faUpload as faUploadOutline, faUser as faUserOutline, faUsers as faUsersOutline, faVideo as faVideoOutline, faXmark as faXmarkOutline } from '@fortawesome/pro-regular-svg-icons';
|
|
6
|
+
export { faAddressBook as faAddressBookSolid, faArrowLeftFromLine as faArrowLeftFromLineSolid, faArrowLeft as faArrowLeftSolid, faArrowRightFromBracket as faArrowRightFromBracketSolid, faArrowRightFromLine as faArrowRightFromLineSolid, faArrowRight as faArrowRightSolid, faBadgeDollar as faBadgeDollarSolid, faBell as faBellSolid, faBookmark as faBookmarkSolid, faBrakeWarning as faBrakeWarningSolid, faBuildings as faBuildingsSolid, faBullseye as faBullseyeSolid, faCalendar as faCalendarSolid, faChartLineUp as faChartLineUpSolid, faCheck as faCheckSolid, faChevronDown as faChevronDownSolid, faChevronLeft as faChevronLeftSolid, faChevronRight as faChevronRightSolid, faChevronUp as faChevronUpSolid, faCircleCheck as faCircleCheckSolid, faCircleExclamation as faCircleExclamationSolid, faCircleInfo as faCircleInfoSolid, faCircleNotch as faCircleNotchSolid, faCircleXmark as faCircleXmarkSolid, faClock as faClockSolid, faCoin as faCoinSolid, faComment as faCommentSolid, faCopy as faCopySolid, faDownload as faDownloadSolid, faEllipsis as faEllipsisSolid, faEllipsisVertical as faEllipsisVerticalSolid, faEnvelope as faEnvelopeSolid, faEyeSlash as faEyeSlashSolid, faEye as faEyeSolid, faFile as faFileSolid, faFilter as faFilterSolid, faFolder as faFolderSolid, faGaugeHigh as faGaugeHighSolid, faGear as faGearSolid, faGripDotsVertical as faGripDotsVerticalSolid, faHeart as faHeartSolid, faHome as faHomeSolid, faInbox as faInboxSolid, faLink as faLinkSolid, faLock as faLockSolid, faMagnifyingGlass as faMagnifyingGlassSolid, faMessage as faMessageSolid, faMinus as faMinusSolid, faPaperPlane as faPaperPlaneSolid, faPaperPlaneTop as faPaperPlaneTopSolid, faPen as faPenSolid, faPenToSquare as faPenToSquareSolid, faPhone as faPhoneSolid, faPlus as faPlusSolid, faRefresh as faRefreshSolid, faShapes as faShapesSolid, faSidebarFlip as faSidebarFlipSolid, faSortDown as faSortDownSolid, faSort as faSortSolid, faSortUp as faSortUpSolid, faSpinner as faSpinnerSolid, faSquareCheck as faSquareCheckSolid, faSquarePlus as faSquarePlusSolid, faStar as faStarSolid, faStars as faStarsSolid, faTrashCan as faTrashCanSolid, faTrash as faTrashSolid, faTriangleExclamation as faTriangleExclamationSolid, faUnlock as faUnlockSolid, faUpload as faUploadSolid, faUser as faUserSolid, faUsers as faUsersSolid, faVideo as faVideoSolid, faXmark as faXmarkSolid } from '@fortawesome/pro-solid-svg-icons';
|
|
7
|
+
|
|
8
|
+
type IconSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
9
|
+
interface IconProps extends Omit<FontAwesomeIconProps, "icon" | "size" | "color"> {
|
|
10
|
+
icon: IconDefinition;
|
|
11
|
+
solidIcon?: IconDefinition;
|
|
12
|
+
solid?: boolean;
|
|
13
|
+
size?: IconSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function Icon({ icon, solidIcon, solid, size, color, label, className, style, ...rest }: IconProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { Icon, type IconProps, type IconSize };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
4
|
+
export { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
5
|
+
export { faAddressBook as faAddressBookOutline, faArrowLeftFromLine as faArrowLeftFromLineOutline, faArrowLeft as faArrowLeftOutline, faArrowRightFromBracket as faArrowRightFromBracketOutline, faArrowRightFromLine as faArrowRightFromLineOutline, faArrowRight as faArrowRightOutline, faBadgeDollar as faBadgeDollarOutline, faBell as faBellOutline, faBookmark as faBookmarkOutline, faBrakeWarning as faBrakeWarningOutline, faBuildings as faBuildingsOutline, faBullseye as faBullseyeOutline, faCalendar as faCalendarOutline, faChartLineUp as faChartLineUpOutline, faCheck as faCheckOutline, faChevronDown as faChevronDownOutline, faChevronLeft as faChevronLeftOutline, faChevronRight as faChevronRightOutline, faChevronUp as faChevronUpOutline, faCircleCheck as faCircleCheckOutline, faCircleExclamation as faCircleExclamationOutline, faCircleInfo as faCircleInfoOutline, faCircleNotch as faCircleNotchOutline, faCircleXmark as faCircleXmarkOutline, faClock as faClockOutline, faCoin as faCoinOutline, faComment as faCommentOutline, faCopy as faCopyOutline, faDownload as faDownloadOutline, faEllipsis as faEllipsisOutline, faEllipsisVertical as faEllipsisVerticalOutline, faEnvelope as faEnvelopeOutline, faEye as faEyeOutline, faEyeSlash as faEyeSlashOutline, faFile as faFileOutline, faFilter as faFilterOutline, faFolder as faFolderOutline, faGaugeHigh as faGaugeHighOutline, faGear as faGearOutline, faGripDotsVertical as faGripDotsVerticalOutline, faHeart as faHeartOutline, faHome as faHomeOutline, faInbox as faInboxOutline, faLink as faLinkOutline, faLock as faLockOutline, faMagnifyingGlass as faMagnifyingGlassOutline, faMessage as faMessageOutline, faMinus as faMinusOutline, faPaperPlane as faPaperPlaneOutline, faPaperPlaneTop as faPaperPlaneTopOutline, faPen as faPenOutline, faPenToSquare as faPenToSquareOutline, faPhone as faPhoneOutline, faPlus as faPlusOutline, faRefresh as faRefreshOutline, faShapes as faShapesOutline, faSidebarFlip as faSidebarFlipOutline, faSortDown as faSortDownOutline, faSort as faSortOutline, faSortUp as faSortUpOutline, faSpinner as faSpinnerOutline, faSquareCheck as faSquareCheckOutline, faSquarePlus as faSquarePlusOutline, faStar as faStarOutline, faStars as faStarsOutline, faTrashCan as faTrashCanOutline, faTrash as faTrashOutline, faTriangleExclamation as faTriangleExclamationOutline, faUnlock as faUnlockOutline, faUpload as faUploadOutline, faUser as faUserOutline, faUsers as faUsersOutline, faVideo as faVideoOutline, faXmark as faXmarkOutline } from '@fortawesome/pro-regular-svg-icons';
|
|
6
|
+
export { faAddressBook as faAddressBookSolid, faArrowLeftFromLine as faArrowLeftFromLineSolid, faArrowLeft as faArrowLeftSolid, faArrowRightFromBracket as faArrowRightFromBracketSolid, faArrowRightFromLine as faArrowRightFromLineSolid, faArrowRight as faArrowRightSolid, faBadgeDollar as faBadgeDollarSolid, faBell as faBellSolid, faBookmark as faBookmarkSolid, faBrakeWarning as faBrakeWarningSolid, faBuildings as faBuildingsSolid, faBullseye as faBullseyeSolid, faCalendar as faCalendarSolid, faChartLineUp as faChartLineUpSolid, faCheck as faCheckSolid, faChevronDown as faChevronDownSolid, faChevronLeft as faChevronLeftSolid, faChevronRight as faChevronRightSolid, faChevronUp as faChevronUpSolid, faCircleCheck as faCircleCheckSolid, faCircleExclamation as faCircleExclamationSolid, faCircleInfo as faCircleInfoSolid, faCircleNotch as faCircleNotchSolid, faCircleXmark as faCircleXmarkSolid, faClock as faClockSolid, faCoin as faCoinSolid, faComment as faCommentSolid, faCopy as faCopySolid, faDownload as faDownloadSolid, faEllipsis as faEllipsisSolid, faEllipsisVertical as faEllipsisVerticalSolid, faEnvelope as faEnvelopeSolid, faEyeSlash as faEyeSlashSolid, faEye as faEyeSolid, faFile as faFileSolid, faFilter as faFilterSolid, faFolder as faFolderSolid, faGaugeHigh as faGaugeHighSolid, faGear as faGearSolid, faGripDotsVertical as faGripDotsVerticalSolid, faHeart as faHeartSolid, faHome as faHomeSolid, faInbox as faInboxSolid, faLink as faLinkSolid, faLock as faLockSolid, faMagnifyingGlass as faMagnifyingGlassSolid, faMessage as faMessageSolid, faMinus as faMinusSolid, faPaperPlane as faPaperPlaneSolid, faPaperPlaneTop as faPaperPlaneTopSolid, faPen as faPenSolid, faPenToSquare as faPenToSquareSolid, faPhone as faPhoneSolid, faPlus as faPlusSolid, faRefresh as faRefreshSolid, faShapes as faShapesSolid, faSidebarFlip as faSidebarFlipSolid, faSortDown as faSortDownSolid, faSort as faSortSolid, faSortUp as faSortUpSolid, faSpinner as faSpinnerSolid, faSquareCheck as faSquareCheckSolid, faSquarePlus as faSquarePlusSolid, faStar as faStarSolid, faStars as faStarsSolid, faTrashCan as faTrashCanSolid, faTrash as faTrashSolid, faTriangleExclamation as faTriangleExclamationSolid, faUnlock as faUnlockSolid, faUpload as faUploadSolid, faUser as faUserSolid, faUsers as faUsersSolid, faVideo as faVideoSolid, faXmark as faXmarkSolid } from '@fortawesome/pro-solid-svg-icons';
|
|
7
|
+
|
|
8
|
+
type IconSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
9
|
+
interface IconProps extends Omit<FontAwesomeIconProps, "icon" | "size" | "color"> {
|
|
10
|
+
icon: IconDefinition;
|
|
11
|
+
solidIcon?: IconDefinition;
|
|
12
|
+
solid?: boolean;
|
|
13
|
+
size?: IconSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function Icon({ icon, solidIcon, solid, size, color, label, className, style, ...rest }: IconProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { Icon, type IconProps, type IconSize };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactFontawesome = require('@fortawesome/react-fontawesome');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
|
|
6
|
+
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
7
|
+
|
|
8
|
+
// src/Icon.tsx
|
|
9
|
+
var sizeMap = {
|
|
10
|
+
xs: "0.75rem",
|
|
11
|
+
sm: "0.875rem",
|
|
12
|
+
md: "1rem",
|
|
13
|
+
lg: "1.25rem",
|
|
14
|
+
xl: "1.5rem"
|
|
15
|
+
};
|
|
16
|
+
function Icon({
|
|
17
|
+
icon,
|
|
18
|
+
solidIcon,
|
|
19
|
+
solid = false,
|
|
20
|
+
size = "md",
|
|
21
|
+
color,
|
|
22
|
+
label,
|
|
23
|
+
className,
|
|
24
|
+
style,
|
|
25
|
+
...rest
|
|
26
|
+
}) {
|
|
27
|
+
const resolvedIcon = solid && solidIcon ? solidIcon : icon;
|
|
28
|
+
const mergedStyle = {
|
|
29
|
+
width: sizeMap[size],
|
|
30
|
+
height: sizeMap[size],
|
|
31
|
+
...style,
|
|
32
|
+
...color ? { color } : {}
|
|
33
|
+
};
|
|
34
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35
|
+
reactFontawesome.FontAwesomeIcon,
|
|
36
|
+
{
|
|
37
|
+
icon: resolvedIcon,
|
|
38
|
+
className,
|
|
39
|
+
style: mergedStyle,
|
|
40
|
+
"aria-label": label,
|
|
41
|
+
"aria-hidden": !label,
|
|
42
|
+
...rest
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
Object.defineProperty(exports, "faAddressBookOutline", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return proRegularSvgIcons.faAddressBook; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "faArrowLeftFromLineOutline", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return proRegularSvgIcons.faArrowLeftFromLine; }
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "faArrowLeftOutline", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return proRegularSvgIcons.faArrowLeft; }
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(exports, "faArrowRightFromBracketOutline", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () { return proRegularSvgIcons.faArrowRightFromBracket; }
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "faArrowRightFromLineOutline", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () { return proRegularSvgIcons.faArrowRightFromLine; }
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, "faArrowRightOutline", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () { return proRegularSvgIcons.faArrowRight; }
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "faBadgeDollarOutline", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return proRegularSvgIcons.faBadgeDollar; }
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "faBellOutline", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return proRegularSvgIcons.faBell; }
|
|
78
|
+
});
|
|
79
|
+
Object.defineProperty(exports, "faBookmarkOutline", {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () { return proRegularSvgIcons.faBookmark; }
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "faBrakeWarningOutline", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () { return proRegularSvgIcons.faBrakeWarning; }
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(exports, "faBuildingsOutline", {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function () { return proRegularSvgIcons.faBuildings; }
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(exports, "faBullseyeOutline", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
get: function () { return proRegularSvgIcons.faBullseye; }
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(exports, "faCalendarOutline", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () { return proRegularSvgIcons.faCalendar; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "faChartLineUpOutline", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return proRegularSvgIcons.faChartLineUp; }
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "faCheckOutline", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () { return proRegularSvgIcons.faCheck; }
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "faChevronDownOutline", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () { return proRegularSvgIcons.faChevronDown; }
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, "faChevronLeftOutline", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () { return proRegularSvgIcons.faChevronLeft; }
|
|
114
|
+
});
|
|
115
|
+
Object.defineProperty(exports, "faChevronRightOutline", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function () { return proRegularSvgIcons.faChevronRight; }
|
|
118
|
+
});
|
|
119
|
+
Object.defineProperty(exports, "faChevronUpOutline", {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: function () { return proRegularSvgIcons.faChevronUp; }
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "faCircleCheckOutline", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return proRegularSvgIcons.faCircleCheck; }
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "faCircleExclamationOutline", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function () { return proRegularSvgIcons.faCircleExclamation; }
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(exports, "faCircleInfoOutline", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () { return proRegularSvgIcons.faCircleInfo; }
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "faCircleNotchOutline", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () { return proRegularSvgIcons.faCircleNotch; }
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "faCircleXmarkOutline", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () { return proRegularSvgIcons.faCircleXmark; }
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, "faClockOutline", {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () { return proRegularSvgIcons.faClock; }
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "faCoinOutline", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return proRegularSvgIcons.faCoin; }
|
|
150
|
+
});
|
|
151
|
+
Object.defineProperty(exports, "faCommentOutline", {
|
|
152
|
+
enumerable: true,
|
|
153
|
+
get: function () { return proRegularSvgIcons.faComment; }
|
|
154
|
+
});
|
|
155
|
+
Object.defineProperty(exports, "faCopyOutline", {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () { return proRegularSvgIcons.faCopy; }
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "faDownloadOutline", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () { return proRegularSvgIcons.faDownload; }
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(exports, "faEllipsisOutline", {
|
|
164
|
+
enumerable: true,
|
|
165
|
+
get: function () { return proRegularSvgIcons.faEllipsis; }
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(exports, "faEllipsisVerticalOutline", {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () { return proRegularSvgIcons.faEllipsisVertical; }
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "faEnvelopeOutline", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return proRegularSvgIcons.faEnvelope; }
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(exports, "faEyeOutline", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () { return proRegularSvgIcons.faEye; }
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(exports, "faEyeSlashOutline", {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () { return proRegularSvgIcons.faEyeSlash; }
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, "faFileOutline", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () { return proRegularSvgIcons.faFile; }
|
|
186
|
+
});
|
|
187
|
+
Object.defineProperty(exports, "faFilterOutline", {
|
|
188
|
+
enumerable: true,
|
|
189
|
+
get: function () { return proRegularSvgIcons.faFilter; }
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(exports, "faFolderOutline", {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
get: function () { return proRegularSvgIcons.faFolder; }
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(exports, "faGaugeHighOutline", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function () { return proRegularSvgIcons.faGaugeHigh; }
|
|
198
|
+
});
|
|
199
|
+
Object.defineProperty(exports, "faGearOutline", {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
get: function () { return proRegularSvgIcons.faGear; }
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(exports, "faGripDotsVerticalOutline", {
|
|
204
|
+
enumerable: true,
|
|
205
|
+
get: function () { return proRegularSvgIcons.faGripDotsVertical; }
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, "faHeartOutline", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () { return proRegularSvgIcons.faHeart; }
|
|
210
|
+
});
|
|
211
|
+
Object.defineProperty(exports, "faHomeOutline", {
|
|
212
|
+
enumerable: true,
|
|
213
|
+
get: function () { return proRegularSvgIcons.faHome; }
|
|
214
|
+
});
|
|
215
|
+
Object.defineProperty(exports, "faInboxOutline", {
|
|
216
|
+
enumerable: true,
|
|
217
|
+
get: function () { return proRegularSvgIcons.faInbox; }
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(exports, "faLinkOutline", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () { return proRegularSvgIcons.faLink; }
|
|
222
|
+
});
|
|
223
|
+
Object.defineProperty(exports, "faLockOutline", {
|
|
224
|
+
enumerable: true,
|
|
225
|
+
get: function () { return proRegularSvgIcons.faLock; }
|
|
226
|
+
});
|
|
227
|
+
Object.defineProperty(exports, "faMagnifyingGlassOutline", {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
get: function () { return proRegularSvgIcons.faMagnifyingGlass; }
|
|
230
|
+
});
|
|
231
|
+
Object.defineProperty(exports, "faMessageOutline", {
|
|
232
|
+
enumerable: true,
|
|
233
|
+
get: function () { return proRegularSvgIcons.faMessage; }
|
|
234
|
+
});
|
|
235
|
+
Object.defineProperty(exports, "faMinusOutline", {
|
|
236
|
+
enumerable: true,
|
|
237
|
+
get: function () { return proRegularSvgIcons.faMinus; }
|
|
238
|
+
});
|
|
239
|
+
Object.defineProperty(exports, "faPaperPlaneOutline", {
|
|
240
|
+
enumerable: true,
|
|
241
|
+
get: function () { return proRegularSvgIcons.faPaperPlane; }
|
|
242
|
+
});
|
|
243
|
+
Object.defineProperty(exports, "faPaperPlaneTopOutline", {
|
|
244
|
+
enumerable: true,
|
|
245
|
+
get: function () { return proRegularSvgIcons.faPaperPlaneTop; }
|
|
246
|
+
});
|
|
247
|
+
Object.defineProperty(exports, "faPenOutline", {
|
|
248
|
+
enumerable: true,
|
|
249
|
+
get: function () { return proRegularSvgIcons.faPen; }
|
|
250
|
+
});
|
|
251
|
+
Object.defineProperty(exports, "faPenToSquareOutline", {
|
|
252
|
+
enumerable: true,
|
|
253
|
+
get: function () { return proRegularSvgIcons.faPenToSquare; }
|
|
254
|
+
});
|
|
255
|
+
Object.defineProperty(exports, "faPhoneOutline", {
|
|
256
|
+
enumerable: true,
|
|
257
|
+
get: function () { return proRegularSvgIcons.faPhone; }
|
|
258
|
+
});
|
|
259
|
+
Object.defineProperty(exports, "faPlusOutline", {
|
|
260
|
+
enumerable: true,
|
|
261
|
+
get: function () { return proRegularSvgIcons.faPlus; }
|
|
262
|
+
});
|
|
263
|
+
Object.defineProperty(exports, "faRefreshOutline", {
|
|
264
|
+
enumerable: true,
|
|
265
|
+
get: function () { return proRegularSvgIcons.faRefresh; }
|
|
266
|
+
});
|
|
267
|
+
Object.defineProperty(exports, "faShapesOutline", {
|
|
268
|
+
enumerable: true,
|
|
269
|
+
get: function () { return proRegularSvgIcons.faShapes; }
|
|
270
|
+
});
|
|
271
|
+
Object.defineProperty(exports, "faSidebarFlipOutline", {
|
|
272
|
+
enumerable: true,
|
|
273
|
+
get: function () { return proRegularSvgIcons.faSidebarFlip; }
|
|
274
|
+
});
|
|
275
|
+
Object.defineProperty(exports, "faSortDownOutline", {
|
|
276
|
+
enumerable: true,
|
|
277
|
+
get: function () { return proRegularSvgIcons.faSortDown; }
|
|
278
|
+
});
|
|
279
|
+
Object.defineProperty(exports, "faSortOutline", {
|
|
280
|
+
enumerable: true,
|
|
281
|
+
get: function () { return proRegularSvgIcons.faSort; }
|
|
282
|
+
});
|
|
283
|
+
Object.defineProperty(exports, "faSortUpOutline", {
|
|
284
|
+
enumerable: true,
|
|
285
|
+
get: function () { return proRegularSvgIcons.faSortUp; }
|
|
286
|
+
});
|
|
287
|
+
Object.defineProperty(exports, "faSpinnerOutline", {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
get: function () { return proRegularSvgIcons.faSpinner; }
|
|
290
|
+
});
|
|
291
|
+
Object.defineProperty(exports, "faSquareCheckOutline", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () { return proRegularSvgIcons.faSquareCheck; }
|
|
294
|
+
});
|
|
295
|
+
Object.defineProperty(exports, "faSquarePlusOutline", {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function () { return proRegularSvgIcons.faSquarePlus; }
|
|
298
|
+
});
|
|
299
|
+
Object.defineProperty(exports, "faStarOutline", {
|
|
300
|
+
enumerable: true,
|
|
301
|
+
get: function () { return proRegularSvgIcons.faStar; }
|
|
302
|
+
});
|
|
303
|
+
Object.defineProperty(exports, "faStarsOutline", {
|
|
304
|
+
enumerable: true,
|
|
305
|
+
get: function () { return proRegularSvgIcons.faStars; }
|
|
306
|
+
});
|
|
307
|
+
Object.defineProperty(exports, "faTrashCanOutline", {
|
|
308
|
+
enumerable: true,
|
|
309
|
+
get: function () { return proRegularSvgIcons.faTrashCan; }
|
|
310
|
+
});
|
|
311
|
+
Object.defineProperty(exports, "faTrashOutline", {
|
|
312
|
+
enumerable: true,
|
|
313
|
+
get: function () { return proRegularSvgIcons.faTrash; }
|
|
314
|
+
});
|
|
315
|
+
Object.defineProperty(exports, "faTriangleExclamationOutline", {
|
|
316
|
+
enumerable: true,
|
|
317
|
+
get: function () { return proRegularSvgIcons.faTriangleExclamation; }
|
|
318
|
+
});
|
|
319
|
+
Object.defineProperty(exports, "faUnlockOutline", {
|
|
320
|
+
enumerable: true,
|
|
321
|
+
get: function () { return proRegularSvgIcons.faUnlock; }
|
|
322
|
+
});
|
|
323
|
+
Object.defineProperty(exports, "faUploadOutline", {
|
|
324
|
+
enumerable: true,
|
|
325
|
+
get: function () { return proRegularSvgIcons.faUpload; }
|
|
326
|
+
});
|
|
327
|
+
Object.defineProperty(exports, "faUserOutline", {
|
|
328
|
+
enumerable: true,
|
|
329
|
+
get: function () { return proRegularSvgIcons.faUser; }
|
|
330
|
+
});
|
|
331
|
+
Object.defineProperty(exports, "faUsersOutline", {
|
|
332
|
+
enumerable: true,
|
|
333
|
+
get: function () { return proRegularSvgIcons.faUsers; }
|
|
334
|
+
});
|
|
335
|
+
Object.defineProperty(exports, "faVideoOutline", {
|
|
336
|
+
enumerable: true,
|
|
337
|
+
get: function () { return proRegularSvgIcons.faVideo; }
|
|
338
|
+
});
|
|
339
|
+
Object.defineProperty(exports, "faXmarkOutline", {
|
|
340
|
+
enumerable: true,
|
|
341
|
+
get: function () { return proRegularSvgIcons.faXmark; }
|
|
342
|
+
});
|
|
343
|
+
Object.defineProperty(exports, "faAddressBookSolid", {
|
|
344
|
+
enumerable: true,
|
|
345
|
+
get: function () { return proSolidSvgIcons.faAddressBook; }
|
|
346
|
+
});
|
|
347
|
+
Object.defineProperty(exports, "faArrowLeftFromLineSolid", {
|
|
348
|
+
enumerable: true,
|
|
349
|
+
get: function () { return proSolidSvgIcons.faArrowLeftFromLine; }
|
|
350
|
+
});
|
|
351
|
+
Object.defineProperty(exports, "faArrowLeftSolid", {
|
|
352
|
+
enumerable: true,
|
|
353
|
+
get: function () { return proSolidSvgIcons.faArrowLeft; }
|
|
354
|
+
});
|
|
355
|
+
Object.defineProperty(exports, "faArrowRightFromBracketSolid", {
|
|
356
|
+
enumerable: true,
|
|
357
|
+
get: function () { return proSolidSvgIcons.faArrowRightFromBracket; }
|
|
358
|
+
});
|
|
359
|
+
Object.defineProperty(exports, "faArrowRightFromLineSolid", {
|
|
360
|
+
enumerable: true,
|
|
361
|
+
get: function () { return proSolidSvgIcons.faArrowRightFromLine; }
|
|
362
|
+
});
|
|
363
|
+
Object.defineProperty(exports, "faArrowRightSolid", {
|
|
364
|
+
enumerable: true,
|
|
365
|
+
get: function () { return proSolidSvgIcons.faArrowRight; }
|
|
366
|
+
});
|
|
367
|
+
Object.defineProperty(exports, "faBadgeDollarSolid", {
|
|
368
|
+
enumerable: true,
|
|
369
|
+
get: function () { return proSolidSvgIcons.faBadgeDollar; }
|
|
370
|
+
});
|
|
371
|
+
Object.defineProperty(exports, "faBellSolid", {
|
|
372
|
+
enumerable: true,
|
|
373
|
+
get: function () { return proSolidSvgIcons.faBell; }
|
|
374
|
+
});
|
|
375
|
+
Object.defineProperty(exports, "faBookmarkSolid", {
|
|
376
|
+
enumerable: true,
|
|
377
|
+
get: function () { return proSolidSvgIcons.faBookmark; }
|
|
378
|
+
});
|
|
379
|
+
Object.defineProperty(exports, "faBrakeWarningSolid", {
|
|
380
|
+
enumerable: true,
|
|
381
|
+
get: function () { return proSolidSvgIcons.faBrakeWarning; }
|
|
382
|
+
});
|
|
383
|
+
Object.defineProperty(exports, "faBuildingsSolid", {
|
|
384
|
+
enumerable: true,
|
|
385
|
+
get: function () { return proSolidSvgIcons.faBuildings; }
|
|
386
|
+
});
|
|
387
|
+
Object.defineProperty(exports, "faBullseyeSolid", {
|
|
388
|
+
enumerable: true,
|
|
389
|
+
get: function () { return proSolidSvgIcons.faBullseye; }
|
|
390
|
+
});
|
|
391
|
+
Object.defineProperty(exports, "faCalendarSolid", {
|
|
392
|
+
enumerable: true,
|
|
393
|
+
get: function () { return proSolidSvgIcons.faCalendar; }
|
|
394
|
+
});
|
|
395
|
+
Object.defineProperty(exports, "faChartLineUpSolid", {
|
|
396
|
+
enumerable: true,
|
|
397
|
+
get: function () { return proSolidSvgIcons.faChartLineUp; }
|
|
398
|
+
});
|
|
399
|
+
Object.defineProperty(exports, "faCheckSolid", {
|
|
400
|
+
enumerable: true,
|
|
401
|
+
get: function () { return proSolidSvgIcons.faCheck; }
|
|
402
|
+
});
|
|
403
|
+
Object.defineProperty(exports, "faChevronDownSolid", {
|
|
404
|
+
enumerable: true,
|
|
405
|
+
get: function () { return proSolidSvgIcons.faChevronDown; }
|
|
406
|
+
});
|
|
407
|
+
Object.defineProperty(exports, "faChevronLeftSolid", {
|
|
408
|
+
enumerable: true,
|
|
409
|
+
get: function () { return proSolidSvgIcons.faChevronLeft; }
|
|
410
|
+
});
|
|
411
|
+
Object.defineProperty(exports, "faChevronRightSolid", {
|
|
412
|
+
enumerable: true,
|
|
413
|
+
get: function () { return proSolidSvgIcons.faChevronRight; }
|
|
414
|
+
});
|
|
415
|
+
Object.defineProperty(exports, "faChevronUpSolid", {
|
|
416
|
+
enumerable: true,
|
|
417
|
+
get: function () { return proSolidSvgIcons.faChevronUp; }
|
|
418
|
+
});
|
|
419
|
+
Object.defineProperty(exports, "faCircleCheckSolid", {
|
|
420
|
+
enumerable: true,
|
|
421
|
+
get: function () { return proSolidSvgIcons.faCircleCheck; }
|
|
422
|
+
});
|
|
423
|
+
Object.defineProperty(exports, "faCircleExclamationSolid", {
|
|
424
|
+
enumerable: true,
|
|
425
|
+
get: function () { return proSolidSvgIcons.faCircleExclamation; }
|
|
426
|
+
});
|
|
427
|
+
Object.defineProperty(exports, "faCircleInfoSolid", {
|
|
428
|
+
enumerable: true,
|
|
429
|
+
get: function () { return proSolidSvgIcons.faCircleInfo; }
|
|
430
|
+
});
|
|
431
|
+
Object.defineProperty(exports, "faCircleNotchSolid", {
|
|
432
|
+
enumerable: true,
|
|
433
|
+
get: function () { return proSolidSvgIcons.faCircleNotch; }
|
|
434
|
+
});
|
|
435
|
+
Object.defineProperty(exports, "faCircleXmarkSolid", {
|
|
436
|
+
enumerable: true,
|
|
437
|
+
get: function () { return proSolidSvgIcons.faCircleXmark; }
|
|
438
|
+
});
|
|
439
|
+
Object.defineProperty(exports, "faClockSolid", {
|
|
440
|
+
enumerable: true,
|
|
441
|
+
get: function () { return proSolidSvgIcons.faClock; }
|
|
442
|
+
});
|
|
443
|
+
Object.defineProperty(exports, "faCoinSolid", {
|
|
444
|
+
enumerable: true,
|
|
445
|
+
get: function () { return proSolidSvgIcons.faCoin; }
|
|
446
|
+
});
|
|
447
|
+
Object.defineProperty(exports, "faCommentSolid", {
|
|
448
|
+
enumerable: true,
|
|
449
|
+
get: function () { return proSolidSvgIcons.faComment; }
|
|
450
|
+
});
|
|
451
|
+
Object.defineProperty(exports, "faCopySolid", {
|
|
452
|
+
enumerable: true,
|
|
453
|
+
get: function () { return proSolidSvgIcons.faCopy; }
|
|
454
|
+
});
|
|
455
|
+
Object.defineProperty(exports, "faDownloadSolid", {
|
|
456
|
+
enumerable: true,
|
|
457
|
+
get: function () { return proSolidSvgIcons.faDownload; }
|
|
458
|
+
});
|
|
459
|
+
Object.defineProperty(exports, "faEllipsisSolid", {
|
|
460
|
+
enumerable: true,
|
|
461
|
+
get: function () { return proSolidSvgIcons.faEllipsis; }
|
|
462
|
+
});
|
|
463
|
+
Object.defineProperty(exports, "faEllipsisVerticalSolid", {
|
|
464
|
+
enumerable: true,
|
|
465
|
+
get: function () { return proSolidSvgIcons.faEllipsisVertical; }
|
|
466
|
+
});
|
|
467
|
+
Object.defineProperty(exports, "faEnvelopeSolid", {
|
|
468
|
+
enumerable: true,
|
|
469
|
+
get: function () { return proSolidSvgIcons.faEnvelope; }
|
|
470
|
+
});
|
|
471
|
+
Object.defineProperty(exports, "faEyeSlashSolid", {
|
|
472
|
+
enumerable: true,
|
|
473
|
+
get: function () { return proSolidSvgIcons.faEyeSlash; }
|
|
474
|
+
});
|
|
475
|
+
Object.defineProperty(exports, "faEyeSolid", {
|
|
476
|
+
enumerable: true,
|
|
477
|
+
get: function () { return proSolidSvgIcons.faEye; }
|
|
478
|
+
});
|
|
479
|
+
Object.defineProperty(exports, "faFileSolid", {
|
|
480
|
+
enumerable: true,
|
|
481
|
+
get: function () { return proSolidSvgIcons.faFile; }
|
|
482
|
+
});
|
|
483
|
+
Object.defineProperty(exports, "faFilterSolid", {
|
|
484
|
+
enumerable: true,
|
|
485
|
+
get: function () { return proSolidSvgIcons.faFilter; }
|
|
486
|
+
});
|
|
487
|
+
Object.defineProperty(exports, "faFolderSolid", {
|
|
488
|
+
enumerable: true,
|
|
489
|
+
get: function () { return proSolidSvgIcons.faFolder; }
|
|
490
|
+
});
|
|
491
|
+
Object.defineProperty(exports, "faGaugeHighSolid", {
|
|
492
|
+
enumerable: true,
|
|
493
|
+
get: function () { return proSolidSvgIcons.faGaugeHigh; }
|
|
494
|
+
});
|
|
495
|
+
Object.defineProperty(exports, "faGearSolid", {
|
|
496
|
+
enumerable: true,
|
|
497
|
+
get: function () { return proSolidSvgIcons.faGear; }
|
|
498
|
+
});
|
|
499
|
+
Object.defineProperty(exports, "faGripDotsVerticalSolid", {
|
|
500
|
+
enumerable: true,
|
|
501
|
+
get: function () { return proSolidSvgIcons.faGripDotsVertical; }
|
|
502
|
+
});
|
|
503
|
+
Object.defineProperty(exports, "faHeartSolid", {
|
|
504
|
+
enumerable: true,
|
|
505
|
+
get: function () { return proSolidSvgIcons.faHeart; }
|
|
506
|
+
});
|
|
507
|
+
Object.defineProperty(exports, "faHomeSolid", {
|
|
508
|
+
enumerable: true,
|
|
509
|
+
get: function () { return proSolidSvgIcons.faHome; }
|
|
510
|
+
});
|
|
511
|
+
Object.defineProperty(exports, "faInboxSolid", {
|
|
512
|
+
enumerable: true,
|
|
513
|
+
get: function () { return proSolidSvgIcons.faInbox; }
|
|
514
|
+
});
|
|
515
|
+
Object.defineProperty(exports, "faLinkSolid", {
|
|
516
|
+
enumerable: true,
|
|
517
|
+
get: function () { return proSolidSvgIcons.faLink; }
|
|
518
|
+
});
|
|
519
|
+
Object.defineProperty(exports, "faLockSolid", {
|
|
520
|
+
enumerable: true,
|
|
521
|
+
get: function () { return proSolidSvgIcons.faLock; }
|
|
522
|
+
});
|
|
523
|
+
Object.defineProperty(exports, "faMagnifyingGlassSolid", {
|
|
524
|
+
enumerable: true,
|
|
525
|
+
get: function () { return proSolidSvgIcons.faMagnifyingGlass; }
|
|
526
|
+
});
|
|
527
|
+
Object.defineProperty(exports, "faMessageSolid", {
|
|
528
|
+
enumerable: true,
|
|
529
|
+
get: function () { return proSolidSvgIcons.faMessage; }
|
|
530
|
+
});
|
|
531
|
+
Object.defineProperty(exports, "faMinusSolid", {
|
|
532
|
+
enumerable: true,
|
|
533
|
+
get: function () { return proSolidSvgIcons.faMinus; }
|
|
534
|
+
});
|
|
535
|
+
Object.defineProperty(exports, "faPaperPlaneSolid", {
|
|
536
|
+
enumerable: true,
|
|
537
|
+
get: function () { return proSolidSvgIcons.faPaperPlane; }
|
|
538
|
+
});
|
|
539
|
+
Object.defineProperty(exports, "faPaperPlaneTopSolid", {
|
|
540
|
+
enumerable: true,
|
|
541
|
+
get: function () { return proSolidSvgIcons.faPaperPlaneTop; }
|
|
542
|
+
});
|
|
543
|
+
Object.defineProperty(exports, "faPenSolid", {
|
|
544
|
+
enumerable: true,
|
|
545
|
+
get: function () { return proSolidSvgIcons.faPen; }
|
|
546
|
+
});
|
|
547
|
+
Object.defineProperty(exports, "faPenToSquareSolid", {
|
|
548
|
+
enumerable: true,
|
|
549
|
+
get: function () { return proSolidSvgIcons.faPenToSquare; }
|
|
550
|
+
});
|
|
551
|
+
Object.defineProperty(exports, "faPhoneSolid", {
|
|
552
|
+
enumerable: true,
|
|
553
|
+
get: function () { return proSolidSvgIcons.faPhone; }
|
|
554
|
+
});
|
|
555
|
+
Object.defineProperty(exports, "faPlusSolid", {
|
|
556
|
+
enumerable: true,
|
|
557
|
+
get: function () { return proSolidSvgIcons.faPlus; }
|
|
558
|
+
});
|
|
559
|
+
Object.defineProperty(exports, "faRefreshSolid", {
|
|
560
|
+
enumerable: true,
|
|
561
|
+
get: function () { return proSolidSvgIcons.faRefresh; }
|
|
562
|
+
});
|
|
563
|
+
Object.defineProperty(exports, "faShapesSolid", {
|
|
564
|
+
enumerable: true,
|
|
565
|
+
get: function () { return proSolidSvgIcons.faShapes; }
|
|
566
|
+
});
|
|
567
|
+
Object.defineProperty(exports, "faSidebarFlipSolid", {
|
|
568
|
+
enumerable: true,
|
|
569
|
+
get: function () { return proSolidSvgIcons.faSidebarFlip; }
|
|
570
|
+
});
|
|
571
|
+
Object.defineProperty(exports, "faSortDownSolid", {
|
|
572
|
+
enumerable: true,
|
|
573
|
+
get: function () { return proSolidSvgIcons.faSortDown; }
|
|
574
|
+
});
|
|
575
|
+
Object.defineProperty(exports, "faSortSolid", {
|
|
576
|
+
enumerable: true,
|
|
577
|
+
get: function () { return proSolidSvgIcons.faSort; }
|
|
578
|
+
});
|
|
579
|
+
Object.defineProperty(exports, "faSortUpSolid", {
|
|
580
|
+
enumerable: true,
|
|
581
|
+
get: function () { return proSolidSvgIcons.faSortUp; }
|
|
582
|
+
});
|
|
583
|
+
Object.defineProperty(exports, "faSpinnerSolid", {
|
|
584
|
+
enumerable: true,
|
|
585
|
+
get: function () { return proSolidSvgIcons.faSpinner; }
|
|
586
|
+
});
|
|
587
|
+
Object.defineProperty(exports, "faSquareCheckSolid", {
|
|
588
|
+
enumerable: true,
|
|
589
|
+
get: function () { return proSolidSvgIcons.faSquareCheck; }
|
|
590
|
+
});
|
|
591
|
+
Object.defineProperty(exports, "faSquarePlusSolid", {
|
|
592
|
+
enumerable: true,
|
|
593
|
+
get: function () { return proSolidSvgIcons.faSquarePlus; }
|
|
594
|
+
});
|
|
595
|
+
Object.defineProperty(exports, "faStarSolid", {
|
|
596
|
+
enumerable: true,
|
|
597
|
+
get: function () { return proSolidSvgIcons.faStar; }
|
|
598
|
+
});
|
|
599
|
+
Object.defineProperty(exports, "faStarsSolid", {
|
|
600
|
+
enumerable: true,
|
|
601
|
+
get: function () { return proSolidSvgIcons.faStars; }
|
|
602
|
+
});
|
|
603
|
+
Object.defineProperty(exports, "faTrashCanSolid", {
|
|
604
|
+
enumerable: true,
|
|
605
|
+
get: function () { return proSolidSvgIcons.faTrashCan; }
|
|
606
|
+
});
|
|
607
|
+
Object.defineProperty(exports, "faTrashSolid", {
|
|
608
|
+
enumerable: true,
|
|
609
|
+
get: function () { return proSolidSvgIcons.faTrash; }
|
|
610
|
+
});
|
|
611
|
+
Object.defineProperty(exports, "faTriangleExclamationSolid", {
|
|
612
|
+
enumerable: true,
|
|
613
|
+
get: function () { return proSolidSvgIcons.faTriangleExclamation; }
|
|
614
|
+
});
|
|
615
|
+
Object.defineProperty(exports, "faUnlockSolid", {
|
|
616
|
+
enumerable: true,
|
|
617
|
+
get: function () { return proSolidSvgIcons.faUnlock; }
|
|
618
|
+
});
|
|
619
|
+
Object.defineProperty(exports, "faUploadSolid", {
|
|
620
|
+
enumerable: true,
|
|
621
|
+
get: function () { return proSolidSvgIcons.faUpload; }
|
|
622
|
+
});
|
|
623
|
+
Object.defineProperty(exports, "faUserSolid", {
|
|
624
|
+
enumerable: true,
|
|
625
|
+
get: function () { return proSolidSvgIcons.faUser; }
|
|
626
|
+
});
|
|
627
|
+
Object.defineProperty(exports, "faUsersSolid", {
|
|
628
|
+
enumerable: true,
|
|
629
|
+
get: function () { return proSolidSvgIcons.faUsers; }
|
|
630
|
+
});
|
|
631
|
+
Object.defineProperty(exports, "faVideoSolid", {
|
|
632
|
+
enumerable: true,
|
|
633
|
+
get: function () { return proSolidSvgIcons.faVideo; }
|
|
634
|
+
});
|
|
635
|
+
Object.defineProperty(exports, "faXmarkSolid", {
|
|
636
|
+
enumerable: true,
|
|
637
|
+
get: function () { return proSolidSvgIcons.faXmark; }
|
|
638
|
+
});
|
|
639
|
+
exports.Icon = Icon;
|
|
640
|
+
//# sourceMappingURL=index.js.map
|
|
641
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/Icon.tsx"],"names":["jsx","FontAwesomeIcon"],"mappings":";;;;;;;;AAaA,IAAM,OAAA,GAAoC;AAAA,EACxC,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI,UAAA;AAAA,EACJ,EAAA,EAAI,MAAA;AAAA,EACJ,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI;AACN,CAAA;AAaO,SAAS,IAAA,CAAK;AAAA,EACnB,IAAA;AAAA,EACA,SAAA;AAAA,EACA,KAAA,GAAQ,KAAA;AAAA,EACR,IAAA,GAAO,IAAA;AAAA,EACP,KAAA;AAAA,EACA,KAAA;AAAA,EACA,SAAA;AAAA,EACA,KAAA;AAAA,EACA,GAAG;AACL,CAAA,EAAc;AACZ,EAAA,MAAM,YAAA,GAAe,KAAA,IAAS,SAAA,GAAY,SAAA,GAAY,IAAA;AAEtD,EAAA,MAAM,WAAA,GAA6B;AAAA,IACjC,KAAA,EAAO,QAAQ,IAAI,CAAA;AAAA,IACnB,MAAA,EAAQ,QAAQ,IAAI,CAAA;AAAA,IACpB,GAAG,KAAA;AAAA,IACH,GAAI,KAAA,GAAQ,EAAE,KAAA,KAAU;AAAC,GAC3B;AAEA,EAAA,uBACEA,cAAA;AAAA,IAACC,gCAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAM,YAAA;AAAA,MACN,SAAA;AAAA,MACA,KAAA,EAAO,WAAA;AAAA,MACP,YAAA,EAAY,KAAA;AAAA,MACZ,eAAa,CAAC,KAAA;AAAA,MACb,GAAG;AAAA;AAAA,GACN;AAEJ","file":"index.js","sourcesContent":["import { type CSSProperties } from \"react\";\nimport {\n FontAwesomeIcon,\n type FontAwesomeIconProps,\n} from \"@fortawesome/react-fontawesome\";\nimport type { IconDefinition } from \"@fortawesome/fontawesome-svg-core\";\n\nexport type IconSize = \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\";\n\n/**\n * Rem values aligned with @l3mpire/tokens font-size scale:\n * xs → 12px, sm → 14px, md → 16px, lg → 20px, xl → 24px\n */\nconst sizeMap: Record<IconSize, string> = {\n xs: \"0.75rem\",\n sm: \"0.875rem\",\n md: \"1rem\",\n lg: \"1.25rem\",\n xl: \"1.5rem\",\n};\n\nexport interface IconProps\n extends Omit<FontAwesomeIconProps, \"icon\" | \"size\" | \"color\"> {\n icon: IconDefinition;\n solidIcon?: IconDefinition;\n solid?: boolean;\n size?: IconSize;\n color?: string;\n label?: string;\n className?: string;\n}\n\nexport function Icon({\n icon,\n solidIcon,\n solid = false,\n size = \"md\",\n color,\n label,\n className,\n style,\n ...rest\n}: IconProps) {\n const resolvedIcon = solid && solidIcon ? solidIcon : icon;\n\n const mergedStyle: CSSProperties = {\n width: sizeMap[size],\n height: sizeMap[size],\n ...style,\n ...(color ? { color } : {}),\n };\n\n return (\n <FontAwesomeIcon\n icon={resolvedIcon}\n className={className}\n style={mergedStyle}\n aria-label={label}\n aria-hidden={!label}\n {...rest}\n />\n );\n}\n"]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
export { faAddressBook as faAddressBookOutline, faArrowLeftFromLine as faArrowLeftFromLineOutline, faArrowLeft as faArrowLeftOutline, faArrowRightFromBracket as faArrowRightFromBracketOutline, faArrowRightFromLine as faArrowRightFromLineOutline, faArrowRight as faArrowRightOutline, faBadgeDollar as faBadgeDollarOutline, faBell as faBellOutline, faBookmark as faBookmarkOutline, faBrakeWarning as faBrakeWarningOutline, faBuildings as faBuildingsOutline, faBullseye as faBullseyeOutline, faCalendar as faCalendarOutline, faChartLineUp as faChartLineUpOutline, faCheck as faCheckOutline, faChevronDown as faChevronDownOutline, faChevronLeft as faChevronLeftOutline, faChevronRight as faChevronRightOutline, faChevronUp as faChevronUpOutline, faCircleCheck as faCircleCheckOutline, faCircleExclamation as faCircleExclamationOutline, faCircleInfo as faCircleInfoOutline, faCircleNotch as faCircleNotchOutline, faCircleXmark as faCircleXmarkOutline, faClock as faClockOutline, faCoin as faCoinOutline, faComment as faCommentOutline, faCopy as faCopyOutline, faDownload as faDownloadOutline, faEllipsis as faEllipsisOutline, faEllipsisVertical as faEllipsisVerticalOutline, faEnvelope as faEnvelopeOutline, faEye as faEyeOutline, faEyeSlash as faEyeSlashOutline, faFile as faFileOutline, faFilter as faFilterOutline, faFolder as faFolderOutline, faGaugeHigh as faGaugeHighOutline, faGear as faGearOutline, faGripDotsVertical as faGripDotsVerticalOutline, faHeart as faHeartOutline, faHome as faHomeOutline, faInbox as faInboxOutline, faLink as faLinkOutline, faLock as faLockOutline, faMagnifyingGlass as faMagnifyingGlassOutline, faMessage as faMessageOutline, faMinus as faMinusOutline, faPaperPlane as faPaperPlaneOutline, faPaperPlaneTop as faPaperPlaneTopOutline, faPen as faPenOutline, faPenToSquare as faPenToSquareOutline, faPhone as faPhoneOutline, faPlus as faPlusOutline, faRefresh as faRefreshOutline, faShapes as faShapesOutline, faSidebarFlip as faSidebarFlipOutline, faSortDown as faSortDownOutline, faSort as faSortOutline, faSortUp as faSortUpOutline, faSpinner as faSpinnerOutline, faSquareCheck as faSquareCheckOutline, faSquarePlus as faSquarePlusOutline, faStar as faStarOutline, faStars as faStarsOutline, faTrashCan as faTrashCanOutline, faTrash as faTrashOutline, faTriangleExclamation as faTriangleExclamationOutline, faUnlock as faUnlockOutline, faUpload as faUploadOutline, faUser as faUserOutline, faUsers as faUsersOutline, faVideo as faVideoOutline, faXmark as faXmarkOutline } from '@fortawesome/pro-regular-svg-icons';
|
|
4
|
+
export { faAddressBook as faAddressBookSolid, faArrowLeftFromLine as faArrowLeftFromLineSolid, faArrowLeft as faArrowLeftSolid, faArrowRightFromBracket as faArrowRightFromBracketSolid, faArrowRightFromLine as faArrowRightFromLineSolid, faArrowRight as faArrowRightSolid, faBadgeDollar as faBadgeDollarSolid, faBell as faBellSolid, faBookmark as faBookmarkSolid, faBrakeWarning as faBrakeWarningSolid, faBuildings as faBuildingsSolid, faBullseye as faBullseyeSolid, faCalendar as faCalendarSolid, faChartLineUp as faChartLineUpSolid, faCheck as faCheckSolid, faChevronDown as faChevronDownSolid, faChevronLeft as faChevronLeftSolid, faChevronRight as faChevronRightSolid, faChevronUp as faChevronUpSolid, faCircleCheck as faCircleCheckSolid, faCircleExclamation as faCircleExclamationSolid, faCircleInfo as faCircleInfoSolid, faCircleNotch as faCircleNotchSolid, faCircleXmark as faCircleXmarkSolid, faClock as faClockSolid, faCoin as faCoinSolid, faComment as faCommentSolid, faCopy as faCopySolid, faDownload as faDownloadSolid, faEllipsis as faEllipsisSolid, faEllipsisVertical as faEllipsisVerticalSolid, faEnvelope as faEnvelopeSolid, faEyeSlash as faEyeSlashSolid, faEye as faEyeSolid, faFile as faFileSolid, faFilter as faFilterSolid, faFolder as faFolderSolid, faGaugeHigh as faGaugeHighSolid, faGear as faGearSolid, faGripDotsVertical as faGripDotsVerticalSolid, faHeart as faHeartSolid, faHome as faHomeSolid, faInbox as faInboxSolid, faLink as faLinkSolid, faLock as faLockSolid, faMagnifyingGlass as faMagnifyingGlassSolid, faMessage as faMessageSolid, faMinus as faMinusSolid, faPaperPlane as faPaperPlaneSolid, faPaperPlaneTop as faPaperPlaneTopSolid, faPen as faPenSolid, faPenToSquare as faPenToSquareSolid, faPhone as faPhoneSolid, faPlus as faPlusSolid, faRefresh as faRefreshSolid, faShapes as faShapesSolid, faSidebarFlip as faSidebarFlipSolid, faSortDown as faSortDownSolid, faSort as faSortSolid, faSortUp as faSortUpSolid, faSpinner as faSpinnerSolid, faSquareCheck as faSquareCheckSolid, faSquarePlus as faSquarePlusSolid, faStar as faStarSolid, faStars as faStarsSolid, faTrashCan as faTrashCanSolid, faTrash as faTrashSolid, faTriangleExclamation as faTriangleExclamationSolid, faUnlock as faUnlockSolid, faUpload as faUploadSolid, faUser as faUserSolid, faUsers as faUsersSolid, faVideo as faVideoSolid, faXmark as faXmarkSolid } from '@fortawesome/pro-solid-svg-icons';
|
|
5
|
+
|
|
6
|
+
// src/Icon.tsx
|
|
7
|
+
var sizeMap = {
|
|
8
|
+
xs: "0.75rem",
|
|
9
|
+
sm: "0.875rem",
|
|
10
|
+
md: "1rem",
|
|
11
|
+
lg: "1.25rem",
|
|
12
|
+
xl: "1.5rem"
|
|
13
|
+
};
|
|
14
|
+
function Icon({
|
|
15
|
+
icon,
|
|
16
|
+
solidIcon,
|
|
17
|
+
solid = false,
|
|
18
|
+
size = "md",
|
|
19
|
+
color,
|
|
20
|
+
label,
|
|
21
|
+
className,
|
|
22
|
+
style,
|
|
23
|
+
...rest
|
|
24
|
+
}) {
|
|
25
|
+
const resolvedIcon = solid && solidIcon ? solidIcon : icon;
|
|
26
|
+
const mergedStyle = {
|
|
27
|
+
width: sizeMap[size],
|
|
28
|
+
height: sizeMap[size],
|
|
29
|
+
...style,
|
|
30
|
+
...color ? { color } : {}
|
|
31
|
+
};
|
|
32
|
+
return /* @__PURE__ */ jsx(
|
|
33
|
+
FontAwesomeIcon,
|
|
34
|
+
{
|
|
35
|
+
icon: resolvedIcon,
|
|
36
|
+
className,
|
|
37
|
+
style: mergedStyle,
|
|
38
|
+
"aria-label": label,
|
|
39
|
+
"aria-hidden": !label,
|
|
40
|
+
...rest
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { Icon };
|
|
46
|
+
//# sourceMappingURL=index.mjs.map
|
|
47
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/Icon.tsx"],"names":[],"mappings":";;;;;;AAaA,IAAM,OAAA,GAAoC;AAAA,EACxC,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI,UAAA;AAAA,EACJ,EAAA,EAAI,MAAA;AAAA,EACJ,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI;AACN,CAAA;AAaO,SAAS,IAAA,CAAK;AAAA,EACnB,IAAA;AAAA,EACA,SAAA;AAAA,EACA,KAAA,GAAQ,KAAA;AAAA,EACR,IAAA,GAAO,IAAA;AAAA,EACP,KAAA;AAAA,EACA,KAAA;AAAA,EACA,SAAA;AAAA,EACA,KAAA;AAAA,EACA,GAAG;AACL,CAAA,EAAc;AACZ,EAAA,MAAM,YAAA,GAAe,KAAA,IAAS,SAAA,GAAY,SAAA,GAAY,IAAA;AAEtD,EAAA,MAAM,WAAA,GAA6B;AAAA,IACjC,KAAA,EAAO,QAAQ,IAAI,CAAA;AAAA,IACnB,MAAA,EAAQ,QAAQ,IAAI,CAAA;AAAA,IACpB,GAAG,KAAA;AAAA,IACH,GAAI,KAAA,GAAQ,EAAE,KAAA,KAAU;AAAC,GAC3B;AAEA,EAAA,uBACE,GAAA;AAAA,IAAC,eAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAM,YAAA;AAAA,MACN,SAAA;AAAA,MACA,KAAA,EAAO,WAAA;AAAA,MACP,YAAA,EAAY,KAAA;AAAA,MACZ,eAAa,CAAC,KAAA;AAAA,MACb,GAAG;AAAA;AAAA,GACN;AAEJ","file":"index.mjs","sourcesContent":["import { type CSSProperties } from \"react\";\nimport {\n FontAwesomeIcon,\n type FontAwesomeIconProps,\n} from \"@fortawesome/react-fontawesome\";\nimport type { IconDefinition } from \"@fortawesome/fontawesome-svg-core\";\n\nexport type IconSize = \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\";\n\n/**\n * Rem values aligned with @l3mpire/tokens font-size scale:\n * xs → 12px, sm → 14px, md → 16px, lg → 20px, xl → 24px\n */\nconst sizeMap: Record<IconSize, string> = {\n xs: \"0.75rem\",\n sm: \"0.875rem\",\n md: \"1rem\",\n lg: \"1.25rem\",\n xl: \"1.5rem\",\n};\n\nexport interface IconProps\n extends Omit<FontAwesomeIconProps, \"icon\" | \"size\" | \"color\"> {\n icon: IconDefinition;\n solidIcon?: IconDefinition;\n solid?: boolean;\n size?: IconSize;\n color?: string;\n label?: string;\n className?: string;\n}\n\nexport function Icon({\n icon,\n solidIcon,\n solid = false,\n size = \"md\",\n color,\n label,\n className,\n style,\n ...rest\n}: IconProps) {\n const resolvedIcon = solid && solidIcon ? solidIcon : icon;\n\n const mergedStyle: CSSProperties = {\n width: sizeMap[size],\n height: sizeMap[size],\n ...style,\n ...(color ? { color } : {}),\n };\n\n return (\n <FontAwesomeIcon\n icon={resolvedIcon}\n className={className}\n style={mergedStyle}\n aria-label={label}\n aria-hidden={!label}\n {...rest}\n />\n );\n}\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@l3mpire/icons",
|
|
3
|
+
"version": "0.3.5",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"registry": "https://registry.npmjs.org",
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/l3mpire/lemds-product-design.git",
|
|
11
|
+
"directory": "packages/icons"
|
|
12
|
+
},
|
|
13
|
+
"sideEffects": false,
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./dist/index.d.mts",
|
|
18
|
+
"default": "./dist/index.mjs"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.js"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"main": "./dist/index.js",
|
|
27
|
+
"module": "./dist/index.mjs",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"react": ">=18",
|
|
34
|
+
"react-dom": ">=18"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@fortawesome/fontawesome-svg-core": "^7",
|
|
38
|
+
"@fortawesome/pro-regular-svg-icons": "^7",
|
|
39
|
+
"@fortawesome/pro-solid-svg-icons": "^7",
|
|
40
|
+
"@fortawesome/react-fontawesome": "^0.2",
|
|
41
|
+
"@l3mpire/tokens": "0.5.3"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/react": "^19",
|
|
45
|
+
"@types/react-dom": "^19",
|
|
46
|
+
"react": "^19",
|
|
47
|
+
"react-dom": "^19",
|
|
48
|
+
"tsup": "^8",
|
|
49
|
+
"typescript": "^5"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "tsup",
|
|
53
|
+
"dev": "tsup --watch",
|
|
54
|
+
"lint": "echo 'TODO: lint'",
|
|
55
|
+
"clean": "rm -rf dist .turbo"
|
|
56
|
+
}
|
|
57
|
+
}
|