@natoora-libs/core 0.2.34 → 0.2.35
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
|
@@ -8015,7 +8015,8 @@ var SearchHeader = ({
|
|
|
8015
8015
|
value,
|
|
8016
8016
|
onChange,
|
|
8017
8017
|
onKeyDown,
|
|
8018
|
-
width
|
|
8018
|
+
width,
|
|
8019
|
+
initialValue
|
|
8019
8020
|
}) => {
|
|
8020
8021
|
return /* @__PURE__ */ jsxs81(
|
|
8021
8022
|
Paper11,
|
|
@@ -8043,7 +8044,8 @@ var SearchHeader = ({
|
|
|
8043
8044
|
onSearch,
|
|
8044
8045
|
value,
|
|
8045
8046
|
onChange,
|
|
8046
|
-
onKeyDown
|
|
8047
|
+
onKeyDown,
|
|
8048
|
+
initialValue
|
|
8047
8049
|
}
|
|
8048
8050
|
),
|
|
8049
8051
|
renderExtraAction
|