widenarrow-ui 1.1.56 → 1.1.58

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.
Files changed (32) hide show
  1. package/lib/components/Checkbox/Checkbox.types.d.ts +1 -0
  2. package/lib/components/DropDown/DropDown.types.d.ts +1 -0
  3. package/lib/components/IconButton/IconButton.types.d.ts +1 -0
  4. package/lib/components/InlineButton/InlineButton.types.d.ts +1 -0
  5. package/lib/components/RadioButton/RadioButton.types.d.ts +1 -0
  6. package/lib/components/SelectInput/SelectInput.types.d.ts +1 -0
  7. package/lib/components/SwitchButton/SwitchButton.types.d.ts +1 -0
  8. package/lib/index.css +1 -1
  9. package/lib/index.d.ts +7 -0
  10. package/lib/index.esm.css +1 -1
  11. package/lib/index.esm.js +47 -17
  12. package/lib/index.esm.js.map +1 -1
  13. package/lib/index.js +47 -17
  14. package/lib/index.js.map +1 -1
  15. package/package.json +1 -1
  16. package/src/components/Checkbox/Checkbox.tsx +2 -0
  17. package/src/components/Checkbox/Checkbox.types.ts +1 -0
  18. package/src/components/DropDown/DropDown.tsx +31 -1
  19. package/src/components/DropDown/DropDown.types.ts +1 -0
  20. package/src/components/IconButton/IconButton.tsx +2 -0
  21. package/src/components/IconButton/IconButton.types.ts +1 -0
  22. package/src/components/InlineButton/InlineButton.tsx +2 -0
  23. package/src/components/InlineButton/InlineButton.types.ts +1 -0
  24. package/src/components/Input/Input.tsx +1 -1
  25. package/src/components/RadioButton/RadioButton.tsx +2 -0
  26. package/src/components/RadioButton/RadioButton.types.ts +1 -0
  27. package/src/components/SelectInput/SelectInput.module.scss +0 -6
  28. package/src/components/SelectInput/SelectInput.tsx +3 -1
  29. package/src/components/SelectInput/SelectInput.types.ts +1 -0
  30. package/src/components/SolidSpinner/SolidSpinner.module.scss +4 -1
  31. package/src/components/SwitchButton/SwitchButton.tsx +2 -0
  32. package/src/components/SwitchButton/SwitchButton.types.ts +1 -0
@@ -13,6 +13,7 @@ export interface CheckboxProps {
13
13
  helperText?: string;
14
14
  checked?: boolean;
15
15
  blocked?: boolean;
16
+ autoFocus?: boolean;
16
17
  withEllipsis?: boolean;
17
18
  withLabel?: boolean;
18
19
  indeterminate?: boolean;
@@ -13,6 +13,7 @@ export interface DropDownProps {
13
13
  withArrow?: boolean;
14
14
  loading?: boolean;
15
15
  childrenIsList?: boolean;
16
+ closeOnEscape?: boolean;
16
17
  isOpen?: boolean;
17
18
  withVisibleOverflow?: boolean;
18
19
  rotateIconByDegree?: number;
@@ -16,6 +16,7 @@ export interface IconButtonProps extends IconStyleInterface {
16
16
  iconColor?: Partial<ColorTypes>;
17
17
  href?: string;
18
18
  disabled?: boolean;
19
+ autoFocus?: boolean;
19
20
  tabIndex?: number;
20
21
  toolTip?: string;
21
22
  ariaLabel?: string;
@@ -24,5 +24,6 @@ export interface InlineButtonProps {
24
24
  disabled?: boolean | undefined;
25
25
  style?: CSSProperties;
26
26
  tabIndex?: number;
27
+ autoFocus?: boolean;
27
28
  toolTip?: string;
28
29
  }
@@ -10,6 +10,7 @@ export interface RadioButtonProps {
10
10
  disabled?: boolean;
11
11
  helperText?: string;
12
12
  withEllipsis?: boolean;
13
+ autoFocus?: boolean;
13
14
  checked: boolean;
14
15
  toolTip?: string;
15
16
  onChange: (val: string | number, event: ChangeEvent<HTMLInputElement> | KeyboardEvent<HTMLInputElement>) => void;
@@ -21,6 +21,7 @@ export interface SelectInputProps {
21
21
  helperText?: string;
22
22
  text?: string;
23
23
  marginBottom?: boolean;
24
+ autoFocus?: boolean;
24
25
  loading?: boolean;
25
26
  ariaLabel?: string;
26
27
  label?: string;
@@ -7,6 +7,7 @@ export interface SwitchButtonProps {
7
7
  withInlineLabel?: boolean;
8
8
  ariaLabel?: string;
9
9
  disabled?: boolean;
10
+ autoFocus?: boolean;
10
11
  alignCenter?: boolean;
11
12
  className?: string;
12
13
  marginBottom?: boolean;