@agility/plenum-ui 2.0.0-rc26 → 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,12 +267,12 @@ 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 = IconName | TablerIconName;
270
+ export type UnifiedIconName = TablerIconName | IconName | FAIconName;
271
271
  export function isHeroIcon(name: UnifiedIconName): name is keyof typeof SolidIcons | keyof typeof OutlineIcons;
272
272
  export function isTablerIcon(name: UnifiedIconName): name is TablerIconName;
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
- export interface IDynamicIconProps {
275
+ export interface IDynamicIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
276
276
  icon: UnifiedIconName;
277
277
  className?: ClassNameWithAutocomplete;
278
278
  outline?: boolean;
@@ -926,7 +926,7 @@ declare module '@agility/plenum-ui/stories/organisms/ButtonDropdown/index' {
926
926
 
927
927
  }
928
928
  declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/DropdownComponent' {
929
- import React from "react";
929
+ import React, { HTMLAttributes } from "react";
930
930
  import { Placement } from "@floating-ui/react";
931
931
  import { ClassNameWithAutocomplete } from "utils/types";
932
932
  import { IDynamicIconProps } from "@/stories/atoms/icons";
@@ -938,7 +938,7 @@ declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/DropdownC
938
938
  isEmphasized?: boolean;
939
939
  key: React.Key;
940
940
  }
941
- export interface IDropdownProps {
941
+ export interface IDropdownProps extends HTMLAttributes<HTMLDivElement> {
942
942
  items: IItemProp[][];
943
943
  label: string;
944
944
  CustomDropdownTrigger?: React.ReactNode;