@agility/plenum-ui 2.0.0-rc19 → 2.0.0-rc20
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 +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/types/stories/organisms/DropdownComponent/DropdownComponent.d.ts +2 -2
- package/package.json +1 -1
- package/stories/atoms/buttons/Button/Button.tsx +15 -14
- package/stories/organisms/ButtonDropdown/ButtonDropdown.stories.tsx +59 -58
- package/stories/organisms/DropdownComponent/DropdownComponent.tsx +62 -54
- package/stories/organisms/DropdownComponent/dropdownItems.ts +24 -0
package/dist/index.d.ts
CHANGED
|
@@ -929,9 +929,9 @@ declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/DropdownC
|
|
|
929
929
|
import React, { HTMLAttributes } from "react";
|
|
930
930
|
import { Placement } from "@floating-ui/react";
|
|
931
931
|
import { ClassNameWithAutocomplete } from "utils/types";
|
|
932
|
-
import { IDynamicIconProps
|
|
932
|
+
import { IDynamicIconProps } from "@/stories/atoms/icons";
|
|
933
933
|
export interface IItemProp extends HTMLAttributes<HTMLButtonElement> {
|
|
934
|
-
icon?: IDynamicIconProps
|
|
934
|
+
icon?: IDynamicIconProps;
|
|
935
935
|
iconPosition?: "trailing" | "leading";
|
|
936
936
|
label: string;
|
|
937
937
|
onClick?(): void;
|