@apolitical/component-library 6.6.1-beta.1 → 6.6.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.
- package/discussion/feeds/likes-feed/cache/cache.interface.d.ts +1 -1
- package/discussion/feeds/likes-feed/index.d.ts +1 -1
- package/helpers/intl.d.ts +1 -0
- package/index.js +2 -2
- package/index.mjs +10 -4
- package/layout/page-layout/components/header/header.data.d.ts +29 -20
- package/package.json +1 -1
- package/style.css +1 -1
package/index.mjs
CHANGED
|
@@ -1496,6 +1496,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1496
1496
|
header_menu_hide: "Close navigation",
|
|
1497
1497
|
header_home_loggedOut: "Home",
|
|
1498
1498
|
header_home_loggedIn: "My Home",
|
|
1499
|
+
header_communities: "Communities",
|
|
1499
1500
|
header_topics: "Topics",
|
|
1500
1501
|
header_topics_explore: "Explore",
|
|
1501
1502
|
header_topics_explore_events: "Events",
|
|
@@ -23959,7 +23960,7 @@ const _m = ({
|
|
|
23959
23960
|
dispatch: B
|
|
23960
23961
|
});
|
|
23961
23962
|
}, 100);
|
|
23962
|
-
return L ? /* @__PURE__ */ c.jsx("div", { id: D, className: "rich-text-editor
|
|
23963
|
+
return L ? /* @__PURE__ */ c.jsx("div", { id: D, className: "rich-text-editor", children: /* @__PURE__ */ c.jsxs(
|
|
23963
23964
|
pn.Provider,
|
|
23964
23965
|
{
|
|
23965
23966
|
value: {
|
|
@@ -23989,7 +23990,7 @@ const _m = ({
|
|
|
23989
23990
|
/* @__PURE__ */ c.jsx(
|
|
23990
23991
|
cw,
|
|
23991
23992
|
{
|
|
23992
|
-
className: "
|
|
23993
|
+
className: "input",
|
|
23993
23994
|
renderElement: J,
|
|
23994
23995
|
renderLeaf: G,
|
|
23995
23996
|
placeholder: n || d.formatMessage({ id: "richTextEditor_placeholder" }),
|
|
@@ -25917,12 +25918,17 @@ const sr = "footer_", la = "SiteFooter", Zc = ({ group: e }) => {
|
|
|
25917
25918
|
}
|
|
25918
25919
|
}
|
|
25919
25920
|
}, ca = {
|
|
25920
|
-
order: ["home", "topics", "partners", "account"],
|
|
25921
|
+
order: ["home", "communities", "topics", "partners", "account"],
|
|
25921
25922
|
home: {
|
|
25922
25923
|
href: "/home/",
|
|
25923
25924
|
hasVariantText: !0,
|
|
25924
25925
|
gtmType: "homepage-click"
|
|
25925
25926
|
},
|
|
25927
|
+
communities: {
|
|
25928
|
+
href: "/communities/",
|
|
25929
|
+
gtmType: "communities-click",
|
|
25930
|
+
onlyShow: "logged-in"
|
|
25931
|
+
},
|
|
25926
25932
|
topics: {
|
|
25927
25933
|
order: ["explore", "topics"],
|
|
25928
25934
|
menuId: "site-navigation",
|
|
@@ -27178,7 +27184,7 @@ const Es = ({
|
|
|
27178
27184
|
};
|
|
27179
27185
|
function F_({ content: e }) {
|
|
27180
27186
|
var t;
|
|
27181
|
-
return (t = e.categories) != null && t.length ? /* @__PURE__ */ c.jsx("ul", { className: "categories-list", children: e.categories.map((n) => /* @__PURE__ */ c.jsx(cn, { size: "small", element: "li", children: n.name }, n.slug)) }) : /* @__PURE__ */ c.jsx(c.Fragment, {});
|
|
27187
|
+
return (t = e.categories) != null && t.length ? /* @__PURE__ */ c.jsx("ul", { className: "categories-list", children: e.categories.map((n) => !n.slug || !n.name ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx(cn, { size: "small", element: "li", children: n.name }, n.slug)) }) : /* @__PURE__ */ c.jsx(c.Fragment, {});
|
|
27182
27188
|
}
|
|
27183
27189
|
var ao = /* @__PURE__ */ ((e) => (e.Always = "always", e.AfterVoting = "after-voting", e))(ao || {});
|
|
27184
27190
|
const B_ = (e, t, n) => n === void 0 ? 0 : e.some((i) => i.hasUserVoted) ? t ? e.findIndex((i) => !i.hasUserVoted) : e.findIndex((i) => i.hasUserVoted) : 0, T_ = (e, t, n, r = 0) => {
|
|
@@ -5,6 +5,13 @@ declare namespace _default {
|
|
|
5
5
|
let hasVariantText: boolean;
|
|
6
6
|
let gtmType: string;
|
|
7
7
|
}
|
|
8
|
+
namespace communities {
|
|
9
|
+
let href_1: string;
|
|
10
|
+
export { href_1 as href };
|
|
11
|
+
let gtmType_1: string;
|
|
12
|
+
export { gtmType_1 as gtmType };
|
|
13
|
+
export let onlyShow: string;
|
|
14
|
+
}
|
|
8
15
|
namespace topics {
|
|
9
16
|
let order_1: string[];
|
|
10
17
|
export { order_1 as order };
|
|
@@ -13,34 +20,35 @@ declare namespace _default {
|
|
|
13
20
|
let order_2: string[];
|
|
14
21
|
export { order_2 as order };
|
|
15
22
|
export namespace events {
|
|
16
|
-
let href_1: string;
|
|
17
|
-
export { href_1 as href };
|
|
18
|
-
export let className: string;
|
|
19
|
-
}
|
|
20
|
-
export namespace courses {
|
|
21
23
|
let href_2: string;
|
|
22
24
|
export { href_2 as href };
|
|
23
|
-
let
|
|
24
|
-
export { gtmType_1 as gtmType };
|
|
25
|
-
let className_1: string;
|
|
26
|
-
export { className_1 as className };
|
|
25
|
+
export let className: string;
|
|
27
26
|
}
|
|
28
|
-
export namespace
|
|
27
|
+
export namespace courses {
|
|
29
28
|
let href_3: string;
|
|
30
29
|
export { href_3 as href };
|
|
31
30
|
let gtmType_2: string;
|
|
32
31
|
export { gtmType_2 as gtmType };
|
|
33
|
-
let
|
|
34
|
-
export {
|
|
32
|
+
let className_1: string;
|
|
33
|
+
export { className_1 as className };
|
|
35
34
|
}
|
|
36
|
-
export namespace
|
|
35
|
+
export namespace articles {
|
|
37
36
|
let href_4: string;
|
|
38
37
|
export { href_4 as href };
|
|
39
38
|
let gtmType_3: string;
|
|
40
39
|
export { gtmType_3 as gtmType };
|
|
40
|
+
let className_2: string;
|
|
41
|
+
export { className_2 as className };
|
|
42
|
+
}
|
|
43
|
+
export namespace communities_1 {
|
|
44
|
+
let href_5: string;
|
|
45
|
+
export { href_5 as href };
|
|
46
|
+
let gtmType_4: string;
|
|
47
|
+
export { gtmType_4 as gtmType };
|
|
41
48
|
let className_3: string;
|
|
42
49
|
export { className_3 as className };
|
|
43
50
|
}
|
|
51
|
+
export { communities_1 as communities };
|
|
44
52
|
}
|
|
45
53
|
let topics_1: {
|
|
46
54
|
order: string[];
|
|
@@ -85,9 +93,10 @@ declare namespace _default {
|
|
|
85
93
|
export { topics_1 as topics };
|
|
86
94
|
}
|
|
87
95
|
namespace partners {
|
|
88
|
-
let
|
|
89
|
-
export {
|
|
90
|
-
|
|
96
|
+
let href_6: string;
|
|
97
|
+
export { href_6 as href };
|
|
98
|
+
let onlyShow_1: string;
|
|
99
|
+
export { onlyShow_1 as onlyShow };
|
|
91
100
|
}
|
|
92
101
|
let account: {
|
|
93
102
|
menuId: string;
|
|
@@ -110,13 +119,13 @@ declare namespace _default {
|
|
|
110
119
|
let order_3: string[];
|
|
111
120
|
export { order_3 as order };
|
|
112
121
|
export namespace login {
|
|
113
|
-
let
|
|
114
|
-
export {
|
|
122
|
+
let href_7: string;
|
|
123
|
+
export { href_7 as href };
|
|
115
124
|
export let withReturnTo: boolean;
|
|
116
125
|
}
|
|
117
126
|
export namespace signup {
|
|
118
|
-
let
|
|
119
|
-
export {
|
|
127
|
+
let href_8: string;
|
|
128
|
+
export { href_8 as href };
|
|
120
129
|
export namespace props {
|
|
121
130
|
let variant: string;
|
|
122
131
|
}
|