@yahoo/uds-create-config 5.62.11 → 5.63.0

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.
@@ -280,6 +280,7 @@ function memberVariantOptions(library, member) {
280
280
  const narrowed = library.variants.filter((variant) => own.includes(variant));
281
281
  return narrowed.length > 0 ? narrowed : library.variants;
282
282
  }
283
+ const INTRINSIC_TAG = /^[a-z][a-zA-Z0-9-]*$/;
283
284
  /**
284
285
  * Whether an element type declares a prop that may survive layer-style projection. A placed
285
286
  * glyph's type isn't a component, so its prop surface comes from its library instead: the
@@ -293,6 +294,10 @@ function isDeclaredElementProp(config, elementType, propName) {
293
294
  if (isCustomPropertyKey(propName)) return false;
294
295
  return config.resolve("style-property", propName) === void 0;
295
296
  }
297
+ if (INTRINSIC_TAG.test(elementType)) {
298
+ if (isCustomPropertyKey(propName)) return false;
299
+ return config.resolve("style-property", propName) === void 0;
300
+ }
296
301
  const parsed = parseGlyphType(elementType);
297
302
  if (!parsed) return false;
298
303
  const library = iconLibrary(config, parsed.slug);