@agility/plenum-ui 2.0.0-rc27 → 2.0.0-rc28
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/index.d.ts
CHANGED
|
@@ -267,10 +267,10 @@ declare module '@agility/plenum-ui/stories/atoms/icons/DynamicIcon' {
|
|
|
267
267
|
import { ClassNameWithAutocomplete } from "@/utils/types";
|
|
268
268
|
export type IconName = keyof typeof SolidIcons | keyof typeof OutlineIcons;
|
|
269
269
|
export type FAIconName = keyof typeof FA;
|
|
270
|
-
export type UnifiedIconName = TablerIconName;
|
|
270
|
+
export type UnifiedIconName = TablerIconName | IconName | FAIconName;
|
|
271
|
+
export function isHeroIcon(name: UnifiedIconName): name is keyof typeof SolidIcons | keyof typeof OutlineIcons;
|
|
271
272
|
export function isTablerIcon(name: UnifiedIconName): name is TablerIconName;
|
|
272
|
-
export function
|
|
273
|
-
export function isFAIcon(name: UnifiedIconName): boolean;
|
|
273
|
+
export function isFAIcon(name: UnifiedIconName): name is keyof typeof FA;
|
|
274
274
|
export function isUnifiedIconName(name: UnifiedIconName): name is UnifiedIconName;
|
|
275
275
|
export interface IDynamicIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
276
276
|
icon: UnifiedIconName;
|