carbon-components-angular 5.29.0 → 5.30.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.
- package/docs/documentation/components/TextInputLabelComponent.html +79 -5
- package/docs/documentation/coverage.html +3 -3
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/ThemeModule/dependencies.svg +15 -15
- package/docs/documentation/modules/ThemeModule.html +15 -15
- package/docs/documentation/modules/TilesModule/dependencies.svg +100 -100
- package/docs/documentation/modules/TilesModule.html +100 -100
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerModule.html +4 -4
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +48 -44
- package/docs/documentation/modules/TimePickerSelectModule.html +48 -44
- package/docs/documentation/modules/ToggleModule/dependencies.svg +36 -40
- package/docs/documentation/modules/ToggleModule.html +36 -40
- package/docs/documentation/modules/TooltipModule/dependencies.svg +29 -29
- package/docs/documentation/modules/TooltipModule.html +29 -29
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +36 -36
- package/docs/documentation/modules/TreeviewModule.html +36 -36
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +4 -4
- package/docs/documentation.json +97 -78
- package/docs/storybook/{1345.44d90796.iframe.bundle.js → 1345.a1871b60.iframe.bundle.js} +1 -1
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/input-input-stories.8154d597.iframe.bundle.js +1 -0
- package/docs/storybook/{main.f423084e.iframe.bundle.js → main.3c073e9e.iframe.bundle.js} +1 -1
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.c24c8c1d.iframe.bundle.js → runtime~main.532100cf.iframe.bundle.js} +1 -1
- package/esm2020/input/text-input-label.component.mjs +8 -2
- package/fesm2015/carbon-components-angular-input.mjs +8 -1
- package/fesm2015/carbon-components-angular-input.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-input.mjs +7 -1
- package/fesm2020/carbon-components-angular-input.mjs.map +1 -1
- package/input/text-input-label.component.d.ts +1 -0
- package/package.json +1 -1
- package/docs/storybook/input-input-stories.eeb079d9.iframe.bundle.js +0 -1
|
@@ -335,11 +335,28 @@
|
|
|
335
335
|
<li>
|
|
336
336
|
<a href="#class.cds--form-item" >class.cds--form-item</a>
|
|
337
337
|
</li>
|
|
338
|
+
<li>
|
|
339
|
+
<a href="#class.cds--text-input-wrapper--readonly" >class.cds--text-input-wrapper--readonly</a>
|
|
340
|
+
</li>
|
|
338
341
|
</ul>
|
|
339
342
|
</td>
|
|
340
343
|
</tr>
|
|
341
344
|
|
|
342
345
|
|
|
346
|
+
<tr>
|
|
347
|
+
<td class="col-md-4">
|
|
348
|
+
<h6><b>Accessors</b></h6>
|
|
349
|
+
</td>
|
|
350
|
+
</tr>
|
|
351
|
+
<tr>
|
|
352
|
+
<td class="col-md-4">
|
|
353
|
+
<ul class="index-list">
|
|
354
|
+
<li>
|
|
355
|
+
<a href="#isReadonly" >isReadonly</a>
|
|
356
|
+
</li>
|
|
357
|
+
</ul>
|
|
358
|
+
</td>
|
|
359
|
+
</tr>
|
|
343
360
|
</tbody>
|
|
344
361
|
</table>
|
|
345
362
|
</section>
|
|
@@ -355,7 +372,7 @@
|
|
|
355
372
|
</tr>
|
|
356
373
|
<tr>
|
|
357
374
|
<td class="col-md-4">
|
|
358
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
375
|
+
<div class="io-line">Defined in <a href="" data-line="143" class="link-to-prism">src/input/text-input-label.component.ts:143</a></div>
|
|
359
376
|
</td>
|
|
360
377
|
</tr>
|
|
361
378
|
|
|
@@ -747,6 +764,32 @@ Since we cannot pass ng-content down easily from label component, we will accept
|
|
|
747
764
|
</tr>
|
|
748
765
|
|
|
749
766
|
|
|
767
|
+
</tbody>
|
|
768
|
+
</table>
|
|
769
|
+
<table class="table table-sm table-bordered">
|
|
770
|
+
<tbody>
|
|
771
|
+
<tr>
|
|
772
|
+
<td class="col-md-4">
|
|
773
|
+
<a name="class.cds--text-input-wrapper--readonly"></a>
|
|
774
|
+
<span class="name">
|
|
775
|
+
<span ><b>class.cds--text-input-wrapper--readonly</b></span>
|
|
776
|
+
<a href="#class.cds--text-input-wrapper--readonly"><span class="icon ion-ios-link"></span></a>
|
|
777
|
+
</span>
|
|
778
|
+
</td>
|
|
779
|
+
</tr>
|
|
780
|
+
<tr>
|
|
781
|
+
<td class="col-md-4">
|
|
782
|
+
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
783
|
+
|
|
784
|
+
</td>
|
|
785
|
+
</tr>
|
|
786
|
+
<tr>
|
|
787
|
+
<td class="col-md-4">
|
|
788
|
+
<div class="io-line">Defined in <a href="" data-line="141" class="link-to-prism">src/input/text-input-label.component.ts:141</a></div>
|
|
789
|
+
</td>
|
|
790
|
+
</tr>
|
|
791
|
+
|
|
792
|
+
|
|
750
793
|
</tbody>
|
|
751
794
|
</table>
|
|
752
795
|
</section>
|
|
@@ -779,8 +822,8 @@ Since we cannot pass ng-content down easily from label component, we will accept
|
|
|
779
822
|
|
|
780
823
|
<tr>
|
|
781
824
|
<td class="col-md-4">
|
|
782
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
783
|
-
class="link-to-prism">src/input/text-input-label.component.ts:
|
|
825
|
+
<div class="io-line">Defined in <a href="" data-line="178"
|
|
826
|
+
class="link-to-prism">src/input/text-input-label.component.ts:178</a></div>
|
|
784
827
|
</td>
|
|
785
828
|
</tr>
|
|
786
829
|
|
|
@@ -842,8 +885,8 @@ Since we cannot pass ng-content down easily from label component, we will accept
|
|
|
842
885
|
|
|
843
886
|
<tr>
|
|
844
887
|
<td class="col-md-4">
|
|
845
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
846
|
-
class="link-to-prism">src/input/text-input-label.component.ts:
|
|
888
|
+
<div class="io-line">Defined in <a href="" data-line="153"
|
|
889
|
+
class="link-to-prism">src/input/text-input-label.component.ts:153</a></div>
|
|
847
890
|
</td>
|
|
848
891
|
</tr>
|
|
849
892
|
|
|
@@ -978,6 +1021,33 @@ Since we cannot pass ng-content down easily from label component, we will accept
|
|
|
978
1021
|
</table>
|
|
979
1022
|
</section>
|
|
980
1023
|
|
|
1024
|
+
<section data-compodoc="block-accessors">
|
|
1025
|
+
<h3 id="accessors">
|
|
1026
|
+
Accessors
|
|
1027
|
+
</h3>
|
|
1028
|
+
<table class="table table-sm table-bordered">
|
|
1029
|
+
<tbody>
|
|
1030
|
+
<tr>
|
|
1031
|
+
<td class="col-md-4">
|
|
1032
|
+
<a name="isReadonly"></a>
|
|
1033
|
+
<span class="name"><b>isReadonly</b><a href="#isReadonly"><span class="icon ion-ios-link"></span></a></span>
|
|
1034
|
+
</td>
|
|
1035
|
+
</tr>
|
|
1036
|
+
|
|
1037
|
+
<tr>
|
|
1038
|
+
<td class="col-md-4">
|
|
1039
|
+
<span class="accessor"><b>get</b><code>isReadonly()</code></span>
|
|
1040
|
+
</td>
|
|
1041
|
+
</tr>
|
|
1042
|
+
<tr>
|
|
1043
|
+
<td class="col-md-4">
|
|
1044
|
+
<div class="io-line">Defined in <a href="" data-line="141" class="link-to-prism">src/input/text-input-label.component.ts:141</a></div>
|
|
1045
|
+
</td>
|
|
1046
|
+
</tr>
|
|
1047
|
+
|
|
1048
|
+
</tbody>
|
|
1049
|
+
</table>
|
|
1050
|
+
</section>
|
|
981
1051
|
</div>
|
|
982
1052
|
|
|
983
1053
|
|
|
@@ -1122,6 +1192,10 @@ export class TextInputLabelComponent implements AfterViewInit {
|
|
|
1122
1192
|
|
|
1123
1193
|
@HostBinding("class.cds--form-item") labelClass = true;
|
|
1124
1194
|
|
|
1195
|
+
@HostBinding("class.cds--text-input-wrapper--readonly") get isReadonly() {
|
|
1196
|
+
return this.wrapper?.nativeElement.querySelector("input")?.readOnly;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1125
1199
|
/**
|
|
1126
1200
|
* Creates an instance of Label.
|
|
1127
1201
|
*/
|
|
@@ -1289,9 +1289,9 @@
|
|
|
1289
1289
|
</td>
|
|
1290
1290
|
<td>component</td>
|
|
1291
1291
|
<td>TextInputLabelComponent</td>
|
|
1292
|
-
<td align="right" data-sort="
|
|
1293
|
-
<span class="coverage-percent">
|
|
1294
|
-
<span class="coverage-count">(14/
|
|
1292
|
+
<td align="right" data-sort="70">
|
|
1293
|
+
<span class="coverage-percent">70 %</span>
|
|
1294
|
+
<span class="coverage-count">(14/20)</span>
|
|
1295
1295
|
</td>
|
|
1296
1296
|
</tr>
|
|
1297
1297
|
<tr class="good">
|