@financial-times/o-teaser 6.2.9 → 6.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.3.0](https://github.com/Financial-Times/origami/compare/o-teaser-v6.2.10...o-teaser-v6.3.0) (2024-03-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * increase teaser margin size for improved tapability ([c67c01d](https://github.com/Financial-Times/origami/commit/c67c01d55bd426ead426e2acc64cd97c15ef782c))
9
+
10
+ ## [6.2.10](https://github.com/Financial-Times/origami/compare/o-teaser-v6.2.9...o-teaser-v6.2.10) (2023-11-09)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update o-teaser tsx templates to use date-fns version 2 ([#1331](https://github.com/Financial-Times/origami/issues/1331)) ([c53316b](https://github.com/Financial-Times/origami/commit/c53316ba964378d4f9077e2250fc73b40e9d2ab7))
16
+
3
17
  ## [6.2.9](https://github.com/Financial-Times/origami/compare/o-teaser-v6.2.8...o-teaser-v6.2.9) (2023-10-27)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/o-teaser",
3
- "version": "6.2.9",
3
+ "version": "6.3.0",
4
4
  "description": "Provides styling for teaser elements, which contain information about an article and link through to it",
5
5
  "keywords": [
6
6
  "article",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "private": false,
43
43
  "dependencies": {
44
- "date-fns": "^1.29.0",
44
+ "date-fns": "^2.30.0",
45
45
  "dateformat": "^3.0.3",
46
46
  "dompurify": "^2.3.9",
47
47
  "html-react-parser": "^3.0.1"
@@ -41,7 +41,7 @@
41
41
  @mixin _oTeaserMeta {
42
42
  @include oTypographySans(0, $include-font-family: false);
43
43
  color: oColorsByUsecase('o-teaser/tag', 'text');
44
- margin-bottom: oSpacingByName('s1');
44
+ margin-bottom: oSpacingByName('s3');
45
45
  }
46
46
 
47
47
  /// Tag styling.
@@ -4,7 +4,7 @@
4
4
  .o-teaser__meta {
5
5
  @include oTypographySans($scale: -1, $weight: 'semibold');
6
6
  color: $_o-teaser-muted;
7
- margin-bottom: oSpacingByName('s2');
7
+ margin-bottom: oSpacingByName('s3');
8
8
  }
9
9
 
10
10
  .o-teaser__promoted-prefix {