@transferwise/components 46.161.2 → 46.161.3
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 +3 -1
- package/build/styles/css/neptune-core.css +3 -1
- package/build/styles/css/neptune.css +3 -1
- package/build/styles/main.css +3 -1
- package/build/styles/styles/less/neptune-core.css +3 -1
- package/build/styles/styles/less/neptune.css +3 -1
- package/package.json +3 -3
- package/src/Body/_stories/Body.test.story.tsx +9 -0
- package/src/main.css +3 -1
- package/src/styles/less/core/_typography.less +3 -1
- package/src/styles/less/neptune-core.css +3 -1
- package/src/styles/less/neptune.css +3 -1
package/build/main.css
CHANGED
|
@@ -3910,7 +3910,9 @@ a,
|
|
|
3910
3910
|
font-weight: 400;
|
|
3911
3911
|
font-weight: var(--font-weight-regular);
|
|
3912
3912
|
}
|
|
3913
|
-
/* Disable hyphenation for
|
|
3913
|
+
/* Disable hyphenation for English
|
|
3914
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
3915
|
+
:lang(en),
|
|
3914
3916
|
:lang(ja),
|
|
3915
3917
|
:lang(th),
|
|
3916
3918
|
:lang(zh-CN),
|
|
@@ -1338,7 +1338,9 @@ a,
|
|
|
1338
1338
|
font-weight: 400;
|
|
1339
1339
|
font-weight: var(--font-weight-regular);
|
|
1340
1340
|
}
|
|
1341
|
-
/* Disable hyphenation for
|
|
1341
|
+
/* Disable hyphenation for English
|
|
1342
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
1343
|
+
:lang(en),
|
|
1342
1344
|
:lang(ja),
|
|
1343
1345
|
:lang(th),
|
|
1344
1346
|
:lang(zh-CN),
|
|
@@ -3315,7 +3315,9 @@ a,
|
|
|
3315
3315
|
font-weight: 400;
|
|
3316
3316
|
font-weight: var(--font-weight-regular);
|
|
3317
3317
|
}
|
|
3318
|
-
/* Disable hyphenation for
|
|
3318
|
+
/* Disable hyphenation for English
|
|
3319
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
3320
|
+
:lang(en),
|
|
3319
3321
|
:lang(ja),
|
|
3320
3322
|
:lang(th),
|
|
3321
3323
|
:lang(zh-CN),
|
package/build/styles/main.css
CHANGED
|
@@ -3910,7 +3910,9 @@ a,
|
|
|
3910
3910
|
font-weight: 400;
|
|
3911
3911
|
font-weight: var(--font-weight-regular);
|
|
3912
3912
|
}
|
|
3913
|
-
/* Disable hyphenation for
|
|
3913
|
+
/* Disable hyphenation for English
|
|
3914
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
3915
|
+
:lang(en),
|
|
3914
3916
|
:lang(ja),
|
|
3915
3917
|
:lang(th),
|
|
3916
3918
|
:lang(zh-CN),
|
|
@@ -1338,7 +1338,9 @@ a,
|
|
|
1338
1338
|
font-weight: 400;
|
|
1339
1339
|
font-weight: var(--font-weight-regular);
|
|
1340
1340
|
}
|
|
1341
|
-
/* Disable hyphenation for
|
|
1341
|
+
/* Disable hyphenation for English
|
|
1342
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
1343
|
+
:lang(en),
|
|
1342
1344
|
:lang(ja),
|
|
1343
1345
|
:lang(th),
|
|
1344
1346
|
:lang(zh-CN),
|
|
@@ -3315,7 +3315,9 @@ a,
|
|
|
3315
3315
|
font-weight: 400;
|
|
3316
3316
|
font-weight: var(--font-weight-regular);
|
|
3317
3317
|
}
|
|
3318
|
-
/* Disable hyphenation for
|
|
3318
|
+
/* Disable hyphenation for English
|
|
3319
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
3320
|
+
:lang(en),
|
|
3319
3321
|
:lang(ja),
|
|
3320
3322
|
:lang(th),
|
|
3321
3323
|
:lang(zh-CN),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/components",
|
|
3
|
-
"version": "46.161.
|
|
3
|
+
"version": "46.161.3",
|
|
4
4
|
"description": "Neptune React components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@testing-library/jest-dom": "^6.9.1",
|
|
60
60
|
"@testing-library/react": "^16.3.3",
|
|
61
61
|
"@testing-library/user-event": "^14.6.7",
|
|
62
|
-
"@transferwise/icons": "^4.
|
|
62
|
+
"@transferwise/icons": "^4.5.0",
|
|
63
63
|
"@transferwise/less-config": "3.2.0",
|
|
64
64
|
"@tsconfig/recommended": "^1.0.13",
|
|
65
65
|
"@types/babel__core": "^7.20.5",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"lodash.debounce": "^4.0.8",
|
|
122
122
|
"merge-props": "^6.0.0",
|
|
123
123
|
"react-transition-group": "^4.4.5",
|
|
124
|
-
"virtua": "^0.
|
|
124
|
+
"virtua": "^0.51.2"
|
|
125
125
|
},
|
|
126
126
|
"publishConfig": {
|
|
127
127
|
"access": "public",
|
|
@@ -67,6 +67,15 @@ const HyphenationTest = {
|
|
|
67
67
|
หากคุณต้องการทราบข้อมูลเพิ่มเติมเกี่ยวกับค่าธรรมเนียมการโอนเงิน
|
|
68
68
|
</Body>
|
|
69
69
|
</div>
|
|
70
|
+
|
|
71
|
+
<Title type={Typography.TITLE_SUBSECTION}>English (en) — no hyphens</Title>
|
|
72
|
+
<div lang="en">
|
|
73
|
+
<Body as="p" type={Typography.BODY_DEFAULT}>
|
|
74
|
+
Telecommunications incomprehensibilities internationalization electroencephalographically
|
|
75
|
+
deinstitutionalization counterrevolutionaries antidisestablishmentarianism
|
|
76
|
+
supercalifragilisticexpialidocious
|
|
77
|
+
</Body>
|
|
78
|
+
</div>
|
|
70
79
|
</Container>
|
|
71
80
|
),
|
|
72
81
|
};
|
package/src/main.css
CHANGED
|
@@ -3910,7 +3910,9 @@ a,
|
|
|
3910
3910
|
font-weight: 400;
|
|
3911
3911
|
font-weight: var(--font-weight-regular);
|
|
3912
3912
|
}
|
|
3913
|
-
/* Disable hyphenation for
|
|
3913
|
+
/* Disable hyphenation for English
|
|
3914
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
3915
|
+
:lang(en),
|
|
3914
3916
|
:lang(ja),
|
|
3915
3917
|
:lang(th),
|
|
3916
3918
|
:lang(zh-CN),
|
|
@@ -284,7 +284,9 @@ a,
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
/* Disable hyphenation for
|
|
287
|
+
/* Disable hyphenation for English
|
|
288
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
289
|
+
:lang(en),
|
|
288
290
|
:lang(ja),
|
|
289
291
|
:lang(th),
|
|
290
292
|
:lang(zh-CN),
|
|
@@ -1338,7 +1338,9 @@ a,
|
|
|
1338
1338
|
font-weight: 400;
|
|
1339
1339
|
font-weight: var(--font-weight-regular);
|
|
1340
1340
|
}
|
|
1341
|
-
/* Disable hyphenation for
|
|
1341
|
+
/* Disable hyphenation for English
|
|
1342
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
1343
|
+
:lang(en),
|
|
1342
1344
|
:lang(ja),
|
|
1343
1345
|
:lang(th),
|
|
1344
1346
|
:lang(zh-CN),
|
|
@@ -3315,7 +3315,9 @@ a,
|
|
|
3315
3315
|
font-weight: 400;
|
|
3316
3316
|
font-weight: var(--font-weight-regular);
|
|
3317
3317
|
}
|
|
3318
|
-
/* Disable hyphenation for
|
|
3318
|
+
/* Disable hyphenation for English
|
|
3319
|
+
* and Japanese, Thai, Chinese (these languages use character-level breaks and should never insert hyphens). */
|
|
3320
|
+
:lang(en),
|
|
3319
3321
|
:lang(ja),
|
|
3320
3322
|
:lang(th),
|
|
3321
3323
|
:lang(zh-CN),
|