myshell-react-lib 0.2.38 → 0.2.39
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 +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -967,7 +967,7 @@ type SearchBarProps = {
|
|
|
967
967
|
*
|
|
968
968
|
* @default xs
|
|
969
969
|
*/
|
|
970
|
-
size?:
|
|
970
|
+
size?: 'md' | 'sm' | 'xs';
|
|
971
971
|
/**
|
|
972
972
|
* 是否圆角
|
|
973
973
|
*/
|
|
@@ -980,7 +980,7 @@ type SearchBarProps = {
|
|
|
980
980
|
* 默认搜索时是否触发回调
|
|
981
981
|
*/
|
|
982
982
|
defaultSearchByChange?: boolean;
|
|
983
|
-
} & Omit<SearchInputProps,
|
|
983
|
+
} & Omit<SearchInputProps, 'size'>;
|
|
984
984
|
declare function SearchBar({ className, inputClassName, placeholder, type, size, readOnly, searchValue, roundedFill, onSearchChange, onValueChange, defaultSearchByChange, ...props }: SearchBarProps): react_jsx_runtime.JSX.Element;
|
|
985
985
|
declare namespace SearchBar {
|
|
986
986
|
var displayName: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -967,7 +967,7 @@ type SearchBarProps = {
|
|
|
967
967
|
*
|
|
968
968
|
* @default xs
|
|
969
969
|
*/
|
|
970
|
-
size?:
|
|
970
|
+
size?: 'md' | 'sm' | 'xs';
|
|
971
971
|
/**
|
|
972
972
|
* 是否圆角
|
|
973
973
|
*/
|
|
@@ -980,7 +980,7 @@ type SearchBarProps = {
|
|
|
980
980
|
* 默认搜索时是否触发回调
|
|
981
981
|
*/
|
|
982
982
|
defaultSearchByChange?: boolean;
|
|
983
|
-
} & Omit<SearchInputProps,
|
|
983
|
+
} & Omit<SearchInputProps, 'size'>;
|
|
984
984
|
declare function SearchBar({ className, inputClassName, placeholder, type, size, readOnly, searchValue, roundedFill, onSearchChange, onValueChange, defaultSearchByChange, ...props }: SearchBarProps): react_jsx_runtime.JSX.Element;
|
|
985
985
|
declare namespace SearchBar {
|
|
986
986
|
var displayName: string;
|
package/dist/index.js
CHANGED
|
@@ -13022,6 +13022,7 @@ function SearchBar(_param) {
|
|
|
13022
13022
|
/* @__PURE__ */ jsx45(Input, _object_spread({
|
|
13023
13023
|
type: type,
|
|
13024
13024
|
placeholder: placeholder,
|
|
13025
|
+
hasEnter: true,
|
|
13025
13026
|
rounded: roundedFill ? "full" : "sm",
|
|
13026
13027
|
size: size,
|
|
13027
13028
|
className: cn("relative w-full px-9 flex space-x-2 text-base shadow-none placeholder:text-Colors-Text-Subtlest", "bg-cc-Search-Bar-bg-default focus-visible-style", {
|