@goodhood-web/ui 4.13.0-development.9 → 4.13.0

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
@@ -6832,57 +6832,57 @@ function y7({
6832
6832
  );
6833
6833
  }
6834
6834
  const c3 = {
6835
- "react-datepicker": "_react-datepicker_16fiw_116",
6836
- "react-datepicker__day-names": "_react-datepicker__day-names_16fiw_119",
6837
- "react-datepicker__week": "_react-datepicker__week_16fiw_123",
6838
- "react-datepicker__day--outside-month": "_react-datepicker__day--outside-month_16fiw_130",
6839
- "react-datepicker__time-container": "_react-datepicker__time-container_16fiw_139",
6840
- "react-datepicker__time": "_react-datepicker__time_16fiw_139",
6841
- "react-datepicker__time-box": "_react-datepicker__time-box_16fiw_142",
6842
- "typography-landing--claim": "_typography-landing--claim_16fiw_146",
6843
- "typography-landing--claim-uppercase": "_typography-landing--claim-uppercase_16fiw_187",
6844
- "typography-landing--h1": "_typography-landing--h1_16fiw_228",
6845
- "typography-landing--h1-uppercase": "_typography-landing--h1-uppercase_16fiw_269",
6846
- "typography-landing--h2": "_typography-landing--h2_16fiw_310",
6847
- "typography-landing--h2-uppercase": "_typography-landing--h2-uppercase_16fiw_351",
6848
- "typography-landing--h3": "_typography-landing--h3_16fiw_392",
6849
- "typography-landing--h4": "_typography-landing--h4_16fiw_433",
6850
- "typography-landing--h5": "_typography-landing--h5_16fiw_474",
6851
- "typography-landing--h6": "_typography-landing--h6_16fiw_515",
6852
- "typography-landing--overline": "_typography-landing--overline_16fiw_556",
6853
- "typography-landing--body-large": "_typography-landing--body-large_16fiw_596",
6854
- "typography-landing--body-large-semibold": "_typography-landing--body-large-semibold_16fiw_636",
6855
- "typography-landing--body": "_typography-landing--body_16fiw_596",
6856
- "typography-landing--body-semibold": "_typography-landing--body-semibold_16fiw_716",
6857
- "typography-landing--body-small": "_typography-landing--body-small_16fiw_756",
6858
- "typography-landing--body-small-semibold": "_typography-landing--body-small-semibold_16fiw_796",
6859
- "typography-landing--body-small-italic": "_typography-landing--body-small-italic_16fiw_836",
6860
- "typography-landing--body-italic": "_typography-landing--body-italic_16fiw_876",
6861
- "typography-landing--body-large-italic": "_typography-landing--body-large-italic_16fiw_916",
6862
- "typography-landing--quote-large": "_typography-landing--quote-large_16fiw_956",
6863
- "typography-landing--quote-small": "_typography-landing--quote-small_16fiw_968",
6864
- "typography-landing--detail-small": "_typography-landing--detail-small_16fiw_994",
6865
- "typography-landing--detail-small-bold": "_typography-landing--detail-small-bold_16fiw_1006",
6866
- "typography-landing": "_typography-landing_16fiw_146",
6867
- "typography-product": "_typography-product_16fiw_1036",
6868
- "typography-product--h1": "_typography-product--h1_16fiw_1048",
6869
- "typography-product--h2": "_typography-product--h2_16fiw_1060",
6870
- "typography-product--h3": "_typography-product--h3_16fiw_1072",
6871
- "typography-product--h4": "_typography-product--h4_16fiw_1084",
6872
- "typography-product--h5": "_typography-product--h5_16fiw_1096",
6873
- "typography-product--h6": "_typography-product--h6_16fiw_1108",
6874
- "typography-product--h7": "_typography-product--h7_16fiw_1120",
6875
- "typography-product--h8": "_typography-product--h8_16fiw_1132",
6876
- "typography-product--body-large": "_typography-product--body-large_16fiw_1144",
6877
- "typography-product--body-regular": "_typography-product--body-regular_16fiw_1168",
6878
- "typography-product--body-semibold": "_typography-product--body-semibold_16fiw_1192",
6879
- "typography-product--body-italic": "_typography-product--body-italic_16fiw_1216",
6880
- "typography-product--body-text-link": "_typography-product--body-text-link_16fiw_1241",
6881
- "typography-product--detail-medium": "_typography-product--detail-medium_16fiw_1253",
6882
- "typography-product--detail-bold": "_typography-product--detail-bold_16fiw_1277",
6883
- "typography-product--detail-upper-case": "_typography-product--detail-upper-case_16fiw_1301",
6884
- "typography-product--detail-regular": "_typography-product--detail-regular_16fiw_1325",
6885
- "typography-product--detail-text-link": "_typography-product--detail-text-link_16fiw_1349"
6835
+ "react-datepicker": "_react-datepicker_pdjoa_116",
6836
+ "react-datepicker__day-names": "_react-datepicker__day-names_pdjoa_119",
6837
+ "react-datepicker__week": "_react-datepicker__week_pdjoa_123",
6838
+ "react-datepicker__day--outside-month": "_react-datepicker__day--outside-month_pdjoa_130",
6839
+ "react-datepicker__time-container": "_react-datepicker__time-container_pdjoa_139",
6840
+ "react-datepicker__time": "_react-datepicker__time_pdjoa_139",
6841
+ "react-datepicker__time-box": "_react-datepicker__time-box_pdjoa_142",
6842
+ "typography-landing--claim": "_typography-landing--claim_pdjoa_146",
6843
+ "typography-landing--claim-uppercase": "_typography-landing--claim-uppercase_pdjoa_187",
6844
+ "typography-landing--h1": "_typography-landing--h1_pdjoa_228",
6845
+ "typography-landing--h1-uppercase": "_typography-landing--h1-uppercase_pdjoa_269",
6846
+ "typography-landing--h2": "_typography-landing--h2_pdjoa_310",
6847
+ "typography-landing--h2-uppercase": "_typography-landing--h2-uppercase_pdjoa_351",
6848
+ "typography-landing--h3": "_typography-landing--h3_pdjoa_392",
6849
+ "typography-landing--h4": "_typography-landing--h4_pdjoa_433",
6850
+ "typography-landing--h5": "_typography-landing--h5_pdjoa_474",
6851
+ "typography-landing--h6": "_typography-landing--h6_pdjoa_515",
6852
+ "typography-landing--overline": "_typography-landing--overline_pdjoa_556",
6853
+ "typography-landing--body-large": "_typography-landing--body-large_pdjoa_596",
6854
+ "typography-landing--body-large-semibold": "_typography-landing--body-large-semibold_pdjoa_636",
6855
+ "typography-landing--body": "_typography-landing--body_pdjoa_596",
6856
+ "typography-landing--body-semibold": "_typography-landing--body-semibold_pdjoa_716",
6857
+ "typography-landing--body-small": "_typography-landing--body-small_pdjoa_756",
6858
+ "typography-landing--body-small-semibold": "_typography-landing--body-small-semibold_pdjoa_796",
6859
+ "typography-landing--body-small-italic": "_typography-landing--body-small-italic_pdjoa_836",
6860
+ "typography-landing--body-italic": "_typography-landing--body-italic_pdjoa_876",
6861
+ "typography-landing--body-large-italic": "_typography-landing--body-large-italic_pdjoa_916",
6862
+ "typography-landing--quote-large": "_typography-landing--quote-large_pdjoa_956",
6863
+ "typography-landing--quote-small": "_typography-landing--quote-small_pdjoa_996",
6864
+ "typography-landing--detail-small": "_typography-landing--detail-small_pdjoa_1022",
6865
+ "typography-landing--detail-small-bold": "_typography-landing--detail-small-bold_pdjoa_1034",
6866
+ "typography-landing": "_typography-landing_pdjoa_146",
6867
+ "typography-product": "_typography-product_pdjoa_1064",
6868
+ "typography-product--h1": "_typography-product--h1_pdjoa_1076",
6869
+ "typography-product--h2": "_typography-product--h2_pdjoa_1088",
6870
+ "typography-product--h3": "_typography-product--h3_pdjoa_1100",
6871
+ "typography-product--h4": "_typography-product--h4_pdjoa_1112",
6872
+ "typography-product--h5": "_typography-product--h5_pdjoa_1124",
6873
+ "typography-product--h6": "_typography-product--h6_pdjoa_1136",
6874
+ "typography-product--h7": "_typography-product--h7_pdjoa_1148",
6875
+ "typography-product--h8": "_typography-product--h8_pdjoa_1160",
6876
+ "typography-product--body-large": "_typography-product--body-large_pdjoa_1172",
6877
+ "typography-product--body-regular": "_typography-product--body-regular_pdjoa_1196",
6878
+ "typography-product--body-semibold": "_typography-product--body-semibold_pdjoa_1220",
6879
+ "typography-product--body-italic": "_typography-product--body-italic_pdjoa_1244",
6880
+ "typography-product--body-text-link": "_typography-product--body-text-link_pdjoa_1269",
6881
+ "typography-product--detail-medium": "_typography-product--detail-medium_pdjoa_1281",
6882
+ "typography-product--detail-bold": "_typography-product--detail-bold_pdjoa_1305",
6883
+ "typography-product--detail-upper-case": "_typography-product--detail-upper-case_pdjoa_1329",
6884
+ "typography-product--detail-regular": "_typography-product--detail-regular_pdjoa_1353",
6885
+ "typography-product--detail-text-link": "_typography-product--detail-text-link_pdjoa_1377"
6886
6886
  };
6887
6887
  function x7(t) {
6888
6888
  switch (t) {
@@ -19082,18 +19082,19 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
19082
19082
  role: r
19083
19083
  }
19084
19084
  ) : null;
19085
- }, kP = "_root_13yqt_146", y0 = {
19086
- "react-datepicker": "_react-datepicker_13yqt_116",
19087
- "react-datepicker__day-names": "_react-datepicker__day-names_13yqt_119",
19088
- "react-datepicker__week": "_react-datepicker__week_13yqt_123",
19089
- "react-datepicker__day--outside-month": "_react-datepicker__day--outside-month_13yqt_130",
19090
- "react-datepicker__time-container": "_react-datepicker__time-container_13yqt_139",
19091
- "react-datepicker__time": "_react-datepicker__time_13yqt_139",
19092
- "react-datepicker__time-box": "_react-datepicker__time-box_13yqt_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_13yqt_156",
19095
- "root--border-radius--responsive": "_root--border-radius--responsive_13yqt_160",
19096
- "root--without-padding": "_root--without-padding_13yqt_166"
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"
19097
19098
  }, EP = "_root_1ugaw_146", cs = {
19098
19099
  "react-datepicker": "_react-datepicker_1ugaw_116",
19099
19100
  "react-datepicker__day-names": "_react-datepicker__day-names_1ugaw_119",
@@ -19116,7 +19117,7 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
19116
19117
  ),
19117
19118
  children: t
19118
19119
  }
19119
- ), MP = "_root_a4fm7_146", LP = "_title_a4fm7_152", SP = "_container_a4fm7_157", TP = "_subHeadline_a4fm7_164", x0 = {
19120
+ ), MP = "_root_145vh_146", LP = "_title_145vh_152", SP = "_container_145vh_157", TP = "_subHeadline_145vh_165", x0 = {
19120
19121
  root: MP,
19121
19122
  title: LP,
19122
19123
  container: SP,
@@ -19154,9 +19155,10 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
19154
19155
  className: o,
19155
19156
  responsive: s = !1,
19156
19157
  role: l,
19157
- withoutPadding: c
19158
+ shadow: c = "middle-small",
19159
+ withoutPadding: u
19158
19160
  }) => {
19159
- const u = nt(a, [
19161
+ const d = nt(a, [
19160
19162
  Tn,
19161
19163
  rn,
19162
19164
  t
@@ -19170,12 +19172,12 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
19170
19172
  y0.root,
19171
19173
  {
19172
19174
  [y0["root--border-radius"]]: r,
19173
- [y0["root--border-radius--responsive"]]: r && s,
19174
- [y0["root--without-padding"]]: c
19175
+ [y0[`root--responsive-${c}`]]: s,
19176
+ [y0["root--without-padding"]]: u
19175
19177
  },
19176
19178
  o
19177
19179
  ),
19178
- children: u
19180
+ children: d
19179
19181
  }
19180
19182
  );
19181
19183
  }, qP = "_actionBar_15he9_146", VP = {
@@ -19268,16 +19270,7 @@ const HP = "_root_1ji00_146", $P = "_root__detailWrapper_1ji00_153", WP = "_root
19268
19270
  root__detail__recommendation: JP,
19269
19271
  root__detail__recommendation__filled: eR,
19270
19272
  root__businessOffer: tR
19271
- }, nR = "org", rR = "biz", iR = (t) => {
19272
- switch (t) {
19273
- case rR:
19274
- return "business";
19275
- case nR:
19276
- return "organisation";
19277
- default:
19278
- return "special_place";
19279
- }
19280
- }, aR = ({
19273
+ }, nR = "organisation", rR = "business", iR = (t) => t === rR || t === nR ? t : "special_place", aR = ({
19281
19274
  address: t,
19282
19275
  altText: e = "Point of Interest profile image",
19283
19276
  businessOfferData: n,
@@ -1,3 +1,3 @@
1
1
  import { CardProps } from './Card.types';
2
- declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, responsive, role, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, responsive, role, shadow, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Card;
@@ -11,11 +11,14 @@ export interface CardBaseProps {
11
11
  withoutPadding?: boolean;
12
12
  }
13
13
  export type ResponsiveProps = {
14
- borderRadius: true;
14
+ borderRadius?: never;
15
15
  responsive?: boolean;
16
+ shadow?: CardShadow;
16
17
  } & CardBaseProps;
17
18
  export type NonResponsiveProps = {
18
19
  borderRadius?: boolean;
19
- responsive?: false;
20
+ responsive?: never;
21
+ shadow?: never;
20
22
  } & CardBaseProps;
21
23
  export type CardProps = ResponsiveProps | NonResponsiveProps;
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.9",
3
+ "version": "4.13.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",