@skyux/validation 8.0.3 → 8.2.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.
- package/documentation.json +4 -4
- package/package.json +1 -1
package/documentation.json
CHANGED
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
{
|
|
923
923
|
"fileName": "email-validation-demo.component.html",
|
|
924
924
|
"filePath": "/projects/validation/documentation/code-examples/email-validation/control-validator/email-validation-demo.component.html",
|
|
925
|
-
"rawContents": "<form novalidate [formGroup]=\"formGroup\">\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"emailInput.id\">\n Email address\n </label>\n <input\n class=\"sky-form-control\"\n formControlName=\"email\"\n [attr.aria-describedby]=\"emailError.id\"\n skyId\n #emailInput=\"skyId\"\n />\n <span class=\"sky-error-indicator\" skyId #emailError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n emailControl?.errors &&\n emailControl?.touched &&\n emailControl?.errors?.required\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Email address is required.\n </sky-status-indicator>\n <sky-status-indicator\n *ngIf=\"\n emailControl?.errors &&\n emailControl?.touched &&\n emailControl?.errors?.skyEmail &&\n emailControl?.dirty\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Enter a valid email in the \"joe@abc.com\" format.\n </sky-status-indicator>\n </span>\n </sky-input-box>\n </div>\n</form>\n"
|
|
925
|
+
"rawContents": "<form novalidate [formGroup]=\"formGroup\">\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"emailInput.id\">\n Email address\n </label>\n <input\n class=\"sky-form-control\"\n formControlName=\"email\"\n [attr.aria-describedby]=\"emailError.id\"\n skyId\n #emailInput=\"skyId\"\n />\n <span class=\"sky-error-indicator\" skyId #emailError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n emailControl?.errors &&\n emailControl?.touched &&\n emailControl?.errors?.['required']\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Email address is required.\n </sky-status-indicator>\n <sky-status-indicator\n *ngIf=\"\n emailControl?.errors &&\n emailControl?.touched &&\n emailControl?.errors?.['skyEmail'] &&\n emailControl?.dirty\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Enter a valid email in the \"joe@abc.com\" format.\n </sky-status-indicator>\n </span>\n </sky-input-box>\n </div>\n</form>\n"
|
|
926
926
|
},
|
|
927
927
|
{
|
|
928
928
|
"fileName": "email-validation-demo.component.ts",
|
|
@@ -937,7 +937,7 @@
|
|
|
937
937
|
{
|
|
938
938
|
"fileName": "email-validation-demo.component.html",
|
|
939
939
|
"filePath": "/projects/validation/documentation/code-examples/email-validation/directive/email-validation-demo.component.html",
|
|
940
|
-
"rawContents": "<form novalidate>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"emailInput.id\">\n Email address\n </label>\n <input\n class=\"sky-form-control\"\n name=\"emailAddress\"\n [attr.aria-describedby]=\"emailError.id\"\n skyEmailValidation\n skyId\n [(ngModel)]=\"demoModel.emailAddress\"\n #emailInput=\"skyId\"\n #emailControl=\"ngModel\"\n />\n <span class=\"sky-error-indicator\" skyId #emailError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n emailControl.errors?.skyEmail &&\n emailControl.dirty &&\n emailControl.touched\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Enter a valid email in the \"joe@abc.com\" format.\n </sky-status-indicator>\n </span>\n </sky-input-box>\n </div>\n</form>\n"
|
|
940
|
+
"rawContents": "<form novalidate>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"emailInput.id\">\n Email address\n </label>\n <input\n class=\"sky-form-control\"\n name=\"emailAddress\"\n [attr.aria-describedby]=\"emailError.id\"\n skyEmailValidation\n skyId\n [(ngModel)]=\"demoModel.emailAddress\"\n #emailInput=\"skyId\"\n #emailControl=\"ngModel\"\n />\n <span class=\"sky-error-indicator\" skyId #emailError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n emailControl.errors?.['skyEmail'] &&\n emailControl.dirty &&\n emailControl.touched\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Enter a valid email in the \"joe@abc.com\" format.\n </sky-status-indicator>\n </span>\n </sky-input-box>\n </div>\n</form>\n"
|
|
941
941
|
},
|
|
942
942
|
{
|
|
943
943
|
"fileName": "email-validation-demo.component.ts",
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
{
|
|
953
953
|
"fileName": "url-validation-demo.component.html",
|
|
954
954
|
"filePath": "/projects/validation/documentation/code-examples/url-validation/control-validator/url-validation-demo.component.html",
|
|
955
|
-
"rawContents": "<form novalidate [formGroup]=\"formGroup\">\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"urlInput.id\"> URL </label>\n <input\n class=\"sky-form-control\"\n formControlName=\"url\"\n [attr.aria-describedby]=\"urlError.id\"\n skyId\n #urlInput=\"skyId\"\n />\n <span class=\"sky-error-indicator\" skyId #urlError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n urlControl?.errors &&\n urlControl?.touched &&\n urlControl?.errors?.required\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n URL is required.\n </sky-status-indicator>\n <sky-status-indicator\n *ngIf=\"\n urlControl?.errors &&\n urlControl?.touched &&\n urlControl?.errors?.skyUrl &&\n urlControl?.dirty\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Enter a valid URL in the \"http(s)://site.domain\" format.\n </sky-status-indicator>\n </span>\n </sky-input-box>\n </div>\n</form>\n"
|
|
955
|
+
"rawContents": "<form novalidate [formGroup]=\"formGroup\">\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"urlInput.id\"> URL </label>\n <input\n class=\"sky-form-control\"\n formControlName=\"url\"\n [attr.aria-describedby]=\"urlError.id\"\n skyId\n #urlInput=\"skyId\"\n />\n <span class=\"sky-error-indicator\" skyId #urlError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n urlControl?.errors &&\n urlControl?.touched &&\n urlControl?.errors?.['required']\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n URL is required.\n </sky-status-indicator>\n <sky-status-indicator\n *ngIf=\"\n urlControl?.errors &&\n urlControl?.touched &&\n urlControl?.errors?.['skyUrl'] &&\n urlControl?.dirty\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Enter a valid URL in the \"http(s)://site.domain\" format.\n </sky-status-indicator>\n </span>\n </sky-input-box>\n </div>\n</form>\n"
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
958
|
"fileName": "url-validation-demo.component.ts",
|
|
@@ -967,7 +967,7 @@
|
|
|
967
967
|
{
|
|
968
968
|
"fileName": "url-validation-demo.component.html",
|
|
969
969
|
"filePath": "/projects/validation/documentation/code-examples/url-validation/directive/url-validation-demo.component.html",
|
|
970
|
-
"rawContents": "<form novalidate>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"urlInput.id\"> URL </label>\n <input\n class=\"sky-form-control\"\n name=\"url\"\n [skyUrlValidation]=\"skyUrlValidationOptions\"\n [attr.aria-describedby]=\"urlError.id\"\n skyId\n [(ngModel)]=\"demoModel.url\"\n #urlInput=\"skyId\"\n #urlControl=\"ngModel\"\n />\n <span class=\"sky-error-indicator\" skyId #urlError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n urlControl.errors &&\n urlControl.touched &&\n urlControl.errors
|
|
970
|
+
"rawContents": "<form novalidate>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"urlInput.id\"> URL </label>\n <input\n class=\"sky-form-control\"\n name=\"url\"\n [skyUrlValidation]=\"skyUrlValidationOptions\"\n [attr.aria-describedby]=\"urlError.id\"\n skyId\n [(ngModel)]=\"demoModel.url\"\n #urlInput=\"skyId\"\n #urlControl=\"ngModel\"\n />\n <span class=\"sky-error-indicator\" skyId #urlError=\"skyId\">\n <sky-status-indicator\n *ngIf=\"\n urlControl.errors &&\n urlControl.touched &&\n urlControl.errors['skyUrl'] &&\n urlControl.dirty\n \"\n indicatorType=\"danger\"\n descriptionType=\"error\"\n >\n Enter a valid URL in the \"http(s)://site.domain\" format.\n </sky-status-indicator>\n </span>\n </sky-input-box>\n </div>\n</form>\n"
|
|
971
971
|
},
|
|
972
972
|
{
|
|
973
973
|
"fileName": "url-validation-demo.component.ts",
|