@transferwise/components 0.0.0-experimental-7614895 → 0.0.0-experimental-fcf514e

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/build/main.css CHANGED
@@ -2334,6 +2334,18 @@
2334
2334
  src: url("styles/fonts/WiseSans-Heavy.woff2") format("woff2");
2335
2335
  }
2336
2336
 
2337
+ /**
2338
+ * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
2339
+ */
2340
+
2341
+ @font-face {
2342
+ font-family: 'Wise Sans';
2343
+ font-style: normal;
2344
+ font-display: swap;
2345
+ src: url("styles/fonts/WiseSansJP-Heavy.woff2") format('woff2');
2346
+ unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
2347
+ }
2348
+
2337
2349
  /* stylelint-disable selector-max-empty-lines */
2338
2350
 
2339
2351
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
@@ -2334,6 +2334,18 @@
2334
2334
  src: url("styles/fonts/WiseSans-Heavy.woff2") format("woff2");
2335
2335
  }
2336
2336
 
2337
+ /**
2338
+ * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
2339
+ */
2340
+
2341
+ @font-face {
2342
+ font-family: 'Wise Sans';
2343
+ font-style: normal;
2344
+ font-display: swap;
2345
+ src: url("styles/fonts/WiseSansJP-Heavy.woff2") format('woff2');
2346
+ unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
2347
+ }
2348
+
2337
2349
  /* stylelint-disable selector-max-empty-lines */
2338
2350
 
2339
2351
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
@@ -2334,6 +2334,18 @@
2334
2334
  src: url("styles/fonts/WiseSans-Heavy.woff2") format("woff2");
2335
2335
  }
2336
2336
 
2337
+ /**
2338
+ * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
2339
+ */
2340
+
2341
+ @font-face {
2342
+ font-family: 'Wise Sans';
2343
+ font-style: normal;
2344
+ font-display: swap;
2345
+ src: url("styles/fonts/WiseSansJP-Heavy.woff2") format('woff2');
2346
+ unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
2347
+ }
2348
+
2337
2349
  /* stylelint-disable selector-max-empty-lines */
2338
2350
 
2339
2351
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
@@ -2334,6 +2334,18 @@
2334
2334
  src: url("styles/fonts/WiseSans-Heavy.woff2") format("woff2");
2335
2335
  }
2336
2336
 
2337
+ /**
2338
+ * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
2339
+ */
2340
+
2341
+ @font-face {
2342
+ font-family: 'Wise Sans';
2343
+ font-style: normal;
2344
+ font-display: swap;
2345
+ src: url("styles/fonts/WiseSansJP-Heavy.woff2") format('woff2');
2346
+ unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
2347
+ }
2348
+
2337
2349
  /* stylelint-disable selector-max-empty-lines */
2338
2350
 
2339
2351
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-7614895",
3
+ "version": "0.0.0-experimental-fcf514e",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -87,8 +87,8 @@
87
87
  "storybook-addon-tag-badges": "^3.0.6",
88
88
  "storybook-addon-test-codegen": "^3.0.1",
89
89
  "@transferwise/less-config": "3.1.2",
90
- "@transferwise/neptune-css": "0.0.0-experimental-7614895",
91
90
  "@wise/components-theming": "1.10.1",
91
+ "@transferwise/neptune-css": "0.0.0-experimental-fcf514e",
92
92
  "@wise/wds-configs": "0.0.0"
93
93
  },
94
94
  "peerDependencies": {
@@ -14,6 +14,8 @@ export const Basic = () => {
14
14
  const DE = 'äöüßabcdefghijklmnopqrstuvwxyz';
15
15
  const UA = 'Ми будуємо найбільш міжнародний рахунок у світі';
16
16
  const JA = 'ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてで';
17
+ const ZN =
18
+ '的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年样能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去最性性齉龘龘靐齉爩鱻猋驫麤籲爨癵驫鲙鬯鬻厵纛';
17
19
  return (
18
20
  <>
19
21
  <div lang="en">
@@ -77,7 +79,7 @@ export const Basic = () => {
77
79
  </div>
78
80
  <hr />
79
81
  <div lang="ja">
80
- <h1>Everything eles, e.g 🇯🇵</h1>
82
+ <h1>Japanese</h1>
81
83
  Large
82
84
  <Display type={Typography.DISPLAY_LARGE}>{JA}</Display>
83
85
  <hr />
@@ -87,6 +89,18 @@ export const Basic = () => {
87
89
  Small
88
90
  <Display type={Typography.DISPLAY_SMALL}>{JA}</Display>
89
91
  </div>
92
+ <hr />
93
+ <div lang="zh-CN">
94
+ <h1>Simplified Chinese</h1>
95
+ Large
96
+ <Display type={Typography.DISPLAY_LARGE}>{ZN}</Display>
97
+ <hr />
98
+ Medium
99
+ <Display type={Typography.DISPLAY_MEDIUM}>{ZN}</Display>
100
+ <hr />
101
+ Small
102
+ <Display type={Typography.DISPLAY_SMALL}>{ZN}</Display>
103
+ </div>
90
104
  </>
91
105
  );
92
106
  };
package/src/main.css CHANGED
@@ -2334,6 +2334,18 @@
2334
2334
  src: url("styles/fonts/WiseSans-Heavy.woff2") format("woff2");
2335
2335
  }
2336
2336
 
2337
+ /**
2338
+ * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
2339
+ */
2340
+
2341
+ @font-face {
2342
+ font-family: 'Wise Sans';
2343
+ font-style: normal;
2344
+ font-display: swap;
2345
+ src: url("styles/fonts/WiseSansJP-Heavy.woff2") format('woff2');
2346
+ unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
2347
+ }
2348
+
2337
2349
  /* stylelint-disable selector-max-empty-lines */
2338
2350
 
2339
2351
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
@@ -95,3 +95,16 @@
95
95
  font-display: swap;
96
96
  src: url("./styles/fonts/WiseSans-Heavy.woff2") format("woff2");
97
97
  }
98
+
99
+ /**
100
+ * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
101
+ */
102
+ @font-face {
103
+ font-family: 'Wise Sans';
104
+ font-style: normal;
105
+ font-display: swap;
106
+ src: url('./styles/fonts/WiseSansJP-Heavy.woff2') format('woff2');
107
+ unicode-range:
108
+ U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605,
109
+ U+2606, U+2190-2195, U+203B;
110
+ }
@@ -2334,6 +2334,18 @@
2334
2334
  src: url("styles/fonts/WiseSans-Heavy.woff2") format("woff2");
2335
2335
  }
2336
2336
 
2337
+ /**
2338
+ * 🚨🚨🚨 ONLY FOR TESTING. BE REMOVED BEFORE MERGING 🚨🚨🚨
2339
+ */
2340
+
2341
+ @font-face {
2342
+ font-family: 'Wise Sans';
2343
+ font-style: normal;
2344
+ font-display: swap;
2345
+ src: url("styles/fonts/WiseSansJP-Heavy.woff2") format('woff2');
2346
+ unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF00-FFEF, U+4E00-9FAF, U+2605, U+2606, U+2190-2195, U+203B;
2347
+ }
2348
+
2337
2349
  /* stylelint-disable selector-max-empty-lines */
2338
2350
 
2339
2351
  /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */