@agility/plenum-ui 2.0.0-rc14 → 2.0.0-rc15

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
@@ -402,8 +402,8 @@ declare module '@agility/plenum-ui/stories/atoms/loaders/index' {
402
402
  declare module '@agility/plenum-ui/stories/index' {
403
403
  import { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, UnifiedIconName, IconName, FAIconName, BTNActionType, Avatar, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName } from "@agility/plenum-ui/stories/atoms/index";
404
404
  import { ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, TextInput, ITextInputProps, ISimpleSelectOptions } from "@agility/plenum-ui/stories/molecules/index";
405
- import { IAnimatedLabelInputProps, AnimatedLabelTextArea, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownClassnames, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, AnimatedLabelInput, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect, ITextInputSelectProps } from "@agility/plenum-ui/stories/organisms/index";
406
- export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, ITextInputSelectProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownClassnames, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, UnifiedIconName, IconName, FAIconName, BTNActionType, ITextInputProps, ISimpleSelectOptions };
405
+ import { IAnimatedLabelInputProps, AnimatedLabelTextArea, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, AnimatedLabelInput, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect, ITextInputSelectProps } from "@agility/plenum-ui/stories/organisms/index";
406
+ export type { IAvatarProps, IBadgeProps, IButtonProps, ICapsuleProps, ITextInputSelectProps, IDynamicIconProps, IIconWithShadowProps, ILoaderProps, IRadialProgressProps, ICheckboxProps, IComboboxProps, IInputFieldProps, IInputLabelProps, INestedInputButtonProps, IRadioProps, ISelectProps, ITextareaProps, IToggleSwitchProps, AcceptedInputTypes, IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, UnifiedIconName, IconName, FAIconName, BTNActionType, ITextInputProps, ISimpleSelectOptions };
407
407
  export { Avatar, Checkbox, Combobox, InputField, InputLabel, NestedInputButton, Radio, Select, Textarea, ToggleSwitch, AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, Badge, Button, Capsule, DynamicIcon, IconWithShadow, Loader, RadialProgress, isFAIcon, isHeroIcon, isTablerIcon, isUnifiedIconName, TextInput, TextInputSelect };
408
408
 
409
409
  }
@@ -938,19 +938,17 @@ declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/DropdownC
938
938
  isEmphasized?: boolean;
939
939
  key: React.Key;
940
940
  }
941
- export interface IDropdownClassnames {
942
- groupClassname?: ClassNameWithAutocomplete;
943
- itemsClassname?: ClassNameWithAutocomplete;
944
- itemClassname?: ClassNameWithAutocomplete;
945
- activeItemClassname?: ClassNameWithAutocomplete;
946
- buttonClassname?: ClassNameWithAutocomplete;
947
- }
948
941
  export interface IDropdownProps extends HTMLAttributes<HTMLDivElement> {
949
942
  items: IItemProp[][];
950
943
  label: string;
951
944
  CustomDropdownTrigger?: React.ReactNode;
952
945
  id: string;
953
- classNames?: IDropdownClassnames;
946
+ groupClassname?: ClassNameWithAutocomplete;
947
+ itemsClassname?: ClassNameWithAutocomplete;
948
+ itemClassname?: ClassNameWithAutocomplete;
949
+ activeItemClassname?: ClassNameWithAutocomplete;
950
+ buttonClassname?: ClassNameWithAutocomplete;
951
+ iconClassname?: ClassNameWithAutocomplete;
954
952
  placement?: Placement;
955
953
  offsetOptions?: Partial<{
956
954
  mainAxis: number;
@@ -958,7 +956,14 @@ declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/DropdownC
958
956
  alignmentAxis: number | null;
959
957
  }>;
960
958
  }
961
- export const defaultClassNames: IDropdownClassnames;
959
+ export const defaultClassNames: {
960
+ groupClassname: string;
961
+ itemsClassname: string;
962
+ itemClassname: string;
963
+ activeItemClassname: string;
964
+ buttonClassname: string;
965
+ iconClassname: string;
966
+ };
962
967
  /** Comment */
963
968
  const Dropdown: React.FC<IDropdownProps>;
964
969
  export default Dropdown;
@@ -971,8 +976,8 @@ declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/dropdownI
971
976
 
972
977
  }
973
978
  declare module '@agility/plenum-ui/stories/organisms/DropdownComponent/index' {
974
- import Dropdown, { IItemProp, IDropdownClassnames, IDropdownProps, defaultClassNames } from "@agility/plenum-ui/stories/organisms/DropdownComponent/DropdownComponent";
975
- export type { IItemProp, IDropdownClassnames, IDropdownProps };
979
+ import Dropdown, { IItemProp, IDropdownProps, defaultClassNames } from "@agility/plenum-ui/stories/organisms/DropdownComponent/DropdownComponent";
980
+ export type { IItemProp, IDropdownProps };
976
981
  export { defaultClassNames };
977
982
  export default Dropdown;
978
983
 
@@ -1115,11 +1120,11 @@ declare module '@agility/plenum-ui/stories/organisms/index' {
1115
1120
  import AnimatedLabelInput, { IAnimatedLabelInputProps } from "@agility/plenum-ui/stories/organisms/AnimatedLabelInput/index";
1116
1121
  import AnimatedLabelTextArea, { IAnimatedLabelTextAreaProps } from "@agility/plenum-ui/stories/organisms/AnimatedLabelTextArea/index";
1117
1122
  import ButtonDropdown, { IButtonDropdownProps } from "@agility/plenum-ui/stories/organisms/ButtonDropdown/index";
1118
- import Dropdown, { IDropdownClassnames, IDropdownProps, IItemProp } from "@agility/plenum-ui/stories/organisms/DropdownComponent/index";
1123
+ import Dropdown, { IDropdownProps, IItemProp } from "@agility/plenum-ui/stories/organisms/DropdownComponent/index";
1119
1124
  import EmptySectionPlaceholder, { IEmptySectionPlaceholderProps } from "@agility/plenum-ui/stories/organisms/EmptySectionPlaceholder/index";
1120
1125
  import FormInputWithAddons, { IFormInputWithAddonsProps } from "@agility/plenum-ui/stories/organisms/FormInputWithAddons/index";
1121
1126
  import TextInputSelect, { ITextInputSelectProps } from "@agility/plenum-ui/stories/organisms/TextInputSelect/index";
1122
- export type { IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownClassnames, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, ITextInputSelectProps };
1127
+ export type { IAnimatedLabelInputProps, IAnimatedLabelTextAreaProps, IButtonDropdownProps, IDropdownProps, IEmptySectionPlaceholderProps, IItemProp, IFormInputWithAddonsProps, ITextInputSelectProps };
1123
1128
  export { AnimatedLabelInput, AnimatedLabelTextArea, ButtonDropdown, Dropdown, EmptySectionPlaceholder, FormInputWithAddons, TextInputSelect };
1124
1129
 
1125
1130
  }