carbon-components-angular 5.49.0 → 5.50.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.
Files changed (78) hide show
  1. package/docs/documentation/components/ListRow.html +1 -1
  2. package/docs/documentation/components/PasswordInputLabelComponent.html +263 -71
  3. package/docs/documentation/components/TextInputLabelComponent.html +379 -108
  4. package/docs/documentation/coverage.html +10 -10
  5. package/docs/documentation/directives/PasswordInput.html +63 -5
  6. package/docs/documentation/directives/TextInput.html +60 -1
  7. package/docs/documentation/js/search/search_index.js +2 -2
  8. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  9. package/docs/documentation/modules/ComboBoxModule.html +4 -4
  10. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +34 -38
  11. package/docs/documentation/modules/DatePickerInputModule.html +34 -38
  12. package/docs/documentation/modules/DatePickerModule/dependencies.svg +52 -56
  13. package/docs/documentation/modules/DatePickerModule.html +52 -56
  14. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +35 -35
  15. package/docs/documentation/modules/FileUploaderModule.html +35 -35
  16. package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
  17. package/docs/documentation/modules/InlineLoadingModule.html +4 -4
  18. package/docs/documentation/modules/ProgressBarModule/dependencies.svg +4 -4
  19. package/docs/documentation/modules/ProgressBarModule.html +4 -4
  20. package/docs/documentation/modules/RadioModule/dependencies.svg +35 -35
  21. package/docs/documentation/modules/RadioModule.html +35 -35
  22. package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
  23. package/docs/documentation/modules/SearchModule.html +4 -4
  24. package/docs/documentation/modules/SelectModule/dependencies.svg +60 -60
  25. package/docs/documentation/modules/SelectModule.html +60 -60
  26. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  27. package/docs/documentation/modules/SliderModule.html +4 -4
  28. package/docs/documentation/modules/TableModule/dependencies.svg +4 -4
  29. package/docs/documentation/modules/TableModule.html +4 -4
  30. package/docs/documentation/modules/TabsModule/dependencies.svg +68 -68
  31. package/docs/documentation/modules/TabsModule.html +68 -68
  32. package/docs/documentation/modules/ThemeModule/dependencies.svg +15 -15
  33. package/docs/documentation/modules/ThemeModule.html +15 -15
  34. package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
  35. package/docs/documentation/modules/TilesModule.html +4 -4
  36. package/docs/documentation/modules/TimePickerModule/dependencies.svg +46 -42
  37. package/docs/documentation/modules/TimePickerModule.html +46 -42
  38. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +46 -50
  39. package/docs/documentation/modules/TimePickerSelectModule.html +46 -50
  40. package/docs/documentation/modules/ToggleModule/dependencies.svg +45 -41
  41. package/docs/documentation/modules/ToggleModule.html +45 -41
  42. package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
  43. package/docs/documentation/modules/TooltipModule.html +4 -4
  44. package/docs/documentation/modules/TreeviewModule/dependencies.svg +30 -30
  45. package/docs/documentation/modules/TreeviewModule.html +30 -30
  46. package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
  47. package/docs/documentation/modules/UIShellModule.html +4 -4
  48. package/docs/documentation.json +302 -90
  49. package/docs/storybook/1345.4ae7e616.iframe.bundle.js +1 -0
  50. package/docs/storybook/iframe.html +2 -2
  51. package/docs/storybook/index.json +1 -1
  52. package/docs/storybook/{input-input-stories.fa251a40.iframe.bundle.js → input-input-stories.13368962.iframe.bundle.js} +1 -1
  53. package/docs/storybook/{input-password-stories.def6cbdf.iframe.bundle.js → input-password-stories.de5bf47f.iframe.bundle.js} +1 -1
  54. package/docs/storybook/main.8ed1584b.iframe.bundle.js +1 -0
  55. package/docs/storybook/main.css +34 -28
  56. package/docs/storybook/project.json +1 -1
  57. package/docs/storybook/{runtime~main.807a23cc.iframe.bundle.js → runtime~main.ac7f971f.iframe.bundle.js} +1 -1
  58. package/docs/storybook/stories.json +1 -1
  59. package/docs/storybook/{structured-list-structured-list-stories.e6a4535e.iframe.bundle.js → structured-list-structured-list-stories.a1c0bf43.iframe.bundle.js} +1 -1
  60. package/esm2020/input/input.directive.mjs +9 -3
  61. package/esm2020/input/label.component.mjs +1 -1
  62. package/esm2020/input/password-input-label.component.mjs +92 -38
  63. package/esm2020/input/password.directive.mjs +9 -3
  64. package/esm2020/input/text-input-label.component.mjs +145 -83
  65. package/esm2020/structured-list/list-row.component.mjs +1 -1
  66. package/fesm2015/carbon-components-angular-input.mjs +251 -123
  67. package/fesm2015/carbon-components-angular-input.mjs.map +1 -1
  68. package/fesm2015/carbon-components-angular-structured-list.mjs.map +1 -1
  69. package/fesm2020/carbon-components-angular-input.mjs +251 -123
  70. package/fesm2020/carbon-components-angular-input.mjs.map +1 -1
  71. package/fesm2020/carbon-components-angular-structured-list.mjs.map +1 -1
  72. package/input/input.directive.d.ts +1 -0
  73. package/input/password-input-label.component.d.ts +7 -1
  74. package/input/password.directive.d.ts +1 -0
  75. package/input/text-input-label.component.d.ts +9 -2
  76. package/package.json +1 -1
  77. package/docs/storybook/1345.e54b0c87.iframe.bundle.js +0 -1
  78. package/docs/storybook/main.11fd86ca.iframe.bundle.js +0 -1
@@ -61,9 +61,12 @@ class TextInput {
61
61
  get isLightTheme() {
62
62
  return this.theme === "light";
63
63
  }
64
+ get getInvalidAttribute() {
65
+ return this.invalid ? true : undefined;
66
+ }
64
67
  }
65
68
  TextInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
66
- TextInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: TextInput, selector: "[cdsText], [ibmText]", inputs: { theme: "theme", size: "size", invalid: "invalid", warn: "warn", skeleton: "skeleton" }, host: { properties: { "class.cds--text-input": "this.inputClass", "class.cds--text-input--sm": "this.isSizeSm", "class.cds--text-input--md": "this.isSizeMd", "class.cds--text-input--lg": "this.isSizelg", "class.cds--layout--size-sm": "this.sizeSm", "class.cds--layout--size-md": "this.sizeMd", "class.cds--layout--size-lg": "this.sizelg", "class.cds--text-input--invalid": "this.invalid", "class.cds--text-input__field-wrapper--warning": "this.warn", "class.cds--skeleton": "this.skeleton", "class.cds--text-input--light": "this.isLightTheme" } }, ngImport: i0 });
69
+ TextInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: TextInput, selector: "[cdsText], [ibmText]", inputs: { theme: "theme", size: "size", invalid: "invalid", warn: "warn", skeleton: "skeleton" }, host: { properties: { "class.cds--text-input": "this.inputClass", "class.cds--text-input--sm": "this.isSizeSm", "class.cds--text-input--md": "this.isSizeMd", "class.cds--text-input--lg": "this.isSizelg", "class.cds--layout--size-sm": "this.sizeSm", "class.cds--layout--size-md": "this.sizeMd", "class.cds--layout--size-lg": "this.sizelg", "class.cds--text-input--invalid": "this.invalid", "class.cds--text-input--warning": "this.warn", "class.cds--skeleton": "this.skeleton", "class.cds--text-input--light": "this.isLightTheme", "attr.data-invalid": "this.getInvalidAttribute" } }, ngImport: i0 });
67
70
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextInput, decorators: [{
68
71
  type: Directive,
69
72
  args: [{
@@ -101,7 +104,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
101
104
  type: Input
102
105
  }], warn: [{
103
106
  type: HostBinding,
104
- args: ["class.cds--text-input__field-wrapper--warning"]
107
+ args: ["class.cds--text-input--warning"]
105
108
  }, {
106
109
  type: Input
107
110
  }], skeleton: [{
@@ -112,6 +115,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
112
115
  }], isLightTheme: [{
113
116
  type: HostBinding,
114
117
  args: ["class.cds--text-input--light"]
118
+ }], getInvalidAttribute: [{
119
+ type: HostBinding,
120
+ args: ["attr.data-invalid"]
115
121
  }] } });
116
122
 
117
123
  /**
@@ -226,12 +232,15 @@ class PasswordInput {
226
232
  get isLightTheme() {
227
233
  return this.theme === "light";
228
234
  }
235
+ get getInvalidAttribute() {
236
+ return this.invalid ? true : undefined;
237
+ }
229
238
  ngAfterViewInit() {
230
239
  this.renderer.setAttribute(this.elementRef.nativeElement, "type", this._type);
231
240
  }
232
241
  }
233
242
  PasswordInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PasswordInput, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
234
- PasswordInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: PasswordInput, selector: "[cdsPassword], [ibmPassword]", inputs: { type: "type", invalid: "invalid", warn: "warn", skeleton: "skeleton", theme: "theme", size: "size" }, host: { properties: { "class.cds--password-input": "this.passwordInputClass", "class.cds--text-input--sm": "this.isSizeSm", "class.cds--text-input--md": "this.isSizeMd", "class.cds--text-input--lg": "this.isSizelg", "class.cds--layout--size-sm": "this.sizeSm", "class.cds--layout--size-md": "this.sizeMd", "class.cds--layout--size-lg": "this.sizelg", "class.cds--text-input--light": "this.isLightTheme", "class.cds--text-input": "this.inputClass", "class.cds--text-input--invalid": "this.invalid", "class.cds--text-input__field-wrapper--warning": "this.warn", "class.cds--skeleton": "this.skeleton" } }, ngImport: i0 });
243
+ PasswordInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: PasswordInput, selector: "[cdsPassword], [ibmPassword]", inputs: { type: "type", invalid: "invalid", warn: "warn", skeleton: "skeleton", theme: "theme", size: "size" }, host: { properties: { "class.cds--password-input": "this.passwordInputClass", "class.cds--text-input--sm": "this.isSizeSm", "class.cds--text-input--md": "this.isSizeMd", "class.cds--text-input--lg": "this.isSizelg", "class.cds--layout--size-sm": "this.sizeSm", "class.cds--layout--size-md": "this.sizeMd", "class.cds--layout--size-lg": "this.sizelg", "class.cds--text-input--light": "this.isLightTheme", "class.cds--text-input": "this.inputClass", "class.cds--text-input--invalid": "this.invalid", "class.cds--text-input--warning": "this.warn", "class.cds--skeleton": "this.skeleton", "attr.data-invalid": "this.getInvalidAttribute" } }, ngImport: i0 });
235
244
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PasswordInput, decorators: [{
236
245
  type: Directive,
237
246
  args: [{
@@ -273,7 +282,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
273
282
  type: Input
274
283
  }], warn: [{
275
284
  type: HostBinding,
276
- args: ["class.cds--text-input__field-wrapper--warning"]
285
+ args: ["class.cds--text-input--warning"]
277
286
  }, {
278
287
  type: Input
279
288
  }], skeleton: [{
@@ -285,6 +294,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
285
294
  type: Input
286
295
  }], size: [{
287
296
  type: Input
297
+ }], getInvalidAttribute: [{
298
+ type: HostBinding,
299
+ args: ["attr.data-invalid"]
288
300
  }] } });
289
301
 
290
302
  /**
@@ -643,12 +655,23 @@ class TextInputLabelComponent {
643
655
  * Set to `true` to show a warning (contents set by warningText)
644
656
  */
645
657
  this.warn = false;
658
+ /**
659
+ * Experimental: enable fluid state
660
+ */
661
+ this.fluid = false;
646
662
  this.labelClass = true;
663
+ this.textInputWrapper = true;
647
664
  }
648
665
  get isReadonly() {
649
666
  var _a, _b, _c;
650
667
  return (_c = (_b = (_a = this.wrapper) === null || _a === void 0 ? void 0 : _a.nativeElement.querySelector("input")) === null || _b === void 0 ? void 0 : _b.readOnly) !== null && _c !== void 0 ? _c : false;
651
668
  }
669
+ get fluidClass() {
670
+ return this.fluid && !this.skeleton;
671
+ }
672
+ get fluidSkeletonClass() {
673
+ return this.fluid && this.skeleton;
674
+ }
652
675
  /**
653
676
  * Sets the id on the input item associated with the `Label`.
654
677
  */
@@ -684,58 +707,78 @@ class TextInputLabelComponent {
684
707
  */
685
708
  TextInputLabelComponent.labelCounter = 0;
686
709
  TextInputLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextInputLabelComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
687
- TextInputLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TextInputLabelComponent, selector: "cds-text-label, ibm-text-label", inputs: { labelInputID: "labelInputID", disabled: "disabled", skeleton: "skeleton", labelTemplate: "labelTemplate", textInputTemplate: "textInputTemplate", helperText: "helperText", invalidText: "invalidText", invalid: "invalid", warn: "warn", warnText: "warnText", ariaLabel: "ariaLabel" }, host: { properties: { "class.cds--form-item": "this.labelClass", "class.cds--text-input-wrapper--readonly": "this.isReadonly" } }, viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0, template: `
710
+ TextInputLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TextInputLabelComponent, selector: "cds-text-label, ibm-text-label", inputs: { labelInputID: "labelInputID", disabled: "disabled", skeleton: "skeleton", labelTemplate: "labelTemplate", textInputTemplate: "textInputTemplate", helperText: "helperText", invalidText: "invalidText", invalid: "invalid", warn: "warn", warnText: "warnText", ariaLabel: "ariaLabel", fluid: "fluid" }, host: { properties: { "class.cds--form-item": "this.labelClass", "class.cds--text-input-wrapper": "this.textInputWrapper", "class.cds--text-input-wrapper--readonly": "this.isReadonly", "class.cds--text-input--fluid": "this.fluidClass", "class.cds--text-input--fluid__skeleton": "this.fluidSkeletonClass" } }, viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0, template: `
711
+ <ng-container *ngIf="skeleton">
712
+ <span class="cds--label cds--skeleton"></span>
713
+ <div class="cds--text-input cds--skeleton"></div>
714
+ </ng-container>
688
715
  <label
716
+ *ngIf="!skeleton"
689
717
  [for]="labelInputID"
690
718
  [attr.aria-label]="ariaLabel"
691
719
  class="cds--label"
692
720
  [ngClass]="{
693
- 'cds--label--disabled': disabled,
694
- 'cds--skeleton': skeleton
721
+ 'cds--label--disabled': disabled
695
722
  }">
696
723
  <ng-template *ngIf="labelTemplate; else labelContent" [ngTemplateOutlet]="labelTemplate"></ng-template>
697
724
  <ng-template #labelContent>
698
725
  <ng-content></ng-content>
699
726
  </ng-template>
700
727
  </label>
701
- <div
702
- class="cds--text-input__field-wrapper"
703
- [ngClass]="{
704
- 'cds--text-input__field-wrapper--warning': warn
705
- }"
706
- [attr.data-invalid]="(invalid ? true : null)"
707
- #wrapper>
708
- <svg
709
- *ngIf="invalid"
710
- cdsIcon="warning--filled"
711
- size="16"
712
- class="cds--text-input__invalid-icon">
713
- </svg>
714
- <svg
715
- *ngIf="!invalid && warn"
716
- cdsIcon="warning--alt--filled"
717
- size="16"
718
- class="cds--text-input__invalid-icon cds--text-input__invalid-icon--warning">
719
- </svg>
720
- <ng-template *ngIf="textInputTemplate; else textInputContent" [ngTemplateOutlet]="textInputTemplate"></ng-template>
721
- <ng-template #textInputContent>
722
- <ng-content select="[cdsText],[ibmText],input[type=text],div"></ng-content>
723
- </ng-template>
724
- </div>
725
- <div
726
- *ngIf="!skeleton && helperText && !invalid && !warn"
727
- class="cds--form__helper-text"
728
- [ngClass]="{'cds--form__helper-text--disabled': disabled}">
729
- <ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container>
730
- <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
731
- </div>
732
- <div *ngIf="invalid" class="cds--form-requirement">
733
- <ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
734
- <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
735
- </div>
736
- <div *ngIf="!invalid && warn" class="cds--form-requirement">
737
- <ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
738
- <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
728
+ <div *ngIf="!skeleton" class="cds--text-input__field-outer-wrapper">
729
+ <div
730
+ class="cds--text-input__field-wrapper"
731
+ [ngClass]="{
732
+ 'cds--text-input__field-wrapper--warning': warn
733
+ }"
734
+ [attr.data-invalid]="(invalid ? true : null)"
735
+ #wrapper>
736
+ <svg
737
+ *ngIf="invalid && !warn"
738
+ cdsIcon="warning--filled"
739
+ size="16"
740
+ class="cds--text-input__invalid-icon">
741
+ </svg>
742
+ <svg
743
+ *ngIf="!invalid && warn"
744
+ cdsIcon="warning--alt--filled"
745
+ size="16"
746
+ class="cds--text-input__invalid-icon cds--text-input__invalid-icon--warning">
747
+ </svg>
748
+ <ng-template *ngIf="textInputTemplate; else textInputContent" [ngTemplateOutlet]="textInputTemplate"></ng-template>
749
+ <ng-template #textInputContent>
750
+ <ng-content select="[cdsText],[ibmText],input[type=text],div"></ng-content>
751
+ </ng-template>
752
+
753
+ <ng-container *ngIf="fluid">
754
+ <hr class="cds--text-input__divider" />
755
+ <div *ngIf="invalid" class="cds--form-requirement">
756
+ <ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
757
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
758
+ </div>
759
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
760
+ <ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
761
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
762
+ </div>
763
+ </ng-container>
764
+ </div>
765
+ <ng-container *ngIf="!fluid">
766
+ <div
767
+ *ngIf="helperText && !invalid && !warn"
768
+ class="cds--form__helper-text"
769
+ [ngClass]="{'cds--form__helper-text--disabled': disabled}">
770
+ <ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container>
771
+ <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
772
+ </div>
773
+ <div *ngIf="invalid" class="cds--form-requirement">
774
+ <ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
775
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
776
+ </div>
777
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
778
+ <ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
779
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
780
+ </div>
781
+ </ng-container>
739
782
  </div>
740
783
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }] });
741
784
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextInputLabelComponent, decorators: [{
@@ -743,57 +786,77 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
743
786
  args: [{
744
787
  selector: "cds-text-label, ibm-text-label",
745
788
  template: `
789
+ <ng-container *ngIf="skeleton">
790
+ <span class="cds--label cds--skeleton"></span>
791
+ <div class="cds--text-input cds--skeleton"></div>
792
+ </ng-container>
746
793
  <label
794
+ *ngIf="!skeleton"
747
795
  [for]="labelInputID"
748
796
  [attr.aria-label]="ariaLabel"
749
797
  class="cds--label"
750
798
  [ngClass]="{
751
- 'cds--label--disabled': disabled,
752
- 'cds--skeleton': skeleton
799
+ 'cds--label--disabled': disabled
753
800
  }">
754
801
  <ng-template *ngIf="labelTemplate; else labelContent" [ngTemplateOutlet]="labelTemplate"></ng-template>
755
802
  <ng-template #labelContent>
756
803
  <ng-content></ng-content>
757
804
  </ng-template>
758
805
  </label>
759
- <div
760
- class="cds--text-input__field-wrapper"
761
- [ngClass]="{
762
- 'cds--text-input__field-wrapper--warning': warn
763
- }"
764
- [attr.data-invalid]="(invalid ? true : null)"
765
- #wrapper>
766
- <svg
767
- *ngIf="invalid"
768
- cdsIcon="warning--filled"
769
- size="16"
770
- class="cds--text-input__invalid-icon">
771
- </svg>
772
- <svg
773
- *ngIf="!invalid && warn"
774
- cdsIcon="warning--alt--filled"
775
- size="16"
776
- class="cds--text-input__invalid-icon cds--text-input__invalid-icon--warning">
777
- </svg>
778
- <ng-template *ngIf="textInputTemplate; else textInputContent" [ngTemplateOutlet]="textInputTemplate"></ng-template>
779
- <ng-template #textInputContent>
780
- <ng-content select="[cdsText],[ibmText],input[type=text],div"></ng-content>
781
- </ng-template>
782
- </div>
783
- <div
784
- *ngIf="!skeleton && helperText && !invalid && !warn"
785
- class="cds--form__helper-text"
786
- [ngClass]="{'cds--form__helper-text--disabled': disabled}">
787
- <ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container>
788
- <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
789
- </div>
790
- <div *ngIf="invalid" class="cds--form-requirement">
791
- <ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
792
- <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
793
- </div>
794
- <div *ngIf="!invalid && warn" class="cds--form-requirement">
795
- <ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
796
- <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
806
+ <div *ngIf="!skeleton" class="cds--text-input__field-outer-wrapper">
807
+ <div
808
+ class="cds--text-input__field-wrapper"
809
+ [ngClass]="{
810
+ 'cds--text-input__field-wrapper--warning': warn
811
+ }"
812
+ [attr.data-invalid]="(invalid ? true : null)"
813
+ #wrapper>
814
+ <svg
815
+ *ngIf="invalid && !warn"
816
+ cdsIcon="warning--filled"
817
+ size="16"
818
+ class="cds--text-input__invalid-icon">
819
+ </svg>
820
+ <svg
821
+ *ngIf="!invalid && warn"
822
+ cdsIcon="warning--alt--filled"
823
+ size="16"
824
+ class="cds--text-input__invalid-icon cds--text-input__invalid-icon--warning">
825
+ </svg>
826
+ <ng-template *ngIf="textInputTemplate; else textInputContent" [ngTemplateOutlet]="textInputTemplate"></ng-template>
827
+ <ng-template #textInputContent>
828
+ <ng-content select="[cdsText],[ibmText],input[type=text],div"></ng-content>
829
+ </ng-template>
830
+
831
+ <ng-container *ngIf="fluid">
832
+ <hr class="cds--text-input__divider" />
833
+ <div *ngIf="invalid" class="cds--form-requirement">
834
+ <ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
835
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
836
+ </div>
837
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
838
+ <ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
839
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
840
+ </div>
841
+ </ng-container>
842
+ </div>
843
+ <ng-container *ngIf="!fluid">
844
+ <div
845
+ *ngIf="helperText && !invalid && !warn"
846
+ class="cds--form__helper-text"
847
+ [ngClass]="{'cds--form__helper-text--disabled': disabled}">
848
+ <ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container>
849
+ <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
850
+ </div>
851
+ <div *ngIf="invalid" class="cds--form-requirement">
852
+ <ng-container *ngIf="!isTemplate(invalidText)">{{invalidText}}</ng-container>
853
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
854
+ </div>
855
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
856
+ <ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>
857
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
858
+ </div>
859
+ </ng-container>
797
860
  </div>
798
861
  `
799
862
  }]
@@ -819,15 +882,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
819
882
  type: Input
820
883
  }], ariaLabel: [{
821
884
  type: Input
885
+ }], fluid: [{
886
+ type: Input
822
887
  }], wrapper: [{
823
888
  type: ViewChild,
824
889
  args: ["wrapper", { static: false }]
825
890
  }], labelClass: [{
826
891
  type: HostBinding,
827
892
  args: ["class.cds--form-item"]
893
+ }], textInputWrapper: [{
894
+ type: HostBinding,
895
+ args: ["class.cds--text-input-wrapper"]
828
896
  }], isReadonly: [{
829
897
  type: HostBinding,
830
898
  args: ["class.cds--text-input-wrapper--readonly"]
899
+ }], fluidClass: [{
900
+ type: HostBinding,
901
+ args: ["class.cds--text-input--fluid"]
902
+ }], fluidSkeletonClass: [{
903
+ type: HostBinding,
904
+ args: ["class.cds--text-input--fluid__skeleton"]
831
905
  }] } });
832
906
 
833
907
  /**
@@ -893,6 +967,10 @@ class PasswordInputLabelComponent extends BaseIconButton {
893
967
  * Tooltip text for showing password.
894
968
  */
895
969
  this.showPasswordLabel = "Show password";
970
+ /**
971
+ * Experimental: enable fluid state
972
+ */
973
+ this.fluid = false;
896
974
  /**
897
975
  * Binding for applying class to host element.
898
976
  */
@@ -904,6 +982,12 @@ class PasswordInputLabelComponent extends BaseIconButton {
904
982
  var _a, _b, _c;
905
983
  return (_c = (_b = (_a = this.wrapper) === null || _a === void 0 ? void 0 : _a.nativeElement.querySelector("input")) === null || _b === void 0 ? void 0 : _b.readOnly) !== null && _c !== void 0 ? _c : false;
906
984
  }
985
+ get fluidClass() {
986
+ return this.fluid && !this.skeleton;
987
+ }
988
+ get fluidSkeletonClass() {
989
+ return this.fluid && this.skeleton;
990
+ }
907
991
  /**
908
992
  * Lifecycle hook called after the view has been initialized to set the ID of the input element
909
993
  */
@@ -942,14 +1026,18 @@ class PasswordInputLabelComponent extends BaseIconButton {
942
1026
  */
943
1027
  PasswordInputLabelComponent.labelCounter = 0;
944
1028
  PasswordInputLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PasswordInputLabelComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
945
- PasswordInputLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PasswordInputLabelComponent, selector: "cds-password-label, ibm-password-label", inputs: { labelInputID: "labelInputID", disabled: "disabled", skeleton: "skeleton", labelTemplate: "labelTemplate", passwordInputTemplate: "passwordInputTemplate", helperText: "helperText", invalidText: "invalidText", invalid: "invalid", warn: "warn", warnText: "warnText", ariaLabel: "ariaLabel", hidePasswordLabel: "hidePasswordLabel", showPasswordLabel: "showPasswordLabel" }, host: { properties: { "class.cds--form-item": "this.labelClass", "class.cds--password-input-wrapper": "this.passwordInputWrapper", "class.cds--text-input-wrapper": "this.textInputWrapper", "class.cds--text-input-wrapper--readonly": "this.isReadonly" } }, queries: [{ propertyName: "textInput", first: true, predicate: PasswordInput, descendants: true }], viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
1029
+ PasswordInputLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PasswordInputLabelComponent, selector: "cds-password-label, ibm-password-label", inputs: { labelInputID: "labelInputID", disabled: "disabled", skeleton: "skeleton", labelTemplate: "labelTemplate", passwordInputTemplate: "passwordInputTemplate", helperText: "helperText", invalidText: "invalidText", invalid: "invalid", warn: "warn", warnText: "warnText", ariaLabel: "ariaLabel", hidePasswordLabel: "hidePasswordLabel", showPasswordLabel: "showPasswordLabel", fluid: "fluid" }, host: { properties: { "class.cds--form-item": "this.labelClass", "class.cds--password-input-wrapper": "this.passwordInputWrapper", "class.cds--text-input-wrapper": "this.textInputWrapper", "class.cds--text-input-wrapper--readonly": "this.isReadonly", "class.cds--text-input--fluid": "this.fluidClass", "class.cds--text-input--fluid__skeleton": "this.fluidSkeletonClass" } }, queries: [{ propertyName: "textInput", first: true, predicate: PasswordInput, descendants: true }], viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
1030
+ <ng-container *ngIf="skeleton">
1031
+ <span class="cds--label cds--skeleton"></span>
1032
+ <div class="cds--text-input cds--skeleton"></div>
1033
+ </ng-container>
946
1034
  <label
1035
+ *ngIf="!skeleton"
947
1036
  [for]="labelInputID"
948
1037
  [attr.aria-label]="ariaLabel"
949
1038
  class="cds--label"
950
1039
  [ngClass]="{
951
- 'cds--label--disabled': disabled,
952
- 'cds--skeleton': skeleton
1040
+ 'cds--label--disabled': disabled
953
1041
  }">
954
1042
  <ng-template *ngIf="labelTemplate; else labelContent" [ngTemplateOutlet]="labelTemplate"></ng-template>
955
1043
  <ng-template #labelContent>
@@ -957,7 +1045,7 @@ PasswordInputLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
957
1045
  </ng-template>
958
1046
  </label>
959
1047
 
960
- <div class="cds--text-input__field-outer-wrapper">
1048
+ <div *ngIf="!skeleton" class="cds--text-input__field-outer-wrapper">
961
1049
  <div
962
1050
  class="cds--text-input__field-wrapper"
963
1051
  [ngClass]="{
@@ -1002,24 +1090,38 @@ PasswordInputLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
1002
1090
  </button>
1003
1091
  </div>
1004
1092
  </cds-tooltip>
1005
- </div>
1006
- <div
1007
- *ngIf="!skeleton && helperText && !invalid && !warn"
1008
- class="cds--form__helper-text"
1009
- [ngClass]="{ 'cds--form__helper-text--disabled': disabled }">
1010
- <ng-container *ngIf="!isTemplate(helperText)">{{ helperText }}</ng-container>
1011
- <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
1012
- </div>
1013
1093
 
1014
- <div *ngIf="!warn && invalid" class="cds--form-requirement">
1015
- <ng-container *ngIf="!isTemplate(invalidText)">{{ invalidText }}</ng-container>
1016
- <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
1094
+ <ng-container *ngIf="fluid">
1095
+ <hr class="cds--text-input__divider" />
1096
+ <div *ngIf="!warn && invalid" class="cds--form-requirement">
1097
+ <ng-container *ngIf="!isTemplate(invalidText)">{{ invalidText }}</ng-container>
1098
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
1099
+ </div>
1100
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
1101
+ <ng-container *ngIf="!isTemplate(warnText)">{{ warnText }}</ng-container>
1102
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
1103
+ </div>
1104
+ </ng-container>
1017
1105
  </div>
1106
+ <ng-container *ngIf="!fluid">
1107
+ <div
1108
+ *ngIf="!skeleton && helperText && !invalid && !warn"
1109
+ class="cds--form__helper-text"
1110
+ [ngClass]="{ 'cds--form__helper-text--disabled': disabled }">
1111
+ <ng-container *ngIf="!isTemplate(helperText)">{{ helperText }}</ng-container>
1112
+ <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
1113
+ </div>
1018
1114
 
1019
- <div *ngIf="!invalid && warn" class="cds--form-requirement">
1020
- <ng-container *ngIf="!isTemplate(warnText)">{{ warnText }}</ng-container>
1021
- <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
1022
- </div>
1115
+ <div *ngIf="!warn && invalid" class="cds--form-requirement">
1116
+ <ng-container *ngIf="!isTemplate(invalidText)">{{ invalidText }}</ng-container>
1117
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
1118
+ </div>
1119
+
1120
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
1121
+ <ng-container *ngIf="!isTemplate(warnText)">{{ warnText }}</ng-container>
1122
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
1123
+ </div>
1124
+ </ng-container>
1023
1125
  </div>
1024
1126
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: i3.Tooltip, selector: "cds-tooltip, ibm-tooltip", inputs: ["id", "enterDelayMs", "leaveDelayMs", "disabled", "description", "templateContext"] }] });
1025
1127
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PasswordInputLabelComponent, decorators: [{
@@ -1027,13 +1129,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1027
1129
  args: [{
1028
1130
  selector: "cds-password-label, ibm-password-label",
1029
1131
  template: `
1132
+ <ng-container *ngIf="skeleton">
1133
+ <span class="cds--label cds--skeleton"></span>
1134
+ <div class="cds--text-input cds--skeleton"></div>
1135
+ </ng-container>
1030
1136
  <label
1137
+ *ngIf="!skeleton"
1031
1138
  [for]="labelInputID"
1032
1139
  [attr.aria-label]="ariaLabel"
1033
1140
  class="cds--label"
1034
1141
  [ngClass]="{
1035
- 'cds--label--disabled': disabled,
1036
- 'cds--skeleton': skeleton
1142
+ 'cds--label--disabled': disabled
1037
1143
  }">
1038
1144
  <ng-template *ngIf="labelTemplate; else labelContent" [ngTemplateOutlet]="labelTemplate"></ng-template>
1039
1145
  <ng-template #labelContent>
@@ -1041,7 +1147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1041
1147
  </ng-template>
1042
1148
  </label>
1043
1149
 
1044
- <div class="cds--text-input__field-outer-wrapper">
1150
+ <div *ngIf="!skeleton" class="cds--text-input__field-outer-wrapper">
1045
1151
  <div
1046
1152
  class="cds--text-input__field-wrapper"
1047
1153
  [ngClass]="{
@@ -1086,24 +1192,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1086
1192
  </button>
1087
1193
  </div>
1088
1194
  </cds-tooltip>
1089
- </div>
1090
- <div
1091
- *ngIf="!skeleton && helperText && !invalid && !warn"
1092
- class="cds--form__helper-text"
1093
- [ngClass]="{ 'cds--form__helper-text--disabled': disabled }">
1094
- <ng-container *ngIf="!isTemplate(helperText)">{{ helperText }}</ng-container>
1095
- <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
1096
- </div>
1097
1195
 
1098
- <div *ngIf="!warn && invalid" class="cds--form-requirement">
1099
- <ng-container *ngIf="!isTemplate(invalidText)">{{ invalidText }}</ng-container>
1100
- <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
1196
+ <ng-container *ngIf="fluid">
1197
+ <hr class="cds--text-input__divider" />
1198
+ <div *ngIf="!warn && invalid" class="cds--form-requirement">
1199
+ <ng-container *ngIf="!isTemplate(invalidText)">{{ invalidText }}</ng-container>
1200
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
1201
+ </div>
1202
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
1203
+ <ng-container *ngIf="!isTemplate(warnText)">{{ warnText }}</ng-container>
1204
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
1205
+ </div>
1206
+ </ng-container>
1101
1207
  </div>
1208
+ <ng-container *ngIf="!fluid">
1209
+ <div
1210
+ *ngIf="!skeleton && helperText && !invalid && !warn"
1211
+ class="cds--form__helper-text"
1212
+ [ngClass]="{ 'cds--form__helper-text--disabled': disabled }">
1213
+ <ng-container *ngIf="!isTemplate(helperText)">{{ helperText }}</ng-container>
1214
+ <ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template>
1215
+ </div>
1102
1216
 
1103
- <div *ngIf="!invalid && warn" class="cds--form-requirement">
1104
- <ng-container *ngIf="!isTemplate(warnText)">{{ warnText }}</ng-container>
1105
- <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
1106
- </div>
1217
+ <div *ngIf="!warn && invalid" class="cds--form-requirement">
1218
+ <ng-container *ngIf="!isTemplate(invalidText)">{{ invalidText }}</ng-container>
1219
+ <ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template>
1220
+ </div>
1221
+
1222
+ <div *ngIf="!invalid && warn" class="cds--form-requirement">
1223
+ <ng-container *ngIf="!isTemplate(warnText)">{{ warnText }}</ng-container>
1224
+ <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
1225
+ </div>
1226
+ </ng-container>
1107
1227
  </div>
1108
1228
  `
1109
1229
  }]
@@ -1136,6 +1256,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1136
1256
  type: Input
1137
1257
  }], showPasswordLabel: [{
1138
1258
  type: Input
1259
+ }], fluid: [{
1260
+ type: Input
1139
1261
  }], wrapper: [{
1140
1262
  type: ViewChild,
1141
1263
  args: ["wrapper", { static: true }]
@@ -1151,6 +1273,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1151
1273
  }], isReadonly: [{
1152
1274
  type: HostBinding,
1153
1275
  args: ["class.cds--text-input-wrapper--readonly"]
1276
+ }], fluidClass: [{
1277
+ type: HostBinding,
1278
+ args: ["class.cds--text-input--fluid"]
1279
+ }], fluidSkeletonClass: [{
1280
+ type: HostBinding,
1281
+ args: ["class.cds--text-input--fluid__skeleton"]
1154
1282
  }] } });
1155
1283
 
1156
1284
  /**
@@ -1360,7 +1488,7 @@ Label.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0
1360
1488
  <ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template>
1361
1489
  </div>
1362
1490
  </ng-template>
1363
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: TextareaLabelComponent, selector: "cds-textarea-label, ibm-textarea-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "textAreaTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel", "fluid"] }, { kind: "component", type: TextInputLabelComponent, selector: "cds-text-label, ibm-text-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "textInputTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel"] }, { kind: "component", type: PasswordInputLabelComponent, selector: "cds-password-label, ibm-password-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "passwordInputTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel", "hidePasswordLabel", "showPasswordLabel"] }] });
1491
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: TextareaLabelComponent, selector: "cds-textarea-label, ibm-textarea-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "textAreaTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel", "fluid"] }, { kind: "component", type: TextInputLabelComponent, selector: "cds-text-label, ibm-text-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "textInputTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel", "fluid"] }, { kind: "component", type: PasswordInputLabelComponent, selector: "cds-password-label, ibm-password-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "passwordInputTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel", "hidePasswordLabel", "showPasswordLabel", "fluid"] }] });
1364
1492
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Label, decorators: [{
1365
1493
  type: Component,
1366
1494
  args: [{