@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.js +32 -32
- package/index.mjs +71 -78
- package/lib/Molecules/Card/Card.d.ts +1 -1
- package/lib/Molecules/Card/Card.types.d.ts +5 -2
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/_design-tokens-landing.scss +26 -2
package/index.mjs
CHANGED
|
@@ -6832,57 +6832,57 @@ function y7({
|
|
|
6832
6832
|
);
|
|
6833
6833
|
}
|
|
6834
6834
|
const c3 = {
|
|
6835
|
-
"react-datepicker": "_react-
|
|
6836
|
-
"react-datepicker__day-names": "_react-datepicker__day-
|
|
6837
|
-
"react-datepicker__week": "_react-
|
|
6838
|
-
"react-datepicker__day--outside-month": "_react-datepicker__day--outside-
|
|
6839
|
-
"react-datepicker__time-container": "_react-datepicker__time-
|
|
6840
|
-
"react-datepicker__time": "_react-
|
|
6841
|
-
"react-datepicker__time-box": "_react-datepicker__time-
|
|
6842
|
-
"typography-landing--claim": "_typography-landing--
|
|
6843
|
-
"typography-landing--claim-uppercase": "_typography-landing--claim-
|
|
6844
|
-
"typography-landing--h1": "_typography-landing--
|
|
6845
|
-
"typography-landing--h1-uppercase": "_typography-landing--h1-
|
|
6846
|
-
"typography-landing--h2": "_typography-landing--
|
|
6847
|
-
"typography-landing--h2-uppercase": "_typography-landing--h2-
|
|
6848
|
-
"typography-landing--h3": "_typography-landing--
|
|
6849
|
-
"typography-landing--h4": "_typography-landing--
|
|
6850
|
-
"typography-landing--h5": "_typography-landing--
|
|
6851
|
-
"typography-landing--h6": "_typography-landing--
|
|
6852
|
-
"typography-landing--overline": "_typography-landing--
|
|
6853
|
-
"typography-landing--body-large": "_typography-landing--body-
|
|
6854
|
-
"typography-landing--body-large-semibold": "_typography-landing--body-large-
|
|
6855
|
-
"typography-landing--body": "_typography-landing--
|
|
6856
|
-
"typography-landing--body-semibold": "_typography-landing--body-
|
|
6857
|
-
"typography-landing--body-small": "_typography-landing--body-
|
|
6858
|
-
"typography-landing--body-small-semibold": "_typography-landing--body-small-
|
|
6859
|
-
"typography-landing--body-small-italic": "_typography-landing--body-small-
|
|
6860
|
-
"typography-landing--body-italic": "_typography-landing--body-
|
|
6861
|
-
"typography-landing--body-large-italic": "_typography-landing--body-large-
|
|
6862
|
-
"typography-landing--quote-large": "_typography-landing--quote-
|
|
6863
|
-
"typography-landing--quote-small": "_typography-landing--quote-
|
|
6864
|
-
"typography-landing--detail-small": "_typography-landing--detail-
|
|
6865
|
-
"typography-landing--detail-small-bold": "_typography-landing--detail-small-
|
|
6866
|
-
"typography-landing": "_typography-
|
|
6867
|
-
"typography-product": "_typography-
|
|
6868
|
-
"typography-product--h1": "_typography-product--
|
|
6869
|
-
"typography-product--h2": "_typography-product--
|
|
6870
|
-
"typography-product--h3": "_typography-product--
|
|
6871
|
-
"typography-product--h4": "_typography-product--
|
|
6872
|
-
"typography-product--h5": "_typography-product--
|
|
6873
|
-
"typography-product--h6": "_typography-product--
|
|
6874
|
-
"typography-product--h7": "_typography-product--
|
|
6875
|
-
"typography-product--h8": "_typography-product--
|
|
6876
|
-
"typography-product--body-large": "_typography-product--body-
|
|
6877
|
-
"typography-product--body-regular": "_typography-product--body-
|
|
6878
|
-
"typography-product--body-semibold": "_typography-product--body-
|
|
6879
|
-
"typography-product--body-italic": "_typography-product--body-
|
|
6880
|
-
"typography-product--body-text-link": "_typography-product--body-text-
|
|
6881
|
-
"typography-product--detail-medium": "_typography-product--detail-
|
|
6882
|
-
"typography-product--detail-bold": "_typography-product--detail-
|
|
6883
|
-
"typography-product--detail-upper-case": "_typography-product--detail-upper-
|
|
6884
|
-
"typography-product--detail-regular": "_typography-product--detail-
|
|
6885
|
-
"typography-product--detail-text-link": "_typography-product--detail-text-
|
|
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 = "
|
|
19086
|
-
"react-datepicker": "_react-
|
|
19087
|
-
"react-datepicker__day-names": "_react-datepicker__day-
|
|
19088
|
-
"react-datepicker__week": "_react-
|
|
19089
|
-
"react-datepicker__day--outside-month": "_react-datepicker__day--outside-
|
|
19090
|
-
"react-datepicker__time-container": "_react-datepicker__time-
|
|
19091
|
-
"react-datepicker__time": "_react-
|
|
19092
|
-
"react-datepicker__time-box": "_react-datepicker__time-
|
|
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-
|
|
19095
|
-
"root--
|
|
19096
|
-
"root--
|
|
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 = "
|
|
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
|
-
|
|
19158
|
+
shadow: c = "middle-small",
|
|
19159
|
+
withoutPadding: u
|
|
19158
19160
|
}) => {
|
|
19159
|
-
const
|
|
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[
|
|
19174
|
-
[y0["root--without-padding"]]:
|
|
19175
|
+
[y0[`root--responsive-${c}`]]: s,
|
|
19176
|
+
[y0["root--without-padding"]]: u
|
|
19175
19177
|
},
|
|
19176
19178
|
o
|
|
19177
19179
|
),
|
|
19178
|
-
children:
|
|
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 = "
|
|
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
|
|
14
|
+
borderRadius?: never;
|
|
15
15
|
responsive?: boolean;
|
|
16
|
+
shadow?: CardShadow;
|
|
16
17
|
} & CardBaseProps;
|
|
17
18
|
export type NonResponsiveProps = {
|
|
18
19
|
borderRadius?: boolean;
|
|
19
|
-
responsive?:
|
|
20
|
+
responsive?: never;
|
|
21
|
+
shadow?: never;
|
|
20
22
|
} & CardBaseProps;
|
|
21
23
|
export type CardProps = ResponsiveProps | NonResponsiveProps;
|
|
24
|
+
export type CardShadow = 'low-small' | 'middle-small';
|