widenarrow-ui 1.0.39 → 1.0.40

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.
@@ -7,7 +7,7 @@ export interface ButtonProps {
7
7
  size?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
8
8
  icon?: Partial<IconTypes>;
9
9
  iconSize?: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE | SizeTypes.AUTO;
10
- withIconLeft?: boolean;
10
+ withIconRight?: boolean;
11
11
  disabled?: boolean;
12
12
  className?: string;
13
13
  toolTip?: string;
@@ -4,6 +4,7 @@ declare const meta: Meta<typeof Checkbox>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof Checkbox>;
6
6
  export declare const Checked: Story;
7
+ export declare const WithEllipsis: Story;
7
8
  export declare const Indeterminate: Story;
8
9
  export declare const Unchecked: Story;
9
10
  export declare const WithLabelAndHelperText: Story;
@@ -1,14 +1,16 @@
1
1
  import { ChangeEvent, MouseEvent } from 'react';
2
2
  export interface CheckboxProps {
3
3
  name?: string;
4
+ value?: string;
4
5
  label?: string;
5
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
6
- onChangeFake?: (event: MouseEvent<HTMLDivElement>) => void;
6
+ onChange?: (val: string, event: ChangeEvent<HTMLInputElement>) => void;
7
+ onChangeFake?: (val: string, event: MouseEvent<HTMLDivElement>) => void;
7
8
  className?: string;
8
9
  ariaLabel?: string;
9
10
  helperText?: string;
10
11
  checked?: boolean;
11
12
  blocked?: boolean;
13
+ withEllipsis?: boolean;
12
14
  indeterminate?: boolean;
13
15
  wordWrap?: boolean;
14
16
  disabled?: boolean;
@@ -33,5 +33,6 @@ export interface SortableTableProps {
33
33
  skeletonRows?: number;
34
34
  withStickyHeader?: boolean;
35
35
  withIntersectionObserver?: boolean;
36
+ minWidth?: string;
36
37
  onSortCallback?: (keyName: string) => void;
37
38
  }