@apolitical/component-library 1.9.5 → 1.10.0-beta.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/{4TNE5QTO-b7979539.js → 4TNE5QTO-7e524b6e.js} +1 -1
- package/{4TNE5QTO-4f78f6bd.mjs → 4TNE5QTO-f6374418.mjs} +1 -1
- package/context/flags/flags.provider.d.ts +8 -0
- package/context/flags/index.d.ts +1 -0
- package/context/index.d.ts +1 -0
- package/hooks/index.d.ts +0 -1
- package/index-9a02569d.mjs +15325 -0
- package/index-ec909758.js +69 -0
- package/index.js +1 -1
- package/index.mjs +57 -57
- package/package.json +2 -2
- package/hooks/use-feature-flag.d.ts +0 -5
- package/index-43f784e7.mjs +0 -23314
- package/index-47aea727.js +0 -101
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-ec909758.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.EMAILS=e.EMAILS;exports.EmailHelperTextBox=e.EmailHelperTextBox;exports.EmptyStateBox=e.EmptyStateBox;exports.Filters=e.Filters;exports.FlagsProvider=e.FlagsProvider;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.LanguageSwitcher=e.LanguageSwitcher;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.useCurrentPath=e.useCurrentPath;exports.useEffectAfterMount=e.useEffectAfterMount;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,
|
|
1
|
+
import { O as t, a6 as r, a8 as i, Z as n, G as d, aC as l, ad as u, ae as c, aM as S, ao as g, K as m, aV as B, a0 as p, aq as P, _ as x, a1 as L, a2 as h, a3 as M, a5 as T, af as v, aJ as C, Q as D, a9 as F, aN as H, aD as R, T as E, ar as y, aK as A, as as b, aO as k, H as U, aP as f, aQ as w, U as W, L as I, aE as O, ag as _, aF as G, au as J, av as K, aw as N, aH as Q, aL as V, aR as X, J as Y, aW as j, N as q, az as z, aG as Z, R as $, aA as aa, ap as sa, aa as ea, aT as oa, aY as ta, ax as ra, ab as ia, Y as na, a7 as da, a4 as la, ah as ua, ac as ca, aS as Sa, aU as ga, aI as ma, ai as Ba, W as pa, X as Pa, V as xa, aB as La, aX as ha, at as Ma, ay as Ta, aj as va, ak as Ca, al as Da, am as Fa, an as Ha } from "./index-9a02569d.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
export {
|
|
@@ -15,69 +15,69 @@ export {
|
|
|
15
15
|
m as CommunityDetails,
|
|
16
16
|
B as Contributors,
|
|
17
17
|
p as ConversationContext,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
P as CookieBanner,
|
|
19
|
+
x as DiscussionConversation,
|
|
20
|
+
L as DiscussionForm,
|
|
21
21
|
h as DiscussionLikes,
|
|
22
22
|
M as DiscussionPost,
|
|
23
23
|
T as DiscussionThread,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
v as Divider,
|
|
25
|
+
C as DownloadSection,
|
|
26
|
+
D as EMAILS,
|
|
27
|
+
F as EmailHelperTextBox,
|
|
28
28
|
H as EmptyStateBox,
|
|
29
29
|
R as Filters,
|
|
30
|
-
E as
|
|
31
|
-
y as
|
|
32
|
-
A as
|
|
33
|
-
b as
|
|
34
|
-
k as
|
|
35
|
-
U as
|
|
36
|
-
f as
|
|
37
|
-
w as
|
|
38
|
-
W as
|
|
39
|
-
I as
|
|
40
|
-
O as
|
|
41
|
-
_ as
|
|
42
|
-
G as
|
|
43
|
-
J as
|
|
44
|
-
K as
|
|
45
|
-
N as
|
|
46
|
-
Q as
|
|
47
|
-
V as
|
|
48
|
-
X as
|
|
49
|
-
Y as
|
|
50
|
-
j as
|
|
51
|
-
q as
|
|
52
|
-
z as
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
sa as
|
|
57
|
-
ea as
|
|
58
|
-
oa as
|
|
59
|
-
ta as
|
|
60
|
-
ra as
|
|
61
|
-
ia as
|
|
62
|
-
na as
|
|
63
|
-
da as
|
|
64
|
-
la as
|
|
65
|
-
ua as
|
|
66
|
-
ca as
|
|
67
|
-
Sa as
|
|
68
|
-
ga as
|
|
69
|
-
ma as
|
|
70
|
-
Ba as
|
|
71
|
-
pa as
|
|
30
|
+
E as FlagsProvider,
|
|
31
|
+
y as Footer,
|
|
32
|
+
A as FullWidthSection,
|
|
33
|
+
b as Header,
|
|
34
|
+
k as HelperTextBox,
|
|
35
|
+
U as HiddenFromScreenReaders,
|
|
36
|
+
f as HideShowTextBox,
|
|
37
|
+
w as HighlightedTextBox,
|
|
38
|
+
W as IntlProvider,
|
|
39
|
+
I as JoinButton,
|
|
40
|
+
O as LanguageSwitcher,
|
|
41
|
+
_ as Link,
|
|
42
|
+
G as LoadMore,
|
|
43
|
+
J as LoadingBlock,
|
|
44
|
+
K as LoadingPlaceholder,
|
|
45
|
+
N as LoadingState,
|
|
46
|
+
Q as Logo,
|
|
47
|
+
V as LogoSection,
|
|
48
|
+
X as MarkdownText,
|
|
49
|
+
Y as MarketingBox,
|
|
50
|
+
j as Member,
|
|
51
|
+
q as MembersList,
|
|
52
|
+
z as Modal,
|
|
53
|
+
Z as MoreMenu,
|
|
54
|
+
$ as NUMBER_OF_USERS,
|
|
55
|
+
aa as Overlay,
|
|
56
|
+
sa as PageLayout,
|
|
57
|
+
ea as PasswordRules,
|
|
58
|
+
oa as Pill,
|
|
59
|
+
ta as ProfilePicture,
|
|
60
|
+
ra as ProgressBar,
|
|
61
|
+
ia as Rating,
|
|
62
|
+
na as ReactQueryProvider,
|
|
63
|
+
da as RepliesFeed,
|
|
64
|
+
la as ResponsesHeading,
|
|
65
|
+
ua as ResponsiveImage,
|
|
66
|
+
ca as SearchForm,
|
|
67
|
+
Sa as Span,
|
|
68
|
+
ga as StatusBanner,
|
|
69
|
+
ma as Tags,
|
|
70
|
+
Ba as Tooltip,
|
|
71
|
+
pa as UserContext,
|
|
72
|
+
Pa as UserProvider,
|
|
72
73
|
xa as VisuallyHidden,
|
|
73
74
|
La as addAriaProps,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
ha as getMember,
|
|
76
|
+
Ma as headerData,
|
|
77
|
+
Ta as mapGetStreamData,
|
|
78
|
+
va as useCurrentPath,
|
|
78
79
|
Ca as useEffectAfterMount,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
Da as useScrollListener,
|
|
80
|
+
Da as useScreenWidth,
|
|
81
|
+
Fa as useScrollListener,
|
|
82
82
|
Ha as useScrollToHash
|
|
83
83
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apolitical/component-library",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0-beta.0",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"./style.css": "./style.css"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@apolitical/sdk": "7.4.4",
|
|
15
14
|
"@tanstack/query-core": "5.0.0",
|
|
16
15
|
"@tanstack/react-query": "5.0.0",
|
|
17
16
|
"@tanstack/react-query-devtools": "5.0.0",
|
|
@@ -20,6 +19,7 @@
|
|
|
20
19
|
"lodash.isequal": "4.5.0",
|
|
21
20
|
"lodash.set": "4.3.2",
|
|
22
21
|
"markdown-to-jsx": "7.3.2",
|
|
22
|
+
"posthog-js": "1.87.6",
|
|
23
23
|
"react": "18.2.0",
|
|
24
24
|
"react-cookie": "6.1.1",
|
|
25
25
|
"react-dom": "18.2.0",
|