Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Add exports for scripts #2169

Merged
merged 2 commits into from
Sep 18, 2019
Merged

Add exports for scripts #2169

merged 2 commits into from
Sep 18, 2019

Conversation

sareh
Copy link
Contributor

@sareh sareh commented Sep 17, 2019

Resolves bbc/simorgh#3837

Overall change: Add exports for scripts devanagariAndGurmukhi, noAscendersOrDescenders & cyrillicAndLatin

Code changes:

  • Adding exports to @bbc/gel-foundations/scripts: devanagariAndGurmukhi, noAscendersOrDescenders & cyrillicAndLatin

  • I have assigned myself to this PR and the corresponding issues
  • Automated (jest and/or cypress) tests added (for new features) or updated (for existing features)
  • This PR requires manual testing


export latinDiacritics from './scripts/latin-with-diacritics';

export chinese from './scripts/no-ascenders-or-descenders';
Copy link
Contributor

@DenisHdz DenisHdz Sep 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initially, we decided to have this mapping, but at this point, should we still export several times the same script? E.g. chinese, ethiopic and korean?

Copy link
Contributor Author

@sareh sareh Sep 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DenisHdz I'm going to remove the services names as exports from this gel-foundations in a future PR. But for now, I'm ensuring we are exporting the script values. This is so that I can use the scripts latinDiacritics and noAscendersOrDescenders etc in Simorgh, then removal of the service exports will not cause any issues.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes sense to me, thanks :)

@sareh sareh added the ws-home Tasks for the WS Home Team label Sep 18, 2019
Copy link
Contributor

@DenisHdz DenisHdz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
shared-components ws-home Tasks for the WS Home Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update typography settings for Azeri and Japanese
4 participants