cross-country 1.3.2 → 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 (52) hide show
  1. package/dist/bundle.css +42 -35
  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/atoms/list/__stories__/list.stories.d.ts +8 -0
  5. package/dist/components/atoms/list/list-item/list-item.d.ts +2 -1
  6. package/dist/components/atoms/list/list-item/list-item.js +11 -9
  7. package/dist/components/atoms/text/paragraph/paragraph.js +5 -5
  8. package/dist/components/molecules/animated/animated-column/__tests__/animated-column.test.js +1 -1
  9. package/dist/components/molecules/gold-leaf/gold-leaf-view/__tests__/gold-leaf-view.test.js +3 -3
  10. package/dist/components/molecules/gold-leaf/gold-leaf-view/controls/gold-leaf-view-controls.js +1 -1
  11. package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.d.ts +1 -0
  12. package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.js +4 -3
  13. package/dist/components/molecules/gold-leaf/gold-leaf-view/index.js +1 -1
  14. package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-leaf-image.js +1 -1
  15. package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.js +2 -2
  16. package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-image-card.js +14 -14
  17. package/dist/components/molecules/gold-leaf/gold-leaf.js +1 -1
  18. package/dist/components/molecules/key-value-pairs/__tests__/key-value-pairs.js +1 -1
  19. package/dist/components/molecules/loading/__tests__/loading.test.js +1 -1
  20. package/dist/components/molecules/log-error-boundary/__tests__/log-error-boundary.test.js +2 -2
  21. package/dist/components/molecules/time-progress/__tests__/progress.test.js +1 -1
  22. package/dist/components/molecules/venn-diagram/__tests__/venn-diagram.tests.js +1 -1
  23. package/dist/components/molecules/wallpaper/__tests__/wallpaper.tests.js +2 -2
  24. package/dist/components/organisms/branch/branch.js +4 -4
  25. package/dist/components/organisms/branches/__tests__/branch-list.test.js +1 -1
  26. package/dist/components/organisms/branches/branch-list.js +59 -48
  27. package/dist/components/organisms/branches/branches.d.ts +1 -1
  28. package/dist/components/organisms/branches/branches.js +2 -12
  29. package/dist/components/organisms/tile-grid/__tests__/tile-grid.tests.js +1 -1
  30. package/dist/{gold-leaf-view-ijOmeogY.js → gold-leaf-view-0Jn7L1_j.js} +16 -15
  31. package/dist/gold-leaf-view.module-Bnt7E33j.js +15 -0
  32. package/dist/models/BookModel.d.ts +1 -0
  33. package/dist/models/ChapterModel.d.ts +1 -0
  34. package/dist/models/ItemModel.d.ts +15 -1
  35. package/dist/models/PageModel.d.ts +10 -0
  36. package/dist/models/PageModel.js +1 -0
  37. package/dist/models/QuestModel.d.ts +3 -6
  38. package/dist/models/QuestModel.js +3 -4
  39. package/dist/models/QuestStepModel.d.ts +3 -5
  40. package/dist/models/QuestStepModel.js +3 -4
  41. package/dist/models/SceneModel.d.ts +31 -0
  42. package/dist/models/SceneModel.js +1 -0
  43. package/dist/models/SpellModel.d.ts +7 -0
  44. package/dist/models/UserModel.d.ts +1 -1
  45. package/dist/models/UserModel.js +1 -1
  46. package/dist/models/WorldModel.d.ts +3 -2
  47. package/dist/models/index.d.ts +4 -0
  48. package/dist/{react.esm-CrvCoXQG.js → react.esm-CCxWxhjc.js} +2213 -2227
  49. package/dist/{vi.YFlodzP_-D3L0jBYz.js → vi.YFlodzP_-TarysqgP.js} +1 -1
  50. package/package.json +2 -2
  51. package/dist/gold-leaf-view.module-rpbnPw4v.js +0 -15
  52. package/dist/immutable.es-CLPKhcew.js +0 -3052
package/dist/bundle.css CHANGED
@@ -295,8 +295,7 @@
295
295
  font-size: 32px;
296
296
  }
297
297
 
298
- ._paragraph_19qgs_1 {
299
- margin: 4px 0px;
298
+ ._paragraph_x7zbo_1 {
300
299
  padding: 4px;
301
300
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
302
301
  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@@ -304,6 +303,7 @@
304
303
  text-align: left;
305
304
  font-weight: 300;
306
305
  color: #333;
306
+ margin: 4px 0px !important;
307
307
  }
308
308
 
309
309
  ._form_m1d91_1 {
@@ -627,19 +627,28 @@ a:not([class]):focus {
627
627
  background-color: transparent;
628
628
  }
629
629
 
630
- ._GoldLeaf_zcgqw_1 {
630
+ ._GoldLeaf_1eb97_1 {
631
631
  display: block;
632
632
  margin: 0px;
633
633
  padding: 0px;
634
634
  }
635
635
 
636
- ._GoldLeafView_zcgqw_7 {
636
+ ._GoldLeafView_1eb97_7 {
637
637
  display: block;
638
638
  margin: 0px;
639
639
  padding: 0px;
640
640
  }
641
641
 
642
- ._GoldLeaf__controls_zcgqw_13 {
642
+ /* Add this class to handle empty list items */
643
+ ._GoldLeafView_1eb97_7:empty {
644
+ display: none;
645
+ margin: 0;
646
+ padding: 0;
647
+ height: 0;
648
+ min-height: 0;
649
+ }
650
+
651
+ ._GoldLeaf__controls_1eb97_22 {
643
652
  display: grid;
644
653
  grid-template-columns: repeat(6, 1fr);
645
654
  grid-gap: 4px;
@@ -648,7 +657,7 @@ a:not([class]):focus {
648
657
  padding: 0px;
649
658
  opacity: 0.4;
650
659
  }
651
- ._GoldLeaf__item_zcgqw_22 {
660
+ ._GoldLeaf__item_1eb97_31 {
652
661
  display: block;
653
662
  position: relative;
654
663
  background: transparent;
@@ -658,13 +667,13 @@ a:not([class]):focus {
658
667
  cursor: pointer;
659
668
  padding: 4px;
660
669
  }
661
- ._GoldLeaf__images_zcgqw_32 {
670
+ ._GoldLeaf__images_1eb97_41 {
662
671
  display: flex;
663
672
  flex-direction: column;
664
673
  overflow: hidden;
665
674
  overflow-x: auto;
666
675
  }
667
- ._GoldLeaf__total_zcgqw_38 {
676
+ ._GoldLeaf__total_1eb97_47 {
668
677
  display: block;
669
678
  position: absolute;
670
679
  top: 6px;
@@ -673,7 +682,7 @@ a:not([class]):focus {
673
682
  border-radius: 4px;
674
683
  padding: 0px 2px;
675
684
  }
676
- ._GoldLeaf__total__text_zcgqw_47 {
685
+ ._GoldLeaf__total__text_1eb97_56 {
677
686
  display: flex;
678
687
  justify-content: center;
679
688
  align-items: center;
@@ -682,12 +691,12 @@ a:not([class]):focus {
682
691
  opacity: 0.6;
683
692
  }
684
693
 
685
- ._GoldLeaf__GoldTitleImageCard_zcgqw_56 {
694
+ ._GoldLeaf__GoldTitleImageCard_1eb97_65 {
686
695
  margin: 0px;
687
696
  padding: 0px;
688
697
  }
689
698
 
690
- ._GoldLeaf__image_zcgqw_32 {
699
+ ._GoldLeaf__image_1eb97_41 {
691
700
  display: flex;
692
701
  flex-direction: row;
693
702
  overflow: hidden;
@@ -699,24 +708,24 @@ a:not([class]):focus {
699
708
  padding: 0px !important;
700
709
  }
701
710
 
702
- ._GoldLeaf__image_zcgqw_32 img {
711
+ ._GoldLeaf__image_1eb97_41 img {
703
712
  width: 100%;
704
713
  height: auto;
705
714
  }
706
715
 
707
- ._GoldLeaf__title_zcgqw_78 {
716
+ ._GoldLeaf__title_1eb97_87 {
708
717
  font-family: "Roboto Slab", Arial, Helvetica, sans-serif;
709
718
  font-size: 20px;
710
719
  color: #888;
711
720
  width: 100%;
712
721
  }
713
- ._GoldLeaf__titleLink_zcgqw_84 {
722
+ ._GoldLeaf__titleLink_1eb97_93 {
714
723
  text-decoration: none;
715
724
  pointer-events: all;
716
725
  font-family: Arial, Helvetica, sans-serif;
717
726
  line-height: 10px;
718
727
  }
719
- ._code_zcgqw_90 {
728
+ ._code_1eb97_99 {
720
729
  padding: 3px 8px;
721
730
  background-color: #a257ff;
722
731
  box-shadow: none;
@@ -1213,33 +1222,34 @@ li._listicle_wcjwf_9 {
1213
1222
  }
1214
1223
 
1215
1224
  /* general styles */
1216
- ._body_qcuj7_2 {
1225
+ ._body_1sx7k_2 {
1217
1226
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
1218
1227
  font-family: Arial, Helvetica, sans-serif;
1219
1228
  overflow-x: hidden;
1220
1229
  }
1221
- ._ul_qcuj7_7 {
1230
+ ._ul_1sx7k_7 {
1222
1231
  list-style-type: none;
1223
1232
  margin: 0px;
1224
1233
  }
1225
1234
 
1226
- ._Porthole_qcuj7_12 {
1235
+ ._Porthole_1sx7k_12 {
1227
1236
  padding: 0px;
1228
1237
  margin: 0px;
1229
1238
  width: 100%;
1230
1239
  overflow: hidden;
1231
1240
  z-index: 1;
1232
1241
  }
1233
- ._div_qcuj7_19 {
1242
+ ._div_1sx7k_19 {
1234
1243
  font-size: 18px !important;
1235
1244
  font-family: Arial, Helvetica, sans-serif;
1236
1245
  }
1237
1246
 
1238
1247
  /* column styles */
1239
1248
 
1240
- ._column__list_qcuj7_26 {
1249
+ ._column__list_1sx7k_26 {
1241
1250
  display: grid;
1242
- grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
1251
+ justify-content: center;
1252
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
1243
1253
  grid-gap: 8px;
1244
1254
  align-items: start;
1245
1255
  overflow: hidden;
@@ -1248,54 +1258,51 @@ li._listicle_wcjwf_9 {
1248
1258
  width: 100%;
1249
1259
  }
1250
1260
 
1251
- ._card__column_qcuj7_37 {
1252
- padding: 16px;
1253
- align-items: center;
1254
- padding-top: 16px;
1255
- padding-bottom: 16px;
1261
+ ._card__column_1sx7k_38 {
1262
+ padding: 0px;
1263
+ margin: 0px;
1256
1264
  overflow: hidden;
1257
1265
  }
1258
1266
 
1259
- ._column__item_qcuj7_45 {
1267
+ ._column__item_1sx7k_44 {
1260
1268
  border-radius: 0.2rem;
1261
1269
  background-color: transparent;
1262
1270
  padding: 0px;
1263
1271
  margin: 0px;
1264
- align-items: center;
1265
1272
  display: flex;
1266
1273
  }
1267
1274
 
1268
- ._column__title--wrapper_qcuj7_54 {
1275
+ ._column__title--wrapper_1sx7k_52 {
1269
1276
  display: grid;
1270
1277
  grid-template-columns: repeat(2, 1fr);
1271
1278
  padding: 0.25rem;
1272
1279
  align-items: center;
1273
1280
  }
1274
1281
 
1275
- ._column__title--wrapper_qcuj7_54 h2 {
1282
+ ._column__title--wrapper_1sx7k_52 h2 {
1276
1283
  color: #17394d;
1277
1284
  font-weight: 700;
1278
1285
  font-size: 0.9rem;
1279
1286
  }
1280
1287
 
1281
- ._column__title--wrapper_qcuj7_54 i {
1288
+ ._column__title--wrapper_1sx7k_52 i {
1282
1289
  text-align: right;
1283
1290
  color: #798d99;
1284
1291
  }
1285
1292
 
1286
- ._column__item--cta_qcuj7_72 {
1293
+ ._column__item--cta_1sx7k_70 {
1287
1294
  padding: 0.25rem;
1288
1295
  display: flex;
1289
1296
  color: #798d99;
1290
1297
  }
1291
1298
 
1292
- ._column__item--cta_qcuj7_72 i {
1299
+ ._column__item--cta_1sx7k_70 i {
1293
1300
  margin-right: 0.25rem;
1294
1301
  }
1295
1302
 
1296
1303
  /* card styles */
1297
1304
 
1298
- ._card__list_qcuj7_84 {
1305
+ ._card__list_1sx7k_82 {
1299
1306
  display: grid;
1300
1307
  grid-template-rows: auto;
1301
1308
  grid-gap: 0.5rem;
@@ -1308,7 +1315,7 @@ li._listicle_wcjwf_9 {
1308
1315
  padding-bottom: 16px;
1309
1316
  }
1310
1317
 
1311
- ._card__item_qcuj7_97 {
1318
+ ._card__item_1sx7k_95 {
1312
1319
  background-color: transparent;
1313
1320
  border-radius: 0.25rem;
1314
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-CrvCoXQG.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-CrvCoXQG.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_-D3L0jBYz.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(() => {
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as List } from '../list';
3
+
4
+ declare const meta: Meta<typeof List>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof List>;
7
+ export declare const Default: Story;
8
+ export declare const WithNullComponents: Story;
@@ -5,6 +5,7 @@ export interface ListItemProps {
5
5
  customClass?: string;
6
6
  customStyle?: React.CSSProperties;
7
7
  role?: string;
8
+ id?: string;
8
9
  }
9
- declare const ListItem: ({ children, customClass, customStyle, ...rest }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const ListItem: ({ children, customClass, customStyle, id, ...rest }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export default ListItem;
@@ -1,20 +1,22 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { s as l } from "../../../../list.module-BxriWrpW.js";
3
- import { c as r } from "../../../../clsx.m-BMVuQnLY.js";
4
- const f = ({
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { s as r } from "../../../../list.module-BxriWrpW.js";
3
+ import { c as a } from "../../../../clsx.m-BMVuQnLY.js";
4
+ const p = ({
5
5
  children: s,
6
6
  customClass: t = "",
7
7
  customStyle: m = {},
8
- ...o
9
- }) => /* @__PURE__ */ e(
8
+ id: o,
9
+ ...e
10
+ }) => /* @__PURE__ */ l(
10
11
  "li",
11
12
  {
12
- ...o,
13
- className: r(l.listItem, t),
13
+ ...e,
14
+ className: a(r.listItem, t),
14
15
  style: m,
16
+ id: o,
15
17
  children: s
16
18
  }
17
19
  );
18
20
  export {
19
- f as default
21
+ p as default
20
22
  };
@@ -1,16 +1,16 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { c as o } from "../../../../clsx.m-BMVuQnLY.js";
3
- const c = "_paragraph_19qgs_1", g = {
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { c as t } from "../../../../clsx.m-BMVuQnLY.js";
3
+ const c = "_paragraph_x7zbo_1", e = {
4
4
  paragraph: c
5
5
  }, l = ({
6
6
  children: a,
7
7
  customClass: r = "",
8
8
  customStyle: p = {},
9
9
  maxWidth: s = 600
10
- }) => /* @__PURE__ */ t(
10
+ }) => /* @__PURE__ */ o(
11
11
  "p",
12
12
  {
13
- className: o(g.paragraph, r),
13
+ className: t(e.paragraph, r),
14
14
  style: { maxWidth: s, ...p },
15
15
  children: a
16
16
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { r as t } from "../../../../../react.esm-CrvCoXQG.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-CrvCoXQG.js";
3
- import { G as m } from "../../../../../gold-leaf-view-ijOmeogY.js";
4
- import { d as a, b as f, i, g as p } from "../../../../../vi.YFlodzP_-D3L0jBYz.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(() => {
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as S } from "react";
3
3
  import { removeAllImagesFromText as H } from "../../../../../utils/golds/image-find-util.js";
4
4
  import { getWindow as v } from "../../../../../utils/server-side-util.js";
5
- import { s as n } from "../../../../../gold-leaf-view.module-rpbnPw4v.js";
5
+ import { s as n } from "../../../../../gold-leaf-view.module-Bnt7E33j.js";
6
6
  import g from "../../../../atoms/column/column.js";
7
7
  import p from "../../../../atoms/button/button.js";
8
8
  import b from "../../../../atoms/row/row.js";
@@ -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,13 +8,14 @@ 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-ijOmeogY.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";
15
15
  import "./email/gold-leaf-email-view.js";
16
- import "../../../../gold-leaf-view.module-rpbnPw4v.js";
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-ijOmeogY.js";
1
+ import { G as f } from "../../../../gold-leaf-view-0Jn7L1_j.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -8,7 +8,7 @@ import "../../../../atoms/group/group.js";
8
8
  import "../../../wrapper/wrapper.js";
9
9
  import "../../../wallpaper/wallpaper.js";
10
10
  import "../../../../../index-BajRXg7z.js";
11
- import { s } from "../../../../../gold-leaf-view.module-rpbnPw4v.js";
11
+ import { s } from "../../../../../gold-leaf-view.module-Bnt7E33j.js";
12
12
  import "../../../../organisms/registration/registration-machine.js";
13
13
  import "../../../../../transform-CAFMLvzX.js";
14
14
  import "../../../../../react-masonry-css.module-CJ43viV7.js";
@@ -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-ijOmeogY.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";
@@ -12,7 +12,7 @@ import "../../../../../index-BajRXg7z.js";
12
12
  import "../../../../organisms/registration/registration-machine.js";
13
13
  import "../../../../../transform-CAFMLvzX.js";
14
14
  import "../../../../../react-masonry-css.module-CJ43viV7.js";
15
- import { s as i } from "../../../../../gold-leaf-view.module-rpbnPw4v.js";
15
+ import { s as i } from "../../../../../gold-leaf-view.module-Bnt7E33j.js";
16
16
  import p from "../../../../atoms/link/link.js";
17
17
  const B = ({
18
18
  goldLeafModel: r,
@@ -1,24 +1,24 @@
1
- import { jsx as t, Fragment as e, jsxs as l } from "react/jsx-runtime";
1
+ import { jsx as t, Fragment as i, jsxs as e } from "react/jsx-runtime";
2
2
  import n from "../../../../atoms/column/column.js";
3
3
  import "react";
4
4
  import "../../../../atoms/row/row.js";
5
- import a from "../../../../atoms/text/sub-headline/sub-headline.js";
5
+ import p from "../../../../atoms/text/sub-headline/sub-headline.js";
6
6
  import "../../../../../react-spring_web.modern-C8ckweT7.js";
7
7
  import "../../../../atoms/group/group.js";
8
8
  import "../../../wrapper/wrapper.js";
9
9
  import "../../../wallpaper/wallpaper.js";
10
10
  import "../../../../../index-BajRXg7z.js";
11
- import { s as m } from "../../../../../gold-leaf-view.module-rpbnPw4v.js";
11
+ import { s as m } from "../../../../../gold-leaf-view.module-Bnt7E33j.js";
12
12
  import "../../../../organisms/registration/registration-machine.js";
13
13
  import "../../../../../transform-CAFMLvzX.js";
14
14
  import "../../../../../react-masonry-css.module-CJ43viV7.js";
15
- import p from "./gold-leaf-image.js";
15
+ import l from "./gold-leaf-image.js";
16
16
  import s from "../../../../atoms/link/link.js";
17
- const T = ({
17
+ const w = ({
18
18
  goldLeafModel: o,
19
- mode: r = "unknown",
20
- onNoImageFoundCallback: i
21
- }) => (console.log("GoldTitleImageCard mode: ", r), console.log("GoldTitleImageCard goldLeafModel: ", o), /* @__PURE__ */ t(e, { children: /* @__PURE__ */ l(
19
+ mode: a = "unknown",
20
+ onNoImageFoundCallback: r
21
+ }) => /* @__PURE__ */ t(i, { children: /* @__PURE__ */ e(
22
22
  s,
23
23
  {
24
24
  url: o.url,
@@ -33,7 +33,7 @@ const T = ({
33
33
  margin: 0
34
34
  },
35
35
  children: /* @__PURE__ */ t(
36
- a,
36
+ p,
37
37
  {
38
38
  text: o.title,
39
39
  customClass: m.GoldLeaf__title,
@@ -50,16 +50,16 @@ const T = ({
50
50
  ),
51
51
  " ",
52
52
  /* @__PURE__ */ t(
53
- p,
53
+ l,
54
54
  {
55
55
  goldLeafModel: o,
56
- onNoImageFoundCallback: i
56
+ onNoImageFoundCallback: r
57
57
  }
58
58
  )
59
59
  ]
60
60
  }
61
- ) }));
61
+ ) });
62
62
  export {
63
- T as GoldTitleImageCard,
64
- T as default
63
+ w as GoldTitleImageCard,
64
+ w as default
65
65
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { G as r } from "../../../gold-leaf-view-ijOmeogY.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-CrvCoXQG.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-CrvCoXQG.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-CrvCoXQG.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_-D3L0jBYz.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-CrvCoXQG.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-CrvCoXQG.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-CrvCoXQG.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_-D3L0jBYz.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,4 +1,4 @@
1
- import { jsx as r } from "react/jsx-runtime";
1
+ import { jsx as t } from "react/jsx-runtime";
2
2
  import "../../atoms/column/column.js";
3
3
  import "react";
4
4
  import "../../atoms/row/row.js";
@@ -7,11 +7,11 @@ import "../../atoms/group/group.js";
7
7
  import "../../molecules/wrapper/wrapper.js";
8
8
  import "../../molecules/wallpaper/wallpaper.js";
9
9
  import "../../../index-BajRXg7z.js";
10
- import t from "../../molecules/gold-leaf/gold-leaf.js";
10
+ import i from "../../molecules/gold-leaf/gold-leaf.js";
11
11
  import "../registration/registration-machine.js";
12
12
  import "../../../transform-CAFMLvzX.js";
13
13
  import "../../../react-masonry-css.module-CJ43viV7.js";
14
- const L = ({ branch: o }) => /* @__PURE__ */ r(t, { goldLeafModel: o, mode: "view" });
14
+ const v = ({ branch: o }) => (o == null ? void 0 : o.title) === "" ? null : /* @__PURE__ */ t(i, { goldLeafModel: o, mode: "view" });
15
15
  export {
16
- L as default
16
+ v as default
17
17
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { r as n } from "../../../../react.esm-CrvCoXQG.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";