@times-components/ts-components 1.61.0 → 1.62.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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.62.0](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.61.0...@times-components/ts-components@1.62.0) (2022-12-12)
7
+
8
+
9
+ ### Features
10
+
11
+ * **TDP-1219:** Remove realnameInlineBlueBanner feature flag and HiddenDiv from InlineMessage ([#3201](https://github.com/newsuk/times-components/issues/3201)) ([ea107dd](https://github.com/newsuk/times-components/commit/ea107ddfcfa8c2c872e1aa0ed610c3dd39b7eaeb))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.61.0](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.60.0...@times-components/ts-components@1.61.0) (2022-11-08)
7
18
 
8
19
 
@@ -1,16 +1,13 @@
1
1
  import React from 'react';
2
2
  import { storiesOf } from '@storybook/react';
3
3
  import { InlineMessage } from './InlineMessage';
4
- import { boolean, select } from '@storybook/addon-knobs';
5
- import { HiddenDiv } from '../common-styles';
4
+ import { select } from '@storybook/addon-knobs';
6
5
  storiesOf('Typescript Component/InlineMessage', module).add('default', () => {
7
6
  const type = select('Level', ['info', 'warning', 'error'], 'info');
8
- const realnameInlineBlueBanner = boolean('realnameInlineBlueBanner feature flag', true);
9
- return (React.createElement(HiddenDiv, { style: { display: `${realnameInlineBlueBanner ? 'block' : 'none'}` } },
10
- React.createElement(InlineMessage, { title: "Real-name comments", type: type },
11
- "We've changed our policy - if you need to,",
12
- ' ',
13
- React.createElement("a", { href: "https://home.thetimes.co.uk/" }, "edit your screen name here"),
14
- ".")));
7
+ return (React.createElement(InlineMessage, { title: "Real-name comments", type: type },
8
+ "We've changed our policy - if you need to,",
9
+ ' ',
10
+ React.createElement("a", { href: "https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kQsQ0FDakIsQ0FBQztBQUNKLENBQUMsQ0FBQyxDQUFDIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@times-components/ts-components",
3
- "version": "1.61.0",
3
+ "version": "1.62.0",
4
4
  "description": "Reuseable Typescript React Components",
5
5
  "main": "dist/index.js",
6
6
  "dev": "dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "@times-components/link": "3.11.6",
57
57
  "@times-components/provider": "1.33.6",
58
58
  "@times-components/provider-queries": "2.18.0",
59
- "@times-components/related-articles": "6.12.23",
59
+ "@times-components/related-articles": "6.12.24",
60
60
  "@times-components/ts-slices": "1.6.7",
61
61
  "@times-components/ts-styleguide": "1.37.6",
62
62
  "@times-components/utils": "6.15.6",
@@ -114,5 +114,5 @@
114
114
  "@testing-library/jest-dom/extend-expect"
115
115
  ]
116
116
  },
117
- "gitHead": "e917b49eb527a30b7f52361d09b639d114d2defc"
117
+ "gitHead": "6f474e195a8cb7de742004ea40e5a56439f5148e"
118
118
  }
@@ -1,23 +1,14 @@
1
1
  import React from 'react';
2
2
  import { storiesOf } from '@storybook/react';
3
3
  import { InlineMessage } from './InlineMessage';
4
- import { boolean, select } from '@storybook/addon-knobs';
5
- import { HiddenDiv } from '../common-styles';
4
+ import { select } from '@storybook/addon-knobs';
6
5
 
7
6
  storiesOf('Typescript Component/InlineMessage', module).add('default', () => {
8
7
  const type = select('Level', ['info', 'warning', 'error'], 'info');
9
- const realnameInlineBlueBanner = boolean(
10
- 'realnameInlineBlueBanner feature flag',
11
- true
12
- );
13
8
  return (
14
- <HiddenDiv
15
- style={{ display: `${realnameInlineBlueBanner ? 'block' : 'none'}` }}
16
- >
17
- <InlineMessage title="Real-name comments" type={type}>
18
- We&apos;ve changed our policy - if you need to,{' '}
19
- <a href="https://home.thetimes.co.uk/">edit your screen name here</a>.
20
- </InlineMessage>
21
- </HiddenDiv>
9
+ <InlineMessage title="Real-name comments" type={type}>
10
+ We&apos;ve changed our policy - if you need to,{' '}
11
+ <a href="https://home.thetimes.co.uk/">edit your screen name here</a>.
12
+ </InlineMessage>
22
13
  );
23
14
  });