@akad/strapi-blocks 0.0.1-beta.2 → 0.0.1-beta.4

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/ts-lib.js CHANGED
@@ -4709,7 +4709,7 @@ const Cc = {
4709
4709
  };
4710
4710
  x.oneOf(Ac.props.position.options), x.bool, x.array, x.func;
4711
4711
  x.node, x.node, x.node, x.node;
4712
- const I1 = ({
4712
+ const D1 = ({
4713
4713
  categories: r = [],
4714
4714
  onClick: e,
4715
4715
  title: t = "Categorias"
@@ -4776,7 +4776,7 @@ const I1 = ({
4776
4776
  ) }, o.id)) }) })
4777
4777
  ] });
4778
4778
  };
4779
- /*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
4779
+ /*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
4780
4780
  const {
4781
4781
  entries: Cu,
4782
4782
  setPrototypeOf: co,
@@ -4807,6 +4807,7 @@ yn || (yn = function(e, t) {
4807
4807
  const ls = Je(Array.prototype.forEach), Oc = Je(Array.prototype.lastIndexOf), ho = Je(Array.prototype.pop), Nr = Je(Array.prototype.push), Ic = Je(Array.prototype.splice), _s = Je(String.prototype.toLowerCase), tn = Je(String.prototype.toString), fo = Je(String.prototype.match), Or = Je(String.prototype.replace), Dc = Je(String.prototype.indexOf), Rc = Je(String.prototype.trim), gt = Je(Object.prototype.hasOwnProperty), Ge = Je(RegExp.prototype.test), Ir = Mc(TypeError);
4808
4808
  function Je(r) {
4809
4809
  return function(e) {
4810
+ e instanceof RegExp && (e.lastIndex = 0);
4810
4811
  for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
4811
4812
  s[n - 1] = arguments[n];
4812
4813
  return gn(r, e, s);
@@ -4924,7 +4925,7 @@ const Rr = {
4924
4925
  function Nu() {
4925
4926
  let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Wc();
4926
4927
  const e = (Q) => Nu(Q);
4927
- if (e.version = "3.2.4", e.removed = [], !r || !r.document || r.document.nodeType !== Rr.document || !r.Element)
4928
+ if (e.version = "3.2.5", e.removed = [], !r || !r.document || r.document.nodeType !== Rr.document || !r.Element)
4928
4929
  return e.isSupported = !1, e;
4929
4930
  let {
4930
4931
  document: t
@@ -5111,7 +5112,7 @@ function Nu() {
5111
5112
  if (It(A.uponSanitizeElement, O, {
5112
5113
  tagName: Y,
5113
5114
  allowedTags: b
5114
- }), O.hasChildNodes() && !$a(O.firstElementChild) && Ge(/<[/\w]/g, O.innerHTML) && Ge(/<[/\w]/g, O.textContent) || O.nodeType === Rr.progressingInstruction || ye && O.nodeType === Rr.comment && Ge(/<[/\w]/g, O.data))
5115
+ }), O.hasChildNodes() && !$a(O.firstElementChild) && Ge(/<[/\w!]/g, O.innerHTML) && Ge(/<[/\w!]/g, O.textContent) || O.nodeType === Rr.progressingInstruction || ye && O.nodeType === Rr.comment && Ge(/<[/\w]/g, O.data))
5115
5116
  return Ce(O), !0;
5116
5117
  if (!b[Y] || N[Y]) {
5117
5118
  if (!N[Y] && Ca(Y) && ($.tagNameCheck instanceof RegExp && Ge($.tagNameCheck, Y) || $.tagNameCheck instanceof Function && $.tagNameCheck(Y)))
@@ -15074,8 +15075,29 @@ const v1 = [
15074
15075
  ")"
15075
15076
  ] }) })
15076
15077
  ] });
15077
- }, D1 = ({ question: r, onReactionClick: e }) => {
15078
- const t = k1(r.attributes.faqQuestion.answer);
15078
+ }, b1 = [
15079
+ "strong",
15080
+ "b",
15081
+ "i",
15082
+ "em",
15083
+ "u",
15084
+ "p",
15085
+ "br",
15086
+ "ul",
15087
+ "ol",
15088
+ "li",
15089
+ "img",
15090
+ "figure",
15091
+ "a",
15092
+ "span",
15093
+ "blockquote"
15094
+ ], R1 = ({ question: r, onReactionClick: e }) => {
15095
+ const t = k1(
15096
+ r.attributes.faqQuestion.answer,
15097
+ {
15098
+ allowedTags: b1
15099
+ }
15100
+ );
15079
15101
  return /* @__PURE__ */ V("div", { className: "faq-question-detail", children: /* @__PURE__ */ V(Yr, { className: "faq-detail", elevation: 2, children: /* @__PURE__ */ me(kt, { flexDirection: "column", children: [
15080
15102
  /* @__PURE__ */ V(Ft, { type: "heading-5", className: "color__neutral--90", children: r.attributes.title }),
15081
15103
  /* @__PURE__ */ V(it, { vertical: "quark" }),
@@ -15123,7 +15145,7 @@ const v1 = [
15123
15145
  }
15124
15146
  )
15125
15147
  ] }) }) });
15126
- }, R1 = ({
15148
+ }, M1 = ({
15127
15149
  title: r = "",
15128
15150
  questions: e = [],
15129
15151
  showReactions: t = !1,
@@ -15216,7 +15238,7 @@ const v1 = [
15216
15238
  ) })
15217
15239
  }
15218
15240
  ) }, o.id)) }) })
15219
- ] }), M1 = ({
15241
+ ] }), F1 = ({
15220
15242
  items: r = [],
15221
15243
  onClick: e,
15222
15244
  activeItem: t
@@ -15244,8 +15266,8 @@ const v1 = [
15244
15266
  s.id
15245
15267
  )) }) });
15246
15268
  export {
15247
- I1 as CategoryCards,
15248
- D1 as QuestionDetail,
15249
- R1 as Questions,
15250
- M1 as SidebarMenuList
15269
+ D1 as CategoryCards,
15270
+ R1 as QuestionDetail,
15271
+ M1 as Questions,
15272
+ F1 as SidebarMenuList
15251
15273
  };