@brightspace-ui/core 3.237.3 → 3.237.4

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.
@@ -284,6 +284,9 @@ export function registerSemanticVariableForSvgImageUrl(name, value) {
284
284
  if (!name || typeof value !== 'string') {
285
285
  throw new TypeError('registerSemanticVariableForSvgImageUrl requires both a name and value');
286
286
  }
287
+
288
+ if (!style) return;
289
+
287
290
  if (isCustomPropertyDefined(lightRule, name)) {
288
291
  console.warn(`registerSemanticVariableForSvgImageUrl called for ${name} but a custom property is already defined with this name`);
289
292
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.237.3",
3
+ "version": "3.237.4",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",