Skip to content

Commit

Permalink
Merge pull request #1451 from undp/1446-proximanova-is-not-displaying…
Browse files Browse the repository at this point in the history
…-certain-glyphs-correctly

1446 proximanova is not displaying certain glyphs correctly
  • Loading branch information
Jura authored Nov 19, 2024
2 parents 1391b5b + f830079 commit 522d17e
Show file tree
Hide file tree
Showing 70 changed files with 5,469 additions and 7,215 deletions.
12 changes: 4 additions & 8 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');

export default {
const config = {
staticDirs: ['../stories/assets'],
stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)', '../stories/**/*.mdx'],
addons: [
Expand Down Expand Up @@ -44,12 +44,8 @@ export default {
return config;
},
framework: {
name: '@storybook/react-webpack5',
options: {}
name: '@storybook/react-webpack5'
},
// env: config => ({
// ...config,
// CHROMATIC_VIEWPORTS: [375, 768, 1380, 1920]
// }),
docs: {},
};

export default config;
4 changes: 2 additions & 2 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<link rel="stylesheet" href="https://use.typekit.net/ukl2sym.css">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:[email protected]&family=Noto+Sans+JP:[email protected]&family=Noto+Sans+Myanmar:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.typekit.net/ukl2sym.css" />
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:[email protected]&family=Noto+Sans+JP:[email protected]&family=Noto+Sans+Myanmar:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet" />
<!-- CSS to override doc page -->
<style type="text/css">
.sbdocs .sbdocs-a, .sbdocs a[aria-hidden="true"] {
Expand Down
19 changes: 13 additions & 6 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import '!style-loader!css-loader!sass-loader!../stories/assets/scss/base-minimal
// }

// Configure Storybook
export const parameters = {
const parameters = {
// actions: { disable: true },
controls: {
matchers: {
Expand Down Expand Up @@ -53,8 +53,8 @@ export const parameters = {
options: {
storySort: {
method: 'alphabetical',
order: ['Getting started', ['Intro', 'How to use our design system?', 'Browser support'], 'Foundation', 'Components', 'Patterns', 'Utilities', 'Templates'],
includeName: true
order: ['Getting started', ['Intro', 'How to use our design system?', 'Browser support', 'Internationalization'], 'Foundation', 'Components', 'Patterns', 'Utilities', 'Templates'],
includeNames: true
},
},
chromatic: {
Expand All @@ -71,7 +71,7 @@ export const parameters = {
}

/* Implementing locale for language switcher */
export const globalTypes = {
const globalTypes = {
locale: {
title: 'Locale',
description: 'locale',
Expand Down Expand Up @@ -202,5 +202,12 @@ const setAccentClass = (Story, context) => {
)
}

export const decorators = [getLangCode, sbFrameReset, setDirection, setAccentClass];
export const tags = ['autodocs', 'autodocs'];
// export const decorators = [getLangCode, sbFrameReset, setDirection, setAccentClass];
// export const tags = ['autodocs'];

export default {
parameters: parameters,
globalTypes: globalTypes,
decorators: [getLangCode, sbFrameReset, setDirection, setAccentClass],
tags: ['autodocs'],
}
2 changes: 1 addition & 1 deletion docs/css/base-minimal-no-grid.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/base-minimal.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/ckeditor5.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/components/accordion.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/components/breadcrumbs.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/components/cta-block.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/components/documentation.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/components/filter-and-search-bar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 522d17e

Please sign in to comment.