@arcgis/components-utils 4.33.0-next.67 → 4.33.0-next.69

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/dist/index.cjs CHANGED
@@ -331,7 +331,7 @@ function startLocaleObserver(element, getAssetsPath, onUpdated, assetName) {
331
331
  queueMicrotask(callback);
332
332
  return observeAncestorsMutation(element, ["lang"], callback);
333
333
  }
334
- async function updateComponentLocaleState(element, assetsPath, assetName = element.tagName.toLowerCase().split("-").slice(1).join("-")) {
334
+ async function updateComponentLocaleState(element, assetsPath, assetName = element.localName.split("-").slice(1).join("-")) {
335
335
  const { lang, t9nLocale } = getElementLocales(element);
336
336
  const t9nAssetsPath = `${assetsPath}/${assetName}/t9n`;
337
337
  const prefix = `messages.`;
package/dist/index.js CHANGED
@@ -329,7 +329,7 @@ function startLocaleObserver(element, getAssetsPath, onUpdated, assetName) {
329
329
  queueMicrotask(callback);
330
330
  return observeAncestorsMutation(element, ["lang"], callback);
331
331
  }
332
- async function updateComponentLocaleState(element, assetsPath, assetName = element.tagName.toLowerCase().split("-").slice(1).join("-")) {
332
+ async function updateComponentLocaleState(element, assetsPath, assetName = element.localName.split("-").slice(1).join("-")) {
333
333
  const { lang, t9nLocale } = getElementLocales(element);
334
334
  const t9nAssetsPath = `${assetsPath}/${assetName}/t9n`;
335
335
  const prefix = `messages.`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/components-utils",
3
- "version": "4.33.0-next.67",
3
+ "version": "4.33.0-next.69",
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,