@natoora-libs/core 0.2.44 → 0.2.45
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/components/index.cjs +4 -2
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +4 -2
- package/dist/components/index.js.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -928,11 +928,12 @@ type SearchHeaderProps = {
|
|
|
928
928
|
children?: ReactNode;
|
|
929
929
|
onSearch?: (value: string) => void;
|
|
930
930
|
value?: string;
|
|
931
|
+
initialValue?: string;
|
|
931
932
|
onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
932
933
|
onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
933
934
|
width?: number;
|
|
934
935
|
};
|
|
935
|
-
declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
936
|
+
declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, initialValue }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
936
937
|
|
|
937
938
|
interface ISearchWithFiltersProps {
|
|
938
939
|
enterPressedInSearch?: () => void;
|
|
@@ -928,11 +928,12 @@ type SearchHeaderProps = {
|
|
|
928
928
|
children?: ReactNode;
|
|
929
929
|
onSearch?: (value: string) => void;
|
|
930
930
|
value?: string;
|
|
931
|
+
initialValue?: string;
|
|
931
932
|
onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
932
933
|
onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
933
934
|
width?: number;
|
|
934
935
|
};
|
|
935
|
-
declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
936
|
+
declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, initialValue }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
936
937
|
|
|
937
938
|
interface ISearchWithFiltersProps {
|
|
938
939
|
enterPressedInSearch?: () => void;
|
package/dist/components/index.js
CHANGED
|
@@ -8043,7 +8043,8 @@ var SearchHeader = ({
|
|
|
8043
8043
|
value,
|
|
8044
8044
|
onChange,
|
|
8045
8045
|
onKeyDown,
|
|
8046
|
-
width
|
|
8046
|
+
width,
|
|
8047
|
+
initialValue
|
|
8047
8048
|
}) => {
|
|
8048
8049
|
return /* @__PURE__ */ jsxs81(
|
|
8049
8050
|
Paper11,
|
|
@@ -8071,7 +8072,8 @@ var SearchHeader = ({
|
|
|
8071
8072
|
onSearch,
|
|
8072
8073
|
value,
|
|
8073
8074
|
onChange,
|
|
8074
|
-
onKeyDown
|
|
8075
|
+
onKeyDown,
|
|
8076
|
+
initialValue
|
|
8075
8077
|
}
|
|
8076
8078
|
),
|
|
8077
8079
|
renderExtraAction
|