carbon-components-angular 5.41.0 → 5.42.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/classes/CheckboxExportedTests.html +1 -1
- package/docs/documentation/components/ComboBox.html +4 -4
- package/docs/documentation/components/TextareaLabelComponent.html +346 -128
- package/docs/documentation/coverage.html +6 -6
- package/docs/documentation/directives/RouterLinkExtendedDirective.html +1 -1
- package/docs/documentation/directives/TextArea.html +58 -0
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ContentSwitcherModule.html +4 -4
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +41 -37
- package/docs/documentation/modules/DatePickerInputModule.html +41 -37
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +38 -38
- package/docs/documentation/modules/DatePickerModule.html +38 -38
- package/docs/documentation/modules/GridModule/dependencies.svg +60 -60
- package/docs/documentation/modules/GridModule.html +60 -60
- package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LoadingModule.html +4 -4
- package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NFormsModule.html +4 -4
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +4 -4
- package/docs/documentation/modules/RadioModule.html +4 -4
- package/docs/documentation/modules/SelectModule/dependencies.svg +58 -58
- package/docs/documentation/modules/SelectModule.html +58 -58
- package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SliderModule.html +4 -4
- package/docs/documentation/modules/TableModule/dependencies.svg +216 -216
- package/docs/documentation/modules/TableModule.html +216 -216
- package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
- package/docs/documentation/modules/TabsModule.html +69 -69
- package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TagModule.html +4 -4
- package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ThemeModule.html +4 -4
- package/docs/documentation/modules/TilesModule/dependencies.svg +86 -86
- package/docs/documentation/modules/TilesModule.html +86 -86
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +40 -44
- package/docs/documentation/modules/TimePickerSelectModule.html +40 -44
- package/docs/documentation/modules/ToggleModule/dependencies.svg +42 -46
- package/docs/documentation/modules/ToggleModule.html +42 -46
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggletipModule.html +4 -4
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +4 -4
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +35 -35
- package/docs/documentation/modules/TreeviewModule.html +35 -35
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +4 -4
- package/docs/documentation.json +200 -108
- package/docs/storybook/1250.47c381c1.iframe.bundle.js +1 -0
- package/docs/storybook/1277.4be2b1a4.iframe.bundle.js +1 -0
- package/docs/storybook/{1345.9eabf5e2.iframe.bundle.js → 1345.ec2701f8.iframe.bundle.js} +1 -1
- package/docs/storybook/{6765.2096c92a.iframe.bundle.js → 6765.2c6ceeb0.iframe.bundle.js} +1 -1
- package/docs/storybook/{combobox-combobox-stories.3bbada2d.iframe.bundle.js → combobox-combobox-stories.84acbfa0.iframe.bundle.js} +1 -1
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/index.json +1 -1
- package/docs/storybook/input-textarea-stories.f6532f41.iframe.bundle.js +1 -0
- package/docs/storybook/main.a2b57351.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/runtime~main.f3aed674.iframe.bundle.js +1 -0
- package/docs/storybook/stories.json +1 -1
- package/esm2020/combobox/combobox.component.mjs +3 -3
- package/esm2020/input/label.component.mjs +1 -1
- package/esm2020/input/text-area.directive.mjs +8 -2
- package/esm2020/input/textarea-label.component.mjs +186 -106
- package/esm2020/ui-shell/sidenav/routerlink-extended.directive.mjs +2 -2
- package/fesm2015/carbon-components-angular-combobox.mjs +2 -2
- package/fesm2015/carbon-components-angular-combobox.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-input.mjs +193 -107
- package/fesm2015/carbon-components-angular-input.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-ui-shell.mjs +1 -1
- package/fesm2015/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-combobox.mjs +2 -2
- package/fesm2020/carbon-components-angular-combobox.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-input.mjs +193 -107
- package/fesm2020/carbon-components-angular-input.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-ui-shell.mjs +1 -1
- package/fesm2020/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/input/text-area.directive.d.ts +1 -0
- package/input/textarea-label.component.d.ts +7 -1
- package/package.json +1 -1
- package/docs/storybook/7529.5272f30b.iframe.bundle.js +0 -1
- package/docs/storybook/input-textarea-stories.1a3b5e80.iframe.bundle.js +0 -1
- package/docs/storybook/main.7f34f466.iframe.bundle.js +0 -1
- package/docs/storybook/runtime~main.d2952d59.iframe.bundle.js +0 -1
|
@@ -1277,9 +1277,9 @@
|
|
|
1277
1277
|
</td>
|
|
1278
1278
|
<td>directive</td>
|
|
1279
1279
|
<td>TextArea</td>
|
|
1280
|
-
<td align="right" data-sort="
|
|
1281
|
-
<span class="coverage-percent">
|
|
1282
|
-
<span class="coverage-count">(1/
|
|
1280
|
+
<td align="right" data-sort="12">
|
|
1281
|
+
<span class="coverage-percent">12 %</span>
|
|
1282
|
+
<span class="coverage-count">(1/8)</span>
|
|
1283
1283
|
</td>
|
|
1284
1284
|
</tr>
|
|
1285
1285
|
<tr class="good">
|
|
@@ -1301,9 +1301,9 @@
|
|
|
1301
1301
|
</td>
|
|
1302
1302
|
<td>component</td>
|
|
1303
1303
|
<td>TextareaLabelComponent</td>
|
|
1304
|
-
<td align="right" data-sort="
|
|
1305
|
-
<span class="coverage-percent">
|
|
1306
|
-
<span class="coverage-count">(
|
|
1304
|
+
<td align="right" data-sort="62">
|
|
1305
|
+
<span class="coverage-percent">62 %</span>
|
|
1306
|
+
<span class="coverage-count">(15/24)</span>
|
|
1307
1307
|
</td>
|
|
1308
1308
|
</tr>
|
|
1309
1309
|
<tr class="medium">
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
303
303
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, Input, OnChanges, SimpleChanges } from "@angular/core";
|
|
304
304
|
import { NavigationExtras, RouterLinkWithHref } from "@angular/router";
|
|
305
|
-
import keys from "lodash/keys";
|
|
305
|
+
import keys from "lodash-es/keys";
|
|
306
306
|
|
|
307
307
|
@Directive({
|
|
308
308
|
// tslint:disable-next-line
|
|
@@ -199,6 +199,9 @@
|
|
|
199
199
|
<tr>
|
|
200
200
|
<td class="col-md-4">
|
|
201
201
|
<ul class="index-list">
|
|
202
|
+
<li>
|
|
203
|
+
<a href="#attr.data-invalid" >attr.data-invalid</a>
|
|
204
|
+
</li>
|
|
202
205
|
<li>
|
|
203
206
|
<a href="#class.cds--text-area" >class.cds--text-area</a>
|
|
204
207
|
</li>
|
|
@@ -221,6 +224,9 @@
|
|
|
221
224
|
<li>
|
|
222
225
|
<a href="#isLightTheme" >isLightTheme</a>
|
|
223
226
|
</li>
|
|
227
|
+
<li>
|
|
228
|
+
<a href="#getInvalidAttr" >getInvalidAttr</a>
|
|
229
|
+
</li>
|
|
224
230
|
</ul>
|
|
225
231
|
</td>
|
|
226
232
|
</tr>
|
|
@@ -313,6 +319,32 @@
|
|
|
313
319
|
|
|
314
320
|
<section data-compodoc="block-properties">
|
|
315
321
|
<h3>HostBindings</h3> <table class="table table-sm table-bordered">
|
|
322
|
+
<tbody>
|
|
323
|
+
<tr>
|
|
324
|
+
<td class="col-md-4">
|
|
325
|
+
<a name="attr.data-invalid"></a>
|
|
326
|
+
<span class="name">
|
|
327
|
+
<span ><b>attr.data-invalid</b></span>
|
|
328
|
+
<a href="#attr.data-invalid"><span class="icon ion-ios-link"></span></a>
|
|
329
|
+
</span>
|
|
330
|
+
</td>
|
|
331
|
+
</tr>
|
|
332
|
+
<tr>
|
|
333
|
+
<td class="col-md-4">
|
|
334
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
335
|
+
|
|
336
|
+
</td>
|
|
337
|
+
</tr>
|
|
338
|
+
<tr>
|
|
339
|
+
<td class="col-md-4">
|
|
340
|
+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/input/text-area.directive.ts:31</a></div>
|
|
341
|
+
</td>
|
|
342
|
+
</tr>
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
</tbody>
|
|
346
|
+
</table>
|
|
347
|
+
<table class="table table-sm table-bordered">
|
|
316
348
|
<tbody>
|
|
317
349
|
<tr>
|
|
318
350
|
<td class="col-md-4">
|
|
@@ -441,6 +473,28 @@
|
|
|
441
473
|
|
|
442
474
|
</tbody>
|
|
443
475
|
</table>
|
|
476
|
+
<table class="table table-sm table-bordered">
|
|
477
|
+
<tbody>
|
|
478
|
+
<tr>
|
|
479
|
+
<td class="col-md-4">
|
|
480
|
+
<a name="getInvalidAttr"></a>
|
|
481
|
+
<span class="name"><b>getInvalidAttr</b><a href="#getInvalidAttr"><span class="icon ion-ios-link"></span></a></span>
|
|
482
|
+
</td>
|
|
483
|
+
</tr>
|
|
484
|
+
|
|
485
|
+
<tr>
|
|
486
|
+
<td class="col-md-4">
|
|
487
|
+
<span class="accessor"><b>get</b><code>getInvalidAttr()</code></span>
|
|
488
|
+
</td>
|
|
489
|
+
</tr>
|
|
490
|
+
<tr>
|
|
491
|
+
<td class="col-md-4">
|
|
492
|
+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/input/text-area.directive.ts:31</a></div>
|
|
493
|
+
</td>
|
|
494
|
+
</tr>
|
|
495
|
+
|
|
496
|
+
</tbody>
|
|
497
|
+
</table>
|
|
444
498
|
</section>
|
|
445
499
|
|
|
446
500
|
</div>
|
|
@@ -476,6 +530,10 @@ export class TextArea {
|
|
|
476
530
|
@HostBinding("class.cds--text-area--light") get isLightTheme() {
|
|
477
531
|
return this.theme === "light";
|
|
478
532
|
}
|
|
533
|
+
|
|
534
|
+
@HostBinding("attr.data-invalid") get getInvalidAttr() {
|
|
535
|
+
return this.invalid ? true : undefined;
|
|
536
|
+
}
|
|
479
537
|
}
|
|
480
538
|
</code></pre>
|
|
481
539
|
</div>
|