Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/atlas-js

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/atlas-js - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

2

dist/elements/form-behavior.d.ts

@@ -91,5 +91,5 @@ export declare const defaultMessageStrings: {

export declare function setValidationMessage(element: HTMLValueElement, message: string): void;
export declare function navigateAfterSubmit(href: string, navigationStep: NavigationSteps): void;
export declare function navigateAfterSubmit(href: string | null, navigationStep: NavigationSteps): void;
export declare function collectCustomElementsByName(form: HTMLFormElement): Element[];
export {};
//# sourceMappingURL=form-behavior.d.ts.map

@@ -103,5 +103,3 @@ import { generateElementId, kebabToCamelCase } from '../utilities/util';

navigate(href) {
if (href) {
navigateAfterSubmit(href, this.getAttribute('navigation'));
}
navigateAfterSubmit(href, this.getAttribute('navigation'));
}

@@ -309,3 +307,2 @@ scheduleCommit(event) {

if (input.hasAttribute('data-skip-validation')) {
this.clearValidationErrors(input);
const validationErrorEvent = new CustomEvent('form-validating', {

@@ -312,0 +309,0 @@ detail: {

{
"name": "@microsoft/atlas-js",
"version": "1.5.2",
"version": "1.5.3",
"public": true,

@@ -5,0 +5,0 @@ "description": "Scripts backing the Atlas Design System used by Microsoft's Developer Relations.",

@@ -129,5 +129,3 @@ import { generateElementId, kebabToCamelCase } from '../utilities/util';

navigate(href: string | null) {
if (href) {
navigateAfterSubmit(href, this.getAttribute('navigation') as NavigationSteps);
}
navigateAfterSubmit(href, this.getAttribute('navigation') as NavigationSteps);
}

@@ -389,3 +387,2 @@

if (input.hasAttribute('data-skip-validation')) {
this.clearValidationErrors(input);
const validationErrorEvent = new CustomEvent('form-validating', {

@@ -403,3 +400,2 @@ detail: {

const isCustomElement = !!customElements.find(el => el === input);
this.runBasicValidation(input, displayValidity, errors, errorList, isCustomElement);

@@ -692,3 +688,3 @@ const validationErrorEvent = new CustomEvent('form-validating', {

export function navigateAfterSubmit(href: string, navigationStep: NavigationSteps) {
export function navigateAfterSubmit(href: string | null, navigationStep: NavigationSteps) {
switch (navigationStep) {

@@ -695,0 +691,0 @@ case null:

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc