carbon-components-angular 5.10.4 → 5.10.6

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 (126) hide show
  1. package/button/button.directive.d.ts +5 -9
  2. package/docs/documentation/coverage.html +10 -10
  3. package/docs/documentation/directives/Button.html +44 -116
  4. package/docs/documentation/directives/IconDirective.html +101 -111
  5. package/docs/documentation/directives/StackDirective.html +22 -93
  6. package/docs/documentation/directives/ThemeDirective.html +31 -80
  7. package/docs/documentation/js/search/search_index.js +2 -2
  8. package/docs/documentation/miscellaneous/typealiases.html +21 -0
  9. package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
  10. package/docs/documentation/modules/CodeSnippetModule.html +4 -4
  11. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +42 -38
  12. package/docs/documentation/modules/DatePickerInputModule.html +42 -38
  13. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +4 -4
  14. package/docs/documentation/modules/FileUploaderModule.html +4 -4
  15. package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
  16. package/docs/documentation/modules/NumberModule.html +4 -4
  17. package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
  18. package/docs/documentation/modules/PanelModule.html +36 -36
  19. package/docs/documentation/modules/RadioModule/dependencies.svg +49 -49
  20. package/docs/documentation/modules/RadioModule.html +49 -49
  21. package/docs/documentation/modules/SelectModule/dependencies.svg +43 -43
  22. package/docs/documentation/modules/SelectModule.html +43 -43
  23. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  24. package/docs/documentation/modules/SliderModule.html +4 -4
  25. package/docs/documentation/modules/TableModule/dependencies.svg +216 -216
  26. package/docs/documentation/modules/TableModule.html +216 -216
  27. package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
  28. package/docs/documentation/modules/TabsModule.html +69 -69
  29. package/docs/documentation/modules/TagModule/dependencies.svg +29 -29
  30. package/docs/documentation/modules/TagModule.html +29 -29
  31. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  32. package/docs/documentation/modules/ThemeModule.html +4 -4
  33. package/docs/documentation/modules/TilesModule/dependencies.svg +100 -100
  34. package/docs/documentation/modules/TilesModule.html +100 -100
  35. package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
  36. package/docs/documentation/modules/TimePickerModule.html +4 -4
  37. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +44 -48
  38. package/docs/documentation/modules/TimePickerSelectModule.html +44 -48
  39. package/docs/documentation/modules/ToggletipModule/dependencies.svg +38 -38
  40. package/docs/documentation/modules/ToggletipModule.html +38 -38
  41. package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
  42. package/docs/documentation/modules/TooltipModule.html +4 -4
  43. package/docs/documentation.json +126 -137
  44. package/docs/storybook/4578.d79a1b3e.iframe.bundle.js +1 -0
  45. package/docs/storybook/7153.ce84c62a.iframe.bundle.js +1 -0
  46. package/docs/storybook/901.0cee8749.iframe.bundle.js +1 -0
  47. package/docs/storybook/9558.680ea348.iframe.bundle.js +1 -0
  48. package/docs/storybook/9672.2cc3d4f7.iframe.bundle.js +1 -0
  49. package/docs/storybook/accordion-accordion-stories.9a7b324c.iframe.bundle.js +1 -0
  50. package/docs/storybook/breadcrumb-breadcrumb-stories.88919630.iframe.bundle.js +1 -0
  51. package/docs/storybook/button-button-set-stories.68d26789.iframe.bundle.js +1 -0
  52. package/docs/storybook/button-button-stories.82a8e128.iframe.bundle.js +1 -0
  53. package/docs/storybook/button-icon-button-stories.5d232e73.iframe.bundle.js +1 -0
  54. package/docs/storybook/{code-snippet-code-snippet-stories.1efe8836.iframe.bundle.js → code-snippet-code-snippet-stories.ec4fca0a.iframe.bundle.js} +1 -1
  55. package/docs/storybook/{combobox-combobox-stories.955bdf76.iframe.bundle.js → combobox-combobox-stories.a311e67b.iframe.bundle.js} +1 -1
  56. package/docs/storybook/context-menu-context-menu-stories.158ccd1c.iframe.bundle.js +1 -0
  57. package/docs/storybook/{datepicker-datepicker-stories.786be74e.iframe.bundle.js → datepicker-datepicker-stories.ef9bfd14.iframe.bundle.js} +1 -1
  58. package/docs/storybook/{dialog-overflow-menu-overflow-menu-stories.cca740c8.iframe.bundle.js → dialog-overflow-menu-overflow-menu-stories.f6323fbc.iframe.bundle.js} +1 -1
  59. package/docs/storybook/dropdown-dropdown-stories.1ae77006.iframe.bundle.js +1 -0
  60. package/docs/storybook/icon-icon-stories.c5e1074f.iframe.bundle.js +1 -0
  61. package/docs/storybook/iframe.html +2 -2
  62. package/docs/storybook/index-stories.10b4ce67.iframe.bundle.js +1 -0
  63. package/docs/storybook/inline-loading-inline-loading-stories.c54dee33.iframe.bundle.js +1 -0
  64. package/docs/storybook/layout-stack-stories.95acac06.iframe.bundle.js +1 -0
  65. package/docs/storybook/main.3edf90e2.iframe.bundle.js +1 -0
  66. package/docs/storybook/number-input-number-stories.ca6f8990.iframe.bundle.js +1 -0
  67. package/docs/storybook/progress-bar-progress-bar-stories.5fb7d045.iframe.bundle.js +1 -0
  68. package/docs/storybook/progress-indicator-progress-indicator-stories.e18e124a.iframe.bundle.js +1 -0
  69. package/docs/storybook/project.json +1 -1
  70. package/docs/storybook/radio-radio-stories.82373213.iframe.bundle.js +1 -0
  71. package/docs/storybook/{runtime~main.3e61b46f.iframe.bundle.js → runtime~main.6c3bf6d5.iframe.bundle.js} +1 -1
  72. package/docs/storybook/search-search-stories.30a933b1.iframe.bundle.js +1 -0
  73. package/docs/storybook/structured-list-structured-list-stories.38bd94fc.iframe.bundle.js +1 -0
  74. package/docs/storybook/tag-tag-stories.e0c5cc20.iframe.bundle.js +1 -0
  75. package/docs/storybook/theme-theme-stories.839db355.iframe.bundle.js +1 -0
  76. package/docs/storybook/ui-shell-ui-shell-stories.704e84bd.iframe.bundle.js +1 -0
  77. package/esm2020/button/button.directive.mjs +5 -12
  78. package/esm2020/icon/icon.directive.mjs +11 -7
  79. package/esm2020/layout/stack.directive.mjs +5 -11
  80. package/esm2020/theme/theme.directive.mjs +4 -11
  81. package/fesm2015/carbon-components-angular-button.mjs +4 -11
  82. package/fesm2015/carbon-components-angular-button.mjs.map +1 -1
  83. package/fesm2015/carbon-components-angular-icon.mjs +10 -6
  84. package/fesm2015/carbon-components-angular-icon.mjs.map +1 -1
  85. package/fesm2015/carbon-components-angular-layout.mjs +4 -10
  86. package/fesm2015/carbon-components-angular-layout.mjs.map +1 -1
  87. package/fesm2015/carbon-components-angular-theme.mjs +3 -10
  88. package/fesm2015/carbon-components-angular-theme.mjs.map +1 -1
  89. package/fesm2020/carbon-components-angular-button.mjs +4 -11
  90. package/fesm2020/carbon-components-angular-button.mjs.map +1 -1
  91. package/fesm2020/carbon-components-angular-icon.mjs +10 -6
  92. package/fesm2020/carbon-components-angular-icon.mjs.map +1 -1
  93. package/fesm2020/carbon-components-angular-layout.mjs +4 -10
  94. package/fesm2020/carbon-components-angular-layout.mjs.map +1 -1
  95. package/fesm2020/carbon-components-angular-theme.mjs +3 -10
  96. package/fesm2020/carbon-components-angular-theme.mjs.map +1 -1
  97. package/icon/icon.directive.d.ts +4 -4
  98. package/layout/stack.directive.d.ts +6 -8
  99. package/package.json +1 -1
  100. package/theme/theme.directive.d.ts +7 -9
  101. package/docs/storybook/4578.e4cc4f76.iframe.bundle.js +0 -1
  102. package/docs/storybook/7153.87910de3.iframe.bundle.js +0 -1
  103. package/docs/storybook/901.3e5cc559.iframe.bundle.js +0 -1
  104. package/docs/storybook/9558.8ae92105.iframe.bundle.js +0 -1
  105. package/docs/storybook/9672.b362859e.iframe.bundle.js +0 -1
  106. package/docs/storybook/accordion-accordion-stories.08425ab9.iframe.bundle.js +0 -1
  107. package/docs/storybook/breadcrumb-breadcrumb-stories.04b06d30.iframe.bundle.js +0 -1
  108. package/docs/storybook/button-button-set-stories.48e79623.iframe.bundle.js +0 -1
  109. package/docs/storybook/button-button-stories.c51970ae.iframe.bundle.js +0 -1
  110. package/docs/storybook/button-icon-button-stories.cf46404a.iframe.bundle.js +0 -1
  111. package/docs/storybook/context-menu-context-menu-stories.c736d850.iframe.bundle.js +0 -1
  112. package/docs/storybook/dropdown-dropdown-stories.f015ead1.iframe.bundle.js +0 -1
  113. package/docs/storybook/icon-icon-stories.954f7ef6.iframe.bundle.js +0 -1
  114. package/docs/storybook/index-stories.072ef954.iframe.bundle.js +0 -1
  115. package/docs/storybook/inline-loading-inline-loading-stories.cc1174d7.iframe.bundle.js +0 -1
  116. package/docs/storybook/layout-stack-stories.0a86a824.iframe.bundle.js +0 -1
  117. package/docs/storybook/main.5b6e5e09.iframe.bundle.js +0 -1
  118. package/docs/storybook/number-input-number-stories.3ea609db.iframe.bundle.js +0 -1
  119. package/docs/storybook/progress-bar-progress-bar-stories.45d0232b.iframe.bundle.js +0 -1
  120. package/docs/storybook/progress-indicator-progress-indicator-stories.dcc5c5ca.iframe.bundle.js +0 -1
  121. package/docs/storybook/radio-radio-stories.b67e94b9.iframe.bundle.js +0 -1
  122. package/docs/storybook/search-search-stories.217fd7c7.iframe.bundle.js +0 -1
  123. package/docs/storybook/structured-list-structured-list-stories.1b25bd52.iframe.bundle.js +0 -1
  124. package/docs/storybook/tag-tag-stories.f5235256.iframe.bundle.js +0 -1
  125. package/docs/storybook/theme-theme-stories.f7a4082c.iframe.bundle.js +0 -1
  126. package/docs/storybook/ui-shell-ui-shell-stories.a888ff58.iframe.bundle.js +0 -1
@@ -83,6 +83,7 @@
83
83
  </p>
84
84
  <p class="comment">
85
85
  <code>AfterViewInit</code>
86
+ <code>OnChanges</code>
86
87
  </p>
87
88
 
88
89
 
@@ -115,10 +116,6 @@
115
116
  <tr>
116
117
  <td class="col-md-4">
117
118
  <ul class="index-list">
118
- <li>
119
- <span class="modifier">Private</span>
120
- <a href="#iconName" >iconName</a>
121
- </li>
122
119
  <li>
123
120
  <span class="modifier">Static</span>
124
121
  <a href="#titleIdCounter" >titleIdCounter</a>
@@ -138,6 +135,9 @@
138
135
  <li>
139
136
  <a href="#ngAfterViewInit" >ngAfterViewInit</a>
140
137
  </li>
138
+ <li>
139
+ <a href="#ngOnChanges" >ngOnChanges</a>
140
+ </li>
141
141
  <li>
142
142
  <a href="#renderIcon" >renderIcon</a>
143
143
  </li>
@@ -195,9 +195,6 @@
195
195
  <li>
196
196
  <a href="#ibmIcon" >ibmIcon</a>
197
197
  </li>
198
- <li>
199
- <a href="#cdsIcon" >cdsIcon</a>
200
- </li>
201
198
  </ul>
202
199
  </td>
203
200
  </tr>
@@ -216,7 +213,7 @@
216
213
  </tr>
217
214
  <tr>
218
215
  <td class="col-md-4">
219
- <div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/icon/icon.directive.ts:51</a></div>
216
+ <div class="io-line">Defined in <a href="" data-line="49" class="link-to-prism">src/icon/icon.directive.ts:49</a></div>
220
217
  </td>
221
218
  </tr>
222
219
 
@@ -359,10 +356,15 @@
359
356
  <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
360
357
 
361
358
  </td>
359
+ </tr>
360
+ <tr>
361
+ <td class="col-md-4">
362
+ <i>Default value : </i><code>&quot;&quot;</code>
363
+ </td>
362
364
  </tr>
363
365
  <tr>
364
366
  <td class="col-md-2" colspan="2">
365
- <div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/icon/icon.directive.ts:33</a></div>
367
+ <div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/icon/icon.directive.ts:37</a></div>
366
368
  </td>
367
369
  </tr>
368
370
  </tbody>
@@ -383,7 +385,7 @@
383
385
  </tr>
384
386
  <tr>
385
387
  <td class="col-md-2" colspan="2">
386
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/icon/icon.directive.ts:29</a></div>
388
+ <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/icon/icon.directive.ts:31</a></div>
387
389
  </td>
388
390
  </tr>
389
391
  </tbody>
@@ -495,8 +497,8 @@
495
497
 
496
498
  <tr>
497
499
  <td class="col-md-4">
498
- <div class="io-line">Defined in <a href="" data-line="124"
499
- class="link-to-prism">src/icon/icon.directive.ts:124</a></div>
500
+ <div class="io-line">Defined in <a href="" data-line="122"
501
+ class="link-to-prism">src/icon/icon.directive.ts:122</a></div>
500
502
  </td>
501
503
  </tr>
502
504
 
@@ -516,24 +518,24 @@
516
518
  <tbody>
517
519
  <tr>
518
520
  <td class="col-md-4">
519
- <a name="renderIcon"></a>
521
+ <a name="ngOnChanges"></a>
520
522
  <span class="name">
521
- <span ><b>renderIcon</b></span>
522
- <a href="#renderIcon"><span class="icon ion-ios-link"></span></a>
523
+ <span ><b>ngOnChanges</b></span>
524
+ <a href="#ngOnChanges"><span class="icon ion-ios-link"></span></a>
523
525
  </span>
524
526
  </td>
525
527
  </tr>
526
528
  <tr>
527
529
  <td class="col-md-4">
528
- <code>renderIcon(iconName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
530
+ <code>ngOnChanges(undefined: SimpleChanges)</code>
529
531
  </td>
530
532
  </tr>
531
533
 
532
534
 
533
535
  <tr>
534
536
  <td class="col-md-4">
535
- <div class="io-line">Defined in <a href="" data-line="58"
536
- class="link-to-prism">src/icon/icon.directive.ts:58</a></div>
537
+ <div class="io-line">Defined in <a href="" data-line="126"
538
+ class="link-to-prism">src/icon/icon.directive.ts:126</a></div>
537
539
  </td>
538
540
  </tr>
539
541
 
@@ -554,9 +556,8 @@
554
556
  </thead>
555
557
  <tbody>
556
558
  <tr>
557
- <td>iconName</td>
558
559
  <td>
559
- <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
560
+ <code>SimpleChanges</code>
560
561
  </td>
561
562
 
562
563
  <td>
@@ -581,39 +582,81 @@
581
582
  </tr>
582
583
  </tbody>
583
584
  </table>
584
- </section>
585
- <section data-compodoc="block-properties">
586
-
587
- <h3 id="inputs">
588
- Properties
589
- </h3>
590
585
  <table class="table table-sm table-bordered">
591
586
  <tbody>
592
587
  <tr>
593
588
  <td class="col-md-4">
594
- <a name="iconName"></a>
589
+ <a name="renderIcon"></a>
595
590
  <span class="name">
596
- <span class="modifier">Private</span>
597
- <span ><b>iconName</b></span>
598
- <a href="#iconName"><span class="icon ion-ios-link"></span></a>
591
+ <span ><b>renderIcon</b></span>
592
+ <a href="#renderIcon"><span class="icon ion-ios-link"></span></a>
599
593
  </span>
600
594
  </td>
601
595
  </tr>
602
- <tr>
603
- <td class="col-md-4">
604
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
596
+ <tr>
597
+ <td class="col-md-4">
598
+ <code>renderIcon(iconName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
599
+ </td>
600
+ </tr>
605
601
 
606
- </td>
607
- </tr>
608
- <tr>
609
- <td class="col-md-4">
610
- <div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/icon/icon.directive.ts:51</a></div>
611
- </td>
612
- </tr>
613
602
 
603
+ <tr>
604
+ <td class="col-md-4">
605
+ <div class="io-line">Defined in <a href="" data-line="56"
606
+ class="link-to-prism">src/icon/icon.directive.ts:56</a></div>
607
+ </td>
608
+ </tr>
609
+
610
+
611
+ <tr>
612
+ <td class="col-md-4">
613
+
614
+ <div class="io-description">
615
+ <b>Parameters :</b>
616
+
617
+ <table class="params">
618
+ <thead>
619
+ <tr>
620
+ <td>Name</td>
621
+ <td>Type</td>
622
+ <td>Optional</td>
623
+ </tr>
624
+ </thead>
625
+ <tbody>
626
+ <tr>
627
+ <td>iconName</td>
628
+ <td>
629
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
630
+ </td>
631
+
632
+ <td>
633
+ No
634
+ </td>
635
+
636
+
637
+ </tr>
638
+ </tbody>
639
+ </table>
640
+ </div>
641
+ <div>
642
+ </div>
643
+ <div class="io-description">
644
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
614
645
 
646
+ </div>
647
+ <div class="io-description">
648
+
649
+ </div>
650
+ </td>
651
+ </tr>
615
652
  </tbody>
616
653
  </table>
654
+ </section>
655
+ <section data-compodoc="block-properties">
656
+
657
+ <h3 id="inputs">
658
+ Properties
659
+ </h3>
617
660
  <table class="table table-sm table-bordered">
618
661
  <tbody>
619
662
  <tr>
@@ -639,7 +682,7 @@
639
682
  </tr>
640
683
  <tr>
641
684
  <td class="col-md-4">
642
- <div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/icon/icon.directive.ts:37</a></div>
685
+ <div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/icon/icon.directive.ts:35</a></div>
643
686
  </td>
644
687
  </tr>
645
688
 
@@ -669,66 +712,7 @@
669
712
  </tr>
670
713
  <tr>
671
714
  <td class="col-md-4">
672
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/icon/icon.directive.ts:29</a></div>
673
- </td>
674
- </tr>
675
- <tr>
676
- <td class="col-md-4">
677
-
678
- <div class="io-description">
679
- <b>Parameters :</b>
680
- <table class="params">
681
- <thead>
682
- <tr>
683
- <td>Name</td>
684
- <td>Type</td>
685
- <td>Optional</td>
686
- </tr>
687
- </thead>
688
- <tbody>
689
- <tr>
690
- <td>iconName</td>
691
-
692
- <td>
693
- <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
694
- </td>
695
-
696
- <td>
697
- No
698
- </td>
699
-
700
- </tr>
701
- </tbody>
702
- </table>
703
- </div>
704
- <div>
705
- </div>
706
- <div class="io-description">
707
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
708
-
709
- </div>
710
- </td>
711
- </tr>
712
- </tbody>
713
- </table>
714
- <table class="table table-sm table-bordered">
715
- <tbody>
716
- <tr>
717
- <td class="col-md-4">
718
- <a name="cdsIcon"></a>
719
- <span class="name"><b>cdsIcon</b><a href="#cdsIcon"><span class="icon ion-ios-link"></span></a></span>
720
- </td>
721
- </tr>
722
-
723
-
724
- <tr>
725
- <td class="col-md-4">
726
- <span class="accessor"><b>set</b><code>cdsIcon(iconName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code></span>
727
- </td>
728
- </tr>
729
- <tr>
730
- <td class="col-md-4">
731
- <div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/icon/icon.directive.ts:33</a></div>
715
+ <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/icon/icon.directive.ts:31</a></div>
732
716
  </td>
733
717
  </tr>
734
718
  <tr>
@@ -780,7 +764,9 @@
780
764
  AfterViewInit,
781
765
  Directive,
782
766
  ElementRef,
783
- Input
767
+ Input,
768
+ OnChanges,
769
+ SimpleChanges
784
770
  } from &quot;@angular/core&quot;;
785
771
  import { IconService } from &quot;./icon.service&quot;;
786
772
  import { getAttributes } from &quot;@carbon/icon-helpers&quot;;
@@ -799,7 +785,7 @@ import { getAttributes } from &quot;@carbon/icon-helpers&quot;;
799
785
  @Directive({
800
786
  selector: &quot;[cdsIcon], [ibmIcon]&quot;
801
787
  })
802
- export class IconDirective implements AfterViewInit {
788
+ export class IconDirective implements AfterViewInit, OnChanges {
803
789
 
804
790
  /**
805
791
  * @deprecated since v5 - Use &#x60;cdsIcon&#x60; input property instead
@@ -808,12 +794,10 @@ export class IconDirective implements AfterViewInit {
808
794
  this.cdsIcon &#x3D; iconName;
809
795
  }
810
796
 
811
- @Input() set cdsIcon(iconName: string) {
812
- this.iconName &#x3D; iconName;
813
- this.renderIcon(iconName);
814
- }
815
797
  static titleIdCounter &#x3D; 0;
816
798
 
799
+ @Input() cdsIcon &#x3D; &quot;&quot;;
800
+
817
801
  @Input() size &#x3D; &quot;16&quot;;
818
802
 
819
803
  @Input() title &#x3D; &quot;&quot;;
@@ -826,12 +810,10 @@ export class IconDirective implements AfterViewInit {
826
810
 
827
811
  @Input() isFocusable &#x3D; false;
828
812
 
829
- private iconName: string;
830
-
831
813
  constructor(
832
814
  protected elementRef: ElementRef,
833
815
  protected iconService: IconService
834
- ) { }
816
+ ) {}
835
817
 
836
818
  renderIcon(iconName: string) {
837
819
  const root &#x3D; this.elementRef.nativeElement as HTMLElement;
@@ -900,7 +882,15 @@ export class IconDirective implements AfterViewInit {
900
882
  }
901
883
 
902
884
  ngAfterViewInit() {
903
- this.renderIcon(this.iconName);
885
+ this.renderIcon(this.cdsIcon);
886
+ }
887
+
888
+ ngOnChanges({ cdsIcon }: SimpleChanges) {
889
+ // We want to ignore first change to let the icon register
890
+ // and add only after view has been initialized
891
+ if (!cdsIcon.isFirstChange()) {
892
+ this.renderIcon(this.cdsIcon);
893
+ }
904
894
  }
905
895
  }
906
896
  </code></pre>
@@ -69,12 +69,6 @@
69
69
 
70
70
 
71
71
 
72
- <p class="comment">
73
- <h3>Implements</h3>
74
- </p>
75
- <p class="comment">
76
- <code>OnInit</code>
77
- </p>
78
72
 
79
73
 
80
74
  <section data-compodoc="block-metadata">
@@ -114,20 +108,6 @@
114
108
  </td>
115
109
  </tr>
116
110
 
117
- <tr>
118
- <td class="col-md-4">
119
- <h6><b>Methods</b></h6>
120
- </td>
121
- </tr>
122
- <tr>
123
- <td class="col-md-4">
124
- <ul class="index-list">
125
- <li>
126
- <a href="#ngOnInit" >ngOnInit</a>
127
- </li>
128
- </ul>
129
- </td>
130
- </tr>
131
111
 
132
112
  <tr>
133
113
  <td class="col-md-4">
@@ -208,7 +188,7 @@
208
188
  </tr>
209
189
  <tr>
210
190
  <td class="col-md-4">
211
- <div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/layout/stack.directive.ts:45</a></div>
191
+ <div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/layout/stack.directive.ts:47</a></div>
212
192
  </td>
213
193
  </tr>
214
194
 
@@ -270,7 +250,7 @@
270
250
  </tr>
271
251
  <tr>
272
252
  <td class="col-md-4">
273
- <i>Type : </i> <code>&quot;vertical&quot; | &quot;horizontal&quot;</code>
253
+ <i>Type : </i> <code>&quot;vertical&quot; | &quot;horizontal&quot; | string</code>
274
254
 
275
255
  </td>
276
256
  </tr>
@@ -281,12 +261,14 @@
281
261
  </tr>
282
262
  <tr>
283
263
  <td class="col-md-2" colspan="2">
284
- <div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/layout/stack.directive.ts:32</a></div>
264
+ <div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/layout/stack.directive.ts:34</a></div>
285
265
  </td>
286
266
  </tr>
287
267
  <tr>
288
268
  <td class="col-md-4">
289
- <div class="io-description"><p>Orientation of the items in the stack, defaults to <code>vertical</code></p>
269
+ <div class="io-description"><p>Orientation of the items in the stack, defaults to <code>vertical</code>
270
+ Empty string is equivalent to &quot;vertical&quot;</p>
271
+ <p>Empty string has been added as an option for Angular 16+ to resolve type errors</p>
290
272
  </div>
291
273
  </td>
292
274
  </tr>
@@ -308,7 +290,7 @@
308
290
  </tr>
309
291
  <tr>
310
292
  <td class="col-md-2" colspan="2">
311
- <div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/layout/stack.directive.ts:37</a></div>
293
+ <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/layout/stack.directive.ts:39</a></div>
312
294
  </td>
313
295
  </tr>
314
296
  <tr>
@@ -335,7 +317,7 @@
335
317
  </tr>
336
318
  <tr>
337
319
  <td class="col-md-2" colspan="2">
338
- <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/layout/stack.directive.ts:25</a></div>
320
+ <div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/layout/stack.directive.ts:24</a></div>
339
321
  </td>
340
322
  </tr>
341
323
  </tbody>
@@ -362,7 +344,7 @@
362
344
  </tr>
363
345
  <tr>
364
346
  <td class="col-md-4">
365
- <div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/layout/stack.directive.ts:14</a></div>
347
+ <div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/layout/stack.directive.ts:13</a></div>
366
348
  </td>
367
349
  </tr>
368
350
 
@@ -388,7 +370,7 @@
388
370
  </tr>
389
371
  <tr>
390
372
  <td class="col-md-4">
391
- <div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/layout/stack.directive.ts:18</a></div>
373
+ <div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/layout/stack.directive.ts:17</a></div>
392
374
  </td>
393
375
  </tr>
394
376
 
@@ -398,52 +380,7 @@
398
380
  </section>
399
381
 
400
382
 
401
- <section data-compodoc="block-methods">
402
-
403
- <h3 id="methods">
404
- Methods
405
- </h3>
406
- <table class="table table-sm table-bordered">
407
- <tbody>
408
- <tr>
409
- <td class="col-md-4">
410
- <a name="ngOnInit"></a>
411
- <span class="name">
412
- <span ><b>ngOnInit</b></span>
413
- <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
414
- </span>
415
- </td>
416
- </tr>
417
- <tr>
418
- <td class="col-md-4">
419
- <code>ngOnInit()</code>
420
- </td>
421
- </tr>
422
-
423
-
424
- <tr>
425
- <td class="col-md-4">
426
- <div class="io-line">Defined in <a href="" data-line="53"
427
- class="link-to-prism">src/layout/stack.directive.ts:53</a></div>
428
- </td>
429
- </tr>
430
-
431
-
432
- <tr>
433
- <td class="col-md-4">
434
- <div class="io-description"><p>We need to make sure cdsStack is not an empty string since
435
- input name matches selector name.</p>
436
- </div>
437
-
438
- <div class="io-description">
439
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
440
383
 
441
- </div>
442
- </td>
443
- </tr>
444
- </tbody>
445
- </table>
446
- </section>
447
384
  <section data-compodoc="block-properties">
448
385
 
449
386
  <h3 id="inputs">
@@ -463,7 +400,7 @@ input name matches selector name.</p>
463
400
  </tr>
464
401
  <tr>
465
402
  <td class="col-md-4">
466
- <div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/layout/stack.directive.ts:45</a></div>
403
+ <div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/layout/stack.directive.ts:47</a></div>
467
404
  </td>
468
405
  </tr>
469
406
 
@@ -492,7 +429,7 @@ input name matches selector name.</p>
492
429
  </tr>
493
430
  <tr>
494
431
  <td class="col-md-4">
495
- <div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/layout/stack.directive.ts:14</a></div>
432
+ <div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/layout/stack.directive.ts:13</a></div>
496
433
  </td>
497
434
  </tr>
498
435
 
@@ -514,7 +451,7 @@ input name matches selector name.</p>
514
451
  </tr>
515
452
  <tr>
516
453
  <td class="col-md-4">
517
- <div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/layout/stack.directive.ts:18</a></div>
454
+ <div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/layout/stack.directive.ts:17</a></div>
518
455
  </td>
519
456
  </tr>
520
457
 
@@ -537,7 +474,7 @@ input name matches selector name.</p>
537
474
  </tr>
538
475
  <tr>
539
476
  <td class="col-md-4">
540
- <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/layout/stack.directive.ts:25</a></div>
477
+ <div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/layout/stack.directive.ts:24</a></div>
541
478
  </td>
542
479
  </tr>
543
480
  <tr>
@@ -596,7 +533,7 @@ input name matches selector name.</p>
596
533
  </tr>
597
534
  <tr>
598
535
  <td class="col-md-4">
599
- <div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/layout/stack.directive.ts:37</a></div>
536
+ <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/layout/stack.directive.ts:39</a></div>
600
537
  </td>
601
538
  </tr>
602
539
  <tr>
@@ -651,20 +588,19 @@ input name matches selector name.</p>
651
588
  ElementRef,
652
589
  HostBinding,
653
590
  Input,
654
- OnInit,
655
591
  Renderer2
656
592
  } from &quot;@angular/core&quot;;
657
593
 
658
594
  @Directive({
659
595
  selector: &quot;[cdsStack], [ibmStack]&quot;
660
596
  })
661
- export class StackDirective implements OnInit {
597
+ export class StackDirective {
662
598
  @HostBinding(&quot;class.cds--stack-horizontal&quot;) get isHorizontal() {
663
599
  return this.cdsStack &#x3D;&#x3D;&#x3D; &quot;horizontal&quot;;
664
600
  }
665
601
 
666
602
  @HostBinding(&quot;class.cds--stack-vertical&quot;) get isVertical() {
667
- return this.cdsStack &#x3D;&#x3D;&#x3D; &quot;vertical&quot;;
603
+ return this.cdsStack &#x3D;&#x3D;&#x3D; &quot;vertical&quot; || !this.cdsStack;
668
604
  }
669
605
 
670
606
  /**
@@ -676,8 +612,11 @@ export class StackDirective implements OnInit {
676
612
 
677
613
  /**
678
614
  * Orientation of the items in the stack, defaults to &#x60;vertical&#x60;
615
+ * Empty string is equivalent to &quot;vertical&quot;
616
+ *
617
+ * Empty string has been added as an option for Angular 16+ to resolve type errors
679
618
  */
680
- @Input() cdsStack: &quot;vertical&quot; | &quot;horizontal&quot; &#x3D; &quot;vertical&quot;;
619
+ @Input() cdsStack: &quot;vertical&quot; | &quot;horizontal&quot; | &quot;&quot; &#x3D; &quot;vertical&quot;;
681
620
 
682
621
  /**
683
622
  * Gap in the layout, provide a custom value (string) or a step from the spacing scale (number)
@@ -692,17 +631,7 @@ export class StackDirective implements OnInit {
692
631
  // Used to track previous value of gap so we can dynamically remove class
693
632
  private _gap;
694
633
 
695
- constructor(private render: Renderer2, private hostElement: ElementRef) { }
696
-
697
- /**
698
- * We need to make sure cdsStack is not an empty string since
699
- * input name matches selector name.
700
- */
701
- ngOnInit(): void {
702
- if (!this.cdsStack) {
703
- this.cdsStack &#x3D; &quot;vertical&quot;;
704
- }
705
- }
634
+ constructor(private render: Renderer2, private hostElement: ElementRef) {}
706
635
  }
707
636
  </code></pre>
708
637
  </div>