New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bbc/psammead-styles

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bbc/psammead-styles - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

1

CHANGELOG.md

@@ -6,2 +6,3 @@ # @bbc/psammead-styles Changelog

|---------|-------------|
| 2.1.4 | [PR#1926](https://github.com/bbc/psammead/pull/1926) Update component storybook to use latest inputProvider changes |
| 2.1.3 | [PR#1948](https://github.com/bbc/psammead/pull/1948) Show different font types in storybook |

@@ -8,0 +9,0 @@ | 2.1.2 | [PR#1847](https://github.com/bbc/psammead/pull/1847) Fixed Telugu typos |

2

package.json
{
"name": "@bbc/psammead-styles",
"version": "2.1.3",
"version": "2.1.4",
"description": "A collection of string constants for use in CSS, containing non-GEL styling details that are bespoke to specific BBC services and products.",

@@ -5,0 +5,0 @@ "repository": {

@@ -24,7 +24,11 @@ import React from 'react';

const typographyStory = typographyFunc =>
inputProvider([{ name: 'sample text' }], ({ slotTexts: [text], script }) => (
<TypographyText script={script} typographyFunc={typographyFunc}>
{text}
</TypographyText>
));
inputProvider({
slots: [{ name: 'sample text' }],
// eslint-disable-next-line react/prop-types
componentFunction: ({ slotTexts: [text], script }) => (
<TypographyText script={script} typographyFunc={typographyFunc}>
{text}
</TypographyText>
),
});

@@ -31,0 +35,0 @@ const stories = storiesOf('Typography', module).addDecorator(withKnobs);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc