dibk-design 9.0.2 → 9.1.0

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
@@ -22,7 +22,7 @@ declare interface AccordionProps {
22
22
 
23
23
  declare type ArrowDirection = 'none' | 'left' | 'right';
24
24
 
25
- export declare const Button: ({ content, color, size, arrow, disabled, inputType, defaultChecked, hasErrors, noHover, rounded, noMargin, href, children, ...rest }: ButtonProps) => JSX.Element;
25
+ export declare const Button: ({ content, color, size, arrow, disabled, inputType, defaultChecked, hasErrors, noHover, rounded, noMargin, href, children, iconLeft, iconRight, ...rest }: ButtonProps) => JSX.Element;
26
26
 
27
27
  declare type ButtonColor = 'primary' | 'secondary';
28
28
 
@@ -42,6 +42,8 @@ declare interface ButtonProps extends Omit<default_2.ButtonHTMLAttributes<HTMLBu
42
42
  href?: string;
43
43
  noMargin?: boolean;
44
44
  children?: default_2.ReactNode;
45
+ iconLeft?: default_2.ReactNode;
46
+ iconRight?: default_2.ReactNode;
45
47
  [key: string]: any;
46
48
  }
47
49
 
@@ -56,7 +58,7 @@ export declare const CheckBoxIcon: ({ size, checked, disabled, showBox, hasError
56
58
  checkmarkCharacter?: string | undefined;
57
59
  }) => JSX.Element;
58
60
 
59
- export declare const CheckBoxInput: ({ checked, disabled, required, requiredGroup, id, name, onChange, contentOnly, hasErrors, checkmarkCharacter, tabIndex, children, "aria-controls": ariaControls, "aria-describedby": ariaDescribedBy, }: CheckBoxInputProps) => JSX.Element;
61
+ export declare const CheckBoxInput: ({ checked, disabled, required, requiredGroup, id, name, onChange, contentOnly, hasErrors, checkmarkCharacter, tabIndex, children, "aria-controls": ariaControls, "aria-describedby": ariaDescribedBy, value, }: CheckBoxInputProps) => JSX.Element;
60
62
 
61
63
  declare interface CheckBoxInputProps {
62
64
  checked?: boolean;
@@ -73,14 +75,14 @@ declare interface CheckBoxInputProps {
73
75
  'aria-describedby'?: string;
74
76
  tabIndex?: number;
75
77
  children?: default_2.ReactNode;
78
+ value?: string | number;
76
79
  }
77
80
 
78
81
  export declare const CheckBoxList: ({ legend, legendSize, required, compact, children, }: CheckBoxListProps) => JSX.Element;
79
82
 
80
- export declare const CheckBoxListItem: ({ checked, disabled, required, requiredGroup, id, name, onChange, contentOnly, compact, hasErrors, checkmarkCharacter, "aria-controls": ariaControls, "aria-describedby": ariaDescribedBy, children, }: CheckBoxListItemProps) => JSX.Element;
83
+ export declare const CheckBoxListItem: ({ checked, disabled, required, requiredGroup, id, name, onChange, contentOnly, compact, hasErrors, checkmarkCharacter, "aria-controls": ariaControls, "aria-describedby": ariaDescribedBy, children, value, }: CheckBoxListItemProps) => JSX.Element;
81
84
 
82
85
  declare interface CheckBoxListItemProps {
83
- inputValue?: string;
84
86
  value?: string | number;
85
87
  checked?: boolean;
86
88
  disabled?: boolean;