@chayns-components/core 5.0.0-beta.945 → 5.0.0-beta.948
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/lib/cjs/components/list/list-item/list-item-head/ListItemHead.js +3 -2
- package/lib/cjs/components/list/list-item/list-item-head/ListItemHead.js.map +1 -1
- package/lib/cjs/components/list/list-item/list-item-head/ListItemHead.styles.js +4 -0
- package/lib/cjs/components/list/list-item/list-item-head/ListItemHead.styles.js.map +1 -1
- package/lib/cjs/components/search-box/SearchBox.js +6 -2
- package/lib/cjs/components/search-box/SearchBox.js.map +1 -1
- package/lib/cjs/components/search-box/SearchBox.styles.js +6 -1
- package/lib/cjs/components/search-box/SearchBox.styles.js.map +1 -1
- package/lib/cjs/components/search-box/search-box-body/SearchBoxBody.styles.js +3 -0
- package/lib/cjs/components/search-box/search-box-body/SearchBoxBody.styles.js.map +1 -1
- package/lib/esm/components/list/list-item/list-item-head/ListItemHead.js +3 -2
- package/lib/esm/components/list/list-item/list-item-head/ListItemHead.js.map +1 -1
- package/lib/esm/components/list/list-item/list-item-head/ListItemHead.styles.js +19 -12
- package/lib/esm/components/list/list-item/list-item-head/ListItemHead.styles.js.map +1 -1
- package/lib/esm/components/search-box/SearchBox.js +7 -3
- package/lib/esm/components/search-box/SearchBox.js.map +1 -1
- package/lib/esm/components/search-box/SearchBox.styles.js +5 -0
- package/lib/esm/components/search-box/SearchBox.styles.js.map +1 -1
- package/lib/esm/components/search-box/search-box-body/SearchBoxBody.styles.js +12 -6
- package/lib/esm/components/search-box/search-box-body/SearchBoxBody.styles.js.map +1 -1
- package/lib/types/components/list/list-item/list-item-head/ListItemHead.styles.d.ts +1 -0
- package/lib/types/components/search-box/SearchBox.d.ts +4 -0
- package/lib/types/components/search-box/SearchBox.styles.d.ts +1 -0
- package/lib/types/components/search-box/search-box-body/SearchBoxBody.styles.d.ts +3 -1
- package/package.json +2 -2
|
@@ -8,6 +8,10 @@ export type SearchBoxProps = {
|
|
|
8
8
|
* The element where the content of the `ComboBox` should be rendered via React Portal.
|
|
9
9
|
*/
|
|
10
10
|
container?: Element;
|
|
11
|
+
/**
|
|
12
|
+
* An optional icon that is displayed inside the left side of the input.
|
|
13
|
+
*/
|
|
14
|
+
leftIcons?: string[];
|
|
11
15
|
/**
|
|
12
16
|
* List of groups with items that can be searched. It is possible to give only one list; if multiple lists are provided, the 'group name' parameter becomes mandatory.
|
|
13
17
|
*/
|
|
@@ -271,4 +271,5 @@ export declare const StyledMotionSearchBoxBody: import("styled-components/dist/t
|
|
|
271
271
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
272
272
|
}, StyledMotionSearchBoxBodyProps>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
|
|
273
273
|
export declare const StyledSearchBoxIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
274
|
+
export declare const StyledSearchBoxLeftWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
274
275
|
export {};
|
|
@@ -272,7 +272,9 @@ type StyledSearchBoxHeadProps = WithTheme<{
|
|
|
272
272
|
$hasScrolled: boolean;
|
|
273
273
|
$hasGroupName: boolean;
|
|
274
274
|
}>;
|
|
275
|
-
export declare const StyledSearchBoxBodyHeadGroupName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
275
|
+
export declare const StyledSearchBoxBodyHeadGroupName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
276
|
+
theme: import("../../color-scheme-provider/ColorSchemeProvider").Theme;
|
|
277
|
+
}>> & string;
|
|
276
278
|
type StyledSearchBoxBodyContentProps = WithTheme<{
|
|
277
279
|
$height: number;
|
|
278
280
|
$headHeight: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chayns-components/core",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.948",
|
|
4
4
|
"description": "A set of beautiful React components for developing your own applications with chayns.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"browserslist": [
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "13a48919c035a6badbe28a9dfdd329c40268b294"
|
|
91
91
|
}
|