@skyux/forms 12.27.0 → 13.0.0-alpha.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.
Files changed (117) hide show
  1. package/fesm2022/skyux-forms-testing.mjs.map +1 -1
  2. package/fesm2022/skyux-forms.mjs +159 -159
  3. package/fesm2022/skyux-forms.mjs.map +1 -1
  4. package/index.d.ts +1800 -61
  5. package/package.json +14 -14
  6. package/testing/index.d.ts +1117 -3
  7. package/lib/modules/character-counter/character-counter-indicator.component.d.ts +0 -12
  8. package/lib/modules/character-counter/character-counter-screen-reader.pipe.d.ts +0 -8
  9. package/lib/modules/character-counter/character-counter.directive.d.ts +0 -29
  10. package/lib/modules/character-counter/character-counter.module.d.ts +0 -12
  11. package/lib/modules/checkbox/checkbox-change.d.ts +0 -9
  12. package/lib/modules/checkbox/checkbox-group-heading-level.d.ts +0 -1
  13. package/lib/modules/checkbox/checkbox-group-heading-style.d.ts +0 -1
  14. package/lib/modules/checkbox/checkbox-group.component.d.ts +0 -76
  15. package/lib/modules/checkbox/checkbox-label-text-label.component.d.ts +0 -12
  16. package/lib/modules/checkbox/checkbox-label.component.d.ts +0 -11
  17. package/lib/modules/checkbox/checkbox.component.d.ts +0 -195
  18. package/lib/modules/checkbox/checkbox.module.d.ts +0 -19
  19. package/lib/modules/field-group/field-group-heading-level.d.ts +0 -1
  20. package/lib/modules/field-group/field-group-heading-style.d.ts +0 -1
  21. package/lib/modules/field-group/field-group.component.d.ts +0 -61
  22. package/lib/modules/field-group/field-group.module.d.ts +0 -7
  23. package/lib/modules/file-attachment/file-attachment/file-attachment-change.d.ts +0 -7
  24. package/lib/modules/file-attachment/file-attachment/file-attachment-click.d.ts +0 -7
  25. package/lib/modules/file-attachment/file-attachment/file-attachment-join-ids.pipe.d.ts +0 -11
  26. package/lib/modules/file-attachment/file-attachment/file-attachment-label.component.d.ts +0 -17
  27. package/lib/modules/file-attachment/file-attachment/file-attachment.component.d.ts +0 -153
  28. package/lib/modules/file-attachment/file-attachment/file-attachment.module.d.ts +0 -9
  29. package/lib/modules/file-attachment/file-attachment/file-attachment.service.d.ts +0 -17
  30. package/lib/modules/file-attachment/file-attachments.module.d.ts +0 -11
  31. package/lib/modules/file-attachment/file-drop/file-drop-change.d.ts +0 -11
  32. package/lib/modules/file-attachment/file-drop/file-drop.component.d.ts +0 -162
  33. package/lib/modules/file-attachment/file-drop/file-drop.module.d.ts +0 -9
  34. package/lib/modules/file-attachment/file-drop/file-item.component.d.ts +0 -33
  35. package/lib/modules/file-attachment/file-drop/file-link.d.ts +0 -6
  36. package/lib/modules/file-attachment/shared/file-item-error-type.d.ts +0 -4
  37. package/lib/modules/file-attachment/shared/file-item.d.ts +0 -20
  38. package/lib/modules/file-attachment/shared/file-item.service.d.ts +0 -13
  39. package/lib/modules/file-attachment/shared/file-size.pipe.d.ts +0 -13
  40. package/lib/modules/file-attachment/shared/file-validate-function.d.ts +0 -5
  41. package/lib/modules/form-error/form-error.component.d.ts +0 -25
  42. package/lib/modules/form-error/form-error.module.d.ts +0 -7
  43. package/lib/modules/form-error/form-errors-enabled-token.d.ts +0 -5
  44. package/lib/modules/form-error/form-errors.component.d.ts +0 -30
  45. package/lib/modules/form-error/form-errors.module.d.ts +0 -11
  46. package/lib/modules/input-box/input-box-adapter.service.d.ts +0 -28
  47. package/lib/modules/input-box/input-box-control.directive.d.ts +0 -11
  48. package/lib/modules/input-box/input-box-hint-text.pipe.d.ts +0 -10
  49. package/lib/modules/input-box/input-box-host.service.d.ts +0 -40
  50. package/lib/modules/input-box/input-box-populate-args.d.ts +0 -12
  51. package/lib/modules/input-box/input-box.component.d.ts +0 -118
  52. package/lib/modules/input-box/input-box.module.d.ts +0 -16
  53. package/lib/modules/radio/radio-group-id.service.d.ts +0 -24
  54. package/lib/modules/radio/radio-group.component.d.ts +0 -157
  55. package/lib/modules/radio/radio-label.component.d.ts +0 -13
  56. package/lib/modules/radio/radio.component.d.ts +0 -169
  57. package/lib/modules/radio/radio.module.d.ts +0 -18
  58. package/lib/modules/radio/types/radio-change.d.ts +0 -9
  59. package/lib/modules/radio/types/radio-group-heading-level.d.ts +0 -1
  60. package/lib/modules/radio/types/radio-group-heading-style.d.ts +0 -1
  61. package/lib/modules/radio/types/radio-type.d.ts +0 -4
  62. package/lib/modules/required-state/required-state.directive.d.ts +0 -17
  63. package/lib/modules/selection-box/selection-box-adapter.service.d.ts +0 -46
  64. package/lib/modules/selection-box/selection-box-description.component.d.ts +0 -8
  65. package/lib/modules/selection-box/selection-box-grid.component.d.ts +0 -29
  66. package/lib/modules/selection-box/selection-box-header.component.d.ts +0 -8
  67. package/lib/modules/selection-box/selection-box.component.d.ts +0 -29
  68. package/lib/modules/selection-box/selection-box.module.d.ts +0 -12
  69. package/lib/modules/selection-box/types/selection-box-grid-align-items-type.d.ts +0 -4
  70. package/lib/modules/selection-box/types/selection-box-grid-align-items.d.ts +0 -14
  71. package/lib/modules/shared/sky-forms-resources.module.d.ts +0 -10
  72. package/lib/modules/toggle-switch/toggle-switch-label.component.d.ts +0 -12
  73. package/lib/modules/toggle-switch/toggle-switch.component.d.ts +0 -81
  74. package/lib/modules/toggle-switch/toggle-switch.module.d.ts +0 -12
  75. package/lib/modules/toggle-switch/types/toggle-switch-change.d.ts +0 -6
  76. package/testing/legacy/checkbox-fixture.d.ts +0 -38
  77. package/testing/legacy/radio-fixture.d.ts +0 -26
  78. package/testing/modules/character-counter/character-counter-indicator-harness-filters.d.ts +0 -6
  79. package/testing/modules/character-counter/character-counter-indicator-harness.d.ts +0 -31
  80. package/testing/modules/checkbox/checkbox-group-harness-filters.d.ts +0 -6
  81. package/testing/modules/checkbox/checkbox-group-harness.d.ts +0 -73
  82. package/testing/modules/checkbox/checkbox-harness-filters.d.ts +0 -6
  83. package/testing/modules/checkbox/checkbox-harness.d.ts +0 -103
  84. package/testing/modules/checkbox/checkbox-label-harness.d.ts +0 -16
  85. package/testing/modules/checkbox/checkbox-label-text-label.harness.d.ts +0 -16
  86. package/testing/modules/field-group/field-group-harness-filters.d.ts +0 -6
  87. package/testing/modules/field-group/field-group-harness.d.ts +0 -56
  88. package/testing/modules/file-attachment/file-attachment/file-attachment-harness-filters.d.ts +0 -6
  89. package/testing/modules/file-attachment/file-attachment/file-attachment-harness.d.ts +0 -101
  90. package/testing/modules/file-attachment/file-drop/file-drop-harness-filters.d.ts +0 -6
  91. package/testing/modules/file-attachment/file-drop/file-drop-harness.d.ts +0 -124
  92. package/testing/modules/file-attachment/file-drop/file-drop-link-upload-harness.d.ts +0 -28
  93. package/testing/modules/file-attachment/file-drop/file-drop-link-upload-input-harness.d.ts +0 -14
  94. package/testing/modules/file-attachment/file-drop/file-item-harness-filters.d.ts +0 -10
  95. package/testing/modules/file-attachment/file-drop/file-item-harness.d.ts +0 -28
  96. package/testing/modules/file-attachment/shared/provide-file-attachment-testing.d.ts +0 -11
  97. package/testing/modules/form-error/form-error-harness.d.ts +0 -23
  98. package/testing/modules/form-error/form-error-harness.filters.d.ts +0 -6
  99. package/testing/modules/form-error/form-errors-harness.d.ts +0 -24
  100. package/testing/modules/form-error/form-errors-harness.filters.d.ts +0 -6
  101. package/testing/modules/input-box/input-box-harness-filters.d.ts +0 -6
  102. package/testing/modules/input-box/input-box-harness.d.ts +0 -108
  103. package/testing/modules/radio/radio-group-harness-filters.d.ts +0 -6
  104. package/testing/modules/radio/radio-group-harness.d.ts +0 -69
  105. package/testing/modules/radio/radio-harness-filters.d.ts +0 -6
  106. package/testing/modules/radio/radio-harness.d.ts +0 -79
  107. package/testing/modules/radio/radio-label-harness.d.ts +0 -16
  108. package/testing/modules/selection-box/selection-box-description-harness.d.ts +0 -15
  109. package/testing/modules/selection-box/selection-box-grid-harness-filters.d.ts +0 -6
  110. package/testing/modules/selection-box/selection-box-grid-harness.d.ts +0 -27
  111. package/testing/modules/selection-box/selection-box-harness-filters.d.ts +0 -6
  112. package/testing/modules/selection-box/selection-box-harness.d.ts +0 -36
  113. package/testing/modules/selection-box/selection-box-header-harness.d.ts +0 -15
  114. package/testing/modules/toggle-switch/toggle-switch-harness-filters.d.ts +0 -6
  115. package/testing/modules/toggle-switch/toggle-switch-harness.d.ts +0 -67
  116. package/testing/modules/toggle-switch/toggle-switch-label-harness.d.ts +0 -16
  117. package/testing/public-api.d.ts +0 -35
@@ -1,79 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyRadioHarnessFilters } from './radio-harness-filters';
4
- /**
5
- * Harness for interacting with a radio button component in tests.
6
- */
7
- export declare class SkyRadioHarness extends SkyComponentHarness {
8
- #private;
9
- /**
10
- * @internal
11
- */
12
- static hostSelector: string;
13
- /**
14
- * Gets a `HarnessPredicate` that can be used to search for a
15
- * `SkyRadioHarness` that meets certain criteria.
16
- */
17
- static with(filters: SkyRadioHarnessFilters): HarnessPredicate<SkyRadioHarness>;
18
- /**
19
- * Blurs the radio button.
20
- */
21
- blur(): Promise<void>;
22
- /**
23
- * Puts the radio button in a checked state if it is currently unchecked.
24
- */
25
- check(): Promise<void>;
26
- /**
27
- * Clicks the help inline button.
28
- */
29
- clickHelpInline(): Promise<void>;
30
- /**
31
- * Focuses the radio button.
32
- */
33
- focus(): Promise<void>;
34
- /**
35
- * Gets the radio button's aria-label.
36
- */
37
- getAriaLabel(): Promise<string | null>;
38
- /**
39
- * Gets the radio button's aria-labelledby.
40
- */
41
- getAriaLabelledby(): Promise<string | null>;
42
- /**
43
- * Gets the help popover content.
44
- */
45
- getHelpPopoverContent(): Promise<string | undefined>;
46
- /**
47
- * Gets the help popover title.
48
- */
49
- getHelpPopoverTitle(): Promise<string | undefined>;
50
- /**
51
- * Gets the radio button's hint text.
52
- */
53
- getHintText(): Promise<string>;
54
- /**
55
- * Whether the label is hidden. Only supported when using the `labelText` input to set the label.
56
- */
57
- getLabelHidden(): Promise<boolean>;
58
- /**
59
- * Gets the radio button's label text. If the label is set via `labelText` and `labelHidden` is true,
60
- * the text will still be returned.
61
- */
62
- getLabelText(): Promise<string | undefined>;
63
- /**
64
- * Gets the radio button's name.
65
- */
66
- getName(): Promise<string | null>;
67
- /**
68
- * Whether the radio button is checked.
69
- */
70
- isChecked(): Promise<boolean>;
71
- /**
72
- * Whether the radio button is disabled.
73
- */
74
- isDisabled(): Promise<boolean>;
75
- /**
76
- * Whether the radio button is focused.
77
- */
78
- isFocused(): Promise<boolean>;
79
- }
@@ -1,16 +0,0 @@
1
- import { ComponentHarness } from '@angular/cdk/testing';
2
- /**
3
- * Harness for interacting with a radio label component in tests.
4
- * @internal
5
- */
6
- export declare class SkyRadioLabelHarness extends ComponentHarness {
7
- #private;
8
- /**
9
- * @internal
10
- */
11
- static hostSelector: string;
12
- /**
13
- * Gets the text content of the radio label.
14
- */
15
- getText(): Promise<string>;
16
- }
@@ -1,15 +0,0 @@
1
- import { SkyComponentHarness } from '@skyux/core/testing';
2
- /**
3
- * Harness to interact with a selection box description component in tests.
4
- * @internal
5
- */
6
- export declare class SkySelectionBoxDescriptionHarness extends SkyComponentHarness {
7
- /**
8
- * @internal
9
- */
10
- static hostSelector: string;
11
- /**
12
- * Gets the description text.
13
- */
14
- getText(): Promise<string>;
15
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkySelectionBoxGridHarness` instances.
4
- */
5
- export interface SkySelectionBoxGridHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,27 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkySelectionBoxGridHarnessFilters } from './selection-box-grid-harness-filters';
4
- import { SkySelectionBoxHarness } from './selection-box-harness';
5
- import { SkySelectionBoxHarnessFilters } from './selection-box-harness-filters';
6
- /**
7
- * Harness for interacting with a selection box grid component in tests.
8
- */
9
- export declare class SkySelectionBoxGridHarness extends SkyComponentHarness {
10
- /**
11
- * @internal
12
- */
13
- static hostSelector: string;
14
- /**
15
- * Gets a `HarnessPredicate` that can be used to search for a
16
- * `SkySelectionBoxGridHarness` that meets certain criteria.
17
- */
18
- static with(filters: SkySelectionBoxGridHarnessFilters): HarnessPredicate<SkySelectionBoxGridHarness>;
19
- /**
20
- * Gets a harness for a specific selection box that meets certain criteria.
21
- */
22
- getSelectionBox(filter: SkySelectionBoxHarnessFilters): Promise<SkySelectionBoxHarness>;
23
- /**
24
- * Gets an array of selection boxes.
25
- */
26
- getSelectionBoxes(filters?: SkySelectionBoxHarnessFilters): Promise<SkySelectionBoxHarness[]>;
27
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkySelectionBoxHarness` instances.
4
- */
5
- export interface SkySelectionBoxHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,36 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyIconHarness } from '@skyux/icon/testing';
4
- import { SkyCheckboxHarness } from '../checkbox/checkbox-harness';
5
- import { SkyRadioHarness } from '../radio/radio-harness';
6
- import { SkySelectionBoxHarnessFilters } from './selection-box-harness-filters';
7
- /**
8
- * Harness to interact with a selection box component in tests.
9
- */
10
- export declare class SkySelectionBoxHarness extends SkyComponentHarness {
11
- /**
12
- * @internal
13
- */
14
- static hostSelector: string;
15
- /**
16
- * Gets a `HarnessPredicate` that can be used to search for a
17
- * `SkySelectionBoxHarness` that meets certain criteria.
18
- */
19
- static with(filters: SkySelectionBoxHarnessFilters): HarnessPredicate<SkySelectionBoxHarness>;
20
- /**
21
- * Gets the checkbox or radio harness for the selection box form control.
22
- */
23
- getControl(): Promise<SkyCheckboxHarness | SkyRadioHarness>;
24
- /**
25
- * Gets the selection box description text.
26
- */
27
- getDescriptionText(): Promise<string>;
28
- /**
29
- * Gets the selection box header text.
30
- */
31
- getHeaderText(): Promise<string>;
32
- /**
33
- * Gets the selection box icon, if it exists.
34
- */
35
- getIcon(): Promise<SkyIconHarness | null>;
36
- }
@@ -1,15 +0,0 @@
1
- import { SkyComponentHarness } from '@skyux/core/testing';
2
- /**
3
- * Harness to interact with a selection box header component in tests.
4
- * @internal
5
- */
6
- export declare class SkySelectionBoxHeaderHarness extends SkyComponentHarness {
7
- /**
8
- * @internal
9
- */
10
- static hostSelector: string;
11
- /**
12
- * Gets the header text.
13
- */
14
- getText(): Promise<string>;
15
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyToggleSwitchHarness` instances.
4
- */
5
- export interface SkyToggleSwitchHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,67 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyToggleSwitchHarnessFilters } from './toggle-switch-harness-filters';
4
- /**
5
- * Harness for interacting with a toggle switch component in tests.
6
- */
7
- export declare class SkyToggleSwitchHarness extends SkyComponentHarness {
8
- #private;
9
- /**
10
- * @internal
11
- */
12
- static hostSelector: string;
13
- /**
14
- * Gets a `HarnessPredicate` that can be used to search for a
15
- * `SkyToggleSwitchHarness` that meets certain criteria.
16
- */
17
- static with(filters: SkyToggleSwitchHarnessFilters): HarnessPredicate<SkyToggleSwitchHarness>;
18
- /**
19
- * Blurs the toggle switch.
20
- */
21
- blur(): Promise<void>;
22
- /**
23
- * Clicks the help inline button.
24
- */
25
- clickHelpInline(): Promise<void>;
26
- /**
27
- * Puts the toggle switch in a checked state.
28
- */
29
- check(): Promise<void>;
30
- /**
31
- * Focuses the toggle switch.
32
- */
33
- focus(): Promise<void>;
34
- /**
35
- * Gets the help popover content.
36
- */
37
- getHelpPopoverContent(): Promise<string | undefined>;
38
- /**
39
- * Gets the help popover title.
40
- */
41
- getHelpPopoverTitle(): Promise<string | undefined>;
42
- /**
43
- * Whether the label is hidden. Only supported when using the `labelText` input to set the label.
44
- */
45
- getLabelHidden(): Promise<boolean>;
46
- /**
47
- * Gets the toggle switch's label text. If the label is set via `labelText` and `labelHidden` is true,
48
- * the text will still be returned.
49
- */
50
- getLabelText(): Promise<string | undefined>;
51
- /**
52
- * Whether the toggle switch is checked.
53
- */
54
- isChecked(): Promise<boolean>;
55
- /**
56
- * Whether the toggle switch is disabled.
57
- */
58
- isDisabled(): Promise<boolean>;
59
- /**
60
- * Whether the toggle switch is focused.
61
- */
62
- isFocused(): Promise<boolean>;
63
- /**
64
- * Puts the toggle switch in an unchecked state.
65
- */
66
- uncheck(): Promise<void>;
67
- }
@@ -1,16 +0,0 @@
1
- import { ComponentHarness } from '@angular/cdk/testing';
2
- /**
3
- * Harness for interacting with a toggle switch label component in tests.
4
- * @internal
5
- */
6
- export declare class SkyToggleSwitchLabelHarness extends ComponentHarness {
7
- #private;
8
- /**
9
- * @internal
10
- */
11
- static hostSelector: string;
12
- /**
13
- * Gets the text content of the toggle switch label.
14
- */
15
- getText(): Promise<string>;
16
- }
@@ -1,35 +0,0 @@
1
- export { SkyInputBoxHarness } from './modules/input-box/input-box-harness';
2
- export { SkyInputBoxHarnessFilters } from './modules/input-box/input-box-harness-filters';
3
- export { SkyCharacterCounterIndicatorHarness } from './modules/character-counter/character-counter-indicator-harness';
4
- export { SkyCharacterCounterIndicatorHarnessFilters } from './modules/character-counter/character-counter-indicator-harness-filters';
5
- export { SkyCheckboxFixture } from './legacy/checkbox-fixture';
6
- export { SkyCheckboxGroupHarness } from './modules/checkbox/checkbox-group-harness';
7
- export { SkyCheckboxGroupHarnessFilters } from './modules/checkbox/checkbox-group-harness-filters';
8
- export { SkyCheckboxHarness } from './modules/checkbox/checkbox-harness';
9
- export { SkyCheckboxHarnessFilters } from './modules/checkbox/checkbox-harness-filters';
10
- export { SkyCheckboxLabelHarness } from './modules/checkbox/checkbox-label-harness';
11
- export { SkyFileAttachmentHarness } from './modules/file-attachment/file-attachment/file-attachment-harness';
12
- export { SkyFileAttachmentHarnessFilters } from './modules/file-attachment/file-attachment/file-attachment-harness-filters';
13
- export { SkyFileDropHarness } from './modules/file-attachment/file-drop/file-drop-harness';
14
- export { SkyFileDropHarnessFilters } from './modules/file-attachment/file-drop/file-drop-harness-filters';
15
- export { provideSkyFileAttachmentTesting } from './modules/file-attachment/shared/provide-file-attachment-testing';
16
- export { SkyFileItemHarness } from './modules/file-attachment/file-drop/file-item-harness';
17
- export { SkyFileItemHarnessFilters } from './modules/file-attachment/file-drop/file-item-harness-filters';
18
- export { SkyFormErrorsHarness } from './modules/form-error/form-errors-harness';
19
- export { SkyFormErrorsHarnessFilters } from './modules/form-error/form-errors-harness.filters';
20
- export { SkyFormErrorHarness } from './modules/form-error/form-error-harness';
21
- export { SkyFormErrorHarnessFilters } from './modules/form-error/form-error-harness.filters';
22
- export { SkyFieldGroupHarness } from './modules/field-group/field-group-harness';
23
- export { SkyFieldGroupHarnessFilters } from './modules/field-group/field-group-harness-filters';
24
- export { SkyRadioFixture } from './legacy/radio-fixture';
25
- export { SkyRadioGroupHarness } from './modules/radio/radio-group-harness';
26
- export { SkyRadioGroupHarnessFilters } from './modules/radio/radio-group-harness-filters';
27
- export { SkyRadioHarness } from './modules/radio/radio-harness';
28
- export { SkyRadioHarnessFilters } from './modules/radio/radio-harness-filters';
29
- export { SkyRadioLabelHarness } from './modules/radio/radio-label-harness';
30
- export { SkySelectionBoxGridHarness } from './modules/selection-box/selection-box-grid-harness';
31
- export { SkySelectionBoxGridHarnessFilters } from './modules/selection-box/selection-box-grid-harness-filters';
32
- export { SkySelectionBoxHarness } from './modules/selection-box/selection-box-harness';
33
- export { SkySelectionBoxHarnessFilters } from './modules/selection-box/selection-box-harness-filters';
34
- export { SkyToggleSwitchHarness } from './modules/toggle-switch/toggle-switch-harness';
35
- export { SkyToggleSwitchHarnessFilters } from './modules/toggle-switch/toggle-switch-harness-filters';