@logora/debate 0.3.34 → 0.3.35
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/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +1 -0
- package/dist/components/source/context_source_list/ContextSourceList.js +8 -7
- package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +14 -12
- package/package.json +1 -1
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +0 -1
package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._sectionBox_15pa0_3{padding:1em}._title_15pa0_7{font-size:var(--font-size-large, 20px);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"))}._content_15pa0_14{display:grid;gap:var(--space-unit, 1em)}._content_15pa0_14._contentMobile_15pa0_18{grid-template-columns:repeat(1,1fr)}._content_15pa0_14._contentTablet_15pa0_21{grid-template-columns:repeat(2,1fr)}._content_15pa0_14._contentDesktop_15pa0_24{grid-template-columns:repeat(3,1fr)}._listItem_15pa0_28{text-decoration:none!important;color:inherit!important;border:var(--box-border, 1px solid rgba(7, 42, 68, .1))!important;border-radius:var(--box-border-radius, 6px)!important;padding:var(--space-unit, 1em)!important}._listItem_15pa0_28:hover{border:1px solid var(--text-primary, #222222)!important}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import "react";
|
|
4
|
-
import { useIntl as
|
|
4
|
+
import { useIntl as c } from "react-intl";
|
|
5
5
|
import e from "./ContextSourceList.module.scss.js";
|
|
6
|
-
import { useResponsive as
|
|
6
|
+
import { useResponsive as p } from "../../hooks/use_responsive/useResponsive.js";
|
|
7
7
|
import { SectionBox as u } from "../../section/section_box/SectionBox.js";
|
|
8
8
|
import { Link as d } from "../../action/link/Link.js";
|
|
9
9
|
import { ContextSourceBox as f } from "../context_source_box/ContextSourceBox.js";
|
|
10
|
-
const
|
|
11
|
-
const r =
|
|
10
|
+
const M = ({ sources: i = [] }) => {
|
|
11
|
+
const r = c(), { isMobile: s, isTablet: l, isDesktop: n } = p(), a = (t) => /* @__PURE__ */ o(
|
|
12
12
|
d,
|
|
13
13
|
{
|
|
14
14
|
className: e.listItem,
|
|
@@ -30,6 +30,7 @@ const S = ({ sources: i = [] }) => {
|
|
|
30
30
|
return /* @__PURE__ */ o(
|
|
31
31
|
u,
|
|
32
32
|
{
|
|
33
|
+
className: e.sectionBox,
|
|
33
34
|
isCollapsible: !0,
|
|
34
35
|
isCollapsedByDefault: !1,
|
|
35
36
|
title: r.formatMessage({
|
|
@@ -41,8 +42,8 @@ const S = ({ sources: i = [] }) => {
|
|
|
41
42
|
{
|
|
42
43
|
className: m(e.content, {
|
|
43
44
|
[e.contentDesktop]: n,
|
|
44
|
-
[e.contentTablet]:
|
|
45
|
-
[e.contentMobile]:
|
|
45
|
+
[e.contentTablet]: l,
|
|
46
|
+
[e.contentMobile]: s
|
|
46
47
|
}),
|
|
47
48
|
children: i.map(a)
|
|
48
49
|
}
|
|
@@ -51,5 +52,5 @@ const S = ({ sources: i = [] }) => {
|
|
|
51
52
|
);
|
|
52
53
|
};
|
|
53
54
|
export {
|
|
54
|
-
|
|
55
|
+
M as ContextSourceList
|
|
55
56
|
};
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import '../../../assets/components/source/context_source_list/ContextSourceList.module-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import '../../../assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css';const t = "_sectionBox_15pa0_3", n = "_content_15pa0_14", o = "_contentMobile_15pa0_18", e = "_contentTablet_15pa0_21", c = "_contentDesktop_15pa0_24", s = "_listItem_15pa0_28", _ = {
|
|
2
|
+
sectionBox: t,
|
|
3
|
+
content: n,
|
|
4
|
+
contentMobile: o,
|
|
5
|
+
contentTablet: e,
|
|
6
|
+
contentDesktop: c,
|
|
7
|
+
listItem: s
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
n as content,
|
|
11
|
+
c as contentDesktop,
|
|
12
|
+
o as contentMobile,
|
|
13
|
+
e as contentTablet,
|
|
14
|
+
_ as default,
|
|
15
|
+
s as listItem,
|
|
16
|
+
t as sectionBox
|
|
15
17
|
};
|
package/package.json
CHANGED
package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._title_19ocx_3{font-size:var(--font-size-large, 20px);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"))}._content_19ocx_10{display:grid;gap:var(--space-unit, 1em)}._content_19ocx_10._contentMobile_19ocx_14{grid-template-columns:repeat(1,1fr)}._content_19ocx_10._contentTablet_19ocx_17{grid-template-columns:repeat(2,1fr)}._content_19ocx_10._contentDesktop_19ocx_20{grid-template-columns:repeat(3,1fr)}._listItem_19ocx_24{text-decoration:none!important;color:inherit!important;border:var(--box-border, 1px solid rgba(7, 42, 68, .1))!important;border-radius:var(--box-border-radius, 6px)!important;padding:var(--space-unit, 1em)!important}._listItem_19ocx_24:hover{border:1px solid var(--text-primary, #222222)!important}
|