@apolitical/component-library 1.9.0-beta.1 → 1.9.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-c4ca6c50.mjs → 4TNE5QTO-128d9bfa.mjs} +4 -3
- package/4TNE5QTO-acef2331.js +987 -0
- package/index-6e9a2b8a.js +240 -0
- package/index-cfa68ef5.mjs +47532 -0
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +152 -68
- package/package.json +1 -1
- package/4TNE5QTO-d0de2674.js +0 -987
- package/index-72994bb1.js +0 -101
- package/index-b53a44d0.mjs +0 -23195
package/index.d.ts
CHANGED
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-6e9a2b8a.js");require("react");require("react/jsx-runtime");require("react-dom");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.act=e.act;exports.addAriaProps=e.addAriaProps;exports.buildQueries=e.buildQueries;exports.cleanup=e.cleanup;exports.configure=e.configure;exports.createEvent=e.createEvent;exports.findAllByAltText=e.findAllByAltText;exports.findAllByDisplayValue=e.findAllByDisplayValue;exports.findAllByLabelText=e.findAllByLabelText;exports.findAllByPlaceholderText=e.findAllByPlaceholderText;exports.findAllByRole=e.findAllByRole;exports.findAllByTestId=e.findAllByTestId;exports.findAllByText=e.findAllByText;exports.findAllByTitle=e.findAllByTitle;exports.findByAltText=e.findByAltText;exports.findByDisplayValue=e.findByDisplayValue;exports.findByLabelText=e.findByLabelText;exports.findByPlaceholderText=e.findByPlaceholderText;exports.findByRole=e.findByRole;exports.findByTestId=e.findByTestId;exports.findByText=e.findByText;exports.findByTitle=e.findByTitle;exports.fireEvent=e.fireEvent;exports.getAllByAltText=e.getAllByAltText;exports.getAllByDisplayValue=e.getAllByDisplayValue;exports.getAllByLabelText=e.getAllByLabelTextWithSuggestions;exports.getAllByPlaceholderText=e.getAllByPlaceholderText;exports.getAllByRole=e.getAllByRole;exports.getAllByTestId=e.getAllByTestId;exports.getAllByText=e.getAllByText;exports.getAllByTitle=e.getAllByTitle;exports.getByAltText=e.getByAltText;exports.getByDisplayValue=e.getByDisplayValue;exports.getByLabelText=e.getByLabelTextWithSuggestions;exports.getByPlaceholderText=e.getByPlaceholderText;exports.getByRole=e.getByRole;exports.getByTestId=e.getByTestId;exports.getByText=e.getByText;exports.getByTitle=e.getByTitle;exports.getConfig=e.getConfig;exports.getDefaultNormalizer=e.getDefaultNormalizer;exports.getElementError=e.getElementError;exports.getMember=e.getMember;exports.getMultipleElementsFoundError=e.getMultipleElementsFoundError;exports.getNodeText=e.getNodeText;exports.getQueriesForElement=e.getQueriesForElement;exports.getRoles=e.getRoles;exports.getSuggestedQuery=e.getSuggestedQuery;exports.headerData=e.headerData;exports.isInaccessible=e.isInaccessible;exports.logDOM=e.logDOM;exports.logRoles=e.logRoles;exports.makeFindQuery=e.makeFindQuery;exports.makeGetAllQuery=e.makeGetAllQuery;exports.makeSingleQuery=e.makeSingleQuery;exports.mapGetStreamData=e.mapGetSteamData;exports.prettyDOM=e.prettyDOM;exports.prettyFormat=e.index;exports.queries=e.queries;exports.queryAllByAltText=e.queryAllByAltTextWithSuggestions;exports.queryAllByAttribute=e.queryAllByAttribute;exports.queryAllByDisplayValue=e.queryAllByDisplayValueWithSuggestions;exports.queryAllByLabelText=e.queryAllByLabelTextWithSuggestions;exports.queryAllByPlaceholderText=e.queryAllByPlaceholderTextWithSuggestions;exports.queryAllByRole=e.queryAllByRoleWithSuggestions;exports.queryAllByTestId=e.queryAllByTestIdWithSuggestions;exports.queryAllByText=e.queryAllByTextWithSuggestions;exports.queryAllByTitle=e.queryAllByTitleWithSuggestions;exports.queryByAltText=e.queryByAltText;exports.queryByAttribute=e.queryByAttribute;exports.queryByDisplayValue=e.queryByDisplayValue;exports.queryByLabelText=e.queryByLabelText;exports.queryByPlaceholderText=e.queryByPlaceholderText;exports.queryByRole=e.queryByRole;exports.queryByTestId=e.queryByTestId;exports.queryByText=e.queryByText;exports.queryByTitle=e.queryByTitle;exports.queryHelpers=e.queryHelpers;exports.render=e.customRender;exports.renderHook=e.renderHook;exports.screen=e.screen;exports.setup=e.setup;exports.useEffectAfterMount=e.useEffectAfterMount;exports.useFeatureFlag=e.useFeatureFlag;exports.useScreenWidth=e.useScreenWidth;exports.useScrollListener=e.useScrollListener;exports.useScrollToHash=e.useScrollToHash;exports.waitFor=e.waitForWrapper;exports.waitForElementToBeRemoved=e.waitForElementToBeRemoved;exports.within=e.getQueriesForElement;exports.wrapAllByQueryWithSuggestion=e.wrapAllByQueryWithSuggestion;exports.wrapSingleQueryWithSuggestion=e.wrapSingleQueryWithSuggestion;
|
package/index.mjs
CHANGED
|
@@ -1,80 +1,164 @@
|
|
|
1
|
-
import { O as
|
|
1
|
+
import { O as r, a4 as i, a6 as o, X as y, G as n, aA as b, ab as u, ac as d, b$ as B, am as g, K as T, c8 as c, Z as A, ao as x, Y as p, _ as m, a0 as S, a1 as f, a3 as q, ad as h, aG as D, a7 as P, c0 as R, aB as L, ap as F, aH as E, aq as M, c1 as v, H, c2 as C, c3 as k, R as Q, L as w, ae as I, aC as V, as as U, at as W, au as O, aE as N, aI as _, c4 as G, J, c9 as K, N as z, ax as X, aD as Y, Q as Z, ay as j, an as $, a8 as aa, c6 as ea, cb as sa, av as ta, a9 as la, W as ra, a5 as ia, a2 as oa, af as ya, aa as na, c5 as ba, c7 as ua, aF as da, ag as Ba, U as ga, T as Ta, V as ca, aL as Aa, az as xa, aQ as pa, aM as ma, aR as Sa, aS as fa, aT as qa, aU as ha, aV as Da, aW as Pa, aX as Ra, aY as La, aZ as Fa, a_ as Ea, a$ as Ma, b0 as va, b1 as Ha, b2 as Ca, b3 as ka, b4 as Qa, b5 as wa, b6 as Ia, aN as Va, b7 as Ua, b8 as Wa, b9 as Oa, ba as Na, bb as _a, bc as Ga, bd as Ja, be as Ka, bf as za, bg as Xa, bh as Ya, bi as Za, bj as ja, bk as $a, bl as ae, bm as ee, bn as se, bo as te, bp as le, ca as re, bq as ie, br as oe, bs as ye, bt as ne, bu as be, ar as ue, bv as de, bw as Be, bx as ge, by as Te, bz as ce, bA as Ae, aw as xe, bB as pe, aP as me, bC as Se, bD as fe, bE as qe, bF as he, bG as De, bH as Pe, bI as Re, bJ as Le, bK as Fe, bL as Ee, bM as Me, bN as ve, bO as He, bP as Ce, bQ as ke, bR as Qe, bS as we, bT as Ie, bU as Ve, bV as Ue, aJ as We, aO as Oe, bW as Ne, aK as _e, ah as Ge, ai as Je, aj as Ke, ak as ze, al as Xe, bX as Ye, bY as Ze, bs as je, bZ as $e, b_ as as } from "./index-cfa68ef5.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
+
import "react-dom";
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
r as ASSETS_BUCKET,
|
|
6
7
|
i as ActivitiesFeed,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
o as ActivitySection,
|
|
9
|
+
y as AddPost,
|
|
10
|
+
n as BannerSection,
|
|
11
|
+
b as Breadcrumbs,
|
|
11
12
|
u as Button,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
d as ButtonWrapper,
|
|
14
|
+
B as CollapsibleSection,
|
|
15
|
+
g as Columns,
|
|
16
|
+
T as CommunityDetails,
|
|
17
|
+
c as Contributors,
|
|
18
|
+
A as ConversationContext,
|
|
18
19
|
x as CookieBanner,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
p as DiscussionConversation,
|
|
21
|
+
m as DiscussionForm,
|
|
22
|
+
S as DiscussionLikes,
|
|
23
|
+
f as DiscussionPost,
|
|
24
|
+
q as DiscussionThread,
|
|
24
25
|
h as Divider,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
D as DownloadSection,
|
|
27
|
+
P as EmailHelperTextBox,
|
|
28
|
+
R as EmptyStateBox,
|
|
29
|
+
L as Filters,
|
|
30
|
+
F as Footer,
|
|
31
|
+
E as FullWidthSection,
|
|
32
|
+
M as Header,
|
|
33
|
+
v as HelperTextBox,
|
|
34
|
+
H as HiddenFromScreenReaders,
|
|
35
|
+
C as HideShowTextBox,
|
|
36
|
+
k as HighlightedTextBox,
|
|
37
|
+
Q as IntlProvider,
|
|
37
38
|
w as JoinButton,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
39
|
+
I as Link,
|
|
40
|
+
V as LoadMore,
|
|
41
|
+
U as LoadingBlock,
|
|
42
|
+
W as LoadingPlaceholder,
|
|
43
|
+
O as LoadingState,
|
|
44
|
+
N as Logo,
|
|
45
|
+
_ as LogoSection,
|
|
46
|
+
G as MarkdownText,
|
|
47
|
+
J as MarketingBox,
|
|
48
|
+
K as Member,
|
|
49
|
+
z as MembersList,
|
|
50
|
+
X as Modal,
|
|
51
|
+
Y as MoreMenu,
|
|
52
|
+
Z as NUMBER_OF_USERS,
|
|
53
|
+
j as Overlay,
|
|
54
|
+
$ as PageLayout,
|
|
55
|
+
aa as PasswordRules,
|
|
56
|
+
ea as Pill,
|
|
56
57
|
sa as ProfilePicture,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
ta as ProgressBar,
|
|
59
|
+
la as Rating,
|
|
60
|
+
ra as ReactQueryProvider,
|
|
60
61
|
ia as RepliesFeed,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
oa as ResponsesHeading,
|
|
63
|
+
ya as ResponsiveImage,
|
|
64
|
+
na as SearchForm,
|
|
65
|
+
ba as Span,
|
|
65
66
|
ua as StatusBanner,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
xa as
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
ha as
|
|
79
|
-
|
|
67
|
+
da as Tags,
|
|
68
|
+
Ba as Tooltip,
|
|
69
|
+
ga as UserContext,
|
|
70
|
+
Ta as UserProvider,
|
|
71
|
+
ca as VisuallyHidden,
|
|
72
|
+
Aa as act,
|
|
73
|
+
xa as addAriaProps,
|
|
74
|
+
pa as buildQueries,
|
|
75
|
+
ma as cleanup,
|
|
76
|
+
Sa as configure,
|
|
77
|
+
fa as createEvent,
|
|
78
|
+
qa as findAllByAltText,
|
|
79
|
+
ha as findAllByDisplayValue,
|
|
80
|
+
Da as findAllByLabelText,
|
|
81
|
+
Pa as findAllByPlaceholderText,
|
|
82
|
+
Ra as findAllByRole,
|
|
83
|
+
La as findAllByTestId,
|
|
84
|
+
Fa as findAllByText,
|
|
85
|
+
Ea as findAllByTitle,
|
|
86
|
+
Ma as findByAltText,
|
|
87
|
+
va as findByDisplayValue,
|
|
88
|
+
Ha as findByLabelText,
|
|
89
|
+
Ca as findByPlaceholderText,
|
|
90
|
+
ka as findByRole,
|
|
91
|
+
Qa as findByTestId,
|
|
92
|
+
wa as findByText,
|
|
93
|
+
Ia as findByTitle,
|
|
94
|
+
Va as fireEvent,
|
|
95
|
+
Ua as getAllByAltText,
|
|
96
|
+
Wa as getAllByDisplayValue,
|
|
97
|
+
Oa as getAllByLabelText,
|
|
98
|
+
Na as getAllByPlaceholderText,
|
|
99
|
+
_a as getAllByRole,
|
|
100
|
+
Ga as getAllByTestId,
|
|
101
|
+
Ja as getAllByText,
|
|
102
|
+
Ka as getAllByTitle,
|
|
103
|
+
za as getByAltText,
|
|
104
|
+
Xa as getByDisplayValue,
|
|
105
|
+
Ya as getByLabelText,
|
|
106
|
+
Za as getByPlaceholderText,
|
|
107
|
+
ja as getByRole,
|
|
108
|
+
$a as getByTestId,
|
|
109
|
+
ae as getByText,
|
|
110
|
+
ee as getByTitle,
|
|
111
|
+
se as getConfig,
|
|
112
|
+
te as getDefaultNormalizer,
|
|
113
|
+
le as getElementError,
|
|
114
|
+
re as getMember,
|
|
115
|
+
ie as getMultipleElementsFoundError,
|
|
116
|
+
oe as getNodeText,
|
|
117
|
+
ye as getQueriesForElement,
|
|
118
|
+
ne as getRoles,
|
|
119
|
+
be as getSuggestedQuery,
|
|
120
|
+
ue as headerData,
|
|
121
|
+
de as isInaccessible,
|
|
122
|
+
Be as logDOM,
|
|
123
|
+
ge as logRoles,
|
|
124
|
+
Te as makeFindQuery,
|
|
125
|
+
ce as makeGetAllQuery,
|
|
126
|
+
Ae as makeSingleQuery,
|
|
127
|
+
xe as mapGetStreamData,
|
|
128
|
+
pe as prettyDOM,
|
|
129
|
+
me as prettyFormat,
|
|
130
|
+
Se as queries,
|
|
131
|
+
fe as queryAllByAltText,
|
|
132
|
+
qe as queryAllByAttribute,
|
|
133
|
+
he as queryAllByDisplayValue,
|
|
134
|
+
De as queryAllByLabelText,
|
|
135
|
+
Pe as queryAllByPlaceholderText,
|
|
136
|
+
Re as queryAllByRole,
|
|
137
|
+
Le as queryAllByTestId,
|
|
138
|
+
Fe as queryAllByText,
|
|
139
|
+
Ee as queryAllByTitle,
|
|
140
|
+
Me as queryByAltText,
|
|
141
|
+
ve as queryByAttribute,
|
|
142
|
+
He as queryByDisplayValue,
|
|
143
|
+
Ce as queryByLabelText,
|
|
144
|
+
ke as queryByPlaceholderText,
|
|
145
|
+
Qe as queryByRole,
|
|
146
|
+
we as queryByTestId,
|
|
147
|
+
Ie as queryByText,
|
|
148
|
+
Ve as queryByTitle,
|
|
149
|
+
Ue as queryHelpers,
|
|
150
|
+
We as render,
|
|
151
|
+
Oe as renderHook,
|
|
152
|
+
Ne as screen,
|
|
153
|
+
_e as setup,
|
|
154
|
+
Ge as useEffectAfterMount,
|
|
155
|
+
Je as useFeatureFlag,
|
|
156
|
+
Ke as useScreenWidth,
|
|
157
|
+
ze as useScrollListener,
|
|
158
|
+
Xe as useScrollToHash,
|
|
159
|
+
Ye as waitFor,
|
|
160
|
+
Ze as waitForElementToBeRemoved,
|
|
161
|
+
je as within,
|
|
162
|
+
$e as wrapAllByQueryWithSuggestion,
|
|
163
|
+
as as wrapSingleQueryWithSuggestion
|
|
80
164
|
};
|