@jsenv/navi 0.3.2 → 0.3.3

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.
@@ -13320,11 +13320,12 @@ const installCustomConstraintValidation = (
13320
13320
  closeElementValidationMessage("cleanup");
13321
13321
  };
13322
13322
 
13323
- failedConstraintInfo.target || elementReceivingValidationMessage;
13324
-
13323
+ const anchorElement =
13324
+ failedConstraintInfo.target || elementReceivingValidationMessage;
13325
13325
  validationInterface.validationMessage = openCallout(
13326
13326
  failedConstraintInfo.message,
13327
13327
  {
13328
+ anchorElement,
13328
13329
  level: failedConstraintInfo.level,
13329
13330
  closeOnClickOutside: failedConstraintInfo.closeOnClickOutside,
13330
13331
  onClose: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Library of components including navigation to create frontend applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -370,13 +370,12 @@ export const installCustomConstraintValidation = (
370
370
  closeElementValidationMessage("cleanup");
371
371
  };
372
372
 
373
- const elementTarget =
373
+ const anchorElement =
374
374
  failedConstraintInfo.target || elementReceivingValidationMessage;
375
-
376
375
  validationInterface.validationMessage = openCallout(
377
376
  failedConstraintInfo.message,
378
377
  {
379
- anchors: elementTarget,
378
+ anchorElement,
380
379
  level: failedConstraintInfo.level,
381
380
  closeOnClickOutside: failedConstraintInfo.closeOnClickOutside,
382
381
  onClose: () => {