@purpurds/content-block 5.12.0 → 5.13.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.
@@ -1,9 +1,9 @@
1
1
  import { jsxs as y, jsx as l, Fragment as K } from "react/jsx-runtime";
2
- import S, { forwardRef as J, Children as Q } from "react";
3
- function X(t) {
2
+ import S, { forwardRef as Y, Children as J } from "react";
3
+ function Q(t) {
4
4
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
5
5
  }
6
- var E = { exports: {} };
6
+ var j = { exports: {} };
7
7
  /*!
8
8
  Copyright (c) 2018 Jed Watson.
9
9
  Licensed under the MIT License (MIT), see
@@ -38,9 +38,9 @@ var E = { exports: {} };
38
38
  }
39
39
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
40
40
  })();
41
- })(E);
42
- var Y = E.exports;
43
- const rr = /* @__PURE__ */ X(Y), er = {
41
+ })(j);
42
+ var X = j.exports;
43
+ const rr = /* @__PURE__ */ Q(X), er = {
44
44
  "purpur-icon": "_purpur-icon_8u1lq_1",
45
45
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
46
46
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -78,26 +78,31 @@ const rr = /* @__PURE__ */ X(Y), er = {
78
78
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
79
79
  keywords: ["question"],
80
80
  category: "status"
81
- }, lr = rr.bind(er), A = "purpur-icon", or = "md", sr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), cr = ({ content: t = "", title: u } = {}) => {
81
+ }, lr = {
82
+ name: "tag",
83
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
84
+ keywords: ["tag"],
85
+ category: "other"
86
+ }, or = rr.bind(er), A = "purpur-icon", sr = "md", cr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), dr = ({ content: t = "", title: u } = {}) => {
82
87
  const n = [
83
88
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
84
89
  { name: "fill", value: "currentColor" },
85
90
  { name: "viewBox", value: "0 0 24 24" },
86
91
  u ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
87
92
  ], i = u ? `<title>${u}</title>` : "";
88
- return `<svg ${sr(n)}>${i}${t}</svg>`;
89
- }, dr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), _r = ({
93
+ return `<svg ${cr(n)}>${i}${t}</svg>`;
94
+ }, _r = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), gr = ({
90
95
  ["data-testid"]: t,
91
96
  svg: u,
92
97
  allyTitle: n,
93
98
  className: i,
94
- size: p = or,
99
+ size: p = sr,
95
100
  ...r
96
101
  }) => {
97
- const e = cr({
98
- content: dr(u.svg),
102
+ const e = dr({
103
+ content: _r(u.svg),
99
104
  title: n
100
- }), a = lr(i, A, `${A}--${p}`);
105
+ }), a = or(i, A, `${A}--${p}`);
101
106
  return /* @__PURE__ */ l(
102
107
  "span",
103
108
  {
@@ -109,10 +114,10 @@ const rr = /* @__PURE__ */ X(Y), er = {
109
114
  }
110
115
  );
111
116
  };
112
- function gr(t) {
117
+ function hr(t) {
113
118
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
114
119
  }
115
- var I = { exports: {} };
120
+ var E = { exports: {} };
116
121
  /*!
117
122
  Copyright (c) 2018 Jed Watson.
118
123
  Licensed under the MIT License (MIT), see
@@ -147,44 +152,48 @@ var I = { exports: {} };
147
152
  }
148
153
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
149
154
  })();
150
- })(I);
151
- var hr = I.exports;
152
- const vr = /* @__PURE__ */ gr(hr), O = {
153
- "purpur-badge": "_purpur-badge_stlab_1",
154
- "purpur-badge--attention": "_purpur-badge--attention_stlab_13",
155
- "purpur-badge--special": "_purpur-badge--special_stlab_17",
156
- "purpur-badge--neutral": "_purpur-badge--neutral_stlab_21",
157
- "purpur-badge--information": "_purpur-badge--information_stlab_25",
158
- "purpur-badge--success": "_purpur-badge--success_stlab_29",
159
- "purpur-badge--warning": "_purpur-badge--warning_stlab_33",
160
- "purpur-badge--error": "_purpur-badge--error_stlab_37"
161
- }, q = "purpur-badge", g = {
155
+ })(E);
156
+ var vr = E.exports;
157
+ const mr = /* @__PURE__ */ hr(vr), O = {
158
+ "purpur-badge": "_purpur-badge_1r1mu_1",
159
+ "purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
160
+ "purpur-badge--special": "_purpur-badge--special_1r1mu_17",
161
+ "purpur-badge--neutral": "_purpur-badge--neutral_1r1mu_21",
162
+ "purpur-badge--information": "_purpur-badge--information_1r1mu_25",
163
+ "purpur-badge--success": "_purpur-badge--success_1r1mu_29",
164
+ "purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
165
+ "purpur-badge--error": "_purpur-badge--error_1r1mu_37",
166
+ "purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
167
+ }, M = "purpur-badge", _ = {
162
168
  ATTENTION: "attention",
163
169
  SPECIAL: "special",
164
170
  NEUTRAL: "neutral",
165
171
  INFORMATION: "information",
166
172
  SUCCESS: "success",
167
173
  WARNING: "warning",
168
- ERROR: "error"
174
+ ERROR: "error",
175
+ BLACK_FRIDAY: "black-friday"
169
176
  }, fr = (t) => {
170
177
  switch (t) {
171
- case g.ATTENTION:
172
- case g.SPECIAL:
178
+ case _.ATTENTION:
179
+ case _.SPECIAL:
173
180
  return pr;
174
- case g.INFORMATION:
181
+ case _.INFORMATION:
175
182
  return ur;
176
- case g.SUCCESS:
183
+ case _.SUCCESS:
177
184
  return ar;
178
- case g.WARNING:
185
+ case _.WARNING:
179
186
  return tr;
180
- case g.ERROR:
187
+ case _.ERROR:
181
188
  return nr;
182
- case g.NEUTRAL:
189
+ case _.NEUTRAL:
183
190
  return ir;
191
+ case _.BLACK_FRIDAY:
192
+ return lr;
184
193
  default:
185
194
  return;
186
195
  }
187
- }, mr = ({
196
+ }, yr = ({
188
197
  children: t,
189
198
  showIcon: u = !0,
190
199
  variant: n,
@@ -193,16 +202,16 @@ const vr = /* @__PURE__ */ gr(hr), O = {
193
202
  className: r = "",
194
203
  ...e
195
204
  }) => {
196
- const a = fr(n), o = vr([r, O[q], O[`${q}--${n}`]]);
205
+ const a = fr(n), o = mr([r, O[M], O[`${M}--${n}`]]);
197
206
  return /* @__PURE__ */ y("span", { "aria-label": p, className: o, "data-testid": i, ...e, children: [
198
- u && a && /* @__PURE__ */ l(_r, { "data-testid": `${i}-icon`, allyTitle: p, size: "xs", svg: a }),
207
+ u && a && /* @__PURE__ */ l(gr, { "data-testid": `${i}-icon`, allyTitle: p, size: "xs", svg: a }),
199
208
  t
200
209
  ] });
201
210
  };
202
- function yr(t) {
211
+ function wr(t) {
203
212
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
204
213
  }
205
- var P = { exports: {} };
214
+ var L = { exports: {} };
206
215
  /*!
207
216
  Copyright (c) 2018 Jed Watson.
208
217
  Licensed under the MIT License (MIT), see
@@ -237,9 +246,9 @@ var P = { exports: {} };
237
246
  }
238
247
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
239
248
  })();
240
- })(P);
241
- var wr = P.exports;
242
- const br = /* @__PURE__ */ yr(wr), xr = {
249
+ })(L);
250
+ var br = L.exports;
251
+ const xr = /* @__PURE__ */ wr(br), kr = {
243
252
  "purpur-icon": "_purpur-icon_8u1lq_1",
244
253
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
245
254
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -247,46 +256,46 @@ const br = /* @__PURE__ */ yr(wr), xr = {
247
256
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
248
257
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
249
258
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
250
- }, kr = {
259
+ }, $r = {
251
260
  name: "arrow-left",
252
261
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
253
262
  keywords: ["arrow-left"],
254
263
  category: "utility"
255
- }, $r = {
264
+ }, Nr = {
256
265
  name: "arrow-right",
257
266
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
258
267
  keywords: ["arrow-right"],
259
268
  category: "utility"
260
- }, Nr = {
269
+ }, Sr = {
261
270
  name: "external",
262
271
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M15 3.4a.9.9 0 1 1 0-1.8h6.5a.9.9 0 0 1 .9.9V9a.9.9 0 1 1-1.8 0V4.673l-7.964 7.963a.9.9 0 1 1-1.272-1.272L19.327 3.4H15ZM1.6 5c0-1.05.85-1.9 1.9-1.9h6a.9.9 0 0 1 0 1.8h-6a.1.1 0 0 0-.1.1v15.5a.1.1 0 0 0 .1.1h16a.1.1 0 0 0 .1-.1V14a.9.9 0 1 1 1.8 0v6.5a1.9 1.9 0 0 1-1.9 1.9h-16a1.9 1.9 0 0 1-1.9-1.9V5Z" clip-rule="evenodd"/></svg>',
263
272
  keywords: ["external"],
264
273
  category: "media"
265
- }, Sr = {
274
+ }, Ar = {
266
275
  name: "phone",
267
276
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.341 2.228c.75-.622 1.73-.43 2.305.145l2.783 2.783a1.9 1.9 0 0 1 0 2.687L8.843 9.43a.1.1 0 0 0 0 .142l5.586 5.585a.1.1 0 0 0 .142 0l1.585-1.585a1.9 1.9 0 0 1 2.687 0l3.5 3.5c.343.342.698 1.023.31 1.742-.346.645-1.173 1.615-3.154 2.936-1.75 1.167-3.667 1.269-5.297.903-1.61-.361-3.015-1.192-3.839-2.016a.9.9 0 0 1 1.273-1.272c.573.572 1.669 1.242 2.96 1.532 1.27.285 2.656.188 3.905-.645 1.483-.989 2.137-1.68 2.418-2.06l-3.348-3.347a.1.1 0 0 0-.142 0l-1.586 1.585a1.9 1.9 0 0 1-2.687 0l-5.585-5.585a1.9 1.9 0 0 1 0-2.688l1.585-1.585a.1.1 0 0 0 0-.142L6.41 3.682c-.447.383-1.183 1.102-2.206 2.38-.878 1.097-1.14 2.08-1.127 2.951.013.898.323 1.758.732 2.59.24.488.733 1.079 1.551 1.88.561.549 1.227 1.152 2.002 1.854.344.312.71.644 1.098 1a.9.9 0 0 1-1.215 1.327c-.367-.336-.722-.658-1.061-.965a77.443 77.443 0 0 1-2.082-1.93c-.831-.813-1.523-1.586-1.909-2.372-.456-.93-.896-2.07-.916-3.356-.02-1.314.399-2.7 1.521-4.103 1.148-1.435 1.995-2.254 2.544-2.71Z" clip-rule="evenodd"/></svg>',
268
277
  keywords: ["phone"],
269
278
  category: "device"
270
- }, Ar = br.bind(xr), M = "purpur-icon", Or = "md", qr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), Mr = ({ content: t = "", title: u } = {}) => {
279
+ }, Or = xr.bind(kr), Z = "purpur-icon", Mr = "md", Zr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), qr = ({ content: t = "", title: u } = {}) => {
271
280
  const n = [
272
281
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
273
282
  { name: "fill", value: "currentColor" },
274
283
  { name: "viewBox", value: "0 0 24 24" },
275
284
  u ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
276
285
  ], i = u ? `<title>${u}</title>` : "";
277
- return `<svg ${qr(n)}>${i}${t}</svg>`;
278
- }, Tr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), T = ({
286
+ return `<svg ${Zr(n)}>${i}${t}</svg>`;
287
+ }, Tr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), q = ({
279
288
  ["data-testid"]: t,
280
289
  svg: u,
281
290
  allyTitle: n,
282
291
  className: i,
283
- size: p = Or,
292
+ size: p = Mr,
284
293
  ...r
285
294
  }) => {
286
- const e = Mr({
295
+ const e = qr({
287
296
  content: Tr(u.svg),
288
297
  title: n
289
- }), a = Ar(i, M, `${M}--${p}`);
298
+ }), a = Or(i, Z, `${Z}--${p}`);
290
299
  return /* @__PURE__ */ l(
291
300
  "span",
292
301
  {
@@ -298,10 +307,10 @@ const br = /* @__PURE__ */ yr(wr), xr = {
298
307
  }
299
308
  );
300
309
  };
301
- function Zr(t) {
310
+ function Ir(t) {
302
311
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
303
312
  }
304
- var L = { exports: {} };
313
+ var P = { exports: {} };
305
314
  /*!
306
315
  Copyright (c) 2018 Jed Watson.
307
316
  Licensed under the MIT License (MIT), see
@@ -336,9 +345,9 @@ var L = { exports: {} };
336
345
  }
337
346
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
338
347
  })();
339
- })(L);
340
- var jr = L.exports;
341
- const Er = /* @__PURE__ */ Zr(jr), Ir = {
348
+ })(P);
349
+ var jr = P.exports;
350
+ const Er = /* @__PURE__ */ Ir(jr), Lr = {
342
351
  "purpur-cta-link": "_purpur-cta-link_1mhg7_1",
343
352
  "purpur-cta-link--sm": "_purpur-cta-link--sm_1mhg7_33",
344
353
  "purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1mhg7_36",
@@ -352,12 +361,12 @@ const Er = /* @__PURE__ */ Zr(jr), Ir = {
352
361
  "purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1mhg7_87",
353
362
  "purpur-cta-link--expressive": "_purpur-cta-link--expressive_1mhg7_98",
354
363
  "purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1mhg7_108"
355
- }, Pr = Er.bind(Ir), h = "purpur-cta-link", Lr = {
356
- forward: $r,
357
- external: Nr,
358
- back: kr,
359
- phone: Sr
360
- }, Rr = J(
364
+ }, Pr = Er.bind(Lr), h = "purpur-cta-link", Rr = {
365
+ forward: Nr,
366
+ external: Sr,
367
+ back: $r,
368
+ phone: Ar
369
+ }, Cr = Y(
361
370
  ({
362
371
  children: t,
363
372
  className: u,
@@ -368,7 +377,7 @@ const Er = /* @__PURE__ */ Zr(jr), Ir = {
368
377
  size: e = "md",
369
378
  variant: a,
370
379
  icon: o = "forward",
371
- ..._
380
+ ...g
372
381
  }, w) => {
373
382
  const v = Pr(
374
383
  [
@@ -382,19 +391,19 @@ const Er = /* @__PURE__ */ Zr(jr), Ir = {
382
391
  [`${h}--negative`]: r,
383
392
  [`${h}--full-width`]: i
384
393
  }
385
- ), b = Lr[o], x = /* @__PURE__ */ y(K, { children: [
386
- (o === "back" || o === "phone") && /* @__PURE__ */ l(T, { svg: b, size: e === "lg" ? "sm" : "xs" }),
394
+ ), b = Rr[o], x = /* @__PURE__ */ y(K, { children: [
395
+ (o === "back" || o === "phone") && /* @__PURE__ */ l(q, { svg: b, size: e === "lg" ? "sm" : "xs" }),
387
396
  !p && t,
388
- (o === "forward" || o === "external") && /* @__PURE__ */ l(T, { svg: b, size: e === "lg" ? "sm" : "xs" })
397
+ (o === "forward" || o === "external") && /* @__PURE__ */ l(q, { svg: b, size: e === "lg" ? "sm" : "xs" })
389
398
  ] }), k = {
390
- ..._,
399
+ ...g,
391
400
  className: v,
392
401
  "data-testid": n
393
402
  };
394
- return "href" in _ && _.href ? /* @__PURE__ */ l("a", { ...k, ref: w, children: x }) : /* @__PURE__ */ l("span", { ...k, ref: w, children: x });
403
+ return "href" in g && g.href ? /* @__PURE__ */ l("a", { ...k, ref: w, children: x }) : /* @__PURE__ */ l("span", { ...k, ref: w, children: x });
395
404
  }
396
405
  );
397
- function Cr(t) {
406
+ function Br(t) {
398
407
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
399
408
  }
400
409
  var R = { exports: {} };
@@ -433,8 +442,8 @@ var R = { exports: {} };
433
442
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
434
443
  })();
435
444
  })(R);
436
- var Br = R.exports;
437
- const Hr = /* @__PURE__ */ Cr(Br), $ = {
445
+ var Hr = R.exports;
446
+ const Vr = /* @__PURE__ */ Br(Hr), $ = {
438
447
  "purpur-heading": "_purpur-heading_k9fhq_1",
439
448
  "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
440
449
  "purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
@@ -450,7 +459,7 @@ const Hr = /* @__PURE__ */ Cr(Br), $ = {
450
459
  "purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
451
460
  "purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
452
461
  "purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
453
- }, Vr = {
462
+ }, Gr = {
454
463
  TITLE100: "title-100",
455
464
  TITLE200: "title-200",
456
465
  TITLE300: "title-300",
@@ -466,10 +475,10 @@ const Hr = /* @__PURE__ */ Cr(Br), $ = {
466
475
  enableHyphenation: i = !1,
467
476
  negative: p = !1,
468
477
  tag: r,
469
- variant: e = Vr.TITLE100,
478
+ variant: e = Gr.TITLE100,
470
479
  ...a
471
480
  }) => {
472
- const o = r, _ = Hr([
481
+ const o = r, g = Vr([
473
482
  n,
474
483
  $[N],
475
484
  $[`${N}--${e}`],
@@ -478,10 +487,10 @@ const Hr = /* @__PURE__ */ Cr(Br), $ = {
478
487
  [$[`${N}--negative`]]: p
479
488
  }
480
489
  ]);
481
- return /* @__PURE__ */ l(o, { ...a, className: _, "data-testid": t, children: u });
490
+ return /* @__PURE__ */ l(o, { ...a, className: g, "data-testid": t, children: u });
482
491
  };
483
492
  C.displayName = "Heading";
484
- function Gr(t) {
493
+ function Dr(t) {
485
494
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
486
495
  }
487
496
  var B = { exports: {} };
@@ -521,7 +530,7 @@ var B = { exports: {} };
521
530
  })();
522
531
  })(B);
523
532
  var zr = B.exports;
524
- const Dr = /* @__PURE__ */ Gr(zr), Ur = {
533
+ const Fr = /* @__PURE__ */ Dr(zr), Ur = {
525
534
  "purpur-icon": "_purpur-icon_8u1lq_1",
526
535
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
527
536
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -529,20 +538,20 @@ const Dr = /* @__PURE__ */ Gr(zr), Ur = {
529
538
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
530
539
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
531
540
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
532
- }, Fr = {
541
+ }, Wr = {
533
542
  name: "checkmark",
534
543
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',
535
544
  keywords: ["checkmark"],
536
545
  category: "utility"
537
546
  }, H = (t) => /* @__PURE__ */ l(
538
- Yr,
547
+ re,
539
548
  {
540
549
  ...t,
541
- svg: Fr
550
+ svg: Wr
542
551
  }
543
552
  );
544
553
  H.displayName = "IconCheckmark";
545
- const Wr = Dr.bind(Ur), Z = "purpur-icon", Kr = "md", Jr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), Qr = ({ content: t = "", title: u } = {}) => {
554
+ const Kr = Fr.bind(Ur), T = "purpur-icon", Yr = "md", Jr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), Qr = ({ content: t = "", title: u } = {}) => {
546
555
  const n = [
547
556
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
548
557
  { name: "fill", value: "currentColor" },
@@ -550,18 +559,18 @@ const Wr = Dr.bind(Ur), Z = "purpur-icon", Kr = "md", Jr = (t) => t.filter((u) =
550
559
  u ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
551
560
  ], i = u ? `<title>${u}</title>` : "";
552
561
  return `<svg ${Jr(n)}>${i}${t}</svg>`;
553
- }, Xr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Yr = ({
562
+ }, Xr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), re = ({
554
563
  ["data-testid"]: t,
555
564
  svg: u,
556
565
  allyTitle: n,
557
566
  className: i,
558
- size: p = Kr,
567
+ size: p = Yr,
559
568
  ...r
560
569
  }) => {
561
570
  const e = Qr({
562
571
  content: Xr(u.svg),
563
572
  title: n
564
- }), a = Wr(i, Z, `${Z}--${p}`);
573
+ }), a = Kr(i, T, `${T}--${p}`);
565
574
  return /* @__PURE__ */ l(
566
575
  "span",
567
576
  {
@@ -573,7 +582,7 @@ const Wr = Dr.bind(Ur), Z = "purpur-icon", Kr = "md", Jr = (t) => t.filter((u) =
573
582
  }
574
583
  );
575
584
  };
576
- function re(t) {
585
+ function ee(t) {
577
586
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
578
587
  }
579
588
  var V = { exports: {} };
@@ -612,8 +621,8 @@ var V = { exports: {} };
612
621
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
613
622
  })();
614
623
  })(V);
615
- var ee = V.exports;
616
- const te = /* @__PURE__ */ re(ee), f = {
624
+ var te = V.exports;
625
+ const ae = /* @__PURE__ */ ee(te), m = {
617
626
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
618
627
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
619
628
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
@@ -628,7 +637,7 @@ const te = /* @__PURE__ */ re(ee), f = {
628
637
  "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
629
638
  "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
630
639
  "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
631
- }, ae = {
640
+ }, ne = {
632
641
  PARAGRAPH100: "paragraph-100",
633
642
  PARAGRAPH100MEDIUM: "paragraph-100-medium",
634
643
  PARAGRAPH100BOLD: "paragraph-100-bold",
@@ -639,33 +648,33 @@ const te = /* @__PURE__ */ re(ee), f = {
639
648
  ADDITIONAL100MEDIUM: "additional-100-medium",
640
649
  OVERLINE100: "overline-100",
641
650
  OVERLINE200: "overline-200"
642
- }, m = "purpur-paragraph", G = ({
651
+ }, f = "purpur-paragraph", G = ({
643
652
  ["data-testid"]: t,
644
653
  children: u,
645
654
  className: n,
646
655
  disabled: i,
647
656
  enableHyphenation: p = !1,
648
657
  negative: r = !1,
649
- variant: e = ae.PARAGRAPH100,
658
+ variant: e = ne.PARAGRAPH100,
650
659
  ...a
651
660
  }) => {
652
- const o = te([
661
+ const o = ae([
653
662
  n,
654
- f[m],
655
- f[`${m}--${e}`],
663
+ m[f],
664
+ m[`${f}--${e}`],
656
665
  {
657
- [f[`${m}--hyphens`]]: p,
658
- [f[`${m}--disabled`]]: i,
659
- [f[`${m}--negative`]]: r
666
+ [m[`${f}--hyphens`]]: p,
667
+ [m[`${f}--disabled`]]: i,
668
+ [m[`${f}--negative`]]: r
660
669
  }
661
670
  ]);
662
671
  return /* @__PURE__ */ l("p", { ...a, className: o, "data-testid": t, children: u });
663
672
  };
664
673
  G.displayName = "Paragraph";
665
- function ne(t) {
674
+ function ue(t) {
666
675
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
667
676
  }
668
- var z = { exports: {} };
677
+ var D = { exports: {} };
669
678
  /*!
670
679
  Copyright (c) 2018 Jed Watson.
671
680
  Licensed under the MIT License (MIT), see
@@ -700,9 +709,9 @@ var z = { exports: {} };
700
709
  }
701
710
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
702
711
  })();
703
- })(z);
704
- var ue = z.exports;
705
- const D = /* @__PURE__ */ ne(ue), pe = {
712
+ })(D);
713
+ var pe = D.exports;
714
+ const z = /* @__PURE__ */ ue(pe), ie = {
706
715
  "purpur-content-block": "_purpur-content-block_1c7ua_1",
707
716
  "purpur-content-block__section": "_purpur-content-block__section_1c7ua_18",
708
717
  "purpur-content-block__image-wrapper": "_purpur-content-block__image-wrapper_1c7ua_22",
@@ -716,26 +725,26 @@ const D = /* @__PURE__ */ ne(ue), pe = {
716
725
  "purpur-content-block__links": "_purpur-content-block__links_1c7ua_62",
717
726
  "purpur-content-block--negative": "_purpur-content-block--negative_1c7ua_73",
718
727
  "purpur-content-block__text-spacing": "_purpur-content-block__text-spacing_1c7ua_73"
719
- }, ie = {
728
+ }, le = {
720
729
  "purpur-content-block-group": "_purpur-content-block-group_1g4rh_1"
721
- }, le = D.bind(ie), j = "purpur-content-block-group", U = ({
730
+ }, oe = z.bind(le), I = "purpur-content-block-group", F = ({
722
731
  children: t,
723
732
  className: u,
724
733
  negative: n,
725
734
  ["data-testid"]: i,
726
735
  ...p
727
736
  }) => {
728
- const r = le([
737
+ const r = oe([
729
738
  u,
730
- j,
739
+ I,
731
740
  {
732
- [`${j}--negative`]: n
741
+ [`${I}--negative`]: n
733
742
  }
734
743
  ]);
735
- return /* @__PURE__ */ l("div", { className: r, "data-testid": i, ...p, children: Q.map(t, (a) => S.isValidElement(a) ? S.cloneElement(a, { negative: n }) : a) });
744
+ return /* @__PURE__ */ l("div", { className: r, "data-testid": i, ...p, children: J.map(t, (a) => S.isValidElement(a) ? S.cloneElement(a, { negative: n }) : a) });
736
745
  };
737
- U.displayName = "ContentBlockGroup";
738
- const c = D.bind(pe), s = "purpur-content-block", F = ({
746
+ F.displayName = "ContentBlockGroup";
747
+ const c = z.bind(ie), s = "purpur-content-block", U = ({
739
748
  ["data-testid"]: t,
740
749
  className: u,
741
750
  negative: n,
@@ -745,7 +754,7 @@ const c = D.bind(pe), s = "purpur-content-block", F = ({
745
754
  title: e,
746
755
  ctas: a,
747
756
  usp: o,
748
- headingTag: _ = "h2",
757
+ headingTag: g = "h2",
749
758
  headingVariant: w = "title-300",
750
759
  onCtaClick: v,
751
760
  children: b,
@@ -761,8 +770,8 @@ const c = D.bind(pe), s = "purpur-content-block", F = ({
761
770
  return /* @__PURE__ */ y("div", { "data-testid": t, className: k, ...x, children: [
762
771
  /* @__PURE__ */ l("div", { className: c(`${s}__section`), children: p ? /* @__PURE__ */ l("div", { className: c(`${s}__video-wrapper`), children: p }) : /* @__PURE__ */ l("div", { className: c(`${s}__image-wrapper`), children: i }) }),
763
772
  /* @__PURE__ */ l("div", { className: c(`${s}__section`), children: /* @__PURE__ */ y("div", { className: c(`${s}__content-wrapper`), children: [
764
- r ? /* @__PURE__ */ l(mr, { variant: "special", className: c(`${s}__badge`), children: r }) : null,
765
- e && e.trim() && /* @__PURE__ */ l(C, { variant: w, tag: _, negative: n, children: e }),
773
+ r ? /* @__PURE__ */ l(yr, { variant: "special", className: c(`${s}__badge`), children: r }) : null,
774
+ e && e.trim() && /* @__PURE__ */ l(C, { variant: w, tag: g, negative: n, children: e }),
766
775
  /* @__PURE__ */ l("div", { className: c(`${s}__content`), children: b }),
767
776
  o != null && o.length ? /* @__PURE__ */ l("ul", { className: c(`${s}__usp-list`), children: o.map(
768
777
  (d) => d && /* @__PURE__ */ y("li", { className: c(`${s}__usp-list-item`), children: [
@@ -778,7 +787,7 @@ const c = D.bind(pe), s = "purpur-content-block", F = ({
778
787
  ) }) : null,
779
788
  a && a.length > 0 && /* @__PURE__ */ l("div", { className: c(`${s}__links`), children: a.map(
780
789
  (d, W) => d.href && /* @__PURE__ */ l(
781
- Rr,
790
+ Cr,
782
791
  {
783
792
  href: d.href,
784
793
  variant: W === 0 ? "primary" : "secondary",
@@ -792,9 +801,9 @@ const c = D.bind(pe), s = "purpur-content-block", F = ({
792
801
  ] }) })
793
802
  ] });
794
803
  };
795
- F.Group = U;
796
- F.displayName = "ContentBlock";
804
+ U.Group = F;
805
+ U.displayName = "ContentBlock";
797
806
  export {
798
- F as ContentBlock
807
+ U as ContentBlock
799
808
  };
800
809
  //# sourceMappingURL=content-block.es.js.map