@viasat/beam-tokens 2.72.0 → 2.72.1

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/README.md CHANGED
@@ -254,6 +254,28 @@ const App = () => (
254
254
  );
255
255
  ```
256
256
 
257
+ The two forms are equivalent. Use whichever suits your markup, including on the
258
+ same element as the theme classes, as in the third example above.
259
+
260
+ #### Supported languages
261
+
262
+ | Code | Language | Default font |
263
+ | ---- | ------------------ | ------------------ |
264
+ | `ar` | Arabic | `Noto Sans Arabic` |
265
+ | `he` | Hebrew | `Noto Sans Hebrew` |
266
+ | `ja` | Japanese | `Noto Sans JP` |
267
+ | `th` | Thai | `Noto Sans Thai` |
268
+ | `zh` | Simplified Chinese | `Noto Sans SC` |
269
+
270
+ A code with no entry here does nothing. There is no error and no warning, the
271
+ rules simply are not generated, so check this table before reaching for a
272
+ locale Beam does not list.
273
+
274
+ Brand themes may override the default. `bm-onefi-emirates` under `lang="ar"`
275
+ asks for `Emirates`, and `bm-onefi-thai` under `lang="th"` asks for `Prompt`.
276
+ Beam does not bundle licensed brand fonts, so your application has to load
277
+ those files itself. The default fonts above ship with `@viasat/beam-fonts`.
278
+
257
279
  > 💡 **Note**: Language codes should follow the ISO 639-1 standard. In some cases, the browser may automatically apply the correct font based on the language attribute.
258
280
 
259
281
  ## How It Works
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viasat/beam-tokens",
3
- "version": "2.72.0",
3
+ "version": "2.72.1",
4
4
  "description": "Design tokens for the Beam Design System with support for CSS, SASS, and CSS-in-JS",
5
5
  "license": "MIT",
6
6
  "author": "Viasat",