@apolitical/component-library 9.0.0-beta.1 → 9.0.0-pla.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/discussion/components/form/form.type.d.ts +2 -0
- package/discussion/components/post/post.d.ts +1 -1
- package/discussion/discussion.helpers.d.ts +1 -1
- package/discussion/feeds/replies-feed/components/add-reply-form/add-reply-form.d.ts +1 -1
- package/discussion/feeds/replies-feed/components/load-more-replies-button/load-more-replies-button.d.ts +1 -1
- package/discussion/feeds/replies-feed/components/reply-item/reply-item.d.ts +1 -1
- package/discussion/shared/helpers/activity.helper.d.ts +3 -1
- package/discussion/shared/helpers/get-localised-content.helper.d.ts +3 -2
- package/discussion/shared/interfaces/discussion.interface.d.ts +3 -0
- package/helpers/intl.d.ts +4 -0
- package/index.js +133 -133
- package/index.mjs +15216 -15041
- package/package.json +8 -8
- package/style.css +1 -1
- package/styles/uclasses/uclasses.scss +43 -0
- package/user/member/member.types.d.ts +1 -1
|
@@ -5,6 +5,19 @@ $font-size-s: 0.75rem;
|
|
|
5
5
|
$font-size: 0.875rem;
|
|
6
6
|
$font-size-md: 1rem;
|
|
7
7
|
|
|
8
|
+
// Screen reader only utility class
|
|
9
|
+
.u-sr-only {
|
|
10
|
+
position: absolute;
|
|
11
|
+
width: 1px;
|
|
12
|
+
height: 1px;
|
|
13
|
+
padding: 0;
|
|
14
|
+
margin: -1px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
clip: rect(0, 0, 0, 0);
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
border: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
8
21
|
// form elements
|
|
9
22
|
.u-text-align-left {
|
|
10
23
|
text-align: left;
|
|
@@ -213,6 +226,27 @@ $font-size-md: 1rem;
|
|
|
213
226
|
align-content: space-between;
|
|
214
227
|
}
|
|
215
228
|
|
|
229
|
+
// align-self
|
|
230
|
+
.u-self-center {
|
|
231
|
+
align-self: center;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.u-self-start {
|
|
235
|
+
align-self: start;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.u-self-end {
|
|
239
|
+
align-self: end;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.u-self-stretch {
|
|
243
|
+
align-self: stretch;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.u-self-baseline {
|
|
247
|
+
align-self: baseline;
|
|
248
|
+
}
|
|
249
|
+
|
|
216
250
|
// display
|
|
217
251
|
.u-block {
|
|
218
252
|
display: block;
|
|
@@ -311,6 +345,10 @@ $font-size-md: 1rem;
|
|
|
311
345
|
margin-top: 2.5rem; /* 40px */
|
|
312
346
|
}
|
|
313
347
|
|
|
348
|
+
.u-mt-12 {
|
|
349
|
+
margin-top: 3rem; /* 64px */
|
|
350
|
+
}
|
|
351
|
+
|
|
314
352
|
.u-mr-auto {
|
|
315
353
|
margin-right: auto;
|
|
316
354
|
}
|
|
@@ -475,6 +513,11 @@ $font-size-md: 1rem;
|
|
|
475
513
|
padding-bottom: 2.5rem; /* 40px */
|
|
476
514
|
}
|
|
477
515
|
|
|
516
|
+
.u-py-12 {
|
|
517
|
+
padding-top: 3rem; /* 48px */
|
|
518
|
+
padding-bottom: 3rem; /* 48px */
|
|
519
|
+
}
|
|
520
|
+
|
|
478
521
|
.u-px-0 {
|
|
479
522
|
padding-left: 0;
|
|
480
523
|
padding-right: 0;
|
|
@@ -26,7 +26,7 @@ export type MemberDetailsProps = {
|
|
|
26
26
|
/** The user's badges */
|
|
27
27
|
badges?: IBadgesObject;
|
|
28
28
|
};
|
|
29
|
-
export type MemberProps = 'apolitical' | 'community' | 'deleted' | MemberDetailsProps;
|
|
29
|
+
export type MemberProps = 'apolitical' | 'community' | 'deleted' | 'anonymous' | MemberDetailsProps;
|
|
30
30
|
export declare enum ConnectionStatusType {
|
|
31
31
|
Accepted = "accepted",
|
|
32
32
|
Cancelled = "cancelled",
|