@financial-times/dotcom-ui-header 6.0.2 → 7.1.1

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.
@@ -49,7 +49,7 @@ exports.TopColumnCenterSticky = TopColumnCenterSticky;
49
49
  const NavListRightLoggedInSticky = (props) => {
50
50
  var _a;
51
51
  const subscribeAction = (_a = props.data['navbar-right-anon'].items) === null || _a === void 0 ? void 0 : _a[1];
52
- return (react_1.default.createElement("div", { className: "o-header__top-column o-header__top-column--right" },
52
+ return (react_1.default.createElement(react_1.default.Fragment, null,
53
53
  !props.userIsSubscribed && subscribeAction && (react_1.default.createElement(partials_1.SubscribeButton, { item: subscribeAction, variant: props.variant, className: "o-header__top-button--hide-m" })),
54
54
  react_1.default.createElement(MyFtSticky, { className: "" })));
55
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/dotcom-ui-header",
3
- "version": "6.0.2",
3
+ "version": "7.1.1",
4
4
  "description": "",
5
5
  "browser": "browser.js",
6
6
  "main": "component.js",
@@ -23,9 +23,9 @@
23
23
  "author": "",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@financial-times/dotcom-types-navigation": "^6.0.2",
27
- "n-topic-search": "^3.2.3",
28
- "n-ui-foundations": "^7.0.0"
26
+ "@financial-times/dotcom-types-navigation": "^7.1.1",
27
+ "n-topic-search": "^4.0.0",
28
+ "n-ui-foundations": "^9.0.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@financial-times/logo-images": "^1.10.1",
@@ -127,7 +127,7 @@ const TopColumnCenterSticky = (props: THeaderProps) => {
127
127
  const NavListRightLoggedInSticky = (props: THeaderProps) => {
128
128
  const subscribeAction = props.data['navbar-right-anon'].items?.[1]
129
129
  return (
130
- <div className="o-header__top-column o-header__top-column--right">
130
+ <React.Fragment>
131
131
  {!props.userIsSubscribed && subscribeAction && (
132
132
  <SubscribeButton
133
133
  item={subscribeAction}
@@ -136,7 +136,7 @@ const NavListRightLoggedInSticky = (props: THeaderProps) => {
136
136
  />
137
137
  )}
138
138
  <MyFtSticky className="" />
139
- </div>
139
+ </React.Fragment>
140
140
  )
141
141
  }
142
142