@logora/debate 0.3.81 → 0.3.82

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.
@@ -0,0 +1 @@
1
+ ._listHeader_7x11f_3{display:flex;justify-content:space-between;align-items:center;position:relative;flex-wrap:wrap;gap:var(--space-unit, 1em)}@container (max-width: 575.98px){._listHeader_7x11f_3{flex-direction:column;align-items:flex-start}._listHeader_7x11f_3._listHeaderOneItem_7x11f_16{flex-direction:row;align-items:center;flex-wrap:nowrap!important}}._listTitle_7x11f_23{font-size:var(--font-size-extra-large, 22px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-family:var(--title-font-family, var(--font-family, "Montserrat"))}._listSubtitle_7x11f_30{color:var(--text-secondary, #5F5F5F);font-weight:var(--font-weight-normal, 400);font-size:var(--font-size-normal, 16px)}._rightBar_7x11f_36{display:flex;gap:var(--space-unit, 1em);flex-wrap:wrap}@container (max-width: 575.98px){._rightBar_7x11f_36{width:100%;justify-content:space-between}._rightBar_7x11f_36._rightBarOneItem_7x11f_46{justify-content:flex-end}}._rightBar_7x11f_36{flex:1 1 auto;justify-content:flex-end;align-items:center;flex-direction:row}._search_7x11f_57{flex:1;max-width:35%}@container (max-width: 575.98px){._search_7x11f_57{max-width:80%}}._tagList_7x11f_67{display:flex;flex-direction:row;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75));padding-bottom:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}@container (max-width: 575.98px){._tagList_7x11f_67{gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}}._tagItem_7x11f_82{display:flex!important;color:var(--text-secondary, #5F5F5F);cursor:pointer;white-space:nowrap}._select_7x11f_89{max-width:300px}@container (max-width: 575.98px){._select_7x11f_89{max-width:300px}}
@@ -1,19 +1,19 @@
1
- import { jsxs as $, jsx as c, Fragment as je } from "react/jsx-runtime";
2
- import Be from "@rooks/use-previous";
3
- import Le from "classnames";
4
- import Qe, { useState as m, useEffect as h } from "react";
5
- import { useIntl as $e } from "react-intl";
6
- import { useLocation as Pe } from "react-router";
1
+ import { jsxs as $, jsx as c, Fragment as Le } from "react/jsx-runtime";
2
+ import Qe from "@rooks/use-previous";
3
+ import $e from "classnames";
4
+ import Pe, { useState as m, useEffect as h } from "react";
5
+ import { useIntl as Ue } from "react-intl";
6
+ import { useLocation as We } from "react-router";
7
7
  import a from "./PaginatedList.module.scss.js";
8
- import { ActionBar as Ue } from "./action_bar/ActionBar.js";
9
- import { useList as We } from "../list_provider/useList.js";
10
- import { useDataProvider as ze } from "../../data/data_provider/useDataProvider.js";
11
- import { useResponsive as Ge } from "../../hooks/use_responsive/useResponsive.js";
12
- import { useData as Ve } from "../../data/data_provider/useData.js";
8
+ import { ActionBar as ze } from "./action_bar/ActionBar.js";
9
+ import { useList as Ge } from "../list_provider/useList.js";
10
+ import { useDataProvider as Ve } from "../../data/data_provider/useDataProvider.js";
11
+ import { useResponsive as Xe } from "../../hooks/use_responsive/useResponsive.js";
12
+ import { useData as Ye } from "../../data/data_provider/useData.js";
13
13
  import { uniqueBy as x } from "../../util/unique_by/uniqueBy.js";
14
- import { Pagination as Xe } from "../pagination/Pagination.js";
15
- import { StandardErrorBoundary as Ye } from "../../error/standard_error_boundary/StandardErrorBoundary.js";
16
- const dt = ({
14
+ import { Pagination as Ze } from "../pagination/Pagination.js";
15
+ import { StandardErrorBoundary as He } from "../../error/standard_error_boundary/StandardErrorBoundary.js";
16
+ const ft = ({
17
17
  query: w,
18
18
  sortOptions: i,
19
19
  sort: N,
@@ -39,27 +39,29 @@ const dt = ({
39
39
  loadingComponent: W,
40
40
  searchBar: ce = !1,
41
41
  title: ue,
42
+ subtitle: Ee,
43
+ showSubtitle: ge = !1,
42
44
  emptyListComponent: z,
43
45
  emptyText: G,
44
46
  display: V,
45
47
  elementsPerLine: X,
46
- indexLayout: Ee = !1,
47
- gap: ge = "1em",
48
- withPagination: he = !0,
48
+ indexLayout: he = !1,
49
+ gap: pe = "1em",
50
+ withPagination: ve = !0,
49
51
  numberElements: Y,
50
- countless: pe,
51
- onElementClick: ve,
52
- withUrlParams: Se = !1,
52
+ countless: Se,
53
+ onElementClick: ye,
54
+ withUrlParams: we = !1,
53
55
  onLoadNewPage: Z
54
56
  }) => {
55
- const J = $e(), t = We(), H = ze(), I = Pe(), { isMobile: K, isTablet: ye, isDesktop: j } = Ge(), [b, u] = m(!1), [we, Ne] = m(!1), [k, S] = Ve(n, []), [O, Me] = m(
57
+ const J = Ue(), t = Ge(), H = Ve(), I = We(), { isMobile: K, isTablet: Ne, isDesktop: j } = Xe(), [b, u] = m(!1), [Me, Re] = m(!1), [k, S] = Ye(n, []), [O, be] = m(
56
58
  k?.length || 0
57
- ), [E, B] = m(M || 1), [y, L] = m(w || null), [C, q] = m(null), [Re, ee] = m(null), d = new URLSearchParams(
59
+ ), [E, B] = m(M || 1), [y, L] = m(w || null), [C, q] = m(null), [ke, ee] = m(null), d = new URLSearchParams(
58
60
  typeof window < "u" ? window.location.search : I.search
59
- ), be = () => i && i[0].type === "sort" && i[0].value || N || "", ke = () => {
61
+ ), Ce = () => i && i[0].type === "sort" && i[0].value || N || "", Fe = () => {
60
62
  let e = {};
61
63
  return i && i[0].type === "filter" && (e[i[0].name] = i[0].value), o && (e = Object.assign({}, e, o)), e;
62
- }, [F, T] = m(be()), [Q, _] = m(ke()), te = Be(o);
64
+ }, [F, T] = m(Ce()), [Q, _] = m(Fe()), te = Qe(o);
63
65
  M && M !== E && B(M), w !== void 0 && w !== y && L(w), N !== void 0 && N !== F && T(N), te && JSON.stringify(o) !== JSON.stringify(te) && JSON.stringify(o) !== JSON.stringify(Q) && _(o), h(() => {
64
66
  if (d.get("tagId") && q(Number.parseInt(d.get("tagId"))), d.get("search") && L(d.get("search")), d.get("sort")) {
65
67
  T(d.get("sort"));
@@ -92,29 +94,29 @@ const dt = ({
92
94
  E > 1 && (u(!0), se(E));
93
95
  }, [E]), h(() => {
94
96
  if (t.addElements && n in t.addElements && t.addElements[n].length > 0) {
95
- Te(t.addElements[n]);
97
+ xe(t.addElements[n]);
96
98
  const e = t.addElements;
97
99
  delete e[n], t.setAddElements(e);
98
100
  }
99
101
  }, [t.addElements]), h(() => {
100
102
  if (t.updateElements && n in t.updateElements && (console.log("[PaginatedList] update received for listId:", n, t.updateElements[n]), t.updateElements[n].length > 0)) {
101
- _e(t.updateElements[n]);
103
+ Ae(t.updateElements[n]);
102
104
  const e = t.updateElements;
103
105
  delete e[n], t.setUpdateElements(e);
104
106
  }
105
107
  }, [t.updateElements]), h(() => {
106
108
  if (t.removeElements && n in t.removeElements && t.removeElements[n].length > 0) {
107
- xe(t.removeElements[n]);
109
+ De(t.removeElements[n]);
108
110
  const e = t.removeElements;
109
111
  delete e[n], t.setRemoveElements(e);
110
112
  }
111
113
  }, [t.removeElements]);
112
- const Ce = (e) => {
114
+ const Te = (e) => {
113
115
  e.type === "filter" ? (T(""), _({
114
116
  ...o,
115
117
  [e.name]: e.value
116
118
  })) : (T(e.value), _(o ? { ...o } : {}));
117
- }, Fe = () => {
119
+ }, _e = () => {
118
120
  typeof Z == "function" && Z() !== null || B(E + 1);
119
121
  }, se = (e) => {
120
122
  const s = ae ? H.getListWithToken : H.getList;
@@ -124,27 +126,27 @@ const dt = ({
124
126
  [le]: p,
125
127
  ...F && !y && { [oe]: F },
126
128
  ...y && { [me]: y },
127
- ...pe === !0 && { countless: !0 },
129
+ ...Se === !0 && { countless: !0 },
128
130
  ...Q,
129
131
  ...C && { [de]: C }
130
132
  };
131
133
  s(A, r).then((l) => {
132
134
  const f = l.headers;
133
- f && D in f && (Me(
135
+ f && D in f && (be(
134
136
  Number.parseInt(f[D || "total"], 10)
135
137
  ), P && P(f[D || "total"]));
136
138
  let g = l?.data?.data;
137
- R && R(g), U && (g = g.filter(U)), t.addElements && n in t.addElements && t.addElements[n].length > 0 && (g = [...t.addElements[n], g]), Ae(g), u(!1);
139
+ R && R(g), U && (g = g.filter(U)), t.addElements && n in t.addElements && t.addElements[n].length > 0 && (g = [...t.addElements[n], g]), Je(g), u(!1);
138
140
  }).catch((l) => {
139
- console.error(l), l?.response?.status !== 404 && Ne(!0), u(!1);
141
+ console.error(l), l?.response?.status !== 404 && Re(!0), u(!1);
140
142
  });
141
143
  } else
142
144
  u(!1);
143
- }, Te = (e) => {
145
+ }, xe = (e) => {
144
146
  S(
145
147
  (s) => x([...e, ...s], v || "id")
146
148
  ), R && R(e);
147
- }, _e = (e) => {
149
+ }, Ae = (e) => {
148
150
  S((s) => {
149
151
  let r = s;
150
152
  return e.forEach(
@@ -153,29 +155,29 @@ const dt = ({
153
155
  )
154
156
  ), x(r, v || "id");
155
157
  });
156
- }, xe = (e) => {
158
+ }, De = (e) => {
157
159
  const s = e.map((l) => l.id), r = k.filter(
158
160
  (l) => s.indexOf(l.id) === -1
159
161
  );
160
162
  S(x(r, v || "id"));
161
- }, Ae = (e) => {
163
+ }, Je = (e) => {
162
164
  S(
163
165
  (s) => x([...s, ...e], v || "id")
164
166
  );
165
- }, De = (e, s) => e !== void 0 ? /* @__PURE__ */ c(
167
+ }, je = (e, s) => e !== void 0 ? /* @__PURE__ */ c(
166
168
  "li",
167
169
  {
168
170
  className: a.paginatedListItem,
169
171
  "data-testid": "list-item",
170
- onClick: ve,
171
- children: /* @__PURE__ */ c(Ye, { hideMessage: !0, children: Qe.cloneElement(re, {
172
+ onClick: ye,
173
+ children: /* @__PURE__ */ c(He, { hideMessage: !0, children: Pe.cloneElement(re, {
172
174
  index: s,
173
175
  [fe]: e
174
176
  }) })
175
177
  },
176
178
  `${e[v || "id"]}_${e.updated_at || e.content}`
177
- ) : null, Je = (e) => W ? /* @__PURE__ */ c("li", { className: a.paginatedListItem, children: W }, e) : null;
178
- if (we)
179
+ ) : null, Be = (e) => W ? /* @__PURE__ */ c("li", { className: a.paginatedListItem, children: W }, e) : null;
180
+ if (Me)
179
181
  throw new Error(
180
182
  J.formatMessage({
181
183
  id: "error.list",
@@ -184,47 +186,49 @@ const dt = ({
184
186
  );
185
187
  return /* @__PURE__ */ $("div", { className: a.listContainer, children: [
186
188
  /* @__PURE__ */ c(
187
- Ue,
189
+ ze,
188
190
  {
189
191
  title: ue,
192
+ subtitle: Ee,
193
+ showSubtitle: ge,
190
194
  sortOptions: i,
191
- defaultSelectOption: Re,
195
+ defaultSelectOption: ke,
192
196
  searchBar: ce,
193
197
  tagList: ne,
194
198
  activeTagId: C,
195
199
  onSearch: (e) => L(e),
196
- onSortChange: Ce,
200
+ onSortChange: Te,
197
201
  onTagChange: (e) => q(e),
198
- withUrlParams: Se
202
+ withUrlParams: we
199
203
  }
200
204
  ),
201
205
  !b && k.length === 0 ? z ? /* @__PURE__ */ c("div", { className: a.emptyListElement, children: z }) : /* @__PURE__ */ c("div", { className: a.emptyList, children: G || J.formatMessage({
202
206
  id: "info.emptyList",
203
207
  defaultMessage: "No items for now."
204
- }) }) : /* @__PURE__ */ $(je, { children: [
208
+ }) }) : /* @__PURE__ */ $(Le, { children: [
205
209
  /* @__PURE__ */ $(
206
210
  "ul",
207
211
  {
208
- className: Le(a.paginatedList, {
212
+ className: $e(a.paginatedList, {
209
213
  [a.paginatedListIsTablet]: !K && !j,
210
214
  [a.centeredList]: V === "column",
211
215
  [a.column]: V === "column",
212
216
  [a.twoElementsPerLine]: X === 2,
213
217
  [a.oneElementPerLine]: X === 1,
214
- [a.indexLayoutList]: Ee,
218
+ [a.indexLayoutList]: he,
215
219
  [a.listIsDesktop]: j,
216
- [a.listIsTablet]: ye && !j,
220
+ [a.listIsTablet]: Ne && !j,
217
221
  [a.listIsMobile]: K
218
222
  }),
219
- style: { gap: ge },
223
+ style: { gap: pe },
220
224
  children: [
221
- k.map(De),
222
- b ? Array(p).fill().map((e, s) => s).map(Je) : null
225
+ k.map(je),
226
+ b ? Array(p).fill().map((e, s) => s).map(Be) : null
223
227
  ]
224
228
  }
225
229
  ),
226
- !b && he !== !1 && /* @__PURE__ */ c(
227
- Xe,
230
+ !b && ve !== !1 && /* @__PURE__ */ c(
231
+ Ze,
228
232
  {
229
233
  buttonText: J.formatMessage({
230
234
  id: "action.see_more",
@@ -233,7 +237,7 @@ const dt = ({
233
237
  currentPage: E,
234
238
  perPage: p,
235
239
  totalElements: Y || O,
236
- onLoad: Fe,
240
+ onLoad: _e,
237
241
  isLoading: b,
238
242
  hideLoader: !0,
239
243
  "data-tid": "list_read_more"
@@ -243,5 +247,5 @@ const dt = ({
243
247
  ] });
244
248
  };
245
249
  export {
246
- dt as PaginatedList
250
+ ft as PaginatedList
247
251
  };
@@ -1,98 +1,103 @@
1
- import { jsx as i, Fragment as f, jsxs as m } from "react/jsx-runtime";
2
- import h from "classnames";
3
- import { useState as C } from "react";
4
- import { useIntl as M } from "react-intl";
5
- import { useLocation as j } from "react-router";
1
+ import { jsx as i, Fragment as h, jsxs as t } from "react/jsx-runtime";
2
+ import u from "classnames";
3
+ import { useState as j } from "react";
4
+ import { useIntl as H } from "react-intl";
5
+ import { useLocation as R } from "react-router";
6
6
  import l from "./ActionBar.module.scss.js";
7
- import { useResponsive as H } from "../../../hooks/use_responsive/useResponsive.js";
8
- import { SearchInput as R } from "../../../input/search_input/SearchInput.js";
9
- import { Select as T } from "../../../input/select/Select.js";
10
- import { Tag as _ } from "../../../tag/tag/Tag.js";
11
- import { Icon as z } from "../../../icons/icon/Icon.js";
12
- const X = ({
13
- title: n,
14
- sortOptions: s,
15
- defaultSelectOption: u,
16
- searchBar: a = !1,
17
- tagList: c,
18
- activeTagId: r,
19
- withUrlParams: d = !1,
20
- onSearch: p,
21
- onSortChange: v,
22
- onTagChange: S
7
+ import { useResponsive as T } from "../../../hooks/use_responsive/useResponsive.js";
8
+ import { SearchInput as _ } from "../../../input/search_input/SearchInput.js";
9
+ import { Select as z } from "../../../input/select/Select.js";
10
+ import { Tag as D } from "../../../tag/tag/Tag.js";
11
+ import { Icon as F } from "../../../icons/icon/Icon.js";
12
+ const Z = ({
13
+ title: c,
14
+ subtitle: f,
15
+ showSubtitle: p = !1,
16
+ sortOptions: a,
17
+ defaultSelectOption: v,
18
+ searchBar: n = !1,
19
+ tagList: r,
20
+ activeTagId: d,
21
+ withUrlParams: m = !1,
22
+ onSearch: S,
23
+ onSortChange: g,
24
+ onTagChange: I
23
25
  }) => {
24
- const g = M(), I = j(), { isMobile: D } = H(), [N, x] = C(!1), o = new URLSearchParams(
25
- typeof window < "u" ? window.location.search : I.search
26
- ), y = (e) => {
27
- if (d) {
28
- for (const t of o.keys())
29
- s.map((k) => {
30
- k.name === t && o.delete(t);
26
+ const N = H(), x = R(), { isMobile: L } = T(), [y, A] = j(!1), s = new URLSearchParams(
27
+ typeof window < "u" ? window.location.search : x.search
28
+ ), b = (e) => {
29
+ if (m) {
30
+ for (const o of s.keys())
31
+ a.map((M) => {
32
+ M.name === o && s.delete(o);
31
33
  });
32
- o.delete("sort"), o.set(
34
+ s.delete("sort"), s.set(
33
35
  e.type === "filter" ? e.name : "sort",
34
36
  e.value
35
37
  );
36
38
  }
37
- v(e);
38
- }, A = (e) => {
39
- d && (e.id === r ? o.delete("tagId") : o.set("tagId", e.id)), S(e.id === r ? null : e.id);
40
- }, b = (e) => {
41
- d && (e ? o.set("search", e) : o.delete("search")), p(e), x(e !== "");
39
+ g(e);
42
40
  }, w = (e) => {
43
- const t = r === e.id;
41
+ m && (e.id === d ? s.delete("tagId") : s.set("tagId", e.id)), I(e.id === d ? null : e.id);
42
+ }, k = (e) => {
43
+ m && (e ? s.set("search", e) : s.delete("search")), S(e), A(e !== "");
44
+ }, C = (e) => {
45
+ const o = d === e.id;
44
46
  return /* @__PURE__ */ i(
45
47
  "div",
46
48
  {
47
49
  className: l.tagItem,
48
- onClick: () => A(e),
50
+ onClick: () => w(e),
49
51
  children: /* @__PURE__ */ i(
50
- _,
52
+ D,
51
53
  {
52
54
  text: e.display_name,
53
- active: t,
54
- rightIcon: t && /* @__PURE__ */ i(z, { name: "close", height: 10, width: 10 })
55
+ active: o,
56
+ rightIcon: o && /* @__PURE__ */ i(F, { name: "close", height: 10, width: 10 })
55
57
  }
56
58
  )
57
59
  },
58
60
  e.id
59
61
  );
60
62
  };
61
- return /* @__PURE__ */ i(f, { children: (n || s || a) && /* @__PURE__ */ m(f, { children: [
62
- /* @__PURE__ */ m(
63
+ return /* @__PURE__ */ i(h, { children: (c || a || n) && /* @__PURE__ */ t(h, { children: [
64
+ /* @__PURE__ */ t(
63
65
  "div",
64
66
  {
65
- className: h(l.listHeader, {
66
- [l.listHeaderOneItem]: !a || !s
67
+ className: u(l.listHeader, {
68
+ [l.listHeaderOneItem]: !n || !a
67
69
  }),
68
70
  children: [
69
- n && /* @__PURE__ */ i("div", { className: l.listTitle, children: n }),
70
- (s || a) && /* @__PURE__ */ m(
71
+ /* @__PURE__ */ t("div", { children: [
72
+ c && /* @__PURE__ */ i("div", { className: l.listTitle, children: c }),
73
+ p && f && /* @__PURE__ */ i("div", { className: l.listSubtitle, children: f })
74
+ ] }),
75
+ (a || n) && /* @__PURE__ */ t(
71
76
  "div",
72
77
  {
73
- className: h(l.rightBar, {
74
- [l.rightBarOneItem]: !a || !s
78
+ className: u(l.rightBar, {
79
+ [l.rightBarOneItem]: !n || !a
75
80
  }),
76
81
  children: [
77
- a ? /* @__PURE__ */ i("div", { className: l.search, children: /* @__PURE__ */ i(
78
- R,
82
+ n ? /* @__PURE__ */ i("div", { className: l.search, children: /* @__PURE__ */ i(
83
+ _,
79
84
  {
80
- onSearchSubmit: b,
81
- placeholder: g.formatMessage({
85
+ onSearchSubmit: k,
86
+ placeholder: N.formatMessage({
82
87
  id: "info.search_mobile",
83
88
  defaultMessage: "Search"
84
89
  }),
85
90
  reducedByDefault: !1
86
91
  }
87
92
  ) }) : null,
88
- s ? /* @__PURE__ */ i(
89
- T,
93
+ a ? /* @__PURE__ */ i(
94
+ z,
90
95
  {
91
- onChange: y,
92
- options: s,
93
- defaultOption: u,
96
+ onChange: b,
97
+ options: a,
98
+ defaultOption: v,
94
99
  horizontalPosition: "right",
95
- disabled: N,
100
+ disabled: y,
96
101
  className: l.select
97
102
  }
98
103
  ) : null
@@ -102,9 +107,9 @@ const X = ({
102
107
  ]
103
108
  }
104
109
  ),
105
- c && c.length > 0 && /* @__PURE__ */ i("div", { className: l.tagList, children: c.map(w) })
110
+ r && r.length > 0 && /* @__PURE__ */ i("div", { className: l.tagList, children: r.map(C) })
106
111
  ] }) });
107
112
  };
108
113
  export {
109
- X as ActionBar
114
+ Z as ActionBar
110
115
  };
@@ -1,23 +1,25 @@
1
- import '../../../../assets/components/list/paginated_list/action_bar/ActionBar.module-pxwFC_Y2.css';const t = "_listHeader_fbaxc_3", e = "_listHeaderOneItem_fbaxc_16", a = "_listTitle_fbaxc_23", s = "_rightBar_fbaxc_30", _ = "_rightBarOneItem_fbaxc_40", c = "_search_fbaxc_51", r = "_tagList_fbaxc_61", i = "_tagItem_fbaxc_76", l = "_select_fbaxc_83", n = {
1
+ import '../../../../assets/components/list/paginated_list/action_bar/ActionBar.module-VuCq918p.css';const t = "_listHeader_7x11f_3", e = "_listHeaderOneItem_7x11f_16", s = "_listTitle_7x11f_23", _ = "_listSubtitle_7x11f_30", i = "_rightBar_7x11f_36", a = "_rightBarOneItem_7x11f_46", l = "_search_7x11f_57", r = "_tagList_7x11f_67", c = "_tagItem_7x11f_82", n = "_select_7x11f_89", g = {
2
2
  listHeader: t,
3
3
  listHeaderOneItem: e,
4
- listTitle: a,
5
- rightBar: s,
6
- rightBarOneItem: _,
7
- search: c,
4
+ listTitle: s,
5
+ listSubtitle: _,
6
+ rightBar: i,
7
+ rightBarOneItem: a,
8
+ search: l,
8
9
  tagList: r,
9
- tagItem: i,
10
- select: l
10
+ tagItem: c,
11
+ select: n
11
12
  };
12
13
  export {
13
- n as default,
14
+ g as default,
14
15
  t as listHeader,
15
16
  e as listHeaderOneItem,
16
- a as listTitle,
17
- s as rightBar,
18
- _ as rightBarOneItem,
19
- c as search,
20
- l as select,
21
- i as tagItem,
17
+ _ as listSubtitle,
18
+ s as listTitle,
19
+ i as rightBar,
20
+ a as rightBarOneItem,
21
+ l as search,
22
+ n as select,
23
+ c as tagItem,
22
24
  r as tagList
23
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.3.81",
3
+ "version": "0.3.82",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",
@@ -1 +0,0 @@
1
- ._listHeader_fbaxc_3{display:flex;justify-content:space-between;align-items:center;position:relative;flex-wrap:wrap;gap:var(--space-unit, 1em)}@container (max-width: 575.98px){._listHeader_fbaxc_3{flex-direction:column;align-items:flex-start}._listHeader_fbaxc_3._listHeaderOneItem_fbaxc_16{flex-direction:row;align-items:center;flex-wrap:nowrap!important}}._listTitle_fbaxc_23{font-size:var(--font-size-extra-large, 22px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-family:var(--title-font-family, var(--font-family, "Montserrat"))}._rightBar_fbaxc_30{display:flex;gap:var(--space-unit, 1em);flex-wrap:wrap}@container (max-width: 575.98px){._rightBar_fbaxc_30{width:100%;justify-content:space-between}._rightBar_fbaxc_30._rightBarOneItem_fbaxc_40{justify-content:flex-end}}._rightBar_fbaxc_30{flex:1 1 auto;justify-content:flex-end;align-items:center;flex-direction:row}._search_fbaxc_51{flex:1;max-width:35%}@container (max-width: 575.98px){._search_fbaxc_51{max-width:80%}}._tagList_fbaxc_61{display:flex;flex-direction:row;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75));padding-bottom:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}@container (max-width: 575.98px){._tagList_fbaxc_61{gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}}._tagItem_fbaxc_76{display:flex!important;color:var(--text-secondary, #5F5F5F);cursor:pointer;white-space:nowrap}._select_fbaxc_83{max-width:300px}@container (max-width: 575.98px){._select_fbaxc_83{max-width:300px}}