@apolitical/component-library 3.0.0 → 3.0.1-ac.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
@@ -1589,7 +1589,43 @@ const pl = ({ image: t, className: e, testId: n }) => /* @__PURE__ */ a.jsx(
1589
1589
  }
1590
1590
  return n ? K.createElement(n, { children: e, className: r, ...c }) : e;
1591
1591
  };
1592
- const hl = ({ elementId: t, offset: e = 20 }) => {
1592
+ const hl = ({ currentStep: t = 1, steps: e = 1 }) => {
1593
+ const [n, r] = te([]);
1594
+ return ae(() => {
1595
+ const i = [];
1596
+ for (let s = 1; s < e + 1; s++)
1597
+ i.push(s);
1598
+ r(i);
1599
+ }, [e]), /* @__PURE__ */ a.jsx("div", { className: "navigation-dots-wrapper", children: /* @__PURE__ */ a.jsx("div", { className: "dots-wrapper", children: n.map((i) => /* @__PURE__ */ a.jsxs(
1600
+ "div",
1601
+ {
1602
+ className: "dot-wrapper",
1603
+ "aria-label": `Step ${t} of ${i}`,
1604
+ children: [
1605
+ /* @__PURE__ */ a.jsx(
1606
+ "div",
1607
+ {
1608
+ className: S("dot", {
1609
+ active: i === t,
1610
+ completed: i < t
1611
+ }),
1612
+ "data-testid": "navigation-dot"
1613
+ }
1614
+ ),
1615
+ /* @__PURE__ */ a.jsx(
1616
+ "div",
1617
+ {
1618
+ className: S("line", {
1619
+ active: i < t
1620
+ })
1621
+ }
1622
+ )
1623
+ ]
1624
+ },
1625
+ i
1626
+ )) }) });
1627
+ };
1628
+ const gl = ({ elementId: t, offset: e = 20 }) => {
1593
1629
  const n = G(), r = () => {
1594
1630
  const i = document.getElementById(t);
1595
1631
  if (!i)
@@ -1640,7 +1676,7 @@ const Vi = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
1640
1676
  }
1641
1677
  );
1642
1678
  };
1643
- const gl = ({ className: t = "", image: e, ...n }) => e ? (typeof e == "string" && (e = {
1679
+ const vl = ({ className: t = "", image: e, ...n }) => e ? (typeof e == "string" && (e = {
1644
1680
  width: 1080,
1645
1681
  height: 200,
1646
1682
  type: "image/png",
@@ -1675,7 +1711,7 @@ const et = ({
1675
1711
  }
1676
1712
  );
1677
1713
  };
1678
- const vl = ({ text: t, buttons: e, className: n = "" }) => {
1714
+ const bl = ({ text: t, buttons: e, className: n = "" }) => {
1679
1715
  const r = [];
1680
1716
  return e.forEach((i) => {
1681
1717
  r.push({
@@ -1706,7 +1742,7 @@ const Yi = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: i
1706
1742
  /* @__PURE__ */ a.jsx("p", { children: e || o({ id: "edit_section_placeholder_description" }) }),
1707
1743
  i && /* @__PURE__ */ a.jsx(ie, { href: r, variant: "secondary", size: "small", onClick: () => ca({ href: r, setShowModal: s }), children: n || o({ id: "edit_section_placeholder_cta" }) })
1708
1744
  ] });
1709
- }, bl = ({
1745
+ }, yl = ({
1710
1746
  children: t,
1711
1747
  className: e = "",
1712
1748
  formProps: n,
@@ -1750,7 +1786,7 @@ const Yi = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: i
1750
1786
  c && /* @__PURE__ */ a.jsx(Re, {})
1751
1787
  ] });
1752
1788
  };
1753
- const yl = ({
1789
+ const _l = ({
1754
1790
  title: t = !1,
1755
1791
  logos: e = [],
1756
1792
  className: n = ""
@@ -1879,7 +1915,7 @@ const Ki = [
1879
1915
  ] })
1880
1916
  }
1881
1917
  );
1882
- }, _l = Fe(Gi);
1918
+ }, xl = Fe(Gi);
1883
1919
  const Qi = ({
1884
1920
  alignImage: t = "left",
1885
1921
  className: e,
@@ -1915,8 +1951,8 @@ const Qi = ({
1915
1951
  }
1916
1952
  )
1917
1953
  ] });
1918
- }, xl = Fe(Qi);
1919
- const wl = ({
1954
+ }, wl = Fe(Qi);
1955
+ const kl = ({
1920
1956
  variant: t = "primary",
1921
1957
  button: e = null,
1922
1958
  title: n,
@@ -1990,7 +2026,7 @@ const ts = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_
1990
2026
  function Vn() {
1991
2027
  return Ce(Oe);
1992
2028
  }
1993
- const rs = ({ children: t, user: e }) => /* @__PURE__ */ a.jsx(Oe.Provider, { value: e, children: t }), kl = ({ bootstrap: t, children: e, intl: n, showDevTools: r }) => {
2029
+ const rs = ({ children: t, user: e }) => /* @__PURE__ */ a.jsx(Oe.Provider, { value: e, children: t }), jl = ({ bootstrap: t, children: e, intl: n, showDevTools: r }) => {
1994
2030
  const [i, s] = te({ isLoading: !0 });
1995
2031
  return ae(() => {
1996
2032
  t().then((o) => {
@@ -2084,7 +2120,7 @@ const as = ({
2084
2120
  }
2085
2121
  ) : /* @__PURE__ */ a.jsx("p", { children: r })
2086
2122
  ] });
2087
- const jl = ({
2123
+ const Tl = ({
2088
2124
  className: t = "",
2089
2125
  show: e = !1,
2090
2126
  hide: n = !1,
@@ -2324,7 +2360,7 @@ const ps = ({ author: t, authorCite: e, content: n }) => /* @__PURE__ */ a.jsxs(
2324
2360
  /* @__PURE__ */ a.jsx(Xe, { className: "testimonial", children: n }),
2325
2361
  t && /* @__PURE__ */ a.jsx("p", { className: "author text-small", children: t }),
2326
2362
  e && /* @__PURE__ */ a.jsx("p", { className: "author-cite text-small", children: /* @__PURE__ */ a.jsx("cite", { children: e }) })
2327
- ] }), Tl = Fe(ps);
2363
+ ] }), El = Fe(ps);
2328
2364
  const hs = ({ progress: t = 0, text: e = !1, className: n = "" }) => {
2329
2365
  const r = G(), i = t > 75 ? 100 : t > 50 ? 75 : t > 25 ? 50 : t > 5 ? 25 : 0, s = { "--progress": `${t}%` };
2330
2366
  return /* @__PURE__ */ a.jsx(
@@ -2364,7 +2400,7 @@ const un = "loadingBlock_", vs = ({ progress: t = 0, steps: e = !1, className: n
2364
2400
  ]
2365
2401
  }
2366
2402
  );
2367
- }, El = Fe(vs);
2403
+ }, Sl = Fe(vs);
2368
2404
  const Te = ({ element: t = "div", className: e = "", ...n }) => /* @__PURE__ */ a.jsx(
2369
2405
  Wn,
2370
2406
  {
@@ -5293,8 +5329,8 @@ const Ct = "passwordRules_", $a = "isMoreThanEightCharacters", Na = "includesNum
5293
5329
  )
5294
5330
  ) })
5295
5331
  ] });
5296
- }, Sl = Fe($o);
5297
- const Cl = ({
5332
+ }, Cl = Fe($o);
5333
+ const $l = ({
5298
5334
  text: t = {},
5299
5335
  topRating: e = 5,
5300
5336
  functions: {
@@ -5379,7 +5415,7 @@ const Cl = ({
5379
5415
  }) })
5380
5416
  ] });
5381
5417
  };
5382
- const $l = ({
5418
+ const Nl = ({
5383
5419
  id: t = "form-toggle",
5384
5420
  label: e,
5385
5421
  options: n,
@@ -5438,7 +5474,7 @@ const $l = ({
5438
5474
  }
5439
5475
  );
5440
5476
  };
5441
- function Nl({ className: t = "", userId: e, userName: n, src: r, setUserImage: i, uploadImage: s }) {
5477
+ function Pl({ className: t = "", userId: e, userName: n, src: r, setUserImage: i, uploadImage: s }) {
5442
5478
  const [o, c] = te(!1), [f, l] = te(!1), d = pe(null), u = async (m) => {
5443
5479
  c(!0), l(!1);
5444
5480
  try {
@@ -5962,7 +5998,7 @@ const Ao = {
5962
5998
  loadRecaptcha: !1,
5963
5999
  showSuccessMessage: !1,
5964
6000
  showError: !1
5965
- }, Pl = ({
6001
+ }, Ml = ({
5966
6002
  className: t = "",
5967
6003
  functions: e = {
5968
6004
  validateEmail: () => Promise.resolve(),
@@ -6099,7 +6135,7 @@ const Ao = {
6099
6135
  }
6100
6136
  );
6101
6137
  };
6102
- const Ml = ({
6138
+ const Rl = ({
6103
6139
  className: t,
6104
6140
  showModal: e = !0,
6105
6141
  title: n,
@@ -6133,7 +6169,7 @@ const Ml = ({
6133
6169
  )
6134
6170
  }
6135
6171
  );
6136
- const Rl = ({ members: t }) => {
6172
+ const Fl = ({ members: t }) => {
6137
6173
  const [e, n] = te(!1), r = (i) => {
6138
6174
  const { fullName: s, jobTitle: o, organisation: c, photo: f } = i || {};
6139
6175
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -6672,7 +6708,7 @@ const Wo = ({
6672
6708
  ]
6673
6709
  }
6674
6710
  );
6675
- }, Fl = ({
6711
+ }, Ol = ({
6676
6712
  carousels: t = [],
6677
6713
  isLoading: e,
6678
6714
  title: n,
@@ -6696,7 +6732,7 @@ const Wo = ({
6696
6732
  {
6697
6733
  cards: c,
6698
6734
  cardTypes: f,
6699
- title: { ...n, text: s, link: o },
6735
+ title: n != null && n.hidden ? {} : { ...n, text: s, link: o },
6700
6736
  ...i
6701
6737
  }
6702
6738
  ),
@@ -6737,7 +6773,7 @@ const _n = "joinCommunityButton", Ra = ({
6737
6773
  }
6738
6774
  );
6739
6775
  };
6740
- const xn = "communityDetails_", Ol = ({
6776
+ const xn = "communityDetails_", Dl = ({
6741
6777
  className: t = "",
6742
6778
  isMember: e = !1,
6743
6779
  slug: n,
@@ -6784,7 +6820,7 @@ const xn = "communityDetails_", Ol = ({
6784
6820
  )
6785
6821
  ] });
6786
6822
  };
6787
- const Dl = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
6823
+ const Al = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
6788
6824
  const r = G();
6789
6825
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6790
6826
  /* @__PURE__ */ a.jsx(
@@ -6808,7 +6844,7 @@ const Dl = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
6808
6844
  ) })
6809
6845
  ] });
6810
6846
  };
6811
- const Al = ({
6847
+ const Il = ({
6812
6848
  options: t,
6813
6849
  allOption: e = !1,
6814
6850
  allowMultiple: n = !0,
@@ -6858,7 +6894,7 @@ const wn = {
6858
6894
  es: "Español",
6859
6895
  fr: "Français",
6860
6896
  pt: "Português"
6861
- }, Nt = "languageSwitcher_", Il = ({
6897
+ }, Nt = "languageSwitcher_", Ll = ({
6862
6898
  currentLanguage: t,
6863
6899
  isOriginalLanguage: e = !1,
6864
6900
  isHumanTranslation: n = !1,
@@ -7130,7 +7166,7 @@ ${ct(e, "mailto", n)}&src=email`
7130
7166
  onClick: (r, i) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(i))
7131
7167
  }
7132
7168
  ];
7133
- const Jo = "shareLinks_", Ll = ({
7169
+ const Jo = "shareLinks_", Bl = ({
7134
7170
  title: t,
7135
7171
  link: e,
7136
7172
  referrer: n,
@@ -7166,7 +7202,7 @@ const Jo = "shareLinks_", Ll = ({
7166
7202
  }) })
7167
7203
  ] });
7168
7204
  };
7169
- const Bl = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
7205
+ const ql = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
7170
7206
  var l;
7171
7207
  const r = (d, u, m) => (d || (d = `panel-${window.btoa(u)}-${m}`), d);
7172
7208
  let i = t.findIndex((d) => d.current === !0);
@@ -7244,7 +7280,7 @@ const Xo = {
7244
7280
  return K.Children.count(r) === 1 && (s = K.Children.toArray(r)[0], s.props && (s = s.props.children)), /* @__PURE__ */ a.jsx("section", { className: S("columns", `layout-${t}`, n), children: K.Children.map(s, (o, c) => e !== !1 && c === e && i && i < Xo[t] ? null : o) });
7245
7281
  };
7246
7282
  let jn;
7247
- const Tn = "contactFooter_", ql = ({ onSuccess: t = async () => {
7283
+ const Tn = "contactFooter_", Ul = ({ onSuccess: t = async () => {
7248
7284
  }, onFailure: e = () => {
7249
7285
  } }) => {
7250
7286
  const n = pe(null), [r, i] = K.useState(0), [s, o] = K.useState(!1), c = () => {
@@ -7281,7 +7317,7 @@ const Tn = "contactFooter_", ql = ({ onSuccess: t = async () => {
7281
7317
  }
7282
7318
  )
7283
7319
  ] }) });
7284
- }, Ul = ({ activeLink: t, ...e }) => /* @__PURE__ */ a.jsx(et, { children: /* @__PURE__ */ a.jsx(ec, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7320
+ }, zl = ({ activeLink: t, ...e }) => /* @__PURE__ */ a.jsx(et, { children: /* @__PURE__ */ a.jsx(ec, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7285
7321
  /* @__PURE__ */ a.jsx(Go, { activeLink: t }),
7286
7322
  /* @__PURE__ */ a.jsx(ms, { ...e })
7287
7323
  ] }) }) });
@@ -8014,30 +8050,44 @@ const rc = () => {
8014
8050
  className: o = "",
8015
8051
  locale: c = "en"
8016
8052
  }) => {
8017
- const { navigation: f = !0, footer: l = !0 } = i, { background: d = "default", variant: u = "default", circle: m = "default" } = s, p = $i();
8053
+ const { navigation: f = !0, footer: l = !0 } = i, {
8054
+ background: d = "default",
8055
+ variant: u = "default",
8056
+ circle: m = "default",
8057
+ modal: p = "default"
8058
+ } = s, v = $i();
8018
8059
  ae(() => {
8019
8060
  window.scrollTo(0, 0);
8020
- }, [p]);
8021
- const v = Ot(t, { locale: c }), y = Ot(e, {
8061
+ }, [v]);
8062
+ const y = Ot(t, { locale: c }), _ = Ot(e, {
8022
8063
  locale: c
8023
- }), _ = Ot(n, {
8064
+ }), g = Ot(n, {
8024
8065
  locale: c
8025
- }), g = {};
8026
- return d !== "default" && (g[d] = !0), u !== "default" && (g[u] = !0), m !== "default" && (g[m] = !0), /* @__PURE__ */ a.jsx(xi, { onError: r, fallback: /* @__PURE__ */ a.jsx(rc, {}), children: /* @__PURE__ */ a.jsx(ui, { fallback: null, children: /* @__PURE__ */ a.jsxs(
8066
+ }), b = {};
8067
+ return d !== "default" && (b[d] = !0), u !== "default" && (b[u] = !0), m !== "default" && (b[m] = !0), /* @__PURE__ */ a.jsx(xi, { onError: r, fallback: /* @__PURE__ */ a.jsx(rc, {}), children: /* @__PURE__ */ a.jsx(ui, { fallback: null, children: /* @__PURE__ */ a.jsxs(
8027
8068
  "div",
8028
8069
  {
8029
8070
  id: "wrapper",
8030
- className: S(o, g, { "has-footer": l }),
8071
+ className: S(o, b, { "has-footer": l }),
8031
8072
  children: [
8032
8073
  /* @__PURE__ */ a.jsx(Da, { showNavigation: f }),
8033
8074
  /* @__PURE__ */ a.jsxs("section", { id: "content-wrapper", children: [
8034
- y && /* @__PURE__ */ a.jsx("div", { className: "additional-content prepended", children: y }),
8075
+ _ && /* @__PURE__ */ a.jsx(
8076
+ "div",
8077
+ {
8078
+ className: S("additional-content prepended", {
8079
+ "large-modal": p === "large"
8080
+ }),
8081
+ children: _
8082
+ }
8083
+ ),
8035
8084
  K.createElement(d === "bold" ? Sa : "div", {
8036
8085
  id: "content",
8037
- children: v
8086
+ children: y,
8087
+ className: S({ "large-modal": p === "large" })
8038
8088
  })
8039
8089
  ] }),
8040
- _ && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: _ }),
8090
+ g && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: g }),
8041
8091
  l && /* @__PURE__ */ a.jsx(Oa, {}),
8042
8092
  /* @__PURE__ */ a.jsx(tc, {})
8043
8093
  ]
@@ -8074,7 +8124,7 @@ const rc = () => {
8074
8124
  return $n[t] ? (t = $n[t], { id: t, text: `${Br.default}${t}` }) : null;
8075
8125
  }
8076
8126
  };
8077
- const zl = ({
8127
+ const Zl = ({
8078
8128
  tags: t = [],
8079
8129
  color: e = "default",
8080
8130
  forceOneLine: n = !1,
@@ -8114,7 +8164,7 @@ const zl = ({
8114
8164
  }
8115
8165
  );
8116
8166
  };
8117
- const Zl = ({
8167
+ const Wl = ({
8118
8168
  members: { data: t = [], total: e = t.length },
8119
8169
  hasNextPage: n = !1,
8120
8170
  loadNextPage: r = () => {
@@ -9428,7 +9478,7 @@ function Mc(t) {
9428
9478
  var e;
9429
9479
  return ((e = t == null ? void 0 : t.pages) == null ? void 0 : e.reduce((n, { results: r }) => [...n, ...r], [])) || [];
9430
9480
  }
9431
- const Wl = ({
9481
+ const Hl = ({
9432
9482
  basePath: t,
9433
9483
  parentId: e,
9434
9484
  isMember: n,
@@ -9548,7 +9598,7 @@ const Wl = ({
9548
9598
  }
9549
9599
  )
9550
9600
  ] });
9551
- }, Hl = {
9601
+ }, Vl = {
9552
9602
  next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
9553
9603
  results: [
9554
9604
  {
@@ -10631,7 +10681,7 @@ function Gc({
10631
10681
  });
10632
10682
  return i;
10633
10683
  }
10634
- const Vl = ({
10684
+ const Yl = ({
10635
10685
  basePath: t,
10636
10686
  parentId: e,
10637
10687
  activityId: n,
@@ -10737,7 +10787,7 @@ const Vl = ({
10737
10787
  }
10738
10788
  )
10739
10789
  ] });
10740
- }, Yl = ({
10790
+ }, Kl = ({
10741
10791
  id: t,
10742
10792
  data: { jobTitle: e, name: n, organization: r, thumbnail: i }
10743
10793
  }) => ({
@@ -10790,7 +10840,7 @@ const Vl = ({
10790
10840
  contributors: ["community"]
10791
10841
  }
10792
10842
  ];
10793
- const Rt = "notFoundError_", Kl = () => {
10843
+ const Rt = "notFoundError_", Gl = () => {
10794
10844
  const t = G(), e = [];
10795
10845
  return Yr.forEach((n, r) => {
10796
10846
  n.title = t.formatMessage({ id: `${Rt}post_${r + 1}` }), e.push("solutionArticle");
@@ -10825,96 +10875,97 @@ const Rt = "notFoundError_", Kl = () => {
10825
10875
  };
10826
10876
  export {
10827
10877
  Ge as ASSETS_BUCKET,
10828
- Wl as ActivitiesFeed,
10829
- Vl as ActivitySection,
10878
+ Hl as ActivitiesFeed,
10879
+ Yl as ActivitySection,
10830
10880
  Aa as AddPost,
10831
- gl as Banner,
10832
- _l as BannerSection,
10833
- Dl as Breadcrumbs,
10881
+ vl as Banner,
10882
+ xl as BannerSection,
10883
+ Al as Breadcrumbs,
10834
10884
  ie as Button,
10835
10885
  yt as ButtonWrapper,
10836
10886
  Ji as CacheProvider,
10837
10887
  Ma as Card,
10838
10888
  Uo as CardBlock,
10839
- Fl as Carousel,
10889
+ Ol as Carousel,
10840
10890
  la as CollapsibleSection,
10841
10891
  ec as Columns,
10842
- Ol as CommunityDetails,
10843
- ql as ContactFooter,
10892
+ Dl as CommunityDetails,
10893
+ Ul as ContactFooter,
10844
10894
  No as ContactForm,
10845
10895
  ha as Contributors,
10846
10896
  Xn as ConversationContext,
10847
10897
  tc as CookieBanner,
10848
- Rl as Directory,
10898
+ Fl as Directory,
10849
10899
  oc as DiscussionConversation,
10850
10900
  Jn as DiscussionForm,
10851
10901
  dc as DiscussionLikes,
10852
10902
  nn as DiscussionPost,
10853
10903
  mc as DiscussionThread,
10854
10904
  Re as Divider,
10855
- vl as DownloadSection,
10905
+ bl as DownloadSection,
10856
10906
  lt as EMAILS,
10857
- bl as EditSection,
10907
+ yl as EditSection,
10858
10908
  yo as EmailHelperTextBox,
10859
10909
  tt as EmptyStateBox,
10860
- Al as Filters,
10910
+ Il as Filters,
10861
10911
  ts as FlagsProvider,
10862
10912
  Oa as Footer,
10863
10913
  Qn as Form,
10864
10914
  et as FullWidthSection,
10865
- kl as GlobalProviders,
10915
+ jl as GlobalProviders,
10866
10916
  Da as Header,
10867
10917
  as as HelperTextBox,
10868
10918
  Wn as HiddenFromScreenReaders,
10869
- jl as HideShowTextBox,
10870
- xl as HighlightSection,
10919
+ Tl as HideShowTextBox,
10920
+ wl as HighlightSection,
10871
10921
  Ae as HighlightedTextBox,
10872
10922
  pl as ImageContainer,
10873
10923
  ns as IntlProvider,
10874
10924
  Po as InviteForm,
10875
- Ml as InviteModal,
10925
+ Rl as InviteModal,
10876
10926
  Ra as JoinButton,
10877
- Il as LanguageSwitcher,
10927
+ Ll as LanguageSwitcher,
10878
10928
  xt as Link,
10879
10929
  en as LoadMore,
10880
- El as LoadingBlock,
10930
+ Sl as LoadingBlock,
10881
10931
  Te as LoadingPlaceholder,
10882
10932
  fa as LoadingState,
10883
10933
  Fa as Logo,
10884
- yl as LogoSection,
10934
+ _l as LogoSection,
10885
10935
  It as MarkdownText,
10886
- wl as MarketingBlock,
10936
+ kl as MarketingBlock,
10887
10937
  Yn as Member,
10888
- Zl as MembersList,
10938
+ Wl as MembersList,
10889
10939
  Sa as Modal,
10890
10940
  Vo as MoreMenu,
10891
10941
  fl as NUMBER_OF_USERS,
10942
+ hl as NavigationDots,
10892
10943
  Go as NavigationMenu,
10893
- Kl as NotFoundError,
10944
+ Gl as NotFoundError,
10894
10945
  Xt as Overlay,
10895
10946
  ms as PageHeading,
10896
10947
  ac as PageLayout,
10897
- Sl as PasswordRules,
10948
+ Cl as PasswordRules,
10898
10949
  Lt as Pill,
10899
- Nl as ProfileImageChange,
10950
+ Pl as ProfileImageChange,
10900
10951
  ze as ProfilePicture,
10901
10952
  gs as ProgressBar,
10902
- Cl as Rating,
10953
+ $l as Rating,
10903
10954
  Wc as RepliesFeed,
10904
10955
  fc as ResponsesHeading,
10905
10956
  _t as ResponsiveImage,
10906
- hl as ReturnToNavButton,
10957
+ gl as ReturnToNavButton,
10907
10958
  Mo as SearchForm,
10908
- Ll as ShareLinks,
10909
- Pl as SignupForm,
10959
+ Bl as ShareLinks,
10960
+ Ml as SignupForm,
10910
10961
  us as Span,
10911
10962
  Bt as StatusBanner,
10912
- Bl as Tabs,
10913
- zl as Tags,
10914
- Tl as TestimonialBlock,
10915
- $l as Toggle,
10963
+ ql as Tabs,
10964
+ Zl as Tags,
10965
+ El as TestimonialBlock,
10966
+ Nl as Toggle,
10916
10967
  Vi as Tooltip,
10917
- Ul as TopLevelPage,
10968
+ zl as TopLevelPage,
10918
10969
  Oe as UserContext,
10919
10970
  rs as UserProvider,
10920
10971
  be as VisuallyHidden,
@@ -10922,10 +10973,10 @@ export {
10922
10973
  Fi as generateCssIcon,
10923
10974
  pa as getMember,
10924
10975
  Yt as headerData,
10925
- Yl as mapGetStreamData,
10976
+ Kl as mapGetStreamData,
10926
10977
  zi as pageReady,
10927
10978
  ml as passwordValidator,
10928
- Hl as repliesFeedMock,
10979
+ Vl as repliesFeedMock,
10929
10980
  $i as useCurrentPath,
10930
10981
  gt as useEffectAfterMount,
10931
10982
  bt as useElementWidth,
@@ -19,6 +19,8 @@ interface Props {
19
19
  variant?: 'default' | 'inverted' | 'alt-1' | 'alt-2';
20
20
  /** The size of the circle on the `bold` background */
21
21
  circle?: 'default' | 'small';
22
+ /** The size of the white modal */
23
+ modal?: 'default' | 'large';
22
24
  };
23
25
  /** Optionally hide the header navigation and the footer, for pages where we need to focus the user's attention, like onboarding */
24
26
  forceShow?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "3.0.0",
3
+ "version": "3.0.1-ac.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {