@goodhood-web/nebenan-base 1.9.0-development.4 → 1.9.0-development.40
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/index.d.ts +3 -1
- package/index.js +31 -192
- package/index.mjs +9660 -24598
- package/lib/DesktopNavbarSearchField/DesktopNavbarSearchField.types.d.ts +2 -2
- package/lib/ImageGalleryTrigger/ImageGalleryTrigger.d.ts +4 -0
- package/lib/ImageGalleryTrigger/ImageGalleryTrigger.types.d.ts +6 -0
- package/lib/ProfileControls/ProfileControls.d.ts +4 -0
- package/lib/ProfileControls/ProfileControls.types.d.ts +16 -0
- package/lib/ProfileControls/components/MoreMenu/MoreMenu.d.ts +8 -0
- package/lib/ProfileControls/components/PointOfInterestProfileTile/PointOfInterestProfileTile.d.ts +4 -0
- package/lib/ProfileControls/components/PointOfInterestProfileTile/PointOfInterestProfileTile.types.d.ts +8 -0
- package/package.json +5 -6
- package/style.css +1 -1
|
@@ -3,8 +3,8 @@ import { ForwardedRef } from 'react';
|
|
|
3
3
|
|
|
4
4
|
export interface DesktopNavbarSearchFieldProps extends UseInputParameters {
|
|
5
5
|
className?: string;
|
|
6
|
-
name
|
|
6
|
+
name: string;
|
|
7
7
|
onSearchSubmit: (value: string) => void;
|
|
8
|
-
placeholder
|
|
8
|
+
placeholder: string;
|
|
9
9
|
ref?: ForwardedRef<null>;
|
|
10
10
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
import { DropdownOptionProps } from '../../../../ui/src/lib/Atoms/Dropdowns/DropdownOption/DropdownOption.types';
|
|
3
|
+
import { OffsetType } from '../../../../ui/src/lib/Organisms/Modals/Popup/Popup.types';
|
|
4
|
+
import { PointOfInterestProfileProps } from './components/PointOfInterestProfileTile/PointOfInterestProfileTile.types';
|
|
5
|
+
|
|
6
|
+
export type ProfileControlsProps = {
|
|
7
|
+
moreMenuData: {
|
|
8
|
+
offset?: OffsetType;
|
|
9
|
+
options: DropdownOptionProps[];
|
|
10
|
+
};
|
|
11
|
+
tiles: ProfileControlTile[];
|
|
12
|
+
withoutMoreMenu?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type ProfileControlTile = PointOfInterestProfileProps & {
|
|
15
|
+
ref?: MutableRefObject<HTMLElement | null>;
|
|
16
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DropdownOptionProps } from '../../../../../../ui/src/lib/Atoms/Dropdowns/DropdownOption/DropdownOption.types';
|
|
2
|
+
|
|
3
|
+
export type MoreMenuProps = {
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
options: DropdownOptionProps[];
|
|
6
|
+
};
|
|
7
|
+
declare const MoreMenu: ({ onClose, options }: MoreMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default MoreMenu;
|
package/lib/ProfileControls/components/PointOfInterestProfileTile/PointOfInterestProfileTile.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PointOfInterestProfileProps } from './PointOfInterestProfileTile.types';
|
|
2
|
+
|
|
3
|
+
declare const PointOfInterestProfileTile: ({ buttonLabel, icon, selected, ...props }: PointOfInterestProfileProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default PointOfInterestProfileTile;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ButtonProps } from '../../../../../../ui/src/lib/Atoms/Buttons/Button/Button.types';
|
|
2
|
+
import { Icon32 } from '../../../../../../ui/src/lib/Base/Icon/Icon.types';
|
|
3
|
+
|
|
4
|
+
export interface PointOfInterestProfileProps extends Omit<ButtonProps, 'children'> {
|
|
5
|
+
buttonLabel: string;
|
|
6
|
+
icon: Icon32;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodhood-web/nebenan-base",
|
|
3
|
-
"version": "1.9.0-development.
|
|
3
|
+
"version": "1.9.0-development.40",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
|
-
"
|
|
7
|
-
"registry": "https://registry.npmjs.org/",
|
|
8
|
-
"access": "public"
|
|
9
|
-
},
|
|
10
|
-
"private": false,
|
|
6
|
+
"repository": "https://github.com/good-hood-gmbh/goodhood-web",
|
|
11
7
|
"exports": {
|
|
12
8
|
".": {
|
|
13
9
|
"import": "./index.mjs",
|
|
14
10
|
"require": "./index.js"
|
|
15
11
|
}
|
|
12
|
+
},
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"@goodhood-web/ui": "*"
|
|
16
15
|
}
|
|
17
16
|
}
|