@agility/plenum-ui 2.3.2 → 2.3.4

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
@@ -106,13 +106,13 @@ declare module '@agility/plenum-ui/stories/atoms/Typography/Label/index' {
106
106
  declare module '@agility/plenum-ui/stories/atoms/Typography/Paragraph/Paragraph' {
107
107
  type ParagraphAs = "span" | "p" | "label" | "strong" | "em";
108
108
  type ParagraphSize = "xl" | "lg" | "md" | "sm" | "xs";
109
- export interface ParagraphProps {
109
+ export interface ParagraphProps extends React.HTMLAttributes<HTMLElement> {
110
110
  as?: ParagraphAs;
111
111
  size?: ParagraphSize;
112
112
  children: React.ReactNode;
113
113
  className?: string;
114
114
  }
115
- export default function Paragraph({ as, size, children, className }: ParagraphProps): import("react/jsx-runtime").JSX.Element;
115
+ export default function Paragraph({ as, size, children, className, ...rest }: ParagraphProps): import("react/jsx-runtime").JSX.Element;
116
116
  export {};
117
117
 
118
118
  }
@@ -853,11 +853,18 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/radio/index' {
853
853
  }
854
854
  declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
855
855
  import React from "react";
856
+ import { UnifiedIconName } from "@/stories/atoms/icons/DynamicIcon";
856
857
  export interface ISimpleSelectOptions {
857
858
  label: string;
858
859
  value: string;
859
- emoji?: string;
860
+ icon?: UnifiedIconName;
860
861
  description?: string;
862
+ caption?: string;
863
+ }
864
+ interface LabelAction {
865
+ label: string;
866
+ onClick: () => void;
867
+ className?: string;
861
868
  }
862
869
  export interface ISelectProps {
863
870
  /** Label */
@@ -884,6 +891,8 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
884
891
  inputRef?: React.RefObject<HTMLInputElement>;
885
892
  placeholder?: string;
886
893
  dropdownMaxHeight?: number;
894
+ dropdownMaxWidth?: number;
895
+ labelAction?: LabelAction;
887
896
  }
888
897
  const Select: React.FC<ISelectProps>;
889
898
  export default Select;