@akad/design-system 1.1.9 → 1.1.10

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.
@@ -20,6 +20,7 @@ export interface DsInputProps extends React.HTMLAttributes<HTMLDivElement> {
20
20
  hasFeedback?: boolean;
21
21
  noMargin?: boolean;
22
22
  disabled?: boolean;
23
+ autoFocus?: boolean;
23
24
  mask?: string | object;
24
25
  onChangeHandler?: (event: React.ChangeEvent<HTMLInputElement>) => void;
25
26
  onBlurHandler?: (event: React.FocusEvent<HTMLInputElement>) => void;
@@ -28,6 +28,10 @@ export interface EditableSelectAnimatedProps {
28
28
  type: BooleanConstructor;
29
29
  default: boolean;
30
30
  }
31
+ export interface EditableSelectInputAutoFocusProps {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ }
31
35
  export interface EditableSelectPlaceholderProps {
32
36
  type: StringConstructor;
33
37
  default: string;
@@ -88,6 +92,7 @@ export interface EditableSelectConfig {
88
92
  label: EditableSelectLabelProps;
89
93
  testId: EditableSelectTestIdProps;
90
94
  animated: EditableSelectAnimatedProps;
95
+ inputAutoFocus: EditableSelectInputAutoFocusProps;
91
96
  loading: EditableSelectLoadingProps;
92
97
  disabled: EditableSelectDisabledProps;
93
98
  icon: EditableSelectIconProps;
@@ -111,6 +111,7 @@ export interface DsEditableSelectProps {
111
111
  placeholder?: string;
112
112
  loading?: boolean;
113
113
  animated?: boolean;
114
+ inputAutoFocus?: boolean;
114
115
  onBlurHandler?: () => void;
115
116
  onFocusHandler?: () => void;
116
117
  showOptionsOnFocus?: boolean;
@@ -127,7 +128,7 @@ export interface DsEditableSelectProps {
127
128
  inputOnKeyDownHandler?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
128
129
  }
129
130
  declare const DsEditableSelect: {
130
- ({ label, name, testId, value, options, size, onChangeHandler, onSelectHandler, onClearHandler, icon, noOptionsMessage, disabled, status, onBlurHandler, onFocusHandler, animated, placeholder, loading, showOptionsOnFocus, inputType, inputMin, inputMax, inputTooltip, inputTooltipPosition, inputTooltipPlacement, inputFeedback, inputHasFeedback, inputNoMargin, inputMask, inputOnKeyDownHandler, }: DsEditableSelectProps): import("react/jsx-runtime").JSX.Element;
131
+ ({ label, name, testId, value, options, size, onChangeHandler, onSelectHandler, onClearHandler, icon, noOptionsMessage, disabled, status, onBlurHandler, onFocusHandler, animated, inputAutoFocus, placeholder, loading, showOptionsOnFocus, inputType, inputMin, inputMax, inputTooltip, inputTooltipPosition, inputTooltipPlacement, inputFeedback, inputHasFeedback, inputNoMargin, inputMask, inputOnKeyDownHandler, }: DsEditableSelectProps): import("react/jsx-runtime").JSX.Element;
131
132
  displayName: string;
132
133
  };
133
134
  export default DsEditableSelect;