cross-country 1.3.3 → 1.3.4

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 (25) hide show
  1. package/dist/bundle.css +16 -16
  2. package/dist/components/atoms/circle/__tests__/circle.test.js +1 -1
  3. package/dist/components/atoms/column/__tests__/column.test.js +2 -2
  4. package/dist/components/molecules/animated/animated-column/__tests__/animated-column.test.js +1 -1
  5. package/dist/components/molecules/gold-leaf/gold-leaf-view/__tests__/gold-leaf-view.test.js +3 -3
  6. package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.d.ts +1 -0
  7. package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.js +3 -2
  8. package/dist/components/molecules/gold-leaf/gold-leaf-view/index.js +1 -1
  9. package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.js +1 -1
  10. package/dist/components/molecules/gold-leaf/gold-leaf.js +1 -1
  11. package/dist/components/molecules/key-value-pairs/__tests__/key-value-pairs.js +1 -1
  12. package/dist/components/molecules/loading/__tests__/loading.test.js +1 -1
  13. package/dist/components/molecules/log-error-boundary/__tests__/log-error-boundary.test.js +2 -2
  14. package/dist/components/molecules/time-progress/__tests__/progress.test.js +1 -1
  15. package/dist/components/molecules/venn-diagram/__tests__/venn-diagram.tests.js +1 -1
  16. package/dist/components/molecules/wallpaper/__tests__/wallpaper.tests.js +2 -2
  17. package/dist/components/organisms/branches/__tests__/branch-list.test.js +1 -1
  18. package/dist/components/organisms/branches/branch-list.js +36 -35
  19. package/dist/components/organisms/branches/branches.d.ts +1 -1
  20. package/dist/components/organisms/branches/branches.js +2 -12
  21. package/dist/components/organisms/tile-grid/__tests__/tile-grid.tests.js +1 -1
  22. package/dist/{gold-leaf-view-CkM4fILh.js → gold-leaf-view-0Jn7L1_j.js} +13 -12
  23. package/dist/{react.esm-CwScrc_1.js → react.esm-CCxWxhjc.js} +2283 -2308
  24. package/dist/{vi.YFlodzP_-DM4pKyMj.js → vi.YFlodzP_-TarysqgP.js} +1 -1
  25. package/package.json +2 -2
package/dist/bundle.css CHANGED
@@ -1222,33 +1222,34 @@ li._listicle_wcjwf_9 {
1222
1222
  }
1223
1223
 
1224
1224
  /* general styles */
1225
- ._body_1ra4h_2 {
1225
+ ._body_1sx7k_2 {
1226
1226
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
1227
1227
  font-family: Arial, Helvetica, sans-serif;
1228
1228
  overflow-x: hidden;
1229
1229
  }
1230
- ._ul_1ra4h_7 {
1230
+ ._ul_1sx7k_7 {
1231
1231
  list-style-type: none;
1232
1232
  margin: 0px;
1233
1233
  }
1234
1234
 
1235
- ._Porthole_1ra4h_12 {
1235
+ ._Porthole_1sx7k_12 {
1236
1236
  padding: 0px;
1237
1237
  margin: 0px;
1238
1238
  width: 100%;
1239
1239
  overflow: hidden;
1240
1240
  z-index: 1;
1241
1241
  }
1242
- ._div_1ra4h_19 {
1242
+ ._div_1sx7k_19 {
1243
1243
  font-size: 18px !important;
1244
1244
  font-family: Arial, Helvetica, sans-serif;
1245
1245
  }
1246
1246
 
1247
1247
  /* column styles */
1248
1248
 
1249
- ._column__list_1ra4h_26 {
1249
+ ._column__list_1sx7k_26 {
1250
1250
  display: grid;
1251
- grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
1251
+ justify-content: center;
1252
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
1252
1253
  grid-gap: 8px;
1253
1254
  align-items: start;
1254
1255
  overflow: hidden;
@@ -1257,14 +1258,13 @@ li._listicle_wcjwf_9 {
1257
1258
  width: 100%;
1258
1259
  }
1259
1260
 
1260
- ._card__column_1ra4h_37 {
1261
+ ._card__column_1sx7k_38 {
1261
1262
  padding: 0px;
1262
1263
  margin: 0px;
1263
1264
  overflow: hidden;
1264
- width: 300px
1265
1265
  }
1266
1266
 
1267
- ._column__item_1ra4h_44 {
1267
+ ._column__item_1sx7k_44 {
1268
1268
  border-radius: 0.2rem;
1269
1269
  background-color: transparent;
1270
1270
  padding: 0px;
@@ -1272,37 +1272,37 @@ li._listicle_wcjwf_9 {
1272
1272
  display: flex;
1273
1273
  }
1274
1274
 
1275
- ._column__title--wrapper_1ra4h_52 {
1275
+ ._column__title--wrapper_1sx7k_52 {
1276
1276
  display: grid;
1277
1277
  grid-template-columns: repeat(2, 1fr);
1278
1278
  padding: 0.25rem;
1279
1279
  align-items: center;
1280
1280
  }
1281
1281
 
1282
- ._column__title--wrapper_1ra4h_52 h2 {
1282
+ ._column__title--wrapper_1sx7k_52 h2 {
1283
1283
  color: #17394d;
1284
1284
  font-weight: 700;
1285
1285
  font-size: 0.9rem;
1286
1286
  }
1287
1287
 
1288
- ._column__title--wrapper_1ra4h_52 i {
1288
+ ._column__title--wrapper_1sx7k_52 i {
1289
1289
  text-align: right;
1290
1290
  color: #798d99;
1291
1291
  }
1292
1292
 
1293
- ._column__item--cta_1ra4h_70 {
1293
+ ._column__item--cta_1sx7k_70 {
1294
1294
  padding: 0.25rem;
1295
1295
  display: flex;
1296
1296
  color: #798d99;
1297
1297
  }
1298
1298
 
1299
- ._column__item--cta_1ra4h_70 i {
1299
+ ._column__item--cta_1sx7k_70 i {
1300
1300
  margin-right: 0.25rem;
1301
1301
  }
1302
1302
 
1303
1303
  /* card styles */
1304
1304
 
1305
- ._card__list_1ra4h_82 {
1305
+ ._card__list_1sx7k_82 {
1306
1306
  display: grid;
1307
1307
  grid-template-rows: auto;
1308
1308
  grid-gap: 0.5rem;
@@ -1315,7 +1315,7 @@ li._listicle_wcjwf_9 {
1315
1315
  padding-bottom: 16px;
1316
1316
  }
1317
1317
 
1318
- ._card__item_1ra4h_95 {
1318
+ ._card__item_1sx7k_95 {
1319
1319
  background-color: transparent;
1320
1320
  border-radius: 0.25rem;
1321
1321
  width: 98%;
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { r as o, s as i } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as o, s as i } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import "../../../../index-ZOVD6bFe.js";
4
4
  import r from "../circle.js";
5
5
  describe("Circle component", () => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { r as n } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as n } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import s from "../column.js";
4
- import { d as c, b as a, i as d, g as l } from "../../../../vi.YFlodzP_-DM4pKyMj.js";
4
+ import { d as c, b as a, i as d, g as l } from "../../../../vi.YFlodzP_-TarysqgP.js";
5
5
  c("<Column />", () => {
6
6
  let o;
7
7
  a(() => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { r as t } from "../../../../../react.esm-CwScrc_1.js";
2
+ import { r as t } from "../../../../../react.esm-CCxWxhjc.js";
3
3
  import { u as n } from "../../../../../react-spring_web.modern-C8ckweT7.js";
4
4
  import o from "../animated-column.js";
5
5
  jest.mock("@react-spring/web", () => ({
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { r as n } from "../../../../../react.esm-CwScrc_1.js";
3
- import { G as m } from "../../../../../gold-leaf-view-CkM4fILh.js";
4
- import { d as a, b as f, i, g as p } from "../../../../../vi.YFlodzP_-DM4pKyMj.js";
2
+ import { r as n } from "../../../../../react.esm-CCxWxhjc.js";
3
+ import { G as m } from "../../../../../gold-leaf-view-0Jn7L1_j.js";
4
+ import { d as a, b as f, i, g as p } from "../../../../../vi.YFlodzP_-TarysqgP.js";
5
5
  a("Test Component", () => {
6
6
  let e;
7
7
  f(() => {
@@ -1,4 +1,5 @@
1
1
  import { GoldLeafViewProps } from './gold-leaf-view.types';
2
2
 
3
+ export declare const GOLD_LEAF_WIDTH = 280;
3
4
  declare const GoldLeafView: ({ goldLeafModel, dataTestId, customStyle, variant, }: GoldLeafViewProps) => import("react/jsx-runtime").JSX.Element;
4
5
  export default GoldLeafView;
@@ -8,7 +8,7 @@ import "../../wrapper/wrapper.js";
8
8
  import "../../wallpaper/wallpaper.js";
9
9
  import "../../../../index-BajRXg7z.js";
10
10
  import "../../card/card.js";
11
- import { G as h } from "../../../../gold-leaf-view-CkM4fILh.js";
11
+ import { b as x, G as A } from "../../../../gold-leaf-view-0Jn7L1_j.js";
12
12
  import "../../../organisms/registration/registration-machine.js";
13
13
  import "../../../../transform-CAFMLvzX.js";
14
14
  import "../../../../react-masonry-css.module-CJ43viV7.js";
@@ -16,5 +16,6 @@ import "./email/gold-leaf-email-view.js";
16
16
  import "../../../../gold-leaf-view.module-Bnt7E33j.js";
17
17
  import "./title-image/gold-title-image-card.js";
18
18
  export {
19
- h as default
19
+ x as GOLD_LEAF_WIDTH,
20
+ A as default
20
21
  };
@@ -1,4 +1,4 @@
1
- import { G as f } from "../../../../gold-leaf-view-CkM4fILh.js";
1
+ import { G as f } from "../../../../gold-leaf-view-0Jn7L1_j.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, Fragment as e } from "react/jsx-runtime";
2
- import { G as m, a as n } from "../../../../../gold-leaf-view-CkM4fILh.js";
2
+ import { G as m, a as n } from "../../../../../gold-leaf-view-0Jn7L1_j.js";
3
3
  import s from "../../../../atoms/column/column.js";
4
4
  import "react";
5
5
  import "../../../../atoms/row/row.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { G as r } from "../../../gold-leaf-view-CkM4fILh.js";
2
+ import { G as r } from "../../../gold-leaf-view-0Jn7L1_j.js";
3
3
  const d = ({ goldLeafModel: e = null, dataTestId: f = "golf-leaf-view", mode: t = "view", customClass: a, customStyle: l }) => {
4
4
  switch (t) {
5
5
  case "view":
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { r as s } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as s } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import i from "../key-value-pairs.js";
4
4
  describe("<KeyValuePairs />", () => {
5
5
  let e;
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { r as s } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as s } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import c from "../loading.js";
4
4
  describe("Test Component", () => {
5
5
  let e;
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { r as n } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as n } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import a from "../log-error-boundary.js";
4
- import { d as c, b as d, i as m, g as f } from "../../../../vi.YFlodzP_-DM4pKyMj.js";
4
+ import { d as c, b as d, i as m, g as f } from "../../../../vi.YFlodzP_-TarysqgP.js";
5
5
  c("<LogErrorBoundary />", () => {
6
6
  let o;
7
7
  d(() => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { r as n } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as n } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import c from "../progress.js";
4
4
  describe("<Progress />", () => {
5
5
  let o;
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { r, s as e } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r, s as e } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import "../../../../index-ZOVD6bFe.js";
4
4
  import n from "../venn-diagram.js";
5
5
  import { defaultCircles as o } from "../venn-diagram-default-circles.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { r as m } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as m } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import s from "../wallpaper.js";
4
- import { d as i, b as c, i as p, g as a } from "../../../../vi.YFlodzP_-DM4pKyMj.js";
4
+ import { d as i, b as c, i as p, g as a } from "../../../../vi.YFlodzP_-TarysqgP.js";
5
5
  i("<Wallpaper />", () => {
6
6
  let r;
7
7
  c(() => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { r as n } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as n } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import { convertToPortholeBranches as c } from "../../../../utils/golds/feed-util.js";
4
4
  import { s as m } from "../../../../fp-util-DZLSTUg5.js";
5
5
  import { response as p } from "../__mocks__/branches-mock.js";
@@ -1,35 +1,36 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { useRef as C, useState as g, useEffect as w } from "react";
3
- import $ from "../../atoms/column/column.js";
4
- import y from "../../atoms/row/row.js";
5
- import L from "../../atoms/list/list.js";
6
- import v from "../../atoms/list/list-item/list-item.js";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { useRef as C, useState as g, useEffect as x } from "react";
3
+ import L from "../../atoms/column/column.js";
4
+ import k from "../../atoms/row/row.js";
5
+ import w from "../../atoms/list/list.js";
6
+ import $ from "../../atoms/list/list-item/list-item.js";
7
7
  import "../../../react-spring_web.modern-C8ckweT7.js";
8
8
  import "../../atoms/group/group.js";
9
9
  import "../../molecules/wrapper/wrapper.js";
10
10
  import "../../molecules/wallpaper/wallpaper.js";
11
11
  import "../../../index-BajRXg7z.js";
12
+ import { b as y } from "../../../gold-leaf-view-0Jn7L1_j.js";
12
13
  import "../registration/registration-machine.js";
13
- import x from "../branch/branch.js";
14
+ import I from "../branch/branch.js";
14
15
  import "../../../transform-CAFMLvzX.js";
15
16
  import "../../../react-masonry-css.module-CJ43viV7.js";
16
- const B = "_column__list_1ra4h_26", I = "_card__column_1ra4h_37", T = "_column__item_1ra4h_44", z = "_card__list_1ra4h_82", E = "_card__item_1ra4h_95", i = {
17
- column__list: B,
18
- card__column: I,
19
- column__item: T,
20
- card__list: z,
21
- card__item: E
22
- }, R = 280, P = ({ branches: u }) => {
23
- const r = C(null), [m, a] = g(0), d = (t) => {
24
- const n = Math.floor(t / R), o = n > 0 ? n : 1;
25
- a(o);
17
+ const T = "_column__list_1sx7k_26", v = "_card__column_1sx7k_38", B = "_column__item_1sx7k_44", E = "_card__list_1sx7k_82", W = "_card__item_1sx7k_95", i = {
18
+ column__list: T,
19
+ card__column: v,
20
+ column__item: B,
21
+ card__list: E,
22
+ card__item: W
23
+ }, z = y, U = ({ branches: u }) => {
24
+ const s = C(null), [m, d] = g(0), a = (t) => {
25
+ const n = Math.floor(t / z), o = n > 0 ? n : 1;
26
+ d(o);
26
27
  };
27
- w(() => {
28
+ x(() => {
28
29
  const t = () => {
29
30
  var n;
30
- if ((n = r == null ? void 0 : r.current) != null && n.offsetWidth) {
31
- const o = r.current.offsetWidth;
32
- d(o);
31
+ if ((n = s == null ? void 0 : s.current) != null && n.offsetWidth) {
32
+ const o = s.current.offsetWidth;
33
+ a(o);
33
34
  }
34
35
  };
35
36
  return window.addEventListener("resize", t), t(), () => window.removeEventListener("resize", t);
@@ -40,41 +41,41 @@ const B = "_column__list_1ra4h_26", I = "_card__column_1ra4h_37", T = "_column__
40
41
  const n = t.filter((l) => l && Object.keys(l).length > 0);
41
42
  if (n.length === 0)
42
43
  return null;
43
- const o = n.map((l, e) => {
44
- const c = /* @__PURE__ */ s(x, { branch: l });
45
- return c ? /* @__PURE__ */ s(
46
- v,
44
+ const o = n.map((l, r) => {
45
+ const c = /* @__PURE__ */ e(I, { branch: l });
46
+ return c ? /* @__PURE__ */ e(
47
+ $,
47
48
  {
48
49
  customClass: i.card__item,
49
50
  customStyle: { listStyle: "none" },
50
51
  id: `${l.id}`,
51
52
  children: c
52
53
  },
53
- `${l.id}-${e}`
54
+ `${l.id}-${r}`
54
55
  ) : null;
55
56
  }).filter(Boolean);
56
57
  return o.length > 0 ? o : null;
57
- }, h = (t, n, o) => {
58
- const l = o * t, e = t * (o + 1), c = n.slice(l, e), _ = f(c);
59
- return _ ? /* @__PURE__ */ s(
60
- $,
58
+ }, p = (t, n, o) => {
59
+ const l = o * t, r = t * (o + 1), c = n.slice(l, r), _ = f(c);
60
+ return _ ? /* @__PURE__ */ e(
61
+ L,
61
62
  {
62
63
  customClass: `${i.card__column} ${i.column__item}`,
63
- children: /* @__PURE__ */ s(L, { customClass: i.card__list, children: _ })
64
+ children: /* @__PURE__ */ e(w, { customClass: i.card__list, children: _ })
64
65
  },
65
66
  `col${o}`
66
67
  ) : null;
67
- }, p = (t) => {
68
+ }, h = (t) => {
68
69
  if (!(t != null && t.length) || !m)
69
70
  return null;
70
71
  const n = Math.ceil(t.length / m), o = Array.from(
71
72
  { length: m },
72
- (l, e) => h(n, t, e)
73
+ (l, r) => p(n, t, r)
73
74
  ).filter(Boolean);
74
75
  return o.length > 0 ? o : null;
75
76
  };
76
- return /* @__PURE__ */ s(y, { dataTestId: "branch-list", customClass: i.column__list, ref: r, children: p(u) });
77
+ return /* @__PURE__ */ e(k, { dataTestId: "branch-list", customClass: i.column__list, ref: s, children: h(u) });
77
78
  };
78
79
  export {
79
- P as default
80
+ U as default
80
81
  };
@@ -1,6 +1,6 @@
1
1
  export interface BranchesProps {
2
2
  isTesting?: boolean;
3
- onLoadedCallback: (error: any) => void;
3
+ onLoadedCallback?: (error: any) => void;
4
4
  }
5
5
  declare const Branches: ({ isTesting, onLoadedCallback }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export default Branches;
@@ -3,17 +3,7 @@ import { useState as k, useEffect as v } from "react";
3
3
  import { createAllPortholeTrees as r, convertToPortholeBranches as x } from "../../../utils/golds/feed-util.js";
4
4
  import { f as _ } from "../../../fetch-util-C0-3zkuY.js";
5
5
  import { s as j } from "../../../fp-util-DZLSTUg5.js";
6
- import "../../atoms/column/column.js";
7
- import "../../atoms/row/row.js";
8
- import "../../../react-spring_web.modern-C8ckweT7.js";
9
- import "../../atoms/group/group.js";
10
- import "../../molecules/wrapper/wrapper.js";
11
- import "../../molecules/wallpaper/wallpaper.js";
12
- import "../../../index-BajRXg7z.js";
13
6
  import z from "../../molecules/loading/loading.js";
14
- import "../registration/registration-machine.js";
15
- import "../../../transform-CAFMLvzX.js";
16
- import "../../../react-masonry-css.module-CJ43viV7.js";
17
7
  import S from "./branch-list.js";
18
8
  const C = {
19
9
  feed_responses: [
@@ -25428,7 +25418,7 @@ Let's schedule a time to discuss your e-commerce goals. hello@adencys.com`
25428
25418
  status: 200,
25429
25419
  total_branches: 293,
25430
25420
  total_feeds: 15
25431
- }, T = "https://scout-summarize.vercel.app/api/porthole/feeds", U = ({ isTesting: p = !1, onLoadedCallback: t }) => {
25421
+ }, T = "https://scout-summarize.vercel.app/api/porthole/feeds", G = ({ isTesting: p = !1, onLoadedCallback: t }) => {
25432
25422
  const [s, c] = k({
25433
25423
  feeds: r(),
25434
25424
  branches: [],
@@ -25465,5 +25455,5 @@ Let's schedule a time to discuss your e-commerce goals. hello@adencys.com`
25465
25455
  }, []), n.length === 0 ? /* @__PURE__ */ l(z, {}) : /* @__PURE__ */ l(S, { branches: n });
25466
25456
  };
25467
25457
  export {
25468
- U as default
25458
+ G as default
25469
25459
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { r as l, s } from "../../../../react.esm-CwScrc_1.js";
2
+ import { r as l, s } from "../../../../react.esm-CCxWxhjc.js";
3
3
  import "../../../../index-ZOVD6bFe.js";
4
4
  import { a as i } from "../../../../index-BajRXg7z.js";
5
5
  describe("TileGrid component", () => {
@@ -7,20 +7,20 @@ import "./components/atoms/group/group.js";
7
7
  import "./components/molecules/wrapper/wrapper.js";
8
8
  import "./components/molecules/wallpaper/wallpaper.js";
9
9
  import "./index-BajRXg7z.js";
10
- import e from "./components/molecules/card/card.js";
10
+ import i from "./components/molecules/card/card.js";
11
11
  import "./components/organisms/registration/registration-machine.js";
12
12
  import "./transform-CAFMLvzX.js";
13
13
  import "./react-masonry-css.module-CJ43viV7.js";
14
14
  import { GoldLeafEmailView as u } from "./components/molecules/gold-leaf/gold-leaf-view/email/gold-leaf-email-view.js";
15
15
  import { s as m } from "./gold-leaf-view.module-Bnt7E33j.js";
16
16
  import { GoldTitleImageCard as c } from "./components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-image-card.js";
17
- const d = () => /* @__PURE__ */ o(p, { children: "No Golf Leaf!" }), G = {
18
- height: "auto",
19
- width: 300
20
- }, H = ({
17
+ const d = () => /* @__PURE__ */ o(p, { children: "No Golf Leaf!" }), k = 280, G = {
18
+ height: "auto"
19
+ //width: GOLD_LEAF_WIDTH,
20
+ }, v = ({
21
21
  goldLeafModel: r,
22
22
  dataTestId: t = "golf-leaf-view",
23
- customStyle: i = G,
23
+ customStyle: e = G,
24
24
  variant: a = "article"
25
25
  }) => {
26
26
  if (!r)
@@ -29,19 +29,19 @@ const d = () => /* @__PURE__ */ o(p, { children: "No Golf Leaf!" }), G = {
29
29
  s(!1);
30
30
  };
31
31
  return a === "email" ? /* @__PURE__ */ o(
32
- e,
32
+ i,
33
33
  {
34
34
  customClass: m.GoldLeafView,
35
35
  dataTestId: t,
36
- customStyle: i,
36
+ customStyle: e,
37
37
  children: /* @__PURE__ */ o(u, { goldLeafEmailModel: r })
38
38
  }
39
39
  ) : l ? /* @__PURE__ */ o(
40
- e,
40
+ i,
41
41
  {
42
42
  customClass: m.GoldLeafView,
43
43
  dataTestId: t,
44
- customStyle: i,
44
+ customStyle: e,
45
45
  children: /* @__PURE__ */ o(
46
46
  c,
47
47
  {
@@ -53,6 +53,7 @@ const d = () => /* @__PURE__ */ o(p, { children: "No Golf Leaf!" }), G = {
53
53
  ) : null;
54
54
  };
55
55
  export {
56
- H as G,
57
- d as a
56
+ v as G,
57
+ d as a,
58
+ k as b
58
59
  };