@skyux/forms 13.7.2 → 13.8.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/forms",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.8.1",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"@angular/core": "^20.3.0",
|
|
22
22
|
"@angular/forms": "^20.3.0",
|
|
23
23
|
"@angular/platform-browser": "^20.3.0",
|
|
24
|
-
"@skyux-sdk/testing": "13.
|
|
25
|
-
"@skyux/core": "13.
|
|
26
|
-
"@skyux/help-inline": "13.
|
|
27
|
-
"@skyux/i18n": "13.
|
|
28
|
-
"@skyux/icon": "13.
|
|
29
|
-
"@skyux/indicators": "13.
|
|
30
|
-
"@skyux/popovers": "13.
|
|
31
|
-
"@skyux/theme": "13.
|
|
24
|
+
"@skyux-sdk/testing": "13.8.1",
|
|
25
|
+
"@skyux/core": "13.8.1",
|
|
26
|
+
"@skyux/help-inline": "13.8.1",
|
|
27
|
+
"@skyux/i18n": "13.8.1",
|
|
28
|
+
"@skyux/icon": "13.8.1",
|
|
29
|
+
"@skyux/indicators": "13.8.1",
|
|
30
|
+
"@skyux/popovers": "13.8.1",
|
|
31
|
+
"@skyux/theme": "13.8.1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"tslib": "^2.8.1"
|
package/testing/index.d.ts
CHANGED
|
@@ -42,6 +42,37 @@ declare class SkyCharacterCounterIndicatorHarness extends SkyComponentHarness {
|
|
|
42
42
|
isOverLimit(): Promise<boolean>;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* A set of criteria that can be used to filter a list of `SkyFormErrorHarness` instances.
|
|
47
|
+
*/
|
|
48
|
+
interface SkyFormErrorHarnessFilters extends SkyHarnessFilters {
|
|
49
|
+
/**
|
|
50
|
+
* The name of the error.
|
|
51
|
+
*/
|
|
52
|
+
errorName?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class SkyFormErrorHarness extends SkyComponentHarness {
|
|
56
|
+
#private;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
static hostSelector: string;
|
|
61
|
+
/**
|
|
62
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
63
|
+
* `SkyFormErrorHarness` that meets certain criteria
|
|
64
|
+
*/
|
|
65
|
+
static with(filters: SkyFormErrorHarnessFilters): HarnessPredicate<SkyFormErrorHarness>;
|
|
66
|
+
/**
|
|
67
|
+
* Gets the error name.
|
|
68
|
+
*/
|
|
69
|
+
getErrorName(): Promise<string | null>;
|
|
70
|
+
/**
|
|
71
|
+
* Gets the error text.
|
|
72
|
+
*/
|
|
73
|
+
getErrorText(): Promise<string | null>;
|
|
74
|
+
}
|
|
75
|
+
|
|
45
76
|
/**
|
|
46
77
|
* A set of criteria that can be used to filter a list of SkyInputBoxHarness instances.
|
|
47
78
|
*/
|
|
@@ -77,7 +108,11 @@ declare class SkyInputBoxHarness extends SkyQueryableComponentHarness {
|
|
|
77
108
|
*/
|
|
78
109
|
getCustomErrors(): Promise<SkyStatusIndicatorHarness[]>;
|
|
79
110
|
/**
|
|
80
|
-
*
|
|
111
|
+
* Gets the custom form error.
|
|
112
|
+
*/
|
|
113
|
+
getCustomFormError(errorName: string): Promise<SkyFormErrorHarness>;
|
|
114
|
+
/**
|
|
115
|
+
* Whether the custom form error is triggered.
|
|
81
116
|
*/
|
|
82
117
|
hasCustomFormError(errorName: string): Promise<boolean>;
|
|
83
118
|
/**
|
|
@@ -438,6 +473,10 @@ declare class SkyFileAttachmentHarness extends SkyComponentHarness {
|
|
|
438
473
|
* Gets the accepted file types.
|
|
439
474
|
*/
|
|
440
475
|
getAcceptedTypes(): Promise<string | null>;
|
|
476
|
+
/**
|
|
477
|
+
* Gets the custom form error.
|
|
478
|
+
*/
|
|
479
|
+
getCustomError(errorName: string): Promise<SkyFormErrorHarness>;
|
|
441
480
|
/**
|
|
442
481
|
* Gets the help inline popover content.
|
|
443
482
|
*/
|
|
@@ -539,6 +578,10 @@ declare class SkyFileDropHarness extends SkyComponentHarness {
|
|
|
539
578
|
* Gets the accepted file types.
|
|
540
579
|
*/
|
|
541
580
|
getAcceptedTypes(): Promise<string | null>;
|
|
581
|
+
/**
|
|
582
|
+
* Gets the custom form error.
|
|
583
|
+
*/
|
|
584
|
+
getCustomError(errorName: string): Promise<SkyFormErrorHarness>;
|
|
542
585
|
/**
|
|
543
586
|
* Gets the aria-label for the file upload button.
|
|
544
587
|
*/
|
|
@@ -703,33 +746,6 @@ declare class SkyFormErrorsHarness extends SkyComponentHarness {
|
|
|
703
746
|
hasError(errorName: string): Promise<boolean>;
|
|
704
747
|
}
|
|
705
748
|
|
|
706
|
-
/**
|
|
707
|
-
* A set of criteria that can be used to filter a list of `SkyFormErrorHarness` instances.
|
|
708
|
-
*/
|
|
709
|
-
interface SkyFormErrorHarnessFilters extends SkyHarnessFilters {
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
declare class SkyFormErrorHarness extends SkyComponentHarness {
|
|
713
|
-
#private;
|
|
714
|
-
/**
|
|
715
|
-
* @internal
|
|
716
|
-
*/
|
|
717
|
-
static hostSelector: string;
|
|
718
|
-
/**
|
|
719
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
720
|
-
* `SkyFormErrorHarness` that meets certain criteria
|
|
721
|
-
*/
|
|
722
|
-
static with(filters: SkyFormErrorHarnessFilters): HarnessPredicate<SkyFormErrorHarness>;
|
|
723
|
-
/**
|
|
724
|
-
* Gets the error name.
|
|
725
|
-
*/
|
|
726
|
-
getErrorName(): Promise<string | null>;
|
|
727
|
-
/**
|
|
728
|
-
* Gets the error text.
|
|
729
|
-
*/
|
|
730
|
-
getErrorText(): Promise<string | null>;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
749
|
/**
|
|
734
750
|
* A set of criteria that can be used to filter a list of `SkyFieldGroupHarness` instances.
|
|
735
751
|
*/
|
|
@@ -922,6 +938,10 @@ declare class SkyRadioGroupHarness extends SkyComponentHarness {
|
|
|
922
938
|
* Clicks the help inline button.
|
|
923
939
|
*/
|
|
924
940
|
clickHelpInline(): Promise<void>;
|
|
941
|
+
/**
|
|
942
|
+
* Gets the custom form error.
|
|
943
|
+
*/
|
|
944
|
+
getCustomError(errorName: string): Promise<SkyFormErrorHarness>;
|
|
925
945
|
/**
|
|
926
946
|
* Whether the heading is hidden.
|
|
927
947
|
*/
|
|
@@ -971,7 +991,7 @@ declare class SkyRadioGroupHarness extends SkyComponentHarness {
|
|
|
971
991
|
*/
|
|
972
992
|
getStacked(): Promise<boolean>;
|
|
973
993
|
/**
|
|
974
|
-
* Whether the
|
|
994
|
+
* Whether a form error with the specified name has fired.
|
|
975
995
|
*/
|
|
976
996
|
hasError(errorName: string): Promise<boolean>;
|
|
977
997
|
}
|