carbon-components-angular 5.19.1 → 5.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/docs/documentation/components/CodeSnippet.html +81 -71
- package/docs/documentation/components/TableRadio.html +47 -15
- package/docs/documentation/dependencies.html +2 -2
- package/docs/documentation/index.html +7 -0
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TilesModule.html +4 -4
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
- package/docs/documentation/modules/TimePickerModule.html +45 -41
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerSelectModule.html +4 -4
- package/docs/documentation/modules/ToggleModule/dependencies.svg +19 -19
- package/docs/documentation/modules/ToggleModule.html +19 -19
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggletipModule.html +4 -4
- package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TooltipModule.html +28 -28
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +31 -31
- package/docs/documentation/modules/TreeviewModule.html +31 -31
- package/docs/documentation.json +72 -63
- package/docs/storybook/{5868.3a9c7b8c.iframe.bundle.js → 5868.6cf155a6.iframe.bundle.js} +1 -1
- package/docs/storybook/{code-snippet-code-snippet-stories.5c727944.iframe.bundle.js → code-snippet-code-snippet-stories.d9a3162d.iframe.bundle.js} +1 -1
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/main.b12cb86b.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.af960258.iframe.bundle.js → runtime~main.2d269ad5.iframe.bundle.js} +1 -1
- package/esm2020/code-snippet/code-snippet.component.mjs +27 -18
- package/esm2020/table/cell/table-radio.component.mjs +6 -1
- package/fesm2015/carbon-components-angular-code-snippet.mjs +26 -17
- package/fesm2015/carbon-components-angular-code-snippet.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-table.mjs +5 -0
- package/fesm2015/carbon-components-angular-table.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-code-snippet.mjs +26 -17
- package/fesm2020/carbon-components-angular-code-snippet.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-table.mjs +5 -0
- package/fesm2020/carbon-components-angular-table.mjs.map +1 -1
- package/package.json +1 -1
- package/table/cell/table-radio.component.d.ts +1 -0
- package/docs/storybook/main.ef1ab6d1.iframe.bundle.js +0 -1
|
@@ -2444,6 +2444,9 @@ class TableRadio {
|
|
|
2444
2444
|
get label() {
|
|
2445
2445
|
return this._label.value;
|
|
2446
2446
|
}
|
|
2447
|
+
get disabled() {
|
|
2448
|
+
return this.row ? !!this.row.disabled : false;
|
|
2449
|
+
}
|
|
2447
2450
|
getSelectionLabelValue(row) {
|
|
2448
2451
|
if (!this.selectionLabelColumn) {
|
|
2449
2452
|
return { value: this.i18n.get().TABLE.ROW };
|
|
@@ -2461,6 +2464,7 @@ TableRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "1
|
|
|
2461
2464
|
[attr.aria-label]="getLabel() | i18nReplace:getSelectionLabelValue(row) | async"
|
|
2462
2465
|
[ariaLabel]="getLabel() | i18nReplace:getSelectionLabelValue(row) | async"
|
|
2463
2466
|
[checked]="selected"
|
|
2467
|
+
[disabled]="disabled"
|
|
2464
2468
|
(change)="change.emit()">
|
|
2465
2469
|
</cds-radio>
|
|
2466
2470
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$2.Radio, selector: "cds-radio, ibm-radio", inputs: ["checked", "name", "disabled", "labelPlacement", "ariaLabelledby", "ariaLabel", "required", "value", "skeleton", "id"], outputs: ["change"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.ReplacePipe, name: "i18nReplace" }] });
|
|
@@ -2475,6 +2479,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2475
2479
|
[attr.aria-label]="getLabel() | i18nReplace:getSelectionLabelValue(row) | async"
|
|
2476
2480
|
[ariaLabel]="getLabel() | i18nReplace:getSelectionLabelValue(row) | async"
|
|
2477
2481
|
[checked]="selected"
|
|
2482
|
+
[disabled]="disabled"
|
|
2478
2483
|
(change)="change.emit()">
|
|
2479
2484
|
</cds-radio>
|
|
2480
2485
|
`
|