@arcgis/toolkit 5.1.0-next.61 → 5.1.0-next.62

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.
@@ -12,6 +12,8 @@ const supportedLocales = (
12
12
  const defaultLocale = "en";
13
13
  const localeEquivalencies = {
14
14
  //#region localeEquivalencies
15
+ // Locale equivalencies aligned with ArcGIS Maps SDK for JavaScript:
16
+ // https://developers.arcgis.com/javascript/latest/localization/#locale-support
15
17
  // We resolve to `pt-BR` as it will have the same translations as `pt`, which has no corresponding bundle
16
18
  pt: "pt-BR",
17
19
  // We support both 'nb' and 'no' (BCP 47) for Norwegian but only `no` has corresponding bundle
@@ -65,6 +65,9 @@ export declare const getElementLocale: (element: HTMLElement) => {
65
65
  * Try to parse any language string into one of the locales supported by WebGIS SDK.
66
66
  *
67
67
  * @remarks
68
+ * Follows the ArcGIS Maps SDK for JavaScript locale support:
69
+ * https://developers.arcgis.com/javascript/latest/localization/#locale-support
70
+ *
68
71
  * If language includes a region code, but we don't have a bundle for it, the
69
72
  * language is normalized to the language code only.
70
73
  */
@@ -65,6 +65,9 @@ export declare const getElementLocale: (element: HTMLElement) => {
65
65
  * Try to parse any language string into one of the locales supported by WebGIS SDK.
66
66
  *
67
67
  * @remarks
68
+ * Follows the ArcGIS Maps SDK for JavaScript locale support:
69
+ * https://developers.arcgis.com/javascript/latest/localization/#locale-support
70
+ *
68
71
  * If language includes a region code, but we don't have a bundle for it, the
69
72
  * language is normalized to the language code only.
70
73
  */
@@ -10,6 +10,8 @@ const supportedLocales = (
10
10
  const defaultLocale = "en";
11
11
  const localeEquivalencies = {
12
12
  //#region localeEquivalencies
13
+ // Locale equivalencies aligned with ArcGIS Maps SDK for JavaScript:
14
+ // https://developers.arcgis.com/javascript/latest/localization/#locale-support
13
15
  // We resolve to `pt-BR` as it will have the same translations as `pt`, which has no corresponding bundle
14
16
  pt: "pt-BR",
15
17
  // We support both 'nb' and 'no' (BCP 47) for Norwegian but only `no` has corresponding bundle
@@ -92,7 +92,7 @@ export declare const getMinorVersion: (version: string) => string;
92
92
  * The preamble text contains the version number and a link to the license.
93
93
  * The version number should normally come from package.json.
94
94
  *
95
- * @see https://webgis.esri.com/webgis/platform-guidelines/licensing
95
+ * @see https://webgis.esri.com/webgis/contributing/licensing
96
96
  * @example
97
97
  * ```ts
98
98
  * const preamble = getPreamble("5.0.1-next.456");
@@ -92,7 +92,7 @@ export declare const getMinorVersion: (version: string) => string;
92
92
  * The preamble text contains the version number and a link to the license.
93
93
  * The version number should normally come from package.json.
94
94
  *
95
- * @see https://webgis.esri.com/webgis/platform-guidelines/licensing
95
+ * @see https://webgis.esri.com/webgis/contributing/licensing
96
96
  * @example
97
97
  * ```ts
98
98
  * const preamble = getPreamble("5.0.1-next.456");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/toolkit",
3
- "version": "5.1.0-next.61",
3
+ "version": "5.1.0-next.62",
4
4
  "description": "Collection of common internal patterns and utilities for ArcGIS Maps SDK for JavaScript components.",
5
5
  "homepage": "https://developers.arcgis.com/javascript/latest/",
6
6
  "sideEffects": false,