@thecb/components 6.0.0-beta.12 → 6.0.0-beta.13
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.esm.js
CHANGED
|
@@ -19417,7 +19417,7 @@ var DropdownContentWrapper = styled.div.withConfig({
|
|
|
19417
19417
|
var DropdownItemWrapper = styled.li.withConfig({
|
|
19418
19418
|
displayName: "Dropdown__DropdownItemWrapper",
|
|
19419
19419
|
componentId: "sc-pn6m0h-2"
|
|
19420
|
-
})(["background-color:", ";text-align:start;border-width:0px;border-color:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;width:100%;cursor:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:none;}"], function (_ref4) {
|
|
19420
|
+
})(["background-color:", ";text-align:start;border-width:0px;border-color:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;width:100%;list-style:none;cursor:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:none;}"], function (_ref4) {
|
|
19421
19421
|
var selected = _ref4.selected,
|
|
19422
19422
|
themeValues = _ref4.themeValues;
|
|
19423
19423
|
return selected ? themeValues.selectedColor : WHITE;
|
|
@@ -19640,10 +19640,14 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
19640
19640
|
dropdownRef.current.focus();
|
|
19641
19641
|
}
|
|
19642
19642
|
}, [filteredOptions]);
|
|
19643
|
-
return /*#__PURE__*/React.createElement(
|
|
19643
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
19644
|
+
padding: "0",
|
|
19645
|
+
extraStyles: "position: relative;",
|
|
19646
|
+
minWidth: "100%",
|
|
19647
|
+
width: "100%"
|
|
19648
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
19644
19649
|
direction: "row",
|
|
19645
|
-
bottomItem: 2
|
|
19646
|
-
extraStyles: "position: relative;"
|
|
19650
|
+
bottomItem: 2
|
|
19647
19651
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
19648
19652
|
as: "input",
|
|
19649
19653
|
"aria-multiline": "false",
|
|
@@ -19662,6 +19666,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
19662
19666
|
extraStyles: disabled && "color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;",
|
|
19663
19667
|
hoverStyles: "background-color: ".concat(themeValues.hoverColor, ";"),
|
|
19664
19668
|
isOpen: isOpen,
|
|
19669
|
+
minWidth: "85%",
|
|
19665
19670
|
name: autocompleteValue,
|
|
19666
19671
|
onKeyDown: onKeyDown,
|
|
19667
19672
|
onClick: onClick,
|
|
@@ -19679,7 +19684,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
19679
19684
|
type: "text",
|
|
19680
19685
|
tabIndex: -1,
|
|
19681
19686
|
value: inputValue,
|
|
19682
|
-
width: "
|
|
19687
|
+
width: "85%",
|
|
19683
19688
|
dataQa: placeholder
|
|
19684
19689
|
}), /*#__PURE__*/React.createElement(IconWrapper, {
|
|
19685
19690
|
open: isOpen
|