@goodhood-web/nebenan-base 1.5.0-development.3 → 1.5.0-development.31

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.
@@ -0,0 +1,4 @@
1
+ import { AccordionMenuProps } from './AccordionMenu.types';
2
+
3
+ declare const AccordionMenu: ({ children, id, isOpen, onClick, title, }: AccordionMenuProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default AccordionMenu;
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export type AccordionMenuProps = {
4
+ children: ReactNode;
5
+ id: number | string;
6
+ isOpen?: boolean;
7
+ onClick?: () => void;
8
+ title: string;
9
+ };
@@ -0,0 +1,4 @@
1
+ import { ConfirmDialogProps } from './ConfirmDialog.types';
2
+
3
+ declare const ConfirmDialog: ({ bodyText, cancelText, confirmText, handleCancel, handleConfirm, title, }: ConfirmDialogProps) => import("react/jsx-runtime").JSX.Element | null;
4
+ export default ConfirmDialog;
@@ -0,0 +1,8 @@
1
+ export interface ConfirmDialogProps {
2
+ bodyText?: string;
3
+ cancelText?: string;
4
+ confirmText?: string;
5
+ handleCancel: () => void;
6
+ handleConfirm: () => void;
7
+ title: string;
8
+ }
@@ -1,5 +1,4 @@
1
- import { ReactionType } from '../../../../api/src/lib/types/reactions';
2
1
  import { Reaction } from './ReactionStack/ReactionStack.types';
3
2
 
4
3
  export declare const sortReactions: <T extends Reaction>(reactions: T[]) => T[];
5
- export declare const isReactionType: (key: string) => key is ReactionType;
4
+ export declare const isReactionType: (key: string) => key is "agree" | "bravo" | "good_idea" | "haha" | "love" | "sad" | "support" | "thankyou" | "wow";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "1.5.0-development.3",
3
+ "version": "1.5.0-development.31",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "publishConfig": {