react-restyle-components 0.3.29 → 0.3.30
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.
|
@@ -106,7 +106,7 @@ export const Tags = ({ defaultTags = [], placeholder = 'Type and press Enter to
|
|
|
106
106
|
!hasError &&
|
|
107
107
|
s['border-blue-500'] + ' ' + s['ring-1'] + ' ' + s['ring-blue-500'],
|
|
108
108
|
// Error styles
|
|
109
|
-
hasError ? s['border-red
|
|
109
|
+
hasError ? s['border-red'] : s['border-gray-300'],
|
|
110
110
|
// Disabled styles
|
|
111
111
|
disabled && s['bg-gray-50'] + ' ' + s['cursor-not-allowed'],
|
|
112
112
|
// Hover styles
|
|
@@ -98,7 +98,7 @@ export const AutoCompleteFilterMultiSelectSelectedTopDisplay = ({ uniqueField =
|
|
|
98
98
|
return options?.length || 0;
|
|
99
99
|
};
|
|
100
100
|
return (_jsx(_Fragment, { children: _jsxs("div", { ref: wrapperRef, className: cn(s['w-full'], s['relative']), children: [_jsxs("div", { className: cn(s['flex'], s['items-center'], s['leading-4'], s['p-2'], s['focus:outline-none'], s['focus:ring'], s['w-full'], s['shadow-sm'], s['sm:text-base'], s['border'], s['rounded-md'], {
|
|
101
|
-
[s['border-red
|
|
101
|
+
[s['border-red']]: hasError,
|
|
102
102
|
[s['border-gray-300']]: !hasError,
|
|
103
103
|
}, s['bg-white']), children: [_jsx("input", { placeholder: placeholder, disabled: disable, name: name, value: !isListOpen
|
|
104
104
|
? `${getSelectedCount()} Items Selected`
|