@goodhood-web/ui 3.0.0-development.16 → 3.0.0-development.18

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,3 @@
1
+ import { PoiAvatarType } from './PoiAvatar.type';
2
+ export declare const PoiAvatar: ({ size, type }: PoiAvatarType) => import("react/jsx-runtime").JSX.Element;
3
+ export default PoiAvatar;
@@ -0,0 +1,6 @@
1
+ export declare const poiAvatarSizes: readonly ["48", "56", "64", "80"];
2
+ export type TSize = (typeof poiAvatarSizes)[number];
3
+ export interface PoiAvatarType {
4
+ size: TSize;
5
+ type: 'business' | 'specialPlace' | 'organisation';
6
+ }
@@ -1,3 +1,3 @@
1
1
  import { SelectablePillProps } from './SelectablePill.types';
2
- declare const SelectablePill: ({ disabled, icon, id, isSelected, label, onToggleChange, orientation, popular, style, value, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SelectablePill: ({ disabled, icon, iconSize, id, isSelected, label, onToggleChange, orientation, popular, style, value, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default SelectablePill;
@@ -1,7 +1,8 @@
1
- import { Icon32 } from '../../../Base/Icon/Icon.types';
1
+ import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  export interface SelectablePillProps {
3
3
  disabled?: boolean;
4
- icon?: Icon32;
4
+ icon?: Icon24 | Icon32;
5
+ iconSize?: '24' | '32';
5
6
  id: string;
6
7
  isSelected?: boolean;
7
8
  label: string;
@@ -251,6 +251,12 @@ declare const iconsMap: {
251
251
  desc?: string;
252
252
  descId?: string;
253
253
  }>;
254
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
255
+ title?: string;
256
+ titleId?: string;
257
+ desc?: string;
258
+ descId?: string;
259
+ }>;
254
260
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
255
261
  title?: string;
256
262
  titleId?: string;
@@ -113,6 +113,12 @@ declare const IconsMap: {
113
113
  desc?: string;
114
114
  descId?: string;
115
115
  }>;
116
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
117
+ title?: string;
118
+ titleId?: string;
119
+ desc?: string;
120
+ descId?: string;
121
+ }>;
116
122
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
117
123
  title?: string;
118
124
  titleId?: string;
@@ -164,6 +164,12 @@ declare const iconsMap: {
164
164
  desc?: string;
165
165
  descId?: string;
166
166
  }>;
167
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
168
+ title?: string;
169
+ titleId?: string;
170
+ desc?: string;
171
+ descId?: string;
172
+ }>;
167
173
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
168
174
  title?: string;
169
175
  titleId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.0.0-development.16",
3
+ "version": "3.0.0-development.18",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",