@apolitical/component-library 1.9.0-beta.1 → 1.9.0-beta.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/{4TNE5QTO-c4ca6c50.mjs → 4TNE5QTO-dd7cd869.mjs} +1 -1
- package/{4TNE5QTO-d0de2674.js → 4TNE5QTO-eb76e362.js} +1 -1
- package/{index-72994bb1.js → index-2a6346e1.js} +1 -1
- package/{index-b53a44d0.mjs → index-3f338a92.mjs} +11 -11
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -19743,7 +19743,7 @@ var ro, Za, es, ts, ii, no, io, oo, ao, so, rs, ag, NR = (ag = class {
|
|
|
19743
19743
|
const t = yR(() => {
|
|
19744
19744
|
const [r] = P(this, no), [n] = P(this, io), [o] = P(this, oo), [i] = P(this, ao), [s] = P(this, ro);
|
|
19745
19745
|
let a;
|
|
19746
|
-
P(this, so) ? a = P(this, so) : (a = oR(() => import("./4TNE5QTO-
|
|
19746
|
+
P(this, so) ? a = P(this, so) : (a = oR(() => import("./4TNE5QTO-dd7cd869.mjs")), X(this, so, a));
|
|
19747
19747
|
const c = this;
|
|
19748
19748
|
return tR(a, nR({
|
|
19749
19749
|
get queryFlavor() {
|
|
@@ -22867,16 +22867,16 @@ const vI = ({ isOpen: e = !1, count: t = 0, children: r }) => {
|
|
|
22867
22867
|
}
|
|
22868
22868
|
),
|
|
22869
22869
|
(n == null ? void 0 : n.length) === 0 || (n == null ? void 0 : n.map((T) => {
|
|
22870
|
-
var N, R, L, U, q, j, H, Q, ne, Y, k, z, Z, he, J;
|
|
22870
|
+
var N, R, L, U, q, j, H, Q, ne, Y, k, z, Z, he, J, K;
|
|
22871
22871
|
const w = ((N = T == null ? void 0 : T.latest_children) == null ? void 0 : N.like) && ((R = T == null ? void 0 : T.latest_children) == null ? void 0 : R.like.filter(
|
|
22872
|
-
(
|
|
22872
|
+
(le) => le.user_id === (d == null ? void 0 : d.id)
|
|
22873
22873
|
));
|
|
22874
22874
|
return /* @__PURE__ */ C(
|
|
22875
22875
|
ch,
|
|
22876
22876
|
{
|
|
22877
22877
|
content: {
|
|
22878
22878
|
type: "post",
|
|
22879
|
-
body:
|
|
22879
|
+
body: typeof T.data.content == "string" ? (L = T == null ? void 0 : T.data) == null ? void 0 : L.content : ((q = (U = T == null ? void 0 : T.data) == null ? void 0 : U.content) == null ? void 0 : q.text) || "",
|
|
22880
22880
|
createdAt: T == null ? void 0 : T.created_at,
|
|
22881
22881
|
slugs: {
|
|
22882
22882
|
question: `${e}/${t}/${r}`,
|
|
@@ -22884,17 +22884,17 @@ const vI = ({ isOpen: e = !1, count: t = 0, children: r }) => {
|
|
|
22884
22884
|
},
|
|
22885
22885
|
slug: `${e}/${t}/${r}#${T == null ? void 0 : T.id}`,
|
|
22886
22886
|
author: {
|
|
22887
|
-
id: (
|
|
22888
|
-
name: (
|
|
22889
|
-
organization: (
|
|
22890
|
-
jobTitle: (
|
|
22887
|
+
id: (j = T == null ? void 0 : T.user) == null ? void 0 : j.id,
|
|
22888
|
+
name: (Q = (H = T == null ? void 0 : T.user) == null ? void 0 : H.data) == null ? void 0 : Q.name,
|
|
22889
|
+
organization: (Y = (ne = T == null ? void 0 : T.user) == null ? void 0 : ne.data) == null ? void 0 : Y.organization,
|
|
22890
|
+
jobTitle: (z = (k = T == null ? void 0 : T.user) == null ? void 0 : k.data) == null ? void 0 : z.jobTitle,
|
|
22891
22891
|
image: {
|
|
22892
|
-
thumbnail: ((
|
|
22892
|
+
thumbnail: ((he = (Z = T == null ? void 0 : T.user) == null ? void 0 : Z.data) == null ? void 0 : he.thumbnail) || void 0
|
|
22893
22893
|
}
|
|
22894
22894
|
},
|
|
22895
22895
|
userLiked: !!(w != null && w.length),
|
|
22896
|
-
likes: ((
|
|
22897
|
-
comments: ((
|
|
22896
|
+
likes: ((J = T == null ? void 0 : T.children_counts) == null ? void 0 : J.like) || 0,
|
|
22897
|
+
comments: ((K = T == null ? void 0 : T.children_counts) == null ? void 0 : K.reply) || 0
|
|
22898
22898
|
},
|
|
22899
22899
|
functions: {
|
|
22900
22900
|
content: {
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2a6346e1.js");require("react");require("react/jsx-runtime");exports.ASSETS_BUCKET=e.ASSETS_BUCKET;exports.ActivitiesFeed=e.ActivitiesFeed;exports.ActivitySection=e.ActivitySection;exports.AddPost=e.AddPost;exports.BannerSection=e.bannerSection;exports.Breadcrumbs=e.Breadcrumbs;exports.Button=e.Button;exports.ButtonWrapper=e.ButtonWrapper;exports.CollapsibleSection=e.CollapsibleSection;exports.Columns=e.Columns;exports.CommunityDetails=e.CommunityDetails;exports.Contributors=e.Contributors;exports.ConversationContext=e.ConversationContext;exports.CookieBanner=e.CookieBanner;exports.DiscussionConversation=e.Conversation;exports.DiscussionForm=e.Form;exports.DiscussionLikes=e.Likes;exports.DiscussionPost=e.Post;exports.DiscussionThread=e.Thread;exports.Divider=e.Divider;exports.DownloadSection=e.DownloadSection;exports.EmailHelperTextBox=e.EmailHelperTextBox;exports.EmptyStateBox=e.EmptyStateBox;exports.Filters=e.Filters;exports.Footer=e.Footer;exports.FullWidthSection=e.FullWidthSection;exports.Header=e.Header;exports.HelperTextBox=e.HelperTextBox;exports.HiddenFromScreenReaders=e.HiddenFromScreenReaders;exports.HideShowTextBox=e.HideShowTextBox;exports.HighlightedTextBox=e.HighlightedTextBoxWrapper;exports.IntlProvider=e.IntlProvider;exports.JoinButton=e.JoinButton;exports.Link=e.Link;exports.LoadMore=e.LoadMore;exports.LoadingBlock=e.loadingBlock;exports.LoadingPlaceholder=e.LoadingPlaceholder;exports.LoadingState=e.LoadingState;exports.Logo=e.Logo;exports.LogoSection=e.LogoSection;exports.MarkdownText=e.MarkdownText;exports.MarketingBox=e.MarketingBlock;exports.Member=e.Member;exports.MembersList=e.MembersList;exports.Modal=e.Modal;exports.MoreMenu=e.MoreMenu;exports.NUMBER_OF_USERS=e.NUMBER_OF_USERS;exports.Overlay=e.Overlay;exports.PageLayout=e.PageLayout;exports.PasswordRules=e.passwordRules;exports.Pill=e.Pill;exports.ProfilePicture=e.ProfilePicture;exports.ProgressBar=e.ProgressBar;exports.Rating=e.Rating;exports.ReactQueryProvider=e.ReactQueryProvider;exports.RepliesFeed=e.RepliesFeed;exports.ResponsesHeading=e.ResponsesHeading;exports.ResponsiveImage=e.ResponsiveImage;exports.SearchForm=e.SearchForm;exports.Span=e.Span;exports.StatusBanner=e.StatusBanner;exports.Tags=e.Tags;exports.Tooltip=e.Tooltip;exports.UserContext=e.UserContext;exports.UserProvider=e.UserProvider;exports.VisuallyHidden=e.VisuallyHidden;exports.addAriaProps=e.addAriaProps;exports.getMember=e.getMember;exports.headerData=e.headerData;exports.mapGetStreamData=e.mapGetSteamData;exports.useEffectAfterMount=e.useEffectAfterMount;exports.useFeatureFlag=e.useFeatureFlag;exports.useScreenWidth=e.useScreenWidth;exports.useScrollListener=e.useScrollListener;exports.useScrollToHash=e.useScrollToHash;
|
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as t, a4 as i, a6 as r, X as n, G as d, aA as l, ab as u, ac as c, aJ as S, am as m, K as B, aS as g, Z as p, ao as x, Y as P, _ as L, a0 as T, a1 as F, a3 as M, ad as h, aG as v, a7 as C, aK as D, aB as H, ap as R, aH as y, aq as E, aL as b, H as k, aM as A, aN as U, R as f, L as w, ae as O, aC as W, as as _, at as G, au as I, aE as J, aI as K, aO as N, J as Q, aT as V, N as j, ax as q, aD as z, Q as X, ay as Y, an as Z, a8 as $, aQ as aa, aV as sa, av as ea, a9 as oa, W as ta, a5 as ia, a2 as ra, af as na, aa as da, aP as la, aR as ua, aF as ca, ag as Sa, U as ma, T as Ba, V as ga, az as pa, aU as xa, ar as Pa, aw as La, ah as Ta, ai as Fa, aj as Ma, ak as ha, al as va } from "./index-
|
|
1
|
+
import { O as t, a4 as i, a6 as r, X as n, G as d, aA as l, ab as u, ac as c, aJ as S, am as m, K as B, aS as g, Z as p, ao as x, Y as P, _ as L, a0 as T, a1 as F, a3 as M, ad as h, aG as v, a7 as C, aK as D, aB as H, ap as R, aH as y, aq as E, aL as b, H as k, aM as A, aN as U, R as f, L as w, ae as O, aC as W, as as _, at as G, au as I, aE as J, aI as K, aO as N, J as Q, aT as V, N as j, ax as q, aD as z, Q as X, ay as Y, an as Z, a8 as $, aQ as aa, aV as sa, av as ea, a9 as oa, W as ta, a5 as ia, a2 as ra, af as na, aa as da, aP as la, aR as ua, aF as ca, ag as Sa, U as ma, T as Ba, V as ga, az as pa, aU as xa, ar as Pa, aw as La, ah as Ta, ai as Fa, aj as Ma, ak as ha, al as va } from "./index-3f338a92.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
export {
|