fix(package): maybe resolve some bundling issues

This commit is contained in:
Linden
2024-01-09 14:41:42 +11:00
parent 413b8b10b2
commit 989b164d0e
9 changed files with 40 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import type { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
type IconAnimation = 'spin' | 'spinPulse' | 'spinReverse' | 'pulse' | 'beat' | 'fade' | 'beatFade' | 'bounce' | 'shake';

View File

@@ -1,4 +1,4 @@
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import type { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
type Icon = IconName | [IconName, IconPrefix];

View File

@@ -1,4 +1,4 @@
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import type { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
type MenuPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
type ChangeFunction = (selected: number, scrollIndex?: number, args?: any, checked?: boolean) => void;

View File

@@ -1,5 +1,5 @@
import { Sx } from '@mantine/core';
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import type { Sx } from '@mantine/core';
import type { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
type NotificationPosition =
| 'top'

View File

@@ -1,4 +1,4 @@
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import type { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
type RadialItem = {
id: string;

View File

@@ -1,4 +1,4 @@
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import type { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
import { CSSProperties } from 'react';
type IconAnimation = 'spin' | 'spinPulse' | 'spinReverse' | 'pulse' | 'beat' | 'fade' | 'beatFade' | 'bounce' | 'shake';