@logora/debate 0.4.96 → 0.4.98

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
+ ._headerBox_czmub_3{display:flex!important;flex-direction:column!important;padding:0!important}._headerBoxLabel_czmub_9{display:flex!important;justify-content:flex-start!important}._headerBoxLabel_czmub_9>._titleRedirectUrl_czmub_13{background:var(--background-color-primary, white)!important}._headerBoxLabel_czmub_9>._titleRedirectUrl_czmub_13:hover{background:var(--background-color-primary, white)!important}._headerBoxLabel_czmub_9 a{text-decoration:none!important}._headerLiveStat_czmub_24{margin-left:auto!important;margin-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;color:var(--call-primary-color, #434343);font-size:var(--font-size-small, 16px);margin-left:30px}._headerLiveStat_czmub_24 span{margin-left:10px;margin-bottom:0!important}@media(prefers-color-scheme:dark){.logoraDarkMode ._headerLiveStat_czmub_24{color:#fff!important}.logoraDarkMode ._headerLiveNow_czmub_43{background-color:#fff!important}.logoraDarkMode ._headerLiveNow_czmub_43:before{background-color:#fff!important}}._headerLiveNow_czmub_43{min-width:8px;width:8px;height:8px;border-radius:50%;background-color:var(--call-primary-color, #434343);position:relative}._headerLiveNow_czmub_43:before{content:"";position:absolute;width:100%;height:100%;border-radius:50%;background-color:var(--call-primary-color, #434343);opacity:.4;animation-name:_livePin_czmub_1;animation-duration:1.6s;animation-iteration-count:infinite}@container (min-width: 576px){._headerLivePin_czmub_72{display:block!important}}._headerLivePin_czmub_72{display:none!important}@container (min-width: 576px){._headerLivePinMobile_czmub_81{display:none!important}}._headerLivePinMobile_czmub_81{display:block!important}@keyframes _livePin_czmub_1{0%{transform:scale(2.3)}50%{transform:scale(0)}to{transform:scale(2.3)}}._headerLabelText_czmub_100{background-color:var(--call-primary-color, #434343);color:var(--text-light, white);border-bottom:1px solid;border-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px) 0 var(--box-border-radius, 6px) 0;font-size:var(--font-size-normal, 16px);flex-wrap:nowrap;white-space:nowrap;padding-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._debateName_czmub_115{color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700);font-variation-settings:var(--font-variation-bold, normal);text-align:center;width:100%;display:flex!important;align-items:center!important;justify-content:center!important;padding-bottom:0!important;padding-top:var(--space-unit, 1em)!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important}@container (min-width: 576px){._debateName_czmub_115{padding-right:0!important}}@container (min-width: 576px){._debateName_czmub_115{padding-left:0!important}}._debateName_czmub_115 a._debateLink_czmub_139{color:var(--text-primary, #222222)!important}._debateLink_czmub_139{font-size:var(--font-size-large, 20px);line-height:var(--line-height-normal, 1.26em);background:var(--background-color-primary, white)!important;text-decoration:none!important;color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700);font-variation-settings:var(--font-variation-bold, normal)}._debateLink_czmub_139:hover{background:var(--background-color-primary, white)!important;text-decoration:underline!important}._left_czmub_157{justify-content:flex-start!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;padding-top:var(--space-unit, 1em)!important;padding-bottom:0!important;text-align:left}._headerLogo_czmub_166{width:100px!important;height:40px!important;object-fit:contain;object-position:left}._debateNameWithLogo_czmub_173{padding-right:0!important;padding-left:0!important}
@@ -1,44 +1,42 @@
1
- import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
- import o from "classnames";
1
+ import { jsxs as i, jsx as a } from "react/jsx-runtime";
2
+ import r from "classnames";
3
3
  import "react";
4
- import { FormattedMessage as r } from "react-intl";
4
+ import { FormattedMessage as n } from "react-intl";
5
5
  import e from "./EmbedHeader.module.scss.js";
6
- import { Link as m } from "../../action/link/Link.js";
7
- const g = ({
8
- title: c,
9
- titleRedirectUrl: n,
10
- headerLabel: t,
11
- headerExtra: d,
12
- onlineUsersCount: i,
13
- textLeft: h,
14
- className: u,
15
- logoUrl: s,
6
+ import { Link as o } from "../../action/link/Link.js";
7
+ const x = ({
8
+ title: m,
9
+ titleRedirectUrl: s,
10
+ headerLabel: l,
11
+ onlineUsersCount: t,
12
+ textLeft: c,
13
+ className: h,
14
+ logoUrl: d,
16
15
  logoAlt: b
17
- }) => /* @__PURE__ */ l("div", { className: o(e.headerBox, u), children: [
18
- (t || d) && /* @__PURE__ */ l("div", { className: e.headerBoxLabel, children: [
19
- t && /* @__PURE__ */ a(
20
- m,
16
+ }) => /* @__PURE__ */ i("div", { className: r(e.headerBox, h), children: [
17
+ l && /* @__PURE__ */ i("div", { className: e.headerBoxLabel, children: [
18
+ /* @__PURE__ */ a(
19
+ o,
21
20
  {
22
- to: n,
21
+ to: s,
23
22
  target: "_top",
24
23
  external: !0,
25
24
  "data-tid": "link_debate_index_embed",
26
25
  rel: "nofollow",
27
- children: s ? /* @__PURE__ */ a(
26
+ children: d ? /* @__PURE__ */ a(
28
27
  "img",
29
28
  {
30
29
  loading: "lazy",
31
30
  className: e.headerLogo,
32
- src: s,
31
+ src: d,
33
32
  width: 100,
34
33
  height: 40,
35
34
  alt: b
36
35
  }
37
- ) : /* @__PURE__ */ a("div", { className: e.headerLabelText, children: t })
36
+ ) : /* @__PURE__ */ a("div", { className: e.headerLabelText, children: l })
38
37
  }
39
38
  ),
40
- d && /* @__PURE__ */ a("div", { className: e.headerLabelText, children: d }),
41
- t && i ? /* @__PURE__ */ l("div", { className: e.headerLiveStat, children: [
39
+ t ? /* @__PURE__ */ i("div", { className: e.headerLiveStat, children: [
42
40
  /* @__PURE__ */ a("div", { className: e.headerLiveNow }),
43
41
  /* @__PURE__ */ a(
44
42
  "span",
@@ -46,10 +44,10 @@ const g = ({
46
44
  className: e.headerLivePin,
47
45
  "data-testid": "online-users-count",
48
46
  children: /* @__PURE__ */ a(
49
- r,
47
+ n,
50
48
  {
51
49
  id: "embed.embed_header.online_users",
52
- values: { count: i },
50
+ values: { count: t },
53
51
  defaultMessage: "{count} online users"
54
52
  }
55
53
  )
@@ -61,10 +59,10 @@ const g = ({
61
59
  className: e.headerLivePinMobile,
62
60
  "data-testid": "online-users-count-mobile",
63
61
  children: /* @__PURE__ */ a(
64
- r,
62
+ n,
65
63
  {
66
64
  id: "embed.embed_header.online",
67
- values: { count: i },
65
+ values: { count: t },
68
66
  defaultMessage: "{count} online"
69
67
  }
70
68
  )
@@ -75,26 +73,26 @@ const g = ({
75
73
  /* @__PURE__ */ a(
76
74
  "div",
77
75
  {
78
- className: o(e.debateName, {
79
- [e.left]: h,
80
- [e.debateNameWithLogo]: s
76
+ className: r(e.debateName, {
77
+ [e.left]: c,
78
+ [e.debateNameWithLogo]: d
81
79
  }),
82
80
  "data-testid": "debate-name",
83
81
  children: /* @__PURE__ */ a(
84
- m,
82
+ o,
85
83
  {
86
84
  className: e.debateLink,
87
- to: n,
85
+ to: s,
88
86
  target: "_top",
89
87
  external: !0,
90
88
  "data-tid": "link_debate_title_embed",
91
89
  rel: "nofollow",
92
- children: c
90
+ children: m
93
91
  }
94
92
  )
95
93
  }
96
94
  )
97
95
  ] });
98
96
  export {
99
- g as EmbedHeader
97
+ x as EmbedHeader
100
98
  };
@@ -1,29 +1,29 @@
1
- import '../../../assets/components/embed/embed_header/EmbedHeader.module-DhNVlLiN.css';const e = "_headerBox_lnsym_3", a = "_headerBoxLabel_lnsym_9", t = "_headerLiveStat_lnsym_30", o = "_headerLiveNow_lnsym_49", _ = "_headerLivePin_lnsym_78", d = "_headerLivePinMobile_lnsym_87", n = "_headerLabelText_lnsym_106", s = "_debateName_lnsym_121", h = "_debateLink_lnsym_145", i = "_left_lnsym_163", L = "_headerLogo_lnsym_172", l = "_debateNameWithLogo_lnsym_179", r = {
1
+ import '../../../assets/components/embed/embed_header/EmbedHeader.module-C8RPiVBp.css';const e = "_headerBox_czmub_3", a = "_headerBoxLabel_czmub_9", t = "_headerLiveStat_czmub_24", o = "_headerLiveNow_czmub_43", _ = "_headerLivePin_czmub_72", d = "_headerLivePinMobile_czmub_81", b = "_headerLabelText_czmub_100", h = "_debateName_czmub_115", i = "_debateLink_czmub_139", L = "_left_czmub_157", c = "_headerLogo_czmub_166", r = "_debateNameWithLogo_czmub_173", n = {
2
2
  headerBox: e,
3
3
  headerBoxLabel: a,
4
4
  headerLiveStat: t,
5
5
  headerLiveNow: o,
6
6
  headerLivePin: _,
7
7
  headerLivePinMobile: d,
8
- headerLabelText: n,
9
- debateName: s,
10
- debateLink: h,
11
- left: i,
12
- headerLogo: L,
13
- debateNameWithLogo: l
8
+ headerLabelText: b,
9
+ debateName: h,
10
+ debateLink: i,
11
+ left: L,
12
+ headerLogo: c,
13
+ debateNameWithLogo: r
14
14
  };
15
15
  export {
16
- h as debateLink,
17
- s as debateName,
18
- l as debateNameWithLogo,
19
- r as default,
16
+ i as debateLink,
17
+ h as debateName,
18
+ r as debateNameWithLogo,
19
+ n as default,
20
20
  e as headerBox,
21
21
  a as headerBoxLabel,
22
- n as headerLabelText,
22
+ b as headerLabelText,
23
23
  o as headerLiveNow,
24
24
  _ as headerLivePin,
25
25
  d as headerLivePinMobile,
26
26
  t as headerLiveStat,
27
- L as headerLogo,
28
- i as left
27
+ c as headerLogo,
28
+ L as left
29
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.4.96",
3
+ "version": "0.4.98",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",
@@ -1 +0,0 @@
1
- ._headerBox_lnsym_3{display:flex!important;flex-direction:column!important;padding:0!important}._headerBoxLabel_lnsym_9{display:flex!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:wrap!important;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._headerBoxLabel_lnsym_9>a:empty{display:none!important}._headerBoxLabel_lnsym_9>._titleRedirectUrl_lnsym_19{background:var(--background-color-primary, white)!important}._headerBoxLabel_lnsym_9>._titleRedirectUrl_lnsym_19:hover{background:var(--background-color-primary, white)!important}._headerBoxLabel_lnsym_9 a{text-decoration:none!important}._headerLiveStat_lnsym_30{margin-left:auto!important;margin-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;color:var(--call-primary-color, #434343);font-size:var(--font-size-small, 16px);margin-left:30px}._headerLiveStat_lnsym_30 span{margin-left:10px;margin-bottom:0!important}@media(prefers-color-scheme:dark){.logoraDarkMode ._headerLiveStat_lnsym_30{color:#fff!important}.logoraDarkMode ._headerLiveNow_lnsym_49{background-color:#fff!important}.logoraDarkMode ._headerLiveNow_lnsym_49:before{background-color:#fff!important}}._headerLiveNow_lnsym_49{min-width:8px;width:8px;height:8px;border-radius:50%;background-color:var(--call-primary-color, #434343);position:relative}._headerLiveNow_lnsym_49:before{content:"";position:absolute;width:100%;height:100%;border-radius:50%;background-color:var(--call-primary-color, #434343);opacity:.4;animation-name:_livePin_lnsym_1;animation-duration:1.6s;animation-iteration-count:infinite}@container (min-width: 576px){._headerLivePin_lnsym_78{display:block!important}}._headerLivePin_lnsym_78{display:none!important}@container (min-width: 576px){._headerLivePinMobile_lnsym_87{display:none!important}}._headerLivePinMobile_lnsym_87{display:block!important}@keyframes _livePin_lnsym_1{0%{transform:scale(2.3)}50%{transform:scale(0)}to{transform:scale(2.3)}}._headerLabelText_lnsym_106{background-color:var(--call-primary-color, #434343);color:var(--text-light, white);border-bottom:1px solid;border-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px) 0 var(--box-border-radius, 6px) 0;font-size:var(--font-size-normal, 16px);flex-wrap:nowrap;white-space:nowrap;padding-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._debateName_lnsym_121{color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700);font-variation-settings:var(--font-variation-bold, normal);text-align:center;width:100%;display:flex!important;align-items:center!important;justify-content:center!important;padding-bottom:0!important;padding-top:var(--space-unit, 1em)!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important}@container (min-width: 576px){._debateName_lnsym_121{padding-right:0!important}}@container (min-width: 576px){._debateName_lnsym_121{padding-left:0!important}}._debateName_lnsym_121 a._debateLink_lnsym_145{color:var(--text-primary, #222222)!important}._debateLink_lnsym_145{font-size:var(--font-size-large, 20px);line-height:var(--line-height-normal, 1.26em);background:var(--background-color-primary, white)!important;text-decoration:none!important;color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700);font-variation-settings:var(--font-variation-bold, normal)}._debateLink_lnsym_145:hover{background:var(--background-color-primary, white)!important;text-decoration:underline!important}._left_lnsym_163{justify-content:flex-start!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;padding-top:var(--space-unit, 1em)!important;padding-bottom:0!important;text-align:left}._headerLogo_lnsym_172{width:100px!important;height:40px!important;object-fit:contain;object-position:left}._debateNameWithLogo_lnsym_179{padding-right:0!important;padding-left:0!important}