@apolitical/component-library 6.6.1-beta.0 → 6.6.1

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
@@ -23959,7 +23959,7 @@ const _m = ({
23959
23959
  dispatch: B
23960
23960
  });
23961
23961
  }, 100);
23962
- return L ? /* @__PURE__ */ c.jsx("div", { id: D, className: "rich-text-editor input", children: /* @__PURE__ */ c.jsxs(
23962
+ return L ? /* @__PURE__ */ c.jsx("div", { id: D, className: "rich-text-editor", children: /* @__PURE__ */ c.jsxs(
23963
23963
  pn.Provider,
23964
23964
  {
23965
23965
  value: {
@@ -23989,7 +23989,7 @@ const _m = ({
23989
23989
  /* @__PURE__ */ c.jsx(
23990
23990
  cw,
23991
23991
  {
23992
- className: "editor",
23992
+ className: "input",
23993
23993
  renderElement: J,
23994
23994
  renderLeaf: G,
23995
23995
  placeholder: n || d.formatMessage({ id: "richTextEditor_placeholder" }),
@@ -27178,7 +27178,7 @@ const Es = ({
27178
27178
  };
27179
27179
  function F_({ content: e }) {
27180
27180
  var t;
27181
- return (t = e.categories) != null && t.length ? /* @__PURE__ */ c.jsx("ul", { className: "categories-list", children: e.categories.map((n) => /* @__PURE__ */ c.jsx(cn, { size: "small", element: "li", children: n.name }, n.slug)) }) : /* @__PURE__ */ c.jsx(c.Fragment, {});
27181
+ return (t = e.categories) != null && t.length ? /* @__PURE__ */ c.jsx("ul", { className: "categories-list", children: e.categories.map((n) => !n.slug || !n.name ? /* @__PURE__ */ c.jsx(c.Fragment, {}) : /* @__PURE__ */ c.jsx(cn, { size: "small", element: "li", children: n.name }, n.slug)) }) : /* @__PURE__ */ c.jsx(c.Fragment, {});
27182
27182
  }
27183
27183
  var ao = /* @__PURE__ */ ((e) => (e.Always = "always", e.AfterVoting = "after-voting", e))(ao || {});
27184
27184
  const B_ = (e, t, n) => n === void 0 ? 0 : e.some((i) => i.hasUserVoted) ? t ? e.findIndex((i) => !i.hasUserVoted) : e.findIndex((i) => i.hasUserVoted) : 0, T_ = (e, t, n, r = 0) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "6.6.1-beta.0",
3
+ "version": "6.6.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {