@financial-times/o-topper 5.6.1 → 5.6.2

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ### [5.6.2](https://www.github.com/Financial-Times/origami/compare/o-topper-v5.6.1...o-topper-v5.6.2) (2022-12-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Rename `o-topper--split-text-portrait-left` to `o-topper--deep-portrait` – this is [technically a breaking change but is being treated as a minor release](https://github.com/Financial-Times/origami/pull/923#pullrequestreview-1217595762) in this case ([78e5da8](https://www.github.com/Financial-Times/origami/commit/78e5da879465029caa11dd2f3d256f7f89b34857))
9
+
3
10
  ## [5.6.1](https://www.github.com/Financial-Times/origami/compare/o-topper-v5.6.0...o-topper-v5.6.1) (2022-12-14)
4
11
 
5
12
 
@@ -1,4 +1,4 @@
1
- <div class="o-topper o-topper--split-text-portrait-left o-topper--color-claret">
1
+ <div class="o-topper o-topper--deep-portrait o-topper--color-claret">
2
2
  <div class="o-topper__content">
3
3
  <div class="o-topper__tags">
4
4
  <a href="/uk-general-election" class="o-topper__topic">
package/origami.json CHANGED
@@ -140,9 +140,9 @@
140
140
  "hidden": true
141
141
  },
142
142
  {
143
- "name": "Split Text Portrait Left",
144
- "title": "Split Text Portrait Left",
145
- "template": "demos/src/split-text-portrait-left.mustache",
143
+ "name": "Deep Portrait",
144
+ "title": "Deep Portrait",
145
+ "template": "demos/src/deep-portrait.mustache",
146
146
  "description": "This is a theme that editorial can choose, which comes through the API"
147
147
  }
148
148
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/o-topper",
3
- "version": "5.6.1",
3
+ "version": "5.6.2",
4
4
  "description": "Article header styling",
5
5
  "keywords": [
6
6
  "topper",
@@ -122,8 +122,8 @@
122
122
  }
123
123
  }
124
124
 
125
- @if index($themes, 'split-text-portrait-left') {
126
- .o-topper--split-text-portrait-left {
125
+ @if index($themes, 'deep-portrait') {
126
+ .o-topper--deep-portrait {
127
127
  @include _oTopperThemeSplitTextPortraitLeft($colors);
128
128
  }
129
129
  }
@@ -42,7 +42,7 @@ $_o-topper-themes: (
42
42
  'news-package', // @deprecated
43
43
  'right-rail',
44
44
  'centered',
45
- 'split-text-portrait-left'
45
+ 'deep-portrait'
46
46
  );
47
47
 
48
48
  /// When adding a new element update the README