@linzjs/lui 24.0.0 → 24.0.2
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/lui.esm.js
CHANGED
|
@@ -15677,6 +15677,7 @@ var LuiComboSelect = forwardRef$1(LuiComboSelectActual);
|
|
|
15677
15677
|
// the function declaration
|
|
15678
15678
|
var LuiLoadingIndicator = function () { return React__default.createElement(LuiMiniSpinner, { size: 25 }); };
|
|
15679
15679
|
function LuiComboSelectActual(givenProps, ref) {
|
|
15680
|
+
var _a;
|
|
15680
15681
|
var props = Object.assign({
|
|
15681
15682
|
noOptionsMessage: function (i) {
|
|
15682
15683
|
return "No options found containing '".concat(i.inputValue, "'");
|
|
@@ -15686,7 +15687,7 @@ function LuiComboSelectActual(givenProps, ref) {
|
|
|
15686
15687
|
// box-shadow: "-8px 0px 0 0 #cc0000";
|
|
15687
15688
|
// border-radius: "4px";
|
|
15688
15689
|
var id = useGenerateOrDefaultId(props === null || props === void 0 ? void 0 : props.id);
|
|
15689
|
-
var selectProp = __assign(__assign({ inputId: id }, props), { classNamePrefix: 'LuiComboSelect', className:
|
|
15690
|
+
var selectProp = __assign(__assign({ inputId: id }, props), { classNamePrefix: 'LuiComboSelect', className: (_a = props.selectProps) === null || _a === void 0 ? void 0 : _a.className, theme: function (theme) { return (__assign(__assign({}, theme), { colors: __assign(__assign({}, theme.colors), { primary: colors['sea'], primary75: colors['electric'], primary50: colors['spray'], primary25: colors['polar'], neutral90: colors['charcoal'], neutral80: colors['charcoal'], neutral70: colors['charcoal'], neutral60: colors['fuscous'], neutral50: colors['fuscous'], neutral40: colors['gray'], neutral30: colors['gray'], neutral20: colors['silver'], neutral10: colors['lily'], neutral5: colors['hint'], danger: colors['error'], dangerLight: colors['error-bg'] }) })); }, styles: {
|
|
15690
15691
|
control: function (provided, state) { return (__assign(__assign({}, provided), {
|
|
15691
15692
|
/* matches style of .LuiTextInput-input */
|
|
15692
15693
|
boxShadow: 'none', border: state.isFocused ? '1px solid #053d52' : '1px solid #b2b2b2', '&:hover, &:active': {
|