@clr/angular 16.1.0 → 17.0.0-next.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.
@@ -27,12 +27,10 @@ export declare abstract class ClrAbstractContainer implements DynamicWrapper, On
27
27
  constructor(ifControlStateService: IfControlStateService, layoutService: LayoutService, controlClassService: ControlClassService, ngControlService: NgControlService);
28
28
  /**
29
29
  * @NOTE
30
- * Helper control is a bit different than the others, it must be visible most of the time:
31
- * - Helper must NOT be visible when CONTROL_STATE is not NONE and Success or Error components are \
32
- * defined.
33
- *
34
- * For example user implement only Error control then if CONTROL_STATE is VALID then helper
35
- * control must be visible.
30
+ * Helper control is a bit different than the others, it must be always visible:
31
+ * - Labels and instructions must always accompany forms and are persistent.
32
+ * - The recommendation here is to always have helper text or anything instructions visible.
33
+ * - The expectation is to have error text + helper text in the errored state. this way all users will have the helper text information always available.
36
34
  */
37
35
  get showHelper(): boolean;
38
36
  get showValid(): boolean;
@@ -21,7 +21,7 @@ export declare class WrappedFormControl<W extends DynamicWrapper> implements OnI
21
21
  private markControlService;
22
22
  private containerIdService;
23
23
  private _containerInjector;
24
- constructor(vcr: ViewContainerRef, wrapperType: Type<W>, injector: Injector, ngControl: NgControl | null, renderer: Renderer2, el: ElementRef);
24
+ constructor(vcr: ViewContainerRef, wrapperType: Type<W>, injector: Injector, ngControl: NgControl, renderer: Renderer2, el: ElementRef);
25
25
  get id(): string;
26
26
  set id(value: string);
27
27
  ngOnInit(): void;
package/modal/modal.d.ts CHANGED
@@ -19,7 +19,6 @@ export declare class ClrModal implements OnChanges, OnDestroy {
19
19
  stopClose: boolean;
20
20
  altClose: EventEmitter<boolean>;
21
21
  labelledBy: string;
22
- bypassScrollService: boolean;
23
22
  constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalStackService: ModalStackService);
24
23
  ngOnChanges(changes: {
25
24
  [propName: string]: SimpleChange;
@@ -29,5 +28,5 @@ export declare class ClrModal implements OnChanges, OnDestroy {
29
28
  close(): void;
30
29
  fadeDone(e: AnimationEvent): void;
31
30
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrModal, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; "bypassScrollService": "clrModalOverrideScrollService"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
33
32
  }
package/package.json CHANGED
@@ -18,11 +18,11 @@
18
18
  "url": "https://github.com/vmware-clarity/ng-clarity/issues"
19
19
  },
20
20
  "peerDependencies": {
21
- "@angular/cdk": "15 || 16",
22
- "@angular/common": "15 || 16",
23
- "@angular/core": "15 || 16",
24
- "@cds/core": ">= 6.7.0",
25
- "@clr/ui": "16.1.0"
21
+ "@angular/cdk": "15 || 16 || 17",
22
+ "@angular/common": "15 || 16 || 17",
23
+ "@angular/core": "15 || 16 || 17",
24
+ "@cds/core": ">= 6.8.0",
25
+ "@clr/ui": "17.0.0-next.1"
26
26
  },
27
27
  "module": "fesm2015/clr-angular.mjs",
28
28
  "es2020": "fesm2020/clr-angular.mjs",
@@ -47,5 +47,5 @@
47
47
  "dependencies": {
48
48
  "tslib": "^2.3.0"
49
49
  },
50
- "version": "16.1.0"
50
+ "version": "17.0.0-next.1"
51
51
  }
@@ -15,7 +15,6 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
15
15
  pageCollection: PageCollectionService;
16
16
  buttonService: ButtonHubService;
17
17
  headerActionService: HeaderActionService;
18
- private elementRef;
19
18
  /**
20
19
  * Set the aria-label for the stepnav section of the wizard. Set using `[clrWizardStepnavAriaLabel]` input.
21
20
  */
@@ -29,12 +28,6 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
29
28
  * in the top right corner. Set using `[clrWizardClosable]` input.
30
29
  */
31
30
  closable: boolean;
32
- /**
33
- * Used to communicate to the underlying modal that animations are not
34
- * wanted. Primary use is for the display of static/inline wizards.
35
- * Set using `[clrWizardPreventModalAnimation]` input.
36
- */
37
- _stopModalAnimations: boolean;
38
31
  /**
39
32
  * Emits when the wizard is opened or closed.
40
33
  * Listen via `(clrWizardOpenChange)` event.
@@ -85,7 +78,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
85
78
  private _disableStepnav;
86
79
  private differ;
87
80
  private subscriptions;
88
- constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, elementRef: ElementRef<HTMLElement>, differs: IterableDiffers);
81
+ constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, differs: IterableDiffers);
89
82
  /**
90
83
  * Resets page completed states when navigating backwards.
91
84
  * Set using `[clrWizardForceForwardNavigation]` input.
@@ -138,8 +131,6 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
138
131
  set currentPage(page: ClrWizardPage);
139
132
  get isLast(): boolean;
140
133
  get isFirst(): boolean;
141
- get isInline(): boolean;
142
- get stopModalAnimations(): string;
143
134
  ngAfterContentInit(): void;
144
135
  ngDoCheck(): void;
145
136
  ngOnDestroy(): void;
@@ -238,8 +229,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
238
229
  private listenForFinishedChanges;
239
230
  private listenForPageChanges;
240
231
  private updateNavOnPageChanges;
241
- private initializeButtons;
242
232
  private emitWizardFinished;
243
233
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizard, never>;
244
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": "clrWizardStepnavAriaLabel"; "size": "clrWizardSize"; "closable": "clrWizardClosable"; "_stopModalAnimations": "clrWizardPreventModalAnimation"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
234
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": "clrWizardStepnavAriaLabel"; "size": "clrWizardSize"; "closable": "clrWizardClosable"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
245
235
  }