@speakapbv/dough-component-library 9.17.0 → 9.18.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.
|
@@ -17,6 +17,7 @@ export declare type DoughSelectBoxInputRef = {
|
|
|
17
17
|
interface SelectBoxCommonProps {
|
|
18
18
|
ref?: Ref<DoughSelectBoxInputRef>;
|
|
19
19
|
width?: string;
|
|
20
|
+
dropAreaWidth?: string;
|
|
20
21
|
busy?: boolean;
|
|
21
22
|
borderless?: boolean;
|
|
22
23
|
className?: string;
|
|
@@ -63,5 +64,5 @@ export interface SelectBoxMultipleProps {
|
|
|
63
64
|
value?: Array<DoughSelectBoxData>;
|
|
64
65
|
}
|
|
65
66
|
export declare type SelectBoxProps = SelectBoxCommonProps & (SelectBoxSingleProps | SelectBoxMultipleProps);
|
|
66
|
-
export declare const SelectBox: React.ForwardRefExoticComponent<Pick<SelectBoxProps, "width" | "busy" | "borderless" | "className" | "inputClassName" | "dataAttributes" | "tabIndex" | "name" | "data" | "autoFocus" | "disabled" | "readOnly" | "emptyOptionText" | "filterItems" | "filterInputAutoFocus" | "filterFunction" | "onFilterTextChanged" | "optionComponent" | "filterPlaceholder" | "label" | "mandatory" | "multiple" | "placeholder" | "guidingIcon" | "validationResult" | "onBlur" | "onChange" | "onFocus" | "validator" | "value"> & React.RefAttributes<DoughSelectBoxInputRef>>;
|
|
67
|
+
export declare const SelectBox: React.ForwardRefExoticComponent<Pick<SelectBoxProps, "width" | "dropAreaWidth" | "busy" | "borderless" | "className" | "inputClassName" | "dataAttributes" | "tabIndex" | "name" | "data" | "autoFocus" | "disabled" | "readOnly" | "emptyOptionText" | "filterItems" | "filterInputAutoFocus" | "filterFunction" | "onFilterTextChanged" | "optionComponent" | "filterPlaceholder" | "label" | "mandatory" | "multiple" | "placeholder" | "guidingIcon" | "validationResult" | "onBlur" | "onChange" | "onFocus" | "validator" | "value"> & React.RefAttributes<DoughSelectBoxInputRef>>;
|
|
67
68
|
export {};
|
package/dist/index.es.js
CHANGED
|
@@ -3839,7 +3839,7 @@ var SelectBox = forwardRef(function (props, ref) {
|
|
|
3839
3839
|
React.createElement("span", { className: "dough-input-element-top-border-before" }),
|
|
3840
3840
|
React.createElement("span", null, props.label))),
|
|
3841
3841
|
React.createElement("span", { className: "dough-input-element-top-border-after" })))),
|
|
3842
|
-
React.createElement(DropArea, { onHide: handleBlur, referenceElement: componentRef, show: showDropArea },
|
|
3842
|
+
React.createElement(DropArea, { onHide: handleBlur, referenceElement: componentRef, show: showDropArea, width: props.dropAreaWidth },
|
|
3843
3843
|
React.createElement(LayoutContainer, { layoutType: Direction.VERTICAL },
|
|
3844
3844
|
props.filterItems && (React.createElement(LayoutFlexBox, { verticalAlign: VerticalAlignment.CENTER, autoFit: false, className: "dough-selectbox-filter-container", spacing: Spacings.AUTO },
|
|
3845
3845
|
React.createElement(TextInput, { autoFocus: props.filterInputAutoFocus, tabIndex: props.tabIndex === undefined
|
package/dist/index.js
CHANGED
|
@@ -3824,7 +3824,7 @@ var SelectBox = React.forwardRef(function (props, ref) {
|
|
|
3824
3824
|
React__default.createElement("span", { className: "dough-input-element-top-border-before" }),
|
|
3825
3825
|
React__default.createElement("span", null, props.label))),
|
|
3826
3826
|
React__default.createElement("span", { className: "dough-input-element-top-border-after" })))),
|
|
3827
|
-
React__default.createElement(DropArea, { onHide: handleBlur, referenceElement: componentRef, show: showDropArea },
|
|
3827
|
+
React__default.createElement(DropArea, { onHide: handleBlur, referenceElement: componentRef, show: showDropArea, width: props.dropAreaWidth },
|
|
3828
3828
|
React__default.createElement(LayoutContainer, { layoutType: exports.Direction.VERTICAL },
|
|
3829
3829
|
props.filterItems && (React__default.createElement(LayoutFlexBox, { verticalAlign: exports.VerticalAlignment.CENTER, autoFit: false, className: "dough-selectbox-filter-container", spacing: exports.Spacings.AUTO },
|
|
3830
3830
|
React__default.createElement(TextInput, { autoFocus: props.filterInputAutoFocus, tabIndex: props.tabIndex === undefined
|