@goodhood-web/nebenan-base 2.1.0-development.49 → 2.1.0-development.50

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.
@@ -1,3 +1,3 @@
1
1
  import { ReactionStackProps } from './ReactionStack.types';
2
- declare const ReactionStack: ({ activeReaction, expanded, limit, onClick, reactions, size, stack, }: ReactionStackProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ReactionStack: ({ activeReaction, expanded, limit, onClick, reactions, size, stack, toolTipSpacing, }: ReactionStackProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ReactionStack;
@@ -7,7 +7,7 @@ export interface ReactionStackProps {
7
7
  reactions: Reaction[];
8
8
  size?: 'small' | 'big';
9
9
  stack?: boolean;
10
- withTooltip?: boolean;
10
+ toolTipSpacing?: string;
11
11
  }
12
12
  export interface Reaction {
13
13
  count?: number;
@@ -1,2 +1,2 @@
1
1
  import { ReactionItemProps } from './ReactionItem.types';
2
- export declare const ReactionItem: ({ activeReaction, count, expanded, onSelect, reaction, selected, size, stack, tooltip, }: ReactionItemProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ReactionItem: ({ activeReaction, count, expanded, onSelect, reaction, selected, size, stack, tooltip, toolTipSpacing, }: ReactionItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -8,5 +8,6 @@ export type ReactionItemProps = {
8
8
  selected: boolean | undefined;
9
9
  size?: 'small' | 'big';
10
10
  stack: boolean;
11
+ toolTipSpacing?: string;
11
12
  tooltip?: string;
12
13
  };
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ReactionType } from '../../../../../../../api/src/lib/core';
3
3
  import { ReactionPillProps } from './ReactionPill.type';
4
- export declare const renderReaction: (type: ReactionType) => ReactElement;
4
+ export declare const renderReaction: (type: ReactionType, size?: "small" | "big") => ReactElement;
5
5
  declare const ReactionPill: ({ ariaDescribedBy, className, count, expanded, onClick, reaction, selected, size, stack, }: ReactionPillProps) => ReactElement;
6
6
  export default ReactionPill;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "2.1.0-development.49",
3
+ "version": "2.1.0-development.50",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",