@ndla/ui 56.0.15-alpha.0 → 56.0.16-alpha.0

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.
@@ -2,19 +2,13 @@
2
2
  "schemaVersion": "0.44.0",
3
3
  "styles": {
4
4
  "atomic": [
5
- "paddingInline]___[value:8%",
6
- "width]___[value:100%",
7
- "paddingBlockStart]___[value:xsmall",
8
- "paddingBlockStart]___[value:medium]___[cond:tablet",
9
- "paddingBlockStart]___[value:xxlarge]___[cond:desktop",
10
- "paddingBlockEnd]___[value:xsmall",
11
- "paddingBlockEnd]___[value:medium]___[cond:tablet",
12
- "paddingBlockEnd]___[value:xxlarge]___[cond:desktop",
13
- "background]___[value:surface.default",
5
+ "background]___[value:background.default",
14
6
  "display]___[value:flex",
15
7
  "flexDirection]___[value:column",
8
+ "gap]___[value:xxlarge",
16
9
  "color]___[value:text.default",
17
10
  "alignItems]___[value:center",
11
+ "width]___[value:100%",
18
12
  "overflowWrap]___[value:break-word",
19
13
  "position]___[value:relative",
20
14
  "transform]___[value:scaleY(100) translateY(0.075em)]___[cond:& mjx-stretchy-v > mjx-ext > mjx-c",
@@ -22,16 +16,12 @@
22
16
  "display]___[value:table]___[cond:_after",
23
17
  "clear]___[value:both]___[cond:_after",
24
18
  "alignItems]___[value:flex-start",
25
- "gap]___[value:xsmall",
26
19
  "overflowWrap]___[value:anywhere]___[cond:& h1",
27
- "position]___[value:absolute",
28
- "right]___[value:8%",
29
- "top]___[value:xsmall",
30
- "top]___[value:medium]___[cond:tablet",
31
- "top]___[value:xxlarge]___[cond:desktop",
32
20
  "gap]___[value:medium",
33
- "gap]___[value:xxlarge",
21
+ "paddingBlockStart]___[value:xxlarge",
22
+ "paddingBlockEnd]___[value:5xlarge]___[cond:& > :is(:last-child)",
34
23
  "marginBlockStart]___[value:medium",
24
+ "paddingBlockStart]___[value:xsmall",
35
25
  "borderTop]___[value:1px solid",
36
26
  "borderColor]___[value:stroke.subtle",
37
27
  "flexDirection]___[value:column-reverse",
@@ -40,7 +30,7 @@
40
30
  "paddingBlock]___[value:xsmall",
41
31
  "textStyle]___[value:body.medium",
42
32
  "flexDirection]___[value:row]___[cond:tabletWide",
43
- "paddingBlockStart]___[value:xxlarge",
33
+ "gap]___[value:xsmall",
44
34
  "listStyle]___[value:none",
45
35
  "textAlign]___[value:center]___[cond:&[data-align=\"center\"]",
46
36
  "direction]___[value:rtl]___[cond:&:has(span[dir=\"rtl\"])",
@@ -77,7 +67,6 @@
77
67
  "alignSelf]___[value:flex-start",
78
68
  "borderBottomRadius]___[value:xsmall",
79
69
  "justifyContent]___[value:center",
80
- "background]___[value:background.default",
81
70
  "paddingInline]___[value:medium",
82
71
  "display]___[value:grid]___[cond:tabletWideDown",
83
72
  "paddingBlock]___[value:xsmall]___[cond:tabletWideDown",
@@ -133,9 +122,16 @@
133
122
  "textDecoration]___[value:none]___[cond:_hover",
134
123
  "textDecoration]___[value:none]___[cond:_focusVisible",
135
124
  "display]___[value:none]___[cond:tabletDown",
125
+ "fontWeight]___[value:bold",
136
126
  "alignSelf]___[value:center",
137
127
  "height]___[value:215px",
138
- "height]___[value:340px]___[cond:desktop",
128
+ "height]___[value:340px]___[cond:mobileWide",
129
+ "width]___[value:auto]___[cond:tabletWide",
130
+ "display]___[value:block]___[cond:tabletWide",
131
+ "overflow]___[value:hidden]___[cond:tabletWide",
132
+ "position]___[value:relative]___[cond:tabletWide",
133
+ "lineClamp]___[value:4]___[cond:tabletWide",
134
+ "boxOrient]___[value:vertical]___[cond:tabletWide",
139
135
  "borderLeft]___[value:4px solid",
140
136
  "borderLeftColor]___[value:stroke.default",
141
137
  "boxSizing]___[value:border-box",
@@ -173,6 +169,7 @@
173
169
  "display]___[value:inline]___[cond:& p",
174
170
  "minWidth]___[value:surface.xxsmall",
175
171
  "padding]___[value:medium",
172
+ "background]___[value:surface.default",
176
173
  "alignItems]___[value:unset]___[cond:tablet",
177
174
  "flexDirection]___[value:row]___[cond:tablet",
178
175
  "zIndex]___[value:base",
@@ -226,6 +223,7 @@
226
223
  "backgroundColor]___[value:var(--background-color)",
227
224
  "opacity]___[value:1]___[cond:_hover<___>& [data-copy-button]",
228
225
  "cursor]___[value:pointer]___[cond:_hover<___>& [data-copy-button]",
226
+ "position]___[value:absolute",
229
227
  "left]___[value:-xxlarge",
230
228
  "top]___[value:-4xsmall",
231
229
  "opacity]___[value:0",
@@ -234,7 +232,6 @@
234
232
  "marginInlineStart]___[value:xsmall",
235
233
  "height]___[value:auto",
236
234
  "textStyle]___[value:label.large",
237
- "fontWeight]___[value:bold",
238
235
  "marginBlockStart]___[value:xsmall]___[cond:& > *:not(:where(:first-child))",
239
236
  "width]___[value:surface.xlarge",
240
237
  "display]___[value:block]___[cond:& li",
@@ -266,6 +263,7 @@
266
263
  "transitionTimingFunction]___[value:ease-out]___[cond:& svg",
267
264
  "fill]___[value:primary]___[cond:& svg",
268
265
  "padding]___[value:0",
266
+ "top]___[value:xsmall",
269
267
  "right]___[value:xsmall",
270
268
  "width]___[value:medium",
271
269
  "height]___[value:medium",
package/dist/styles.css CHANGED
@@ -85,34 +85,26 @@
85
85
  }
86
86
  }
87
87
 
88
- .px_8\% {
89
- padding-inline: 8%;
90
- }
91
-
92
- .w_100\% {
93
- width: 100%;
94
- }
95
-
96
- .pbs_xsmall {
97
- padding-block-start: var(--spacing-xsmall);
98
- }
99
-
100
- .pbe_xsmall {
101
- padding-block-end: var(--spacing-xsmall);
102
- }
103
-
104
- .bg_surface\.default {
105
- background: var(--colors-surface-default);
88
+ .bg_background\.default {
89
+ background: var(--colors-background-default);
106
90
  }
107
91
 
108
92
  .d_flex {
109
93
  display: flex;
110
94
  }
111
95
 
96
+ .gap_xxlarge {
97
+ gap: var(--spacing-xxlarge);
98
+ }
99
+
112
100
  .c_text\.default {
113
101
  color: var(--colors-text-default);
114
102
  }
115
103
 
104
+ .w_100\% {
105
+ width: 100%;
106
+ }
107
+
116
108
  .ov-wrap_break-word {
117
109
  overflow-wrap: break-word;
118
110
  }
@@ -121,26 +113,22 @@
121
113
  position: relative;
122
114
  }
123
115
 
124
- .gap_xsmall {
125
- gap: var(--spacing-xsmall);
126
- }
127
-
128
- .pos_absolute {
129
- position: absolute;
130
- }
131
-
132
116
  .gap_medium {
133
117
  gap: var(--spacing-medium);
134
118
  }
135
119
 
136
- .gap_xxlarge {
137
- gap: var(--spacing-xxlarge);
120
+ .pbs_xxlarge {
121
+ padding-block-start: var(--spacing-xxlarge);
138
122
  }
139
123
 
140
124
  .mbs_medium {
141
125
  margin-block-start: var(--spacing-medium);
142
126
  }
143
127
 
128
+ .pbs_xsmall {
129
+ padding-block-start: var(--spacing-xsmall);
130
+ }
131
+
144
132
  .bd-t_1px_solid {
145
133
  border-top: 1px solid;
146
134
  }
@@ -153,8 +141,8 @@
153
141
  padding-block: var(--spacing-xsmall);
154
142
  }
155
143
 
156
- .pbs_xxlarge {
157
- padding-block-start: var(--spacing-xxlarge);
144
+ .gap_xsmall {
145
+ gap: var(--spacing-xsmall);
158
146
  }
159
147
 
160
148
  .li-s_none {
@@ -218,10 +206,6 @@
218
206
  border-bottom-right-radius: var(--radii-xsmall);
219
207
  }
220
208
 
221
- .bg_background\.default {
222
- background: var(--colors-background-default);
223
- }
224
-
225
209
  .px_medium {
226
210
  padding-inline: var(--spacing-medium);
227
211
  }
@@ -374,6 +358,10 @@
374
358
  padding: var(--spacing-medium);
375
359
  }
376
360
 
361
+ .bg_surface\.default {
362
+ background: var(--colors-surface-default);
363
+ }
364
+
377
365
  .z_base {
378
366
  z-index: var(--z-index-base);
379
367
  }
@@ -426,6 +414,10 @@
426
414
  border: 2px solid;
427
415
  }
428
416
 
417
+ .pos_absolute {
418
+ position: absolute;
419
+ }
420
+
429
421
  .op_0 {
430
422
  opacity: 0;
431
423
  }
@@ -635,14 +627,6 @@
635
627
  align-items: flex-start;
636
628
  }
637
629
 
638
- .right_8\% {
639
- right: 8%;
640
- }
641
-
642
- .top_xsmall {
643
- top: var(--spacing-xsmall);
644
- }
645
-
646
630
  .bd-c_stroke\.subtle {
647
631
  border-color: var(--colors-stroke-subtle);
648
632
  }
@@ -694,6 +678,10 @@
694
678
  align-items: flex-end;
695
679
  }
696
680
 
681
+ .fw_bold {
682
+ font-weight: var(--font-weights-bold);
683
+ }
684
+
697
685
  .as_center {
698
686
  align-self: center;
699
687
  }
@@ -734,10 +722,6 @@
734
722
  top: calc(var(--spacing-4xsmall) * -1);
735
723
  }
736
724
 
737
- .fw_bold {
738
- font-weight: var(--font-weights-bold);
739
- }
740
-
741
725
  .bg-c_surface\.disabled {
742
726
  background-color: var(--colors-surface-disabled);
743
727
  }
@@ -773,6 +757,10 @@
773
757
  transition-timing-function: ease-out;
774
758
  }
775
759
 
760
+ .top_xsmall {
761
+ top: var(--spacing-xsmall);
762
+ }
763
+
776
764
  .right_xsmall {
777
765
  right: var(--spacing-xsmall);
778
766
  }
@@ -908,6 +896,10 @@
908
896
  overflow-wrap: anywhere;
909
897
  }
910
898
 
899
+ .\[\&_\>_\:is\(\:last-child\)\]\:pbe_5xlarge > :is(:last-child) {
900
+ padding-block-end: var(--spacing-5xlarge);
901
+ }
902
+
911
903
  .\[\&\[data-align\=\"center\"\]\]\:ta_center[data-align="center"] {
912
904
  text-align: center;
913
905
  }
@@ -1456,6 +1448,9 @@
1456
1448
  }
1457
1449
 
1458
1450
  @media screen and (min-width: 29.75rem) {
1451
+ .mobileWide\:h_340px {
1452
+ height: 340px;
1453
+ }
1459
1454
  .mobileWide\:d_none {
1460
1455
  display: none;
1461
1456
  }
@@ -1468,12 +1463,6 @@
1468
1463
  }
1469
1464
 
1470
1465
  @media screen and (min-width: 37.5625rem) {
1471
- .tablet\:pbs_medium {
1472
- padding-block-start: var(--spacing-medium);
1473
- }
1474
- .tablet\:pbe_medium {
1475
- padding-block-end: var(--spacing-medium);
1476
- }
1477
1466
  .tablet\:px_medium {
1478
1467
  padding-inline: var(--spacing-medium);
1479
1468
  }
@@ -1488,9 +1477,6 @@
1488
1477
  }
1489
1478
  .tablet\:w_83\.333\% {
1490
1479
  width: 83.333%;
1491
- }
1492
- .tablet\:top_medium {
1493
- top: var(--spacing-medium);
1494
1480
  }
1495
1481
  .tablet\:ai_unset {
1496
1482
  align-items: unset;
@@ -1557,6 +1543,27 @@
1557
1543
  }
1558
1544
  .tabletWide\:max-w_532px {
1559
1545
  max-width: 532px;
1546
+ }
1547
+ .tabletWide\:w_auto {
1548
+ width: auto;
1549
+ }
1550
+ .tabletWide\:d_block {
1551
+ display: block;
1552
+ }
1553
+ .tabletWide\:ov_hidden {
1554
+ overflow: hidden;
1555
+ }
1556
+ .tabletWide\:pos_relative {
1557
+ position: relative;
1558
+ }
1559
+ .tabletWide\:lc_4 {
1560
+ overflow: hidden;
1561
+ display: -webkit-box;
1562
+ -webkit-line-clamp: 4;
1563
+ -webkit-box-orient: vertical;
1564
+ }
1565
+ .tabletWide\:box-orient_vertical {
1566
+ box-orient: vertical;
1560
1567
  }
1561
1568
  .tabletWide\:flex-d_row {
1562
1569
  flex-direction: row;
@@ -1567,23 +1574,11 @@
1567
1574
  }
1568
1575
 
1569
1576
  @media screen and (min-width: 61.3125rem) {
1570
- .desktop\:pbs_xxlarge {
1571
- padding-block-start: var(--spacing-xxlarge);
1572
- }
1573
- .desktop\:pbe_xxlarge {
1574
- padding-block-end: var(--spacing-xxlarge);
1575
- }
1576
1577
  .desktop\:w_260px {
1577
1578
  width: 260px;
1578
1579
  }
1579
1580
  .desktop\:h_260px {
1580
1581
  height: 260px;
1581
- }
1582
- .desktop\:h_340px {
1583
- height: 340px;
1584
- }
1585
- .desktop\:top_xxlarge {
1586
- top: var(--spacing-xxlarge);
1587
1582
  }
1588
1583
  .desktop\:grid-tc_repeat\(3\,_minmax\(0\,_1fr\)\) {
1589
1584
  grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -10,61 +10,11 @@ import { forwardRef } from "react";
10
10
  import { ark } from "@ark-ui/react";
11
11
  import { Heading, Text } from "@ndla/primitives";
12
12
  import { cx } from "@ndla/styled-system/css";
13
- import { styled } from "@ndla/styled-system/jsx";
13
+ import { Stack, styled } from "@ndla/styled-system/jsx";
14
14
  import { ArticleByline } from "./ArticleByline";
15
15
  import { ContentTypeBadgeNew } from "..";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
- const articlePadding = {
18
- paddingInline: "8%"
19
- };
20
- const paddingBlockEnd = {
21
- paddingBlockEnd: "xsmall",
22
- tablet: {
23
- paddingBlockEnd: "medium"
24
- },
25
- desktop: {
26
- paddingBlockEnd: "xxlarge"
27
- }
28
- };
29
- const paddingBlockStart = {
30
- paddingBlockStart: "xsmall",
31
- tablet: {
32
- paddingBlockStart: "medium"
33
- },
34
- desktop: {
35
- paddingBlockStart: "xxlarge"
36
- }
37
- };
38
- export const ArticlePadding = styled(ark.div, {
39
- base: {
40
- ...articlePadding,
41
- width: "100%"
42
- },
43
- variants: {
44
- padStart: {
45
- true: paddingBlockStart
46
- },
47
- padEnd: {
48
- true: paddingBlockEnd
49
- }
50
- }
51
- }, {
52
- baseComponent: true
53
- });
54
- const StyledArticleContent = styled(ark.section, {
55
- base: {
56
- background: "surface.default"
57
- },
58
- variants: {
59
- padded: {
60
- true: {
61
- ...articlePadding,
62
- ...paddingBlockStart,
63
- ...paddingBlockEnd
64
- }
65
- }
66
- }
67
- }, {
17
+ const StyledArticleContent = styled(ark.section, {}, {
68
18
  baseComponent: true
69
19
  });
70
20
  export const ArticleContent = /*#__PURE__*/forwardRef((_ref, ref) => {
@@ -80,8 +30,10 @@ export const ArticleContent = /*#__PURE__*/forwardRef((_ref, ref) => {
80
30
  });
81
31
  const StyledArticleWrapper = styled(ark.article, {
82
32
  base: {
33
+ background: "background.default",
83
34
  display: "flex",
84
35
  flexDirection: "column",
36
+ gap: "xxlarge",
85
37
  color: "text.default",
86
38
  alignItems: "center",
87
39
  width: "100%",
@@ -110,7 +62,6 @@ export const ArticleHGroup = styled(ark.hgroup, {
110
62
  width: "100%",
111
63
  flexDirection: "column",
112
64
  alignItems: "flex-start",
113
- gap: "xsmall",
114
65
  "& h1": {
115
66
  overflowWrap: "anywhere"
116
67
  }
@@ -118,37 +69,14 @@ export const ArticleHGroup = styled(ark.hgroup, {
118
69
  }, {
119
70
  baseComponent: true
120
71
  });
121
- export const ArticleActionWrapper = styled(ark.div, {
122
- base: {
123
- position: "absolute",
124
- right: "8%",
125
- top: "xsmall",
126
- tablet: {
127
- top: "medium"
128
- },
129
- desktop: {
130
- top: "xxlarge"
131
- }
132
- }
133
- }, {
134
- baseComponent: true
135
- });
136
72
  export const ArticleHeader = styled(ark.header, {
137
73
  base: {
138
74
  display: "flex",
139
75
  flexDirection: "column",
140
- background: "surface.default",
141
76
  gap: "medium",
142
77
  alignItems: "flex-start",
143
- width: "100%"
144
- },
145
- variants: {
146
- padded: {
147
- true: {
148
- ...articlePadding,
149
- ...paddingBlockStart
150
- }
151
- }
78
+ width: "100%",
79
+ paddingBlockStart: "xxlarge"
152
80
  }
153
81
  }, {
154
82
  baseComponent: true
@@ -157,21 +85,20 @@ export const ArticleFooter = styled(ark.footer, {
157
85
  base: {
158
86
  display: "flex",
159
87
  flexDirection: "column",
160
- background: "surface.default",
161
88
  gap: "xxlarge",
162
- width: "100%"
163
- },
164
- variants: {
165
- padded: {
166
- true: {
167
- ...articlePadding,
168
- ...paddingBlockEnd
169
- }
89
+ width: "100%",
90
+ "& > :is(:last-child)": {
91
+ paddingBlockEnd: "5xlarge"
170
92
  }
171
93
  }
172
94
  }, {
173
95
  baseComponent: true
174
96
  });
97
+ const StyledStack = styled(Stack, {
98
+ base: {
99
+ width: "100%"
100
+ }
101
+ });
175
102
  export const ArticleTitle = _ref2 => {
176
103
  let {
177
104
  contentType,
@@ -183,12 +110,15 @@ export const ArticleTitle = _ref2 => {
183
110
  competenceGoals
184
111
  } = _ref2;
185
112
  return /*#__PURE__*/_jsxs(ArticleHeader, {
186
- padded: true,
187
113
  children: [/*#__PURE__*/_jsxs(ArticleHGroup, {
188
- children: [!!contentType && /*#__PURE__*/_jsx(ContentTypeBadgeNew, {
189
- contentType: contentType
190
- }), !!heartButton && /*#__PURE__*/_jsx(ArticleActionWrapper, {
191
- children: heartButton
114
+ children: [/*#__PURE__*/_jsxs(StyledStack, {
115
+ justify: "space-between",
116
+ align: "center",
117
+ direction: "row",
118
+ gap: "small",
119
+ children: [!!contentType && /*#__PURE__*/_jsx(ContentTypeBadgeNew, {
120
+ contentType: contentType
121
+ }), heartButton]
192
122
  }), /*#__PURE__*/_jsx(Heading, {
193
123
  textStyle: "heading.large",
194
124
  id: id,
@@ -236,10 +166,8 @@ export const Article = _ref3 => {
236
166
  competenceGoals: competenceGoals,
237
167
  lang: lang
238
168
  }), /*#__PURE__*/_jsx(ArticleContent, {
239
- padded: true,
240
169
  children: content
241
170
  }), /*#__PURE__*/_jsxs(ArticleFooter, {
242
- padded: true,
243
171
  children: [/*#__PURE__*/_jsx(ArticleByline, {
244
172
  footnotes: footNotes,
245
173
  authors: authors,
@@ -6,7 +6,7 @@
6
6
  *
7
7
  */
8
8
 
9
- export { Article, ArticleWrapper, ArticleHeader, ArticleFooter, ArticleTitle, ArticleActionWrapper, ArticleHGroup, ArticleContent, ArticlePadding } from "./Article";
9
+ export { Article, ArticleWrapper, ArticleHeader, ArticleFooter, ArticleTitle, ArticleHGroup, ArticleContent } from "./Article";
10
10
  export { ArticleByline, ArticleBylineAccordionItem } from "./ArticleByline";
11
11
  export { ArticleFootNotes } from "./ArticleFootNotes";
12
12
  export { ArticleParagraph } from "./ArticleParagraph";
@@ -15,7 +15,9 @@ import { getPossiblyRelativeUrl } from "../utils/relativeUrl";
15
15
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  const Container = styled("div", {
17
17
  base: {
18
+ width: "100%",
18
19
  display: "flex",
20
+ gap: "medium",
19
21
  flexDirection: "column",
20
22
  border: "1px solid",
21
23
  borderColor: "stroke.default",
@@ -34,6 +36,17 @@ const LinkText = styled(Text, {
34
36
  display: "flex",
35
37
  gap: "xxsmall",
36
38
  textDecoration: "underline",
39
+ _hover: {
40
+ textDecoration: "none"
41
+ },
42
+ paddingBlock: "xsmall",
43
+ fontWeight: "bold"
44
+ }
45
+ });
46
+ const LinkHeader = styled(Text, {
47
+ base: {
48
+ display: "flex",
49
+ textDecoration: "underline",
37
50
  _hover: {
38
51
  textDecoration: "none"
39
52
  }
@@ -45,8 +58,11 @@ const StyledImg = styled("img", {
45
58
  objectFit: "cover",
46
59
  width: "100%",
47
60
  height: "215px",
48
- desktop: {
61
+ mobileWide: {
49
62
  height: "340px"
63
+ },
64
+ tabletWide: {
65
+ width: "auto"
50
66
  }
51
67
  }
52
68
  });
@@ -56,12 +72,24 @@ const ContentWrapper = styled("div", {
56
72
  position: "relative",
57
73
  display: "flex",
58
74
  flexDirection: "column",
59
- gap: "xsmall",
75
+ gap: "medium",
60
76
  alignItems: "flex-start",
77
+ justifyContent: "center",
61
78
  paddingBlock: "medium",
62
79
  paddingInline: "medium"
63
80
  }
64
81
  });
82
+ const StyledText = styled(Text, {
83
+ base: {
84
+ tabletWide: {
85
+ display: "block",
86
+ overflow: "hidden",
87
+ position: "relative",
88
+ lineClamp: 4,
89
+ boxOrient: "vertical"
90
+ }
91
+ }
92
+ });
65
93
  const StyledSafeLink = styled(SafeLink, {
66
94
  base: {
67
95
  color: "inherit"
@@ -96,7 +124,7 @@ const CampaignBlock = _ref2 => {
96
124
  width: 455,
97
125
  alt: image.alt
98
126
  });
99
- const HeaderComponent = url?.url ? LinkText : Text;
127
+ const HeaderComponent = url?.url ? LinkHeader : Text;
100
128
  return /*#__PURE__*/_jsxs(Container, {
101
129
  className: className,
102
130
  "data-embed-type": "campaign-block",
@@ -112,8 +140,8 @@ const CampaignBlock = _ref2 => {
112
140
  children: parse(title)
113
141
  })
114
142
  })
115
- }), /*#__PURE__*/_jsx(Text, {
116
- textStyle: "body.large",
143
+ }), /*#__PURE__*/_jsx(StyledText, {
144
+ textStyle: "body.xlarge",
117
145
  children: parse(description)
118
146
  }), !!url?.url && /*#__PURE__*/_jsx(MaybeLinkText, {
119
147
  url: url.url,
package/es/index.js CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  export { ImageEmbed, getCrop, getFocalPoint, AudioEmbed, H5pEmbed, ExternalEmbed, IframeEmbed, FootnoteEmbed, BrightcoveEmbed, ContentLinkEmbed, RelatedContentEmbed, ConceptEmbed, ConceptListEmbed, UnknownEmbed, InlineConcept, BlockConcept, UuDisclaimerEmbed, CopyrightEmbed, CodeEmbed } from "./Embed";
13
13
  export { LicenseLink, EmbedByline } from "./LicenseByline";
14
- export { ArticleByline, ArticleBylineAccordionItem, ArticleFootNotes, ArticleWrapper, Article, ArticleParagraph, ArticleFooter, ArticleHeader, ArticleContent, ArticleHGroup, ArticleActionWrapper, ArticleTitle, ArticlePadding } from "./Article";
14
+ export { ArticleByline, ArticleBylineAccordionItem, ArticleFootNotes, ArticleWrapper, Article, ArticleParagraph, ArticleFooter, ArticleHeader, ArticleContent, ArticleHGroup, ArticleTitle } from "./Article";
15
15
  export { getPossiblyRelativeUrl } from "./utils/relativeUrl";
16
16
  export { default as ContentLoader } from "./ContentLoader";
17
17
  export { default as RelatedArticleList, RelatedArticle } from "./RelatedArticleList";
@@ -1068,9 +1068,9 @@ const messages = {
1068
1068
  },
1069
1069
  fetchMore: "Fetch more answers",
1070
1070
  deleted: "This post has been deleted by the author.",
1071
- upvote: "Upvote",
1071
+ upvote: "Like",
1072
1072
  numberOfUpvotes: "{{ count }} people have upvoted this.",
1073
- removeUpvote: "Remove upvote",
1073
+ removeUpvote: "Stop liking",
1074
1074
  reply: "Write a reply to {{ name }}"
1075
1075
  },
1076
1076
  flag: {
@@ -1068,9 +1068,9 @@ const messages = {
1068
1068
  },
1069
1069
  fetchMore: "Hent flere svar",
1070
1070
  deleted: "Dette innlegget er slettet av forfatteren.",
1071
- upvote: "Stem opp",
1071
+ upvote: "Liker",
1072
1072
  numberOfUpvotes: "{{ count }} personer har stemt opp denne.",
1073
- removeUpvote: "Fjern stemme",
1073
+ removeUpvote: "Slutt å like",
1074
1074
  reply: "Skriv et svar til {{ name }}"
1075
1075
  },
1076
1076
  flag: {
@@ -1068,9 +1068,9 @@ const messages = {
1068
1068
  },
1069
1069
  fetchMore: "Hent fleire svar",
1070
1070
  deleted: "Dette innlegget er sletta av forfatteren.",
1071
- upvote: "Stem opp",
1071
+ upvote: "Liker",
1072
1072
  numberOfUpvotes: "{{ count }} personar har stemt opp denne.",
1073
- removeUpvote: "Fjern stemme",
1073
+ removeUpvote: "Slutt å like",
1074
1074
  reply: "Skriv eit svar til {{ name }}"
1075
1075
  },
1076
1076
  flag: {