@phillips/seldon 1.26.0 → 1.26.2

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.
Files changed (41) hide show
  1. package/dist/components/Button/Button.d.ts +2 -2
  2. package/dist/components/Button/Button.js +33 -32
  3. package/dist/components/Grid/Grid.d.ts +2 -2
  4. package/dist/components/Grid/Grid.js +8 -16
  5. package/dist/components/GridItem/GridItem.d.ts +1 -1
  6. package/dist/components/GridItem/GridItem.js +21 -22
  7. package/dist/components/HeroBanner/HeroBanner.d.ts +3 -2
  8. package/dist/components/HeroBanner/HeroBanner.js +36 -23
  9. package/dist/components/IconButton/IconButton.js +18 -14
  10. package/dist/components/Link/Link.d.ts +2 -2
  11. package/dist/components/Link/Link.js +21 -23
  12. package/dist/components/Link/utils.d.ts +1 -1
  13. package/dist/components/Link/utils.js +6 -6
  14. package/dist/components/LinkBlock/LinkBlock.d.ts +1 -1
  15. package/dist/components/LinkBlock/LinkBlock.js +10 -10
  16. package/dist/components/LinkList/LinkList.d.ts +1 -1
  17. package/dist/components/LinkList/LinkList.js +11 -10
  18. package/dist/components/Modal/Modal.js +43 -36
  19. package/dist/components/Row/Row.d.ts +1 -1
  20. package/dist/components/Row/Row.js +21 -23
  21. package/dist/components/Select/Select.js +28 -27
  22. package/dist/components/Social/Social.d.ts +2 -2
  23. package/dist/components/Social/Social.js +11 -8
  24. package/dist/components/SplitPanel/SplitPanel.d.ts +1 -1
  25. package/dist/components/SplitPanel/SplitPanel.js +22 -21
  26. package/dist/components/Subscribe/Subscribe.d.ts +1 -1
  27. package/dist/components/Subscribe/Subscribe.js +41 -52
  28. package/dist/components/Text/Text.d.ts +1 -1
  29. package/dist/components/Text/Text.js +12 -20
  30. package/dist/components/ViewingsList/ViewingsList.d.ts +2 -2
  31. package/dist/components/ViewingsList/ViewingsList.js +43 -45
  32. package/dist/components/ViewingsList/ViewingsListCard.d.ts +2 -2
  33. package/dist/components/ViewingsList/ViewingsListCard.js +51 -51
  34. package/dist/index.d.ts +2 -2
  35. package/dist/index.js +61 -60
  36. package/dist/node_modules/change-case/dist/index.js +64 -0
  37. package/dist/scss/components/Grid/_grid.scss +2 -4
  38. package/dist/scss/styles.scss +3 -5
  39. package/dist/utils/index.d.ts +9 -10
  40. package/dist/utils/index.js +38 -29
  41. package/package.json +10 -7
@@ -1,15 +1,15 @@
1
- import { jsxs as R, jsx as l } from "react/jsx-runtime";
2
- import * as y from "react";
3
- import a from "../../node_modules/classnames/index.js";
4
- import { px as t, useNormalizedInputProps as z } from "../../utils/index.js";
5
- const S = y.forwardRef(
1
+ import { jsxs as P, jsx as l } from "react/jsx-runtime";
2
+ import * as R from "react";
3
+ import n from "../../node_modules/classnames/index.js";
4
+ import { px as t, useNormalizedInputProps as S } from "../../utils/index.js";
5
+ const z = R.forwardRef(
6
6
  ({
7
7
  children: r,
8
- className: n,
9
- defaultValue: o,
10
- disabled: d,
8
+ className: a,
9
+ defaultValue: d,
10
+ disabled: o,
11
11
  hideLabel: u,
12
- id: e,
12
+ id: i,
13
13
  inline: m,
14
14
  invalid: $,
15
15
  invalidText: c,
@@ -21,38 +21,39 @@ const S = y.forwardRef(
21
21
  value: h,
22
22
  warn: v,
23
23
  warnText: x,
24
- ...j
25
- }, N) => {
26
- const s = "select", i = z({ disabled: d, id: e, invalid: $, invalidText: c, readOnly: p, type: s, warn: v, warnText: x }), P = a(`${t}-${s}-input`, `${t}-input`, `${t}-input--${w}`, {
24
+ ...N
25
+ }, j) => {
26
+ const s = "select", e = S({ disabled: o, id: i, invalid: $, invalidText: c, readOnly: p, type: s, warn: v, warnText: x }), y = n(`${t}-${s}-input`, `${t}-input`, `${t}-input--${w}`, {
27
27
  [`${t}-input--inline`]: m,
28
28
  [`${t}-input--readonly`]: p,
29
- [`${t}-input--disabled`]: i.disabled,
30
- [`${t}-input--invalid`]: i.invalid,
31
- [`${t}-input--warn`]: i.warn,
32
- [`${n}__wrapper`]: n
29
+ [`${t}-input--disabled`]: e.disabled,
30
+ [`${t}-input--invalid`]: e.invalid,
31
+ [`${t}-input--warn`]: e.warn,
32
+ [`${a}__wrapper`]: a
33
33
  });
34
- return /* @__PURE__ */ R("div", { className: P, children: [
35
- /* @__PURE__ */ l("label", { htmlFor: e, className: a(`${t}-input__label`, { [`${t}-input__label--hidden`]: u }), children: _ }),
34
+ return /* @__PURE__ */ P("div", { className: y, children: [
35
+ /* @__PURE__ */ l("label", { htmlFor: i, className: n(`${t}-input__label`, { [`${t}-input__label--hidden`]: u }), children: _ }),
36
36
  /* @__PURE__ */ l(
37
37
  "select",
38
38
  {
39
- className: a(`${t}-input__input`, { className: n }),
40
- "data-testid": e,
41
- defaultValue: o,
42
- disabled: i.disabled,
43
- id: e,
39
+ className: n(`${t}-input__input`, { className: a }),
40
+ "data-testid": i,
41
+ defaultValue: d,
42
+ disabled: e.disabled,
43
+ id: i,
44
44
  onChange: b,
45
45
  onClick: f,
46
- ref: N,
46
+ ref: j,
47
47
  value: h,
48
- ...j,
48
+ ...N,
49
49
  children: r
50
50
  }
51
51
  ),
52
- i.validation
52
+ e.validation
53
53
  ] });
54
54
  }
55
55
  );
56
+ z.displayName = "Select";
56
57
  export {
57
- S as default
58
+ z as default
58
59
  };
@@ -1,4 +1,4 @@
1
- export interface SocialProps extends React.HTMLAttributes<HTMLElement> {
1
+ export interface SocialProps extends React.HTMLAttributes<HTMLDivElement> {
2
2
  /**
3
3
  * Title text for the social section
4
4
  */
@@ -13,5 +13,5 @@ export interface SocialProps extends React.HTMLAttributes<HTMLElement> {
13
13
  *
14
14
  * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-social--overview)
15
15
  */
16
- declare const Social: ({ className, children, id, titleText }: SocialProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const Social: ({ className, children, titleText, ...props }: SocialProps) => import("react/jsx-runtime").JSX.Element;
17
17
  export default Social;
@@ -1,10 +1,13 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import r from "../../node_modules/classnames/index.js";
3
- import { px as o } from "../../utils/index.js";
4
- const n = ({ className: s, children: l, id: a, titleText: c = "Follow on Social" }) => /* @__PURE__ */ i("div", { "data-testid": a || "social", className: r(`${o}-social`, s), children: [
5
- /* @__PURE__ */ e("h3", { className: `${o}-social__header`, children: c }),
6
- l
7
- ] });
1
+ import { jsxs as r, jsx as c } from "react/jsx-runtime";
2
+ import i from "../../node_modules/classnames/index.js";
3
+ import { getCommonProps as n } from "../../utils/index.js";
4
+ const h = ({ className: a, children: m, titleText: e = "Follow on Social", ...o }) => {
5
+ const { className: s, ...l } = n(o, "Social");
6
+ return /* @__PURE__ */ r("div", { ...l, className: i(s, a), ...o, children: [
7
+ /* @__PURE__ */ c("h3", { className: `${s}__header`, children: e }),
8
+ m
9
+ ] });
10
+ };
8
11
  export {
9
- n as default
12
+ h as default
10
13
  };
@@ -15,5 +15,5 @@ export interface SplitPanelProps extends React.HTMLAttributes<HTMLElement> {
15
15
  *
16
16
  * [Figma Link](https://www.figma.com/file/Hp2FyltbOmRxTuw9kSwBAd/EPIC-About-Us?type=design&node-id=635-34713&mode=design&t=wKZW1vKP8WePUjrH-0)
17
17
  */
18
- declare const SplitPanel: ({ children, className, element: Element, hasBorder, id, ...props }: SplitPanelProps) => import("react/jsx-runtime").JSX.Element;
18
+ declare const SplitPanel: ({ children, className, element: Element, hasBorder, ...props }: SplitPanelProps) => import("react/jsx-runtime").JSX.Element;
19
19
  export default SplitPanel;
@@ -1,23 +1,24 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import m from "../../node_modules/classnames/index.js";
3
- import { px as t } from "../../utils/index.js";
4
- const f = ({
5
- children: s,
6
- className: l,
7
- element: a = "section",
8
- hasBorder: p = !0,
9
- id: e,
10
- ...r
11
- }) => /* @__PURE__ */ o(
12
- a,
13
- {
14
- "data-testid": e || "split-panel",
15
- id: e,
16
- className: m(`${t}-split-panel`, l, { [`${t}-split-panel--borderless`]: !p }),
17
- ...r,
18
- children: s
19
- }
20
- );
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import n from "../../node_modules/classnames/index.js";
3
+ import { getCommonProps as c } from "../../utils/index.js";
4
+ const P = ({
5
+ children: o,
6
+ className: m,
7
+ element: t = "section",
8
+ hasBorder: a = !0,
9
+ ...e
10
+ }) => {
11
+ const { className: s, ...r } = c(e, "SplitPanel");
12
+ return /* @__PURE__ */ l(
13
+ t,
14
+ {
15
+ ...r,
16
+ className: n(s, m, { [`${s}--borderless`]: !a }),
17
+ ...e,
18
+ children: o
19
+ }
20
+ );
21
+ };
21
22
  export {
22
- f as default
23
+ P as default
23
24
  };
@@ -55,5 +55,5 @@ export interface SubscribeProps extends React.HTMLAttributes<HTMLFormElement> {
55
55
  *
56
56
  * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-subscribe--overview)
57
57
  */
58
- declare const Subscribe: ({ blurb, buttonText, buttonProps, className, element: Element, id, inputLabelText, inputPlaceholder, title, loadingText, invalidText, successText, subscriptionState, ...props }: SubscribeProps) => import("react/jsx-runtime").JSX.Element;
58
+ declare const Subscribe: ({ blurb, buttonText, buttonProps, className, element: Element, inputLabelText, inputPlaceholder, title, loadingText, invalidText, successText, subscriptionState, ...props }: SubscribeProps) => import("react/jsx-runtime").JSX.Element;
59
59
  export default Subscribe;
@@ -1,60 +1,49 @@
1
- import { jsxs as N, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as $, jsx as o } from "react/jsx-runtime";
2
2
  import y from "../../node_modules/classnames/index.js";
3
- import { px as s } from "../../utils/index.js";
3
+ import { getCommonProps as C } from "../../utils/index.js";
4
4
  import v from "../Input/Input.js";
5
5
  import w from "../Button/Button.js";
6
- import { SubscriptionState as j } from "./types.js";
6
+ import { SubscriptionState as S } from "./types.js";
7
7
  const D = ({
8
- blurb: o,
9
- buttonText: a = "Sign Up",
10
- buttonProps: l,
11
- className: r,
12
- element: c = "form",
13
- id: i,
14
- inputLabelText: m = "Email*",
15
- inputPlaceholder: u = "example@email.com",
16
- title: d = "Subscribe to Newsletter",
17
- loadingText: b = "Loading...",
18
- invalidText: n = "",
19
- successText: p,
20
- subscriptionState: e = j.Default,
21
- ...f
8
+ blurb: t,
9
+ buttonText: i = "Sign Up",
10
+ buttonProps: m,
11
+ className: n,
12
+ element: r = "form",
13
+ inputLabelText: c = "Email*",
14
+ inputPlaceholder: d = "example@email.com",
15
+ title: u = "Subscribe to Newsletter",
16
+ loadingText: p = "Loading...",
17
+ invalidText: a = "",
18
+ successText: f,
19
+ subscriptionState: e = S.Default,
20
+ ...l
22
21
  }) => {
23
- const x = e === "invalid", _ = e === "loading", h = e === "success", $ = e !== "default" ? {
24
- invalid: n,
25
- success: p,
26
- loading: b
27
- }[e] : "", g = h || _;
28
- return /* @__PURE__ */ N(
29
- c,
30
- {
31
- "data-testid": i || "subscribe-form",
32
- id: i,
33
- className: y(`${s}-subscribe`, r),
34
- noValidate: !0,
35
- ...f,
36
- children: [
37
- /* @__PURE__ */ t("h3", { className: `${s}-subscribe__title`, children: d }),
38
- o ? /* @__PURE__ */ t("p", { className: `${s}-subscribe__blurb`, children: o }) : null,
39
- /* @__PURE__ */ t(
40
- v,
41
- {
42
- className: `${s}-subscribe__input`,
43
- type: "email",
44
- name: "email",
45
- placeholder: u,
46
- labelText: m,
47
- invalid: x,
48
- invalidText: n,
49
- warn: g,
50
- warnText: $,
51
- required: !0
52
- }
53
- ),
54
- /* @__PURE__ */ t(w, { className: `${s}-subscribe__button ${r}`, buttonType: "secondary", type: "submit", ...l, children: a })
55
- ]
56
- }
57
- );
22
+ const { className: s, ...b } = C(l, "Subscribe"), _ = e === "invalid", x = e === "loading", N = e === "success", g = e !== "default" ? {
23
+ invalid: a,
24
+ success: f,
25
+ loading: p
26
+ }[e] : "", h = N || x;
27
+ return /* @__PURE__ */ $(r, { ...b, className: y(s, n), noValidate: !0, ...l, children: [
28
+ /* @__PURE__ */ o("h3", { className: `${s}__title`, children: u }),
29
+ t ? /* @__PURE__ */ o("p", { className: `${s}__blurb`, children: t }) : null,
30
+ /* @__PURE__ */ o(
31
+ v,
32
+ {
33
+ className: `${s}__input`,
34
+ type: "email",
35
+ name: "email",
36
+ placeholder: d,
37
+ labelText: c,
38
+ invalid: _,
39
+ invalidText: a,
40
+ warn: h,
41
+ warnText: g,
42
+ required: !0
43
+ }
44
+ ),
45
+ /* @__PURE__ */ o(w, { className: `${s}__button ${n}`, buttonType: "secondary", type: "submit", ...m, children: i })
46
+ ] });
58
47
  };
59
48
  export {
60
49
  D as default
@@ -19,5 +19,5 @@ export interface TextProps extends React.HTMLAttributes<HTMLElement> {
19
19
  *
20
20
  * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-text--overview)
21
21
  */
22
- declare const Text: ({ children, id, element: CustomElement, variant, className, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element;
22
+ declare const Text: ({ children, className, element: CustomElement, variant, ...props }: TextProps) => import("react/jsx-runtime").JSX.Element;
23
23
  export default Text;
@@ -1,28 +1,20 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { px as p } from "../../utils/index.js";
3
- import f from "../../node_modules/classnames/index.js";
4
- import { TextVariants as c } from "./types.js";
5
- import { determineDefaultTextElement as d, determineTextClassName as i } from "./utils.js";
6
- const $ = ({
7
- children: m,
8
- id: t,
9
- element: s,
10
- variant: e = c.body2,
11
- className: o,
12
- ...a
13
- }) => {
14
- const r = t ? `text-${t}` : "text", n = `${p}-text`, x = s || d(e);
2
+ import { getCommonProps as c } from "../../utils/index.js";
3
+ import { TextVariants as f } from "./types.js";
4
+ import { determineDefaultTextElement as i, determineTextClassName as p } from "./utils.js";
5
+ import x from "../../node_modules/classnames/index.js";
6
+ const b = ({ children: t, className: o, element: s, variant: e = f.body2, ...m }) => {
7
+ const r = s || i(e), { className: a, ...n } = c(m, "Text");
15
8
  return /* @__PURE__ */ l(
16
- x,
9
+ r,
17
10
  {
18
- ...a,
19
- "data-testid": r,
20
- id: t,
21
- className: f(n, i(e), o),
22
- children: m
11
+ ...n,
12
+ className: x(a, o, p(e)),
13
+ ...m,
14
+ children: t
23
15
  }
24
16
  );
25
17
  };
26
18
  export {
27
- $ as default
19
+ b as default
28
20
  };
@@ -26,7 +26,7 @@ export interface I18nObject {
26
26
  viewingHours1Label?: string;
27
27
  viewingHours2Label?: string;
28
28
  }
29
- export interface ViewingsListProps {
29
+ export interface ViewingsListProps extends React.HTMLAttributes<HTMLDivElement> {
30
30
  /**
31
31
  * String for Viewing cards that gets nuber appended. EX: 'Title {x}`
32
32
  */
@@ -60,5 +60,5 @@ export interface ViewingsListProps {
60
60
  */
61
61
  onSave: (e: React.MouseEvent<HTMLElement>) => boolean;
62
62
  }
63
- declare const ViewingsList: ({ cardTitle, id, i18n, onAdd, onDelete, onSave, title, viewings, }: ViewingsListProps) => import("react/jsx-runtime").JSX.Element;
63
+ declare const ViewingsList: ({ cardTitle, className, i18n, onAdd, onDelete, onSave, title, viewings, ...props }: ViewingsListProps) => import("react/jsx-runtime").JSX.Element;
64
64
  export default ViewingsList;
@@ -1,54 +1,52 @@
1
- import { jsxs as B, jsx as l } from "react/jsx-runtime";
1
+ import { jsx as l } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
- import p from "../../node_modules/classnames/index.js";
4
- import { px as $ } from "../../utils/index.js";
5
- import M from "./ViewingsListCard.js";
3
+ import { createElement as L } from "react";
4
+ import S from "../../node_modules/classnames/index.js";
5
+ import { getCommonProps as M } from "../../utils/index.js";
6
+ import P from "./ViewingsListCard.js";
6
7
  import R from "../Button/Button.js";
7
- const S = () => Math.floor(Math.random() * 100) + Date.now(), z = ({
8
- cardTitle: O = "Viewing Details",
9
- id: f,
10
- i18n: r = {},
11
- onAdd: m,
8
+ const $ = () => Math.floor(Math.random() * 100) + Date.now(), G = ({
9
+ cardTitle: C = "Viewing Details",
10
+ className: E,
11
+ i18n: f = {},
12
+ onAdd: r,
12
13
  onDelete: e,
13
- onSave: D,
14
- title: x,
15
- viewings: i
14
+ onSave: N,
15
+ title: O,
16
+ viewings: c,
17
+ ...i
16
18
  }) => {
17
- const [a, h] = d.useState(i), [c, o] = d.useState(""), [s, u] = d.useState();
19
+ const [a, h] = d.useState(c), [m, n] = d.useState(""), [s, u] = d.useState(), { className: p, ...D } = M(i, "ViewingsList");
18
20
  d.useEffect(() => {
19
- h(i);
20
- }, [i]);
21
- const { addViewingsBtnLabel: C = "ADD VIEWINGS" } = r, E = () => {
22
- const t = `${S()}${a ? "-" + a.length : ""}`;
23
- o(t), u(t), m && m(t);
24
- }, N = (t) => {
25
- o(""), typeof e == "function" && e(t);
26
- }, y = (t) => {
27
- o(t), u(a == null ? void 0 : a.find((n) => n.id === t));
28
- }, b = (t) => {
29
- D(t) && o("");
30
- }, j = () => {
31
- typeof s == "string" ? typeof e == "function" && e(s) : c === (s == null ? void 0 : s.id) && h((t) => t == null ? void 0 : t.map((n) => n.id === s.id ? s : n)), o("");
21
+ h(c);
22
+ }, [c]);
23
+ const { addViewingsBtnLabel: y = "ADD VIEWINGS" } = f, b = () => {
24
+ const t = `${$()}${a ? "-" + a.length : ""}`;
25
+ n(t), u(t), r && r(t);
26
+ }, V = (t) => {
27
+ n(""), typeof e == "function" && e(t);
28
+ }, k = (t) => {
29
+ n(t), u(a == null ? void 0 : a.find((o) => o.id === t));
30
+ }, x = (t) => {
31
+ N(t) && n("");
32
+ }, B = () => {
33
+ typeof s == "string" ? typeof e == "function" && e(s) : m === (s == null ? void 0 : s.id) && h((t) => t == null ? void 0 : t.map((o) => o.id === s.id ? s : o)), n("");
32
34
  };
33
- return /* @__PURE__ */ B("div", { className: p(`${$}-viewings-list`), id: f, children: [
34
- /* @__PURE__ */ l("h2", { className: p(`${$}-viewings-list__title`), children: x }),
35
- a == null ? void 0 : a.map((t, n) => /* @__PURE__ */ l(
36
- M,
37
- {
38
- ...t,
39
- ...r,
40
- cardTitle: t.location ? `${O} ${n + 1}` : void 0,
41
- editState: c === t.id,
42
- onCancel: j,
43
- onDelete: N,
44
- onEdit: () => y(t.id),
45
- onSave: b
46
- },
47
- `${t.id}`
48
- )),
49
- /* @__PURE__ */ l(R, { id: `viewings-list-add-btn-${f || S()}`, size: "sm", onClick: E, children: C })
50
- ] }, c);
35
+ return /* @__PURE__ */ L("div", { ...D, className: S(p, E), key: m, ...i }, /* @__PURE__ */ l("h2", { className: S(`${p}__title`), children: O }), a == null ? void 0 : a.map((t, o) => /* @__PURE__ */ l(
36
+ P,
37
+ {
38
+ ...t,
39
+ ...f,
40
+ cardTitle: t.location ? `${C} ${o + 1}` : void 0,
41
+ isEditState: m === t.id,
42
+ onCancel: B,
43
+ onDelete: V,
44
+ onEdit: () => k(t.id),
45
+ onSave: x
46
+ },
47
+ `${t.id}`
48
+ )), /* @__PURE__ */ l(R, { id: `viewings-list-add-btn-${i.id || $()}`, size: "sm", onClick: b, children: y }));
51
49
  };
52
50
  export {
53
- z as default
51
+ G as default
54
52
  };
@@ -20,7 +20,7 @@ export interface ViewingsListCardProps extends ViewingsListCardFormProps, Record
20
20
  /**
21
21
  * Location of viewing
22
22
  */
23
- editState?: boolean;
23
+ isEditState?: boolean;
24
24
  /**
25
25
  * Default boolean to determine whether viewing is enabled on site
26
26
  */
@@ -108,5 +108,5 @@ export interface ViewingsListCardProps extends ViewingsListCardFormProps, Record
108
108
  */
109
109
  saveBtnLabel?: string;
110
110
  }
111
- declare const ViewingsListCard: ({ address1, address1Label, addressUrl, addressUrlLabel, address2, address2Label, address3, address3Label, cancelBtnLabel, cardTitle, deleteBtnLabel, editBtnLabel, editState, enableOnSite, enableOnSiteToggleLabel, email, emailLabel, emailLink, emailLinkLabel, emailOn, emailToggleLabel, id, invalidFields, location, locationLabel, onCancel, onEdit, onDelete, onSave, previewDates, previewDatesLabel, previewHours1, previewHours1Label, previewHours2, previewHours2Label, previewLabel, previewLabelValue, previewOn, previewToggleLabel, saveBtnLabel, viewingLabel, viewingLabelValue, viewingDates, viewingDatesLabel, viewingHours1, viewingHours1Label, viewingHours2, viewingHours2Label, }: ViewingsListCardProps) => import("react/jsx-runtime").JSX.Element;
111
+ declare const ViewingsListCard: ({ address1, address1Label, addressUrl, addressUrlLabel, address2, address2Label, address3, address3Label, cancelBtnLabel, cardTitle, deleteBtnLabel, editBtnLabel, isEditState: editState, enableOnSite, enableOnSiteToggleLabel, email, emailLabel, emailLink, emailLinkLabel, emailOn, emailToggleLabel, id, invalidFields, location, locationLabel, onCancel, onEdit, onDelete, onSave, previewDates, previewDatesLabel, previewHours1, previewHours1Label, previewHours2, previewHours2Label, previewLabel, previewLabelValue, previewOn, previewToggleLabel, saveBtnLabel, viewingLabel, viewingLabelValue, viewingDates, viewingDatesLabel, viewingHours1, viewingHours1Label, viewingHours2, viewingHours2Label, }: ViewingsListCardProps) => import("react/jsx-runtime").JSX.Element;
112
112
  export default ViewingsListCard;