@goodhood-web/ui 4.13.0-development.11 → 4.13.0-development.13

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.mjs CHANGED
@@ -19082,19 +19082,19 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
19082
19082
  role: r
19083
19083
  }
19084
19084
  ) : null;
19085
- }, kP = "_root_bp67l_146", y0 = {
19086
- "react-datepicker": "_react-datepicker_bp67l_116",
19087
- "react-datepicker__day-names": "_react-datepicker__day-names_bp67l_119",
19088
- "react-datepicker__week": "_react-datepicker__week_bp67l_123",
19089
- "react-datepicker__day--outside-month": "_react-datepicker__day--outside-month_bp67l_130",
19090
- "react-datepicker__time-container": "_react-datepicker__time-container_bp67l_139",
19091
- "react-datepicker__time": "_react-datepicker__time_bp67l_139",
19092
- "react-datepicker__time-box": "_react-datepicker__time-box_bp67l_142",
19085
+ }, kP = "_root_tzoju_146", y0 = {
19086
+ "react-datepicker": "_react-datepicker_tzoju_116",
19087
+ "react-datepicker__day-names": "_react-datepicker__day-names_tzoju_119",
19088
+ "react-datepicker__week": "_react-datepicker__week_tzoju_123",
19089
+ "react-datepicker__day--outside-month": "_react-datepicker__day--outside-month_tzoju_130",
19090
+ "react-datepicker__time-container": "_react-datepicker__time-container_tzoju_139",
19091
+ "react-datepicker__time": "_react-datepicker__time_tzoju_139",
19092
+ "react-datepicker__time-box": "_react-datepicker__time-box_tzoju_142",
19093
19093
  root: kP,
19094
- "root--border-radius": "_root--border-radius_bp67l_156",
19095
- "root--shadow-low-small": "_root--shadow-low-small_bp67l_160",
19096
- "root--shadow-middle-small": "_root--shadow-middle-small_bp67l_163",
19097
- "root--without-padding": "_root--without-padding_bp67l_167"
19094
+ "root--border-radius": "_root--border-radius_tzoju_156",
19095
+ "root--without-padding": "_root--without-padding_tzoju_159",
19096
+ "root--responsive-low-small": "_root--responsive-low-small_tzoju_162",
19097
+ "root--responsive-middle-small": "_root--responsive-middle-small_tzoju_171"
19098
19098
  }, EP = "_root_1ugaw_146", cs = {
19099
19099
  "react-datepicker": "_react-datepicker_1ugaw_116",
19100
19100
  "react-datepicker__day-names": "_react-datepicker__day-names_1ugaw_119",
@@ -19162,7 +19162,7 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
19162
19162
  Tn,
19163
19163
  rn,
19164
19164
  t
19165
- ]), f = r && s;
19165
+ ]);
19166
19166
  return /* @__PURE__ */ m(
19167
19167
  n,
19168
19168
  {
@@ -19171,8 +19171,8 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
19171
19171
  className: P(
19172
19172
  y0.root,
19173
19173
  {
19174
- [y0["root--border-radius"]]: r && !f,
19175
- [y0[`root--shadow-${c}`]]: f,
19174
+ [y0["root--border-radius"]]: r,
19175
+ [y0[`root--responsive-${c}`]]: s,
19176
19176
  [y0["root--without-padding"]]: u
19177
19177
  },
19178
19178
  o
@@ -19270,16 +19270,7 @@ const HP = "_root_1ji00_146", $P = "_root__detailWrapper_1ji00_153", WP = "_root
19270
19270
  root__detail__recommendation: JP,
19271
19271
  root__detail__recommendation__filled: eR,
19272
19272
  root__businessOffer: tR
19273
- }, nR = "org", rR = "biz", iR = (t) => {
19274
- switch (t) {
19275
- case rR:
19276
- return "business";
19277
- case nR:
19278
- return "organisation";
19279
- default:
19280
- return "special_place";
19281
- }
19282
- }, aR = ({
19273
+ }, nR = "organisation", rR = "business", iR = (t) => t === rR || t === nR ? t : "special_place", aR = ({
19283
19274
  address: t,
19284
19275
  altText: e = "Point of Interest profile image",
19285
19276
  businessOfferData: n,
@@ -8,16 +8,17 @@ export interface CardBaseProps {
8
8
  children: ReactElement<CardBodyProps | CardHeaderProps> | ReactElement<CardBodyProps | CardHeaderProps>[];
9
9
  className?: string;
10
10
  role?: string;
11
- shadow?: CardShadow;
12
11
  withoutPadding?: boolean;
13
12
  }
14
13
  export type ResponsiveProps = {
15
- borderRadius: true;
14
+ borderRadius?: never;
16
15
  responsive?: boolean;
16
+ shadow?: CardShadow;
17
17
  } & CardBaseProps;
18
18
  export type NonResponsiveProps = {
19
19
  borderRadius?: boolean;
20
- responsive?: false;
20
+ responsive?: never;
21
+ shadow?: never;
21
22
  } & CardBaseProps;
22
23
  export type CardProps = ResponsiveProps | NonResponsiveProps;
23
24
  export type CardShadow = 'low-small' | 'middle-small';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "4.13.0-development.11",
3
+ "version": "4.13.0-development.13",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",