labsense-ui-kit 1.3.58 → 1.3.59
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.js +121 -118
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +121 -118
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8003,7 +8003,7 @@ var OptionComponent = function OptionComponent(_ref9) {
|
|
|
8003
8003
|
};
|
|
8004
8004
|
|
|
8005
8005
|
var _templateObject$b, _templateObject2$8, _templateObject3$5, _templateObject4$4, _templateObject5$4, _templateObject6$4, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2;
|
|
8006
|
-
var DropdownContainer = styled__default.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
8006
|
+
var DropdownContainer = styled__default.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n // max-height: ", ";\n max-height: ", ";\n"])), function (_ref) {
|
|
8007
8007
|
var $width = _ref.$width;
|
|
8008
8008
|
return $width || '100%';
|
|
8009
8009
|
}, function (_ref2) {
|
|
@@ -8012,12 +8012,15 @@ var DropdownContainer = styled__default.div(_templateObject$b || (_templateObjec
|
|
|
8012
8012
|
}, function (_ref3) {
|
|
8013
8013
|
var $replaceLabel = _ref3.$replaceLabel;
|
|
8014
8014
|
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
8015
|
+
}, function (_ref4) {
|
|
8016
|
+
var $hasTitle = _ref4.$hasTitle;
|
|
8017
|
+
return $hasTitle ? 'calc(100% - 22px)' : '100%';
|
|
8015
8018
|
});
|
|
8016
|
-
var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (
|
|
8017
|
-
var $replaceLabel =
|
|
8019
|
+
var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
8020
|
+
var $replaceLabel = _ref5.$replaceLabel;
|
|
8018
8021
|
return $replaceLabel ? 'auto' : '';
|
|
8019
|
-
}, function (
|
|
8020
|
-
var $size =
|
|
8022
|
+
}, function (_ref6) {
|
|
8023
|
+
var $size = _ref6.$size;
|
|
8021
8024
|
switch ($size) {
|
|
8022
8025
|
case 'small':
|
|
8023
8026
|
return '9px 12px';
|
|
@@ -8026,27 +8029,27 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
|
|
|
8026
8029
|
default:
|
|
8027
8030
|
return '14px 12px';
|
|
8028
8031
|
}
|
|
8029
|
-
}, function (_ref6) {
|
|
8030
|
-
var $width = _ref6.$width;
|
|
8031
|
-
return $width ? $width : '100%';
|
|
8032
8032
|
}, function (_ref7) {
|
|
8033
|
-
var $
|
|
8034
|
-
return $
|
|
8033
|
+
var $width = _ref7.$width;
|
|
8034
|
+
return $width ? $width : '100%';
|
|
8035
8035
|
}, function (_ref8) {
|
|
8036
|
-
var $
|
|
8037
|
-
|
|
8038
|
-
theme = _ref8.theme;
|
|
8039
|
-
return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
|
|
8036
|
+
var $height = _ref8.$height;
|
|
8037
|
+
return $height || '100%';
|
|
8040
8038
|
}, function (_ref9) {
|
|
8041
|
-
var $
|
|
8042
|
-
|
|
8039
|
+
var $border = _ref9.$border,
|
|
8040
|
+
$isOpen = _ref9.$isOpen,
|
|
8041
|
+
theme = _ref9.theme;
|
|
8042
|
+
return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
|
|
8043
8043
|
}, function (_ref10) {
|
|
8044
|
-
var $
|
|
8045
|
-
return $
|
|
8044
|
+
var $borderRadius = _ref10.$borderRadius;
|
|
8045
|
+
return $borderRadius || '8px';
|
|
8046
8046
|
}, function (_ref11) {
|
|
8047
|
-
var $
|
|
8048
|
-
|
|
8049
|
-
|
|
8047
|
+
var $disabled = _ref11.$disabled;
|
|
8048
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
8049
|
+
}, function (_ref12) {
|
|
8050
|
+
var $background = _ref12.$background,
|
|
8051
|
+
$disabled = _ref12.$disabled,
|
|
8052
|
+
theme = _ref12.theme;
|
|
8050
8053
|
switch ($background) {
|
|
8051
8054
|
case 'dark':
|
|
8052
8055
|
return $disabled ? theme.vms.disabled.secondary : theme.vms.text.dark;
|
|
@@ -8067,12 +8070,12 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
|
|
|
8067
8070
|
default:
|
|
8068
8071
|
return $disabled ? theme.vms.disabled.secondary : $background;
|
|
8069
8072
|
}
|
|
8070
|
-
}, function (_ref12) {
|
|
8071
|
-
var $color = _ref12.$color,
|
|
8072
|
-
theme = _ref12.theme;
|
|
8073
|
-
return $color || theme.vms.text.medium;
|
|
8074
8073
|
}, function (_ref13) {
|
|
8075
|
-
var $
|
|
8074
|
+
var $color = _ref13.$color,
|
|
8075
|
+
theme = _ref13.theme;
|
|
8076
|
+
return $color || theme.vms.text.medium;
|
|
8077
|
+
}, function (_ref14) {
|
|
8078
|
+
var $size = _ref14.$size;
|
|
8076
8079
|
switch ($size) {
|
|
8077
8080
|
case 'small':
|
|
8078
8081
|
return '12px';
|
|
@@ -8081,8 +8084,8 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
|
|
|
8081
8084
|
default:
|
|
8082
8085
|
return '14px';
|
|
8083
8086
|
}
|
|
8084
|
-
}, function (
|
|
8085
|
-
var $size =
|
|
8087
|
+
}, function (_ref15) {
|
|
8088
|
+
var $size = _ref15.$size;
|
|
8086
8089
|
switch ($size) {
|
|
8087
8090
|
case 'small':
|
|
8088
8091
|
return '12px';
|
|
@@ -8092,20 +8095,20 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
|
|
|
8092
8095
|
return '14px';
|
|
8093
8096
|
}
|
|
8094
8097
|
});
|
|
8095
|
-
var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (
|
|
8096
|
-
var $titleWeight =
|
|
8098
|
+
var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref16) {
|
|
8099
|
+
var $titleWeight = _ref16.$titleWeight;
|
|
8097
8100
|
return $titleWeight != null ? $titleWeight : '500';
|
|
8098
|
-
}, function (_ref16) {
|
|
8099
|
-
var $titleSize = _ref16.$titleSize,
|
|
8100
|
-
$size = _ref16.$size;
|
|
8101
|
-
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
8102
8101
|
}, function (_ref17) {
|
|
8103
8102
|
var $titleSize = _ref17.$titleSize,
|
|
8104
8103
|
$size = _ref17.$size;
|
|
8105
8104
|
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
8106
8105
|
}, function (_ref18) {
|
|
8107
|
-
var $
|
|
8108
|
-
|
|
8106
|
+
var $titleSize = _ref18.$titleSize,
|
|
8107
|
+
$size = _ref18.$size;
|
|
8108
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
8109
|
+
}, function (_ref19) {
|
|
8110
|
+
var $titleColor = _ref19.$titleColor,
|
|
8111
|
+
theme = _ref19.theme;
|
|
8109
8112
|
switch ($titleColor) {
|
|
8110
8113
|
case 'dark':
|
|
8111
8114
|
return theme.vms.text.dark;
|
|
@@ -8128,33 +8131,33 @@ var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 =
|
|
|
8128
8131
|
}
|
|
8129
8132
|
});
|
|
8130
8133
|
var Container$2 = styled__default.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
8131
|
-
var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (
|
|
8132
|
-
var $labelStyle =
|
|
8134
|
+
var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref20) {
|
|
8135
|
+
var $labelStyle = _ref20.$labelStyle;
|
|
8133
8136
|
return $labelStyle;
|
|
8134
|
-
}, function (
|
|
8135
|
-
var $labelColor =
|
|
8136
|
-
theme =
|
|
8137
|
+
}, function (_ref21) {
|
|
8138
|
+
var $labelColor = _ref21.$labelColor,
|
|
8139
|
+
theme = _ref21.theme;
|
|
8137
8140
|
return $labelColor || theme.vms.text.medium;
|
|
8138
8141
|
});
|
|
8139
|
-
var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n"])), function (
|
|
8140
|
-
var theme =
|
|
8142
|
+
var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n"])), function (_ref22) {
|
|
8143
|
+
var theme = _ref22.theme;
|
|
8141
8144
|
return "1px solid " + theme.vms.border.light;
|
|
8142
|
-
}, function (_ref22) {
|
|
8143
|
-
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
8144
|
-
return $optionsBorderRadius || '8px';
|
|
8145
8145
|
}, function (_ref23) {
|
|
8146
|
-
var $
|
|
8147
|
-
return $
|
|
8146
|
+
var $optionsBorderRadius = _ref23.$optionsBorderRadius;
|
|
8147
|
+
return $optionsBorderRadius || '8px';
|
|
8148
8148
|
}, function (_ref24) {
|
|
8149
|
-
var $
|
|
8150
|
-
|
|
8149
|
+
var $width = _ref24.$width;
|
|
8150
|
+
return $width ? $width : 'max-content';
|
|
8151
|
+
}, function (_ref25) {
|
|
8152
|
+
var $menuBackground = _ref25.$menuBackground,
|
|
8153
|
+
theme = _ref25.theme;
|
|
8151
8154
|
return $menuBackground || theme.vms.accent.light_2;
|
|
8152
8155
|
});
|
|
8153
8156
|
var SelectedOptionsWrapper = styled__default.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
8154
|
-
var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (
|
|
8155
|
-
var $selectedOptionBackground =
|
|
8156
|
-
$disabled =
|
|
8157
|
-
theme =
|
|
8157
|
+
var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref26) {
|
|
8158
|
+
var $selectedOptionBackground = _ref26.$selectedOptionBackground,
|
|
8159
|
+
$disabled = _ref26.$disabled,
|
|
8160
|
+
theme = _ref26.theme;
|
|
8158
8161
|
switch ($selectedOptionBackground) {
|
|
8159
8162
|
case 'dark':
|
|
8160
8163
|
return theme.vms.text.dark;
|
|
@@ -8175,9 +8178,9 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
|
|
|
8175
8178
|
default:
|
|
8176
8179
|
return $selectedOptionBackground || theme.vms.accent.light_2;
|
|
8177
8180
|
}
|
|
8178
|
-
}, function (
|
|
8179
|
-
var $selectedOptionColor =
|
|
8180
|
-
theme =
|
|
8181
|
+
}, function (_ref27) {
|
|
8182
|
+
var $selectedOptionColor = _ref27.$selectedOptionColor,
|
|
8183
|
+
theme = _ref27.theme;
|
|
8181
8184
|
switch ($selectedOptionColor) {
|
|
8182
8185
|
case 'dark':
|
|
8183
8186
|
return theme.vms.text.dark;
|
|
@@ -8199,73 +8202,73 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
|
|
|
8199
8202
|
return $selectedOptionColor;
|
|
8200
8203
|
}
|
|
8201
8204
|
});
|
|
8202
|
-
var RemoveIcon = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (
|
|
8203
|
-
var $disabled =
|
|
8205
|
+
var RemoveIcon = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref28) {
|
|
8206
|
+
var $disabled = _ref28.$disabled;
|
|
8204
8207
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8205
|
-
}, function (_ref28) {
|
|
8206
|
-
var removeIconBackground = _ref28.removeIconBackground,
|
|
8207
|
-
$type = _ref28.$type,
|
|
8208
|
-
theme = _ref28.theme;
|
|
8209
|
-
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
|
|
8210
8208
|
}, function (_ref29) {
|
|
8211
|
-
var
|
|
8209
|
+
var removeIconBackground = _ref29.removeIconBackground,
|
|
8210
|
+
$type = _ref29.$type,
|
|
8211
|
+
theme = _ref29.theme;
|
|
8212
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
|
|
8213
|
+
}, function (_ref30) {
|
|
8214
|
+
var $disabled = _ref30.$disabled;
|
|
8212
8215
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8213
8216
|
});
|
|
8214
8217
|
var TextWrapper = styled__default.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
8215
|
-
var Asterisk = styled__default.span(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (
|
|
8216
|
-
var theme =
|
|
8218
|
+
var Asterisk = styled__default.span(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref31) {
|
|
8219
|
+
var theme = _ref31.theme;
|
|
8217
8220
|
return theme.vms["default"].error;
|
|
8218
8221
|
});
|
|
8219
|
-
var MultiSelectDropdown = function MultiSelectDropdown(
|
|
8220
|
-
var title =
|
|
8221
|
-
titleWeight =
|
|
8222
|
-
titleSize =
|
|
8223
|
-
titleColor =
|
|
8224
|
-
|
|
8225
|
-
labelText =
|
|
8226
|
-
labelStyle =
|
|
8227
|
-
labelColor =
|
|
8228
|
-
|
|
8229
|
-
replaceLabel =
|
|
8230
|
-
options =
|
|
8231
|
-
width =
|
|
8232
|
-
optionWidth =
|
|
8233
|
-
height =
|
|
8234
|
-
placeholder =
|
|
8235
|
-
border =
|
|
8236
|
-
background =
|
|
8237
|
-
selectedOptionBackground =
|
|
8238
|
-
selectedOptionColor =
|
|
8239
|
-
menuBackground =
|
|
8240
|
-
optionsBorderRadius =
|
|
8241
|
-
borderRadius =
|
|
8242
|
-
removeIconBackground =
|
|
8243
|
-
handleSelectChange =
|
|
8244
|
-
selectedOptions =
|
|
8245
|
-
placeholderColor =
|
|
8246
|
-
optionBorder =
|
|
8247
|
-
optionColor =
|
|
8248
|
-
searchIcon =
|
|
8249
|
-
searchbarTextColor =
|
|
8250
|
-
searchBoxBackground =
|
|
8251
|
-
searchBoxBorder =
|
|
8252
|
-
searchBoxBorderRadius =
|
|
8253
|
-
size =
|
|
8254
|
-
removeIcon =
|
|
8255
|
-
type =
|
|
8256
|
-
icon =
|
|
8257
|
-
|
|
8258
|
-
disabled =
|
|
8259
|
-
|
|
8260
|
-
required =
|
|
8261
|
-
|
|
8262
|
-
searchBox =
|
|
8263
|
-
|
|
8264
|
-
NoOptionsText =
|
|
8265
|
-
|
|
8266
|
-
selectAllOption =
|
|
8267
|
-
|
|
8268
|
-
selectAllLabel =
|
|
8222
|
+
var MultiSelectDropdown = function MultiSelectDropdown(_ref32) {
|
|
8223
|
+
var title = _ref32.title,
|
|
8224
|
+
titleWeight = _ref32.titleWeight,
|
|
8225
|
+
titleSize = _ref32.titleSize,
|
|
8226
|
+
titleColor = _ref32.titleColor,
|
|
8227
|
+
_ref32$labelText = _ref32.labelText,
|
|
8228
|
+
labelText = _ref32$labelText === void 0 ? 'Select Cameras' : _ref32$labelText,
|
|
8229
|
+
labelStyle = _ref32.labelStyle,
|
|
8230
|
+
labelColor = _ref32.labelColor,
|
|
8231
|
+
_ref32$replaceLabel = _ref32.replaceLabel,
|
|
8232
|
+
replaceLabel = _ref32$replaceLabel === void 0 ? true : _ref32$replaceLabel,
|
|
8233
|
+
options = _ref32.options,
|
|
8234
|
+
width = _ref32.width,
|
|
8235
|
+
optionWidth = _ref32.optionWidth,
|
|
8236
|
+
height = _ref32.height,
|
|
8237
|
+
placeholder = _ref32.placeholder,
|
|
8238
|
+
border = _ref32.border,
|
|
8239
|
+
background = _ref32.background,
|
|
8240
|
+
selectedOptionBackground = _ref32.selectedOptionBackground,
|
|
8241
|
+
selectedOptionColor = _ref32.selectedOptionColor,
|
|
8242
|
+
menuBackground = _ref32.menuBackground,
|
|
8243
|
+
optionsBorderRadius = _ref32.optionsBorderRadius,
|
|
8244
|
+
borderRadius = _ref32.borderRadius,
|
|
8245
|
+
removeIconBackground = _ref32.removeIconBackground,
|
|
8246
|
+
handleSelectChange = _ref32.handleSelectChange,
|
|
8247
|
+
selectedOptions = _ref32.selectedOptions,
|
|
8248
|
+
placeholderColor = _ref32.placeholderColor,
|
|
8249
|
+
optionBorder = _ref32.optionBorder,
|
|
8250
|
+
optionColor = _ref32.optionColor,
|
|
8251
|
+
searchIcon = _ref32.searchIcon,
|
|
8252
|
+
searchbarTextColor = _ref32.searchbarTextColor,
|
|
8253
|
+
searchBoxBackground = _ref32.searchBoxBackground,
|
|
8254
|
+
searchBoxBorder = _ref32.searchBoxBorder,
|
|
8255
|
+
searchBoxBorderRadius = _ref32.searchBoxBorderRadius,
|
|
8256
|
+
size = _ref32.size,
|
|
8257
|
+
removeIcon = _ref32.removeIcon,
|
|
8258
|
+
type = _ref32.type,
|
|
8259
|
+
icon = _ref32.icon,
|
|
8260
|
+
_ref32$disabled = _ref32.disabled,
|
|
8261
|
+
disabled = _ref32$disabled === void 0 ? false : _ref32$disabled,
|
|
8262
|
+
_ref32$required = _ref32.required,
|
|
8263
|
+
required = _ref32$required === void 0 ? false : _ref32$required,
|
|
8264
|
+
_ref32$searchBox = _ref32.searchBox,
|
|
8265
|
+
searchBox = _ref32$searchBox === void 0 ? true : _ref32$searchBox,
|
|
8266
|
+
_ref32$NoOptionsText = _ref32.NoOptionsText,
|
|
8267
|
+
NoOptionsText = _ref32$NoOptionsText === void 0 ? 'No Options Available' : _ref32$NoOptionsText,
|
|
8268
|
+
_ref32$selectAllOptio = _ref32.selectAllOption,
|
|
8269
|
+
selectAllOption = _ref32$selectAllOptio === void 0 ? false : _ref32$selectAllOptio,
|
|
8270
|
+
_ref32$selectAllLabel = _ref32.selectAllLabel,
|
|
8271
|
+
selectAllLabel = _ref32$selectAllLabel === void 0 ? 'Select All' : _ref32$selectAllLabel;
|
|
8269
8272
|
var themeColors = useTheme();
|
|
8270
8273
|
var _useState = React.useState(false),
|
|
8271
8274
|
dropUp = _useState[0],
|
|
@@ -8348,7 +8351,7 @@ var MultiSelectDropdown = function MultiSelectDropdown(_ref31) {
|
|
|
8348
8351
|
ref: dropdownRef,
|
|
8349
8352
|
"$width": width,
|
|
8350
8353
|
"$height": height,
|
|
8351
|
-
"$
|
|
8354
|
+
"$hasTitle": !!title
|
|
8352
8355
|
}, React__default.createElement(DropdownButton, {
|
|
8353
8356
|
onClick: toggleDropdown,
|
|
8354
8357
|
"$height": height,
|