@thecb/components 11.6.3 → 11.6.4
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.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +55 -1
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/dropdown/Dropdown.js +3 -2
- package/src/components/atoms/dropdown/index.d.ts +59 -0
- package/src/components/atoms/index.d.ts +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -23803,7 +23803,8 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23803
23803
|
_ref13$ariaInvalid = _ref13.ariaInvalid,
|
|
23804
23804
|
ariaInvalid = _ref13$ariaInvalid === void 0 ? false : _ref13$ariaInvalid,
|
|
23805
23805
|
_ref13$isRequired = _ref13.isRequired,
|
|
23806
|
-
isRequired = _ref13$isRequired === void 0 ? false : _ref13$isRequired
|
|
23806
|
+
isRequired = _ref13$isRequired === void 0 ? false : _ref13$isRequired,
|
|
23807
|
+
extraStyles = _ref13.extraStyles;
|
|
23807
23808
|
var _useState = React.useState(""),
|
|
23808
23809
|
_useState2 = _slicedToArray(_useState, 2),
|
|
23809
23810
|
inputValue = _useState2[0],
|
|
@@ -24000,7 +24001,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24000
24001
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
24001
24002
|
padding: "0",
|
|
24002
24003
|
background: isOpen ? themeValues.hoverColor : WHITE,
|
|
24003
|
-
extraStyles: "position: relative;",
|
|
24004
|
+
extraStyles: "position: relative;".concat(extraStyles ? " ".concat(extraStyles) : ""),
|
|
24004
24005
|
minWidth: "100%",
|
|
24005
24006
|
onClick: function onClick() {
|
|
24006
24007
|
if (!isOpen) {
|