@microbit/ui 0.1.0-alpha.22 → 0.1.0-alpha.23

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.
Files changed (97) hide show
  1. package/LICENSE.md +5 -5
  2. package/README.md +29 -13
  3. package/lang/ui.ca.json +12 -12
  4. package/lang/ui.cy.json +4 -4
  5. package/lang/ui.de.json +6 -6
  6. package/lang/ui.es-es.json +5 -5
  7. package/lang/ui.fr.json +6 -6
  8. package/lang/ui.ga-ie.json +6 -6
  9. package/lang/ui.it.json +4 -4
  10. package/lang/ui.ja.json +7 -7
  11. package/lang/ui.ko.json +6 -6
  12. package/lang/ui.lo.json +58 -0
  13. package/lang/ui.nl.json +9 -9
  14. package/lang/ui.pl.json +8 -8
  15. package/lang/ui.pt-br.json +7 -7
  16. package/lang/ui.vi.json +58 -0
  17. package/lang/ui.zh-cn.json +6 -6
  18. package/lang/ui.zh-tw.json +7 -7
  19. package/package.json +1 -1
  20. package/src/Avatar.recipe.ts +16 -20
  21. package/src/Avatar.tsx +31 -29
  22. package/src/Breadcrumb.recipe.ts +3 -7
  23. package/src/Breadcrumb.tsx +6 -8
  24. package/src/Button.recipe.ts +22 -33
  25. package/src/Button.tsx +10 -12
  26. package/src/ButtonGroup.tsx +10 -9
  27. package/src/Card.recipe.ts +1 -2
  28. package/src/Card.tsx +2 -1
  29. package/src/Checkbox.recipe.ts +7 -9
  30. package/src/Checkbox.tsx +2 -3
  31. package/src/CheckboxGroup.tsx +5 -7
  32. package/src/CloseButton.tsx +2 -2
  33. package/src/CloseIcon.tsx +6 -4
  34. package/src/Code.tsx +1 -1
  35. package/src/Collapse.tsx +13 -14
  36. package/src/Divider.tsx +3 -3
  37. package/src/Drawer.recipe.ts +4 -5
  38. package/src/Drawer.tsx +3 -4
  39. package/src/Fade.tsx +6 -10
  40. package/src/Field.recipe.ts +9 -12
  41. package/src/Field.tsx +16 -18
  42. package/src/GridList.recipe.ts +1 -2
  43. package/src/Heading.recipe.ts +5 -5
  44. package/src/Heading.tsx +3 -3
  45. package/src/Icon.tsx +7 -11
  46. package/src/IconButton.tsx +1 -1
  47. package/src/Image.tsx +1 -1
  48. package/src/Input.recipe.ts +5 -6
  49. package/src/Input.tsx +4 -4
  50. package/src/InputGroup.tsx +4 -5
  51. package/src/Kbd.tsx +1 -1
  52. package/src/Link.tsx +2 -2
  53. package/src/LinkBox.tsx +2 -3
  54. package/src/LinkButton.tsx +4 -4
  55. package/src/List.tsx +5 -7
  56. package/src/Menu.recipe.ts +15 -16
  57. package/src/Menu.tsx +9 -13
  58. package/src/Modal.recipe.ts +7 -8
  59. package/src/Modal.tsx +19 -24
  60. package/src/NativeSelect.tsx +16 -16
  61. package/src/NumberField.recipe.ts +8 -10
  62. package/src/NumberField.tsx +4 -4
  63. package/src/PopoverArrow.tsx +1 -2
  64. package/src/ProgressBar.tsx +2 -3
  65. package/src/Radio.recipe.ts +8 -9
  66. package/src/Radio.tsx +2 -2
  67. package/src/RadioGroup.tsx +4 -5
  68. package/src/Select.recipe.ts +9 -9
  69. package/src/Select.tsx +8 -9
  70. package/src/Skeleton.tsx +13 -15
  71. package/src/Slide.tsx +2 -2
  72. package/src/Slider.recipe.ts +11 -14
  73. package/src/Slider.tsx +3 -7
  74. package/src/Spinner.tsx +6 -9
  75. package/src/Svg.tsx +2 -3
  76. package/src/Switch.recipe.ts +4 -5
  77. package/src/Switch.tsx +3 -4
  78. package/src/Text.recipe.ts +4 -7
  79. package/src/Text.tsx +2 -2
  80. package/src/TextField.tsx +3 -4
  81. package/src/Toast.recipe.ts +43 -11
  82. package/src/Toast.tsx +29 -28
  83. package/src/Tooltip.recipe.ts +4 -9
  84. package/src/Tooltip.tsx +9 -11
  85. package/src/TooltipButton.tsx +1 -2
  86. package/src/UnmountCallback.tsx +2 -2
  87. package/src/VisuallyHidden.tsx +1 -1
  88. package/src/base-preset.ts +38 -43
  89. package/src/button-icon.ts +2 -3
  90. package/src/dense-preset.ts +6 -7
  91. package/src/hooks/useBreakpointValue.ts +4 -4
  92. package/src/hooks/useClipboard.ts +5 -6
  93. package/src/hooks/useDisclosure.ts +4 -5
  94. package/src/hooks/useMediaQuery.ts +3 -4
  95. package/src/hooks/usePrevious.ts +1 -4
  96. package/src/index.ts +3 -3
  97. package/src/system.ts +2 -2
package/LICENSE.md CHANGED
@@ -54,8 +54,8 @@ Chakra UI is used under the MIT License:
54
54
 
55
55
  This package's `lang/ui.<locale>.json` catalogs include translations of a few
56
56
  user-interface strings copied from
57
- [React Spectrum](https://github.com/adobe/react-spectrum) (react-aria), taken
58
- at tag `react-aria-components@1.19.0` (see the README's "Strings" section for
59
- which). React Spectrum is copyright Adobe and its contributors, and is used
60
- under the Apache License, Version 2.0:
61
- <https://www.apache.org/licenses/LICENSE-2.0>.
57
+ [React Spectrum](https://github.com/adobe/react-spectrum) — from react-aria at
58
+ tag `react-aria-components@1.19.0`, and from the Spectrum 2 InlineAlert
59
+ component's catalogs (see the README's "Strings" section for which). React
60
+ Spectrum is copyright Adobe and its contributors, and is used under the Apache
61
+ License, Version 2.0: <https://www.apache.org/licenses/LICENSE-2.0>.
package/README.md CHANGED
@@ -64,11 +64,11 @@ an app must do:
64
64
  @import "@microbit/ui/reset.css" layer(reset);
65
65
  ```
66
66
 
67
- The `reset.css` import is **required**: it carries the Chakra-parity
67
+ The `reset.css` import is **required**: it carries the
68
68
  `* { border-color; word-wrap }` defaults, which must sit in the bottom
69
69
  layer (the legacy-Safari cascade-layer flattening specificity-boosts
70
70
  higher layers above CSS it can't see — runtime-injected styles, other
71
- files; playbook gotcha #28). Without it, elements that set a border
71
+ files). Without it, elements that set a border
72
72
  width but no colour render `currentColor` borders.
73
73
  The `vendor` layer is for third-party stylesheets: import any vendor CSS
74
74
  with `@import "..." layer(vendor)` so it beats the preflight reset but
@@ -174,9 +174,8 @@ apply wherever the token is consumed.
174
174
  ## Runtime token lookups
175
175
 
176
176
  For values that feed _computation_ rather than stylesheets (canvas painting,
177
- colour math, inline `style` for data-driven values see gotcha #9 in the
178
- repo's [migration playbook](../../docs/migration-playbook.md)), import the
179
- runtime lookup:
177
+ colour math, inline `style` for data-driven values that Panda's static
178
+ extraction can't see), import the runtime lookup:
180
179
 
181
180
  ```ts
182
181
  import { token } from "@microbit/ui"; // re-exports styled-system/tokens
@@ -210,15 +209,32 @@ Crowdin ZIP>` (config-driven over packages in
210
209
  `bin/update-translations.cjs`), after which you run `npm run i18n:tidy`
211
210
  from the root.
212
211
 
212
+ `bin/i18n-packages.cjs` lists every locale a consuming app ships, so a string
213
+ translated for one app is in place for the next. `i18n:tidy` backfills anything
214
+ missing from English, so an untranslated string renders English rather than
215
+ blank.
216
+
217
+ Until this package's Crowdin project is wired up, the non-English catalogs are
218
+ pre-Crowdin seeds — some strings AI-drafted, all of them for Crowdin to review
219
+ — credited as follows. Translations of the same strings elsewhere in the
220
+ micro:bit translation programme: ml-trainer and python-editor-v3, and
221
+ MakeCode's editor strings, which are not in the pxt repo but can be fetched per
222
+ locale from
223
+ `https://makecode.microbit.org/api/translations?lang=<locale>&filename=strings.json&approved=true`.
224
+ The `ui.toast-status-*` words come from Spectrum 2's InlineAlert catalogs
225
+ (`@react-spectrum/s2/intl/*.json`, keys `inlinealert.informative` / `notice` /
226
+ `negative` / `positive`), under the same licence and notice as the react-aria
227
+ seed below.
228
+
213
229
  ### react-aria's own strings
214
230
 
215
231
  Separately from all of the above, react-aria has built-in strings of its own
216
232
  and translates them from catalogs it bundles, nothing to do with react-intl.
217
- `SharedUIProvider` hands it the app's locale so the two agree. It covers 32
218
- locales; of ours, ca, cy and ga-IE (and the `lol` pseudo-locale) are not among
219
- them and fall back to English, and there is no supported way to teach it more
220
- (the rest resolve, including where our id is less specific than react-aria's —
221
- `fr` finds its fr-FR).
233
+ `SharedUIProvider` hands it the app's locale so the two agree. It bundles 34
234
+ locales; of ours, ca, cy, ga-IE, lo and vi (and the `lol` pseudo-locale) are not
235
+ among them and fall back to English, and there is no supported way to teach it
236
+ more (the rest resolve, including where our id is less specific than
237
+ react-aria's — `fr` finds its fr-FR).
222
238
 
223
239
  Where react-aria lets a prop replace one of those strings, the component
224
240
  passes our own react-intl message instead, so the string rides `lang/` and
@@ -239,9 +255,9 @@ Crowdin like everything else and the missing locales can catch up:
239
255
  Their non-English translations were pre-seeded from react-aria's own catalogs
240
256
  ([adobe/react-spectrum](https://github.com/adobe/react-spectrum) at tag
241
257
  `react-aria-components@1.19.0`, Apache 2.0 — see the notice in
242
- [LICENSE.md](LICENSE.md)) for the locales both sides cover, so only ca, cy and
243
- ga-IE wait on Crowdin. That provenance is recorded here rather than in `lang/`
244
- because Crowdin roundtrips rewrite those files.
258
+ [LICENSE.md](LICENSE.md)) for the locales both sides cover; the five above had
259
+ no such source. That provenance is recorded here rather than in `lang/` because
260
+ Crowdin roundtrips rewrite those files.
245
261
 
246
262
  What react-aria does not expose as a prop — live announcements ("2 items
247
263
  selected"), its hidden dismiss buttons — still comes from its bundled catalogs
package/lang/ui.ca.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Rastres de navegació",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -8,35 +8,35 @@
8
8
  "description": "Close button text or label"
9
9
  },
10
10
  "ui.combobox-listbox": {
11
- "defaultMessage": "Suggestions",
11
+ "defaultMessage": "Suggeriments",
12
12
  "description": "Accessible label for a ComboBox's dropdown list of suggestions"
13
13
  },
14
14
  "ui.combobox-trigger": {
15
- "defaultMessage": "Show suggestions",
15
+ "defaultMessage": "Mostra els suggeriments",
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "S'està carregant",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
23
- "defaultMessage": "Decrease {fieldLabel}",
23
+ "defaultMessage": "Decrementa {fieldLabel}",
24
24
  "description": "Accessible label for a number field's decrement stepper; fieldLabel is the field's label and may be empty"
25
25
  },
26
26
  "ui.numberfield-increase": {
27
- "defaultMessage": "Increase {fieldLabel}",
27
+ "defaultMessage": "Incrementa {fieldLabel}",
28
28
  "description": "Accessible label for a number field's increment stepper; fieldLabel is the field's label and may be empty"
29
29
  },
30
30
  "ui.select-placeholder": {
31
- "defaultMessage": "Select an item",
31
+ "defaultMessage": "Selecciona un element",
32
32
  "description": "Shown in a Select's trigger while nothing is chosen and the app supplies no placeholder"
33
33
  },
34
34
  "ui.select-row-action": {
35
- "defaultMessage": "Select",
35
+ "defaultMessage": "Selecciona",
36
36
  "description": "Accessible label for a row-selection checkbox in a list or table; screen readers read it together with the row's content"
37
37
  },
38
38
  "ui.toast-region": {
39
- "defaultMessage": "{count, plural, one {# notification} other {# notifications}}.",
39
+ "defaultMessage": "{count, plural, one {# notificació} other {# notificacions}}.",
40
40
  "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
41
  },
42
42
  "ui.toast-status-error": {
@@ -44,15 +44,15 @@
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "Informació",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "Completat amb èxit",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "Advertència",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }
package/lang/ui.cy.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Briwsionyn Bara",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "Wrthi'n Llwytho",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -32,7 +32,7 @@
32
32
  "description": "Shown in a Select's trigger while nothing is chosen and the app supplies no placeholder"
33
33
  },
34
34
  "ui.select-row-action": {
35
- "defaultMessage": "Select",
35
+ "defaultMessage": "Dewis",
36
36
  "description": "Accessible label for a row-selection checkbox in a list or table; screen readers read it together with the row's content"
37
37
  },
38
38
  "ui.toast-region": {
@@ -48,7 +48,7 @@
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "Llwyddiant",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
package/lang/ui.de.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Navigationspfad",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "Laden",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -40,19 +40,19 @@
40
40
  "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
41
  },
42
42
  "ui.toast-status-error": {
43
- "defaultMessage": "Error",
43
+ "defaultMessage": "Fehler",
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "Informationen",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "Erfolg",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "Warnung",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Sendero de navegación",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "Cargando",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -44,15 +44,15 @@
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "Información",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "Éxito",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "Advertencia",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }
package/lang/ui.fr.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Fil d'Ariane",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "Chargement",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -40,19 +40,19 @@
40
40
  "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
41
  },
42
42
  "ui.toast-status-error": {
43
- "defaultMessage": "Error",
43
+ "defaultMessage": "Erreur",
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "Informations",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "Succès",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "Avertissement",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Mionrian",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "Ag lódáil",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -32,7 +32,7 @@
32
32
  "description": "Shown in a Select's trigger while nothing is chosen and the app supplies no placeholder"
33
33
  },
34
34
  "ui.select-row-action": {
35
- "defaultMessage": "Select",
35
+ "defaultMessage": "Roghnaigh",
36
36
  "description": "Accessible label for a row-selection checkbox in a list or table; screen readers read it together with the row's content"
37
37
  },
38
38
  "ui.toast-region": {
@@ -40,7 +40,7 @@
40
40
  "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
41
  },
42
42
  "ui.toast-status-error": {
43
- "defaultMessage": "Error",
43
+ "defaultMessage": "Earráid",
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
@@ -48,11 +48,11 @@
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "D'éirigh leis",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "Rabhadh",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }
package/lang/ui.it.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Percorso di navigazione",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "Caricamento",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -44,11 +44,11 @@
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "Informazioni",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "Successo",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
package/lang/ui.ja.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "パンくずリスト",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "読み込み中",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -32,7 +32,7 @@
32
32
  "description": "Shown in a Select's trigger while nothing is chosen and the app supplies no placeholder"
33
33
  },
34
34
  "ui.select-row-action": {
35
- "defaultMessage": "選択",
35
+ "defaultMessage": "選択する",
36
36
  "description": "Accessible label for a row-selection checkbox in a list or table; screen readers read it together with the row's content"
37
37
  },
38
38
  "ui.toast-region": {
@@ -40,19 +40,19 @@
40
40
  "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
41
  },
42
42
  "ui.toast-status-error": {
43
- "defaultMessage": "Error",
43
+ "defaultMessage": "エラー",
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "情報",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "成功",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "警告",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }
package/lang/ui.ko.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "이동경로",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,7 +16,7 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "불러오는 중...",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
@@ -40,19 +40,19 @@
40
40
  "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
41
  },
42
42
  "ui.toast-status-error": {
43
- "defaultMessage": "Error",
43
+ "defaultMessage": "오류",
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "정보",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "성공",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "경고",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }
@@ -0,0 +1,58 @@
1
+ {
2
+ "ui.breadcrumb": {
3
+ "defaultMessage": "ແຖບເສັ້ນທາງນຳທາງ",
4
+ "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
+ },
6
+ "ui.close-action": {
7
+ "defaultMessage": "ປິດໜ້າ",
8
+ "description": "Close button text or label"
9
+ },
10
+ "ui.combobox-listbox": {
11
+ "defaultMessage": "Suggestions",
12
+ "description": "Accessible label for a ComboBox's dropdown list of suggestions"
13
+ },
14
+ "ui.combobox-trigger": {
15
+ "defaultMessage": "Show suggestions",
16
+ "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
+ },
18
+ "ui.loading": {
19
+ "defaultMessage": "ກຳລັງໂຫຼດ",
20
+ "description": "Announced by screen readers for a button showing a loading spinner"
21
+ },
22
+ "ui.numberfield-decrease": {
23
+ "defaultMessage": "Decrease {fieldLabel}",
24
+ "description": "Accessible label for a number field's decrement stepper; fieldLabel is the field's label and may be empty"
25
+ },
26
+ "ui.numberfield-increase": {
27
+ "defaultMessage": "Increase {fieldLabel}",
28
+ "description": "Accessible label for a number field's increment stepper; fieldLabel is the field's label and may be empty"
29
+ },
30
+ "ui.select-placeholder": {
31
+ "defaultMessage": "Select an item",
32
+ "description": "Shown in a Select's trigger while nothing is chosen and the app supplies no placeholder"
33
+ },
34
+ "ui.select-row-action": {
35
+ "defaultMessage": "Select",
36
+ "description": "Accessible label for a row-selection checkbox in a list or table; screen readers read it together with the row's content"
37
+ },
38
+ "ui.toast-region": {
39
+ "defaultMessage": "{count, plural, one {# notification} other {# notifications}}.",
40
+ "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
+ },
42
+ "ui.toast-status-error": {
43
+ "defaultMessage": "ຂໍ້ຜິດພາດ",
44
+ "description": "Announced by screen readers before an error notification"
45
+ },
46
+ "ui.toast-status-info": {
47
+ "defaultMessage": "Information",
48
+ "description": "Announced by screen readers before an informational notification"
49
+ },
50
+ "ui.toast-status-success": {
51
+ "defaultMessage": "Success",
52
+ "description": "Announced by screen readers before a success notification"
53
+ },
54
+ "ui.toast-status-warning": {
55
+ "defaultMessage": "ຄຳເຕືອນ",
56
+ "description": "Announced by screen readers before a warning notification"
57
+ }
58
+ }
package/lang/ui.nl.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "ui.breadcrumb": {
3
- "defaultMessage": "Breadcrumb",
3
+ "defaultMessage": "Kruimelpad",
4
4
  "description": "Accessible label for the breadcrumb navigation trail (the WAI-ARIA APG's conventional name)"
5
5
  },
6
6
  "ui.close-action": {
@@ -16,15 +16,15 @@
16
16
  "description": "Accessible label for the button that opens a ComboBox's suggestions dropdown"
17
17
  },
18
18
  "ui.loading": {
19
- "defaultMessage": "Loading",
19
+ "defaultMessage": "Laden",
20
20
  "description": "Announced by screen readers for a button showing a loading spinner"
21
21
  },
22
22
  "ui.numberfield-decrease": {
23
- "defaultMessage": "{fieldLabel} verlagen",
23
+ "defaultMessage": "Verlaag {fieldLabel}",
24
24
  "description": "Accessible label for a number field's decrement stepper; fieldLabel is the field's label and may be empty"
25
25
  },
26
26
  "ui.numberfield-increase": {
27
- "defaultMessage": "{fieldLabel} verhogen",
27
+ "defaultMessage": "Verhoog {fieldLabel}",
28
28
  "description": "Accessible label for a number field's increment stepper; fieldLabel is the field's label and may be empty"
29
29
  },
30
30
  "ui.select-placeholder": {
@@ -32,7 +32,7 @@
32
32
  "description": "Shown in a Select's trigger while nothing is chosen and the app supplies no placeholder"
33
33
  },
34
34
  "ui.select-row-action": {
35
- "defaultMessage": "Selecteren",
35
+ "defaultMessage": "Selecteer",
36
36
  "description": "Accessible label for a row-selection checkbox in a list or table; screen readers read it together with the row's content"
37
37
  },
38
38
  "ui.toast-region": {
@@ -40,19 +40,19 @@
40
40
  "description": "Accessible label for the notifications area; count is the number of notifications showing"
41
41
  },
42
42
  "ui.toast-status-error": {
43
- "defaultMessage": "Error",
43
+ "defaultMessage": "Fout",
44
44
  "description": "Announced by screen readers before an error notification"
45
45
  },
46
46
  "ui.toast-status-info": {
47
- "defaultMessage": "Information",
47
+ "defaultMessage": "Informatie",
48
48
  "description": "Announced by screen readers before an informational notification"
49
49
  },
50
50
  "ui.toast-status-success": {
51
- "defaultMessage": "Success",
51
+ "defaultMessage": "Succes",
52
52
  "description": "Announced by screen readers before a success notification"
53
53
  },
54
54
  "ui.toast-status-warning": {
55
- "defaultMessage": "Warning",
55
+ "defaultMessage": "Waarschuwing",
56
56
  "description": "Announced by screen readers before a warning notification"
57
57
  }
58
58
  }