@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.
@@ -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 p } from "react-intl";
4
+ import { useIntl as c } from "react-intl";
5
5
  import e from "./ContextSourceList.module.scss.js";
6
- import { useResponsive as c } from "../../hooks/use_responsive/useResponsive.js";
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 S = ({ sources: i = [] }) => {
11
- const r = p(), { isMobile: l, isTablet: s, isDesktop: n } = c(), a = (t) => /* @__PURE__ */ o(
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]: s,
45
- [e.contentMobile]: l
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
- S as ContextSourceList
55
+ M as ContextSourceList
55
56
  };
@@ -1,15 +1,17 @@
1
- import '../../../assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css';const t = "_content_19ocx_10", n = "_contentMobile_19ocx_14", o = "_contentTablet_19ocx_17", e = "_contentDesktop_19ocx_20", c = "_listItem_19ocx_24", s = {
2
- content: t,
3
- contentMobile: n,
4
- contentTablet: o,
5
- contentDesktop: e,
6
- listItem: c
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
- t as content,
10
- e as contentDesktop,
11
- n as contentMobile,
12
- o as contentTablet,
13
- s as default,
14
- c as listItem
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.3.34",
3
+ "version": "0.3.35",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",
@@ -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}