@apolitical/component-library 8.7.32 → 8.7.33-4385.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/index.mjs CHANGED
@@ -1343,13 +1343,13 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1343
1343
  showpassword_aria_hide: "Your password is visible. Click to hide.",
1344
1344
  signup_title: "Sign up",
1345
1345
  signup_full_name: "Full name",
1346
- signup_full_name_placeholder: "Lionel Messi",
1346
+ signup_full_name_placeholder: "Enter your full name",
1347
1347
  signup_email_address: "Work email",
1348
- signup_email_address_placeholder: "lionel.messi@argentina.gov",
1348
+ signup_email_address_placeholder: "Enter your work email",
1349
1349
  signup_job_title: "Job title",
1350
- signup_job_title_placeholder: "e.g. Senior Policy Advisor",
1350
+ signup_job_title_placeholder: "Enter your job title, e.g. Senior Policy Advisor",
1351
1351
  signup_organization: "Organisation",
1352
- signup_organization_placeholder: "e.g. Department of Justice",
1352
+ signup_organization_placeholder: "Enter your organisation, e.g. Department of Justice",
1353
1353
  signup_url: "Link to official government bio / LinkedIn <small>(optional)</small>",
1354
1354
  signup_url_placeholder: "https://organisation.com/bio",
1355
1355
  signup_expectation: "What do you want to know<small>Optional, but we will use your response to build the session!</small>",
@@ -8317,7 +8317,6 @@ const bu = "emailHelperTextBox_", M6 = ({
8317
8317
  id: e,
8318
8318
  type: s.type,
8319
8319
  heading: l ? !1 : a.formatMessage({ id: `${s.path}_title` }),
8320
- "aria-live": "assertive",
8321
8320
  children: l ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
8322
8321
  /* @__PURE__ */ h.jsx(Lr, { element: "span" }),
8323
8322
  /* @__PURE__ */ h.jsx(Lr, { element: "span" })
@@ -24908,7 +24907,6 @@ const kR = ({
24908
24907
  placeholder: u.formatMessage({
24909
24908
  id: "signup_email_address_placeholder"
24910
24909
  }),
24911
- "aria-describedby": "email-helper-textbox",
24912
24910
  functions: {
24913
24911
  onBlur: () => {
24914
24912
  _9({ ref: a.email, validateEmail: r, dispatch: o });
@@ -24991,6 +24989,7 @@ const kR = ({
24991
24989
  className: "text-small",
24992
24990
  type: "checkbox",
24993
24991
  inputRef: a.tc,
24992
+ "aria-describedby": "signup-terms-helper-textbox",
24994
24993
  label: u.formatMessage(
24995
24994
  { id: "signup_terms" },
24996
24995
  {
@@ -25140,10 +25139,11 @@ const IR = {
25140
25139
  className: ne("signup-form-fieldset", e),
25141
25140
  "data-testid": "signup-form",
25142
25141
  children: [
25143
- m.title && /* @__PURE__ */ h.jsx("p", { className: "signup-title", children: /* @__PURE__ */ h.jsx(Bt, { id: "signup_title" }) }),
25142
+ m.title && /* @__PURE__ */ h.jsx("h1", { className: "signup-title", "aria-label": "Sign up to Apolitical", children: /* @__PURE__ */ h.jsx(Bt, { id: "signup_title" }) }),
25144
25143
  A && /* @__PURE__ */ h.jsx(
25145
25144
  Oi,
25146
25145
  {
25146
+ "aria-live": "assertive",
25147
25147
  variant: "error",
25148
25148
  text: l.formatMessage({ id: "signup_error" })
25149
25149
  }
@@ -27094,11 +27094,22 @@ const nf = "cookieBanner_", rf = [
27094
27094
  "data-gtm-event-type": `cookie-${c.gtmType}-click`,
27095
27095
  children: e.formatMessage({ id: `${nf}buttons_${c.id}` })
27096
27096
  });
27097
- }), /* @__PURE__ */ h.jsxs("aside", { id: "cookie-banner", className: "text-medium", children: [
27098
- /* @__PURE__ */ h.jsx("h6", { children: e.formatMessage({ id: `${nf}title` }) }),
27099
- /* @__PURE__ */ h.jsx("p", { children: e.formatMessage({ id: `${nf}text` }) }),
27100
- /* @__PURE__ */ h.jsx(Vl, { buttons: u })
27101
- ] });
27097
+ }), /* @__PURE__ */ h.jsxs(
27098
+ "section",
27099
+ {
27100
+ id: "cookie-banner",
27101
+ "aria-labelledby": "cookie-banner-title",
27102
+ "aria-describedby": "cookie-banner-desc",
27103
+ "aria-live": "polite",
27104
+ "aria-modal": "true",
27105
+ className: "text-medium",
27106
+ children: [
27107
+ /* @__PURE__ */ h.jsx("h6", { id: "cookie-banner-title", children: e.formatMessage({ id: `${nf}title` }) }),
27108
+ /* @__PURE__ */ h.jsx("p", { id: "cookie-banner-desc", children: e.formatMessage({ id: `${nf}text` }) }),
27109
+ /* @__PURE__ */ h.jsx(Vl, { buttons: u })
27110
+ ]
27111
+ }
27112
+ );
27102
27113
  }, wi = {
27103
27114
  platform: {
27104
27115
  order: ["events", "courses", "articles", "communities"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "8.7.32",
3
+ "version": "8.7.33-4385.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -213,6 +213,27 @@ $font-size-md: 1rem;
213
213
  align-content: space-between;
214
214
  }
215
215
 
216
+ // align-self
217
+ .u-self-center {
218
+ align-self: center;
219
+ }
220
+
221
+ .u-self-start {
222
+ align-self: start;
223
+ }
224
+
225
+ .u-self-end {
226
+ align-self: end;
227
+ }
228
+
229
+ .u-self-stretch {
230
+ align-self: stretch;
231
+ }
232
+
233
+ .u-self-baseline {
234
+ align-self: baseline;
235
+ }
236
+
216
237
  // display
217
238
  .u-block {
218
239
  display: block;