carbon-components-angular 5.49.0 → 5.51.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/Accordion.html +1 -1
- package/docs/documentation/components/AccordionItem.html +1 -1
- package/docs/documentation/components/ActionableNotification.html +1 -1
- package/docs/documentation/components/AlertModal.html +1 -1
- package/docs/documentation/components/BaseIconButton.html +1 -1
- package/docs/documentation/components/BaseNotification.html +1 -1
- package/docs/documentation/components/BaseTabHeader.html +1 -1
- package/docs/documentation/components/Breadcrumb.html +1 -1
- package/docs/documentation/components/BreadcrumbItemComponent.html +1 -1
- package/docs/documentation/components/ButtonSet.html +1 -1
- package/docs/documentation/components/Checkbox.html +1 -1
- package/docs/documentation/components/ClickableTile.html +1 -1
- package/docs/documentation/components/CodeSnippet.html +1 -1
- package/docs/documentation/components/ComboBox.html +1 -1
- package/docs/documentation/components/ContainedList.html +1 -1
- package/docs/documentation/components/ContainedListItem.html +1 -1
- package/docs/documentation/components/ContentSwitcher.html +1 -1
- package/docs/documentation/components/ContextMenuComponent.html +1 -1
- package/docs/documentation/components/ContextMenuDividerComponent.html +1 -1
- package/docs/documentation/components/ContextMenuGroupComponent.html +1 -1
- package/docs/documentation/components/ContextMenuItemComponent.html +1 -1
- package/docs/documentation/components/DatePicker.html +1 -1
- package/docs/documentation/components/DatePickerInput.html +1 -1
- package/docs/documentation/components/Dialog.html +1 -1
- package/docs/documentation/components/Documentation.html +1 -1
- package/docs/documentation/components/Dropdown.html +1 -1
- package/docs/documentation/components/DropdownList.html +1 -1
- package/docs/documentation/components/ExpandableTile.html +1 -1
- package/docs/documentation/components/FileComponent.html +1 -1
- package/docs/documentation/components/FileUploader.html +1 -1
- package/docs/documentation/components/Hamburger.html +1 -1
- package/docs/documentation/components/Header.html +1 -1
- package/docs/documentation/components/HeaderAction.html +1 -1
- package/docs/documentation/components/HeaderGlobal.html +1 -1
- package/docs/documentation/components/HeaderItem.html +1 -1
- package/docs/documentation/components/HeaderMenu.html +1 -1
- package/docs/documentation/components/HeaderNavigation.html +1 -1
- package/docs/documentation/components/IconButton.html +1 -1
- package/docs/documentation/components/InlineLoading.html +1 -1
- package/docs/documentation/components/Label.html +1 -1
- package/docs/documentation/components/ListColumn.html +1 -1
- package/docs/documentation/components/ListHeader.html +1 -1
- package/docs/documentation/components/ListRow.html +2 -2
- package/docs/documentation/components/Loading.html +1 -1
- package/docs/documentation/components/Modal.html +1 -1
- package/docs/documentation/components/ModalFooter.html +1 -1
- package/docs/documentation/components/ModalHeader.html +1 -1
- package/docs/documentation/components/Notification.html +1 -1
- package/docs/documentation/components/NumberComponent.html +1 -1
- package/docs/documentation/components/OverflowMenu.html +1 -1
- package/docs/documentation/components/OverflowMenuCustomPane.html +1 -1
- package/docs/documentation/components/OverflowMenuOption.html +1 -1
- package/docs/documentation/components/OverflowMenuPane.html +1 -1
- package/docs/documentation/components/Overlay.html +1 -1
- package/docs/documentation/components/Pagination.html +1 -1
- package/docs/documentation/components/PaginationNav.html +1 -1
- package/docs/documentation/components/PaginationNavItem.html +1 -1
- package/docs/documentation/components/PaginationOverflow.html +1 -1
- package/docs/documentation/components/Panel.html +1 -1
- package/docs/documentation/components/PasswordInputLabelComponent.html +264 -72
- package/docs/documentation/components/Placeholder.html +1 -1
- package/docs/documentation/components/PopoverContent.html +1 -1
- package/docs/documentation/components/ProgressBar.html +1 -1
- package/docs/documentation/components/ProgressIndicator.html +1 -1
- package/docs/documentation/components/Radio.html +1 -1
- package/docs/documentation/components/RadioGroup.html +1 -1
- package/docs/documentation/components/Search.html +1 -1
- package/docs/documentation/components/Select.html +1 -1
- package/docs/documentation/components/SelectionTile.html +1 -1
- package/docs/documentation/components/SideNav.html +1 -1
- package/docs/documentation/components/SideNavItem.html +1 -1
- package/docs/documentation/components/SideNavMenu.html +1 -1
- package/docs/documentation/components/SkeletonPlaceholder.html +1 -1
- package/docs/documentation/components/SkeletonText.html +1 -1
- package/docs/documentation/components/Slider.html +1 -1
- package/docs/documentation/components/StructuredList.html +1 -1
- package/docs/documentation/components/SwitcherList.html +1 -1
- package/docs/documentation/components/SwitcherListItem.html +1 -1
- package/docs/documentation/components/Tab.html +1 -1
- package/docs/documentation/components/TabHeaderGroup.html +1 -1
- package/docs/documentation/components/TabHeaders.html +1 -1
- package/docs/documentation/components/TabSkeleton.html +1 -1
- package/docs/documentation/components/Table.html +1 -1
- package/docs/documentation/components/TableBody.html +1 -1
- package/docs/documentation/components/TableCheckbox.html +1 -1
- package/docs/documentation/components/TableContainer.html +1 -1
- package/docs/documentation/components/TableData.html +1 -1
- package/docs/documentation/components/TableExpandButton.html +1 -1
- package/docs/documentation/components/TableExpandedRow.html +1 -1
- package/docs/documentation/components/TableHead.html +1 -1
- package/docs/documentation/components/TableHeadCell.html +1 -1
- package/docs/documentation/components/TableHeadCheckbox.html +1 -1
- package/docs/documentation/components/TableHeadExpand.html +1 -1
- package/docs/documentation/components/TableHeader.html +1 -1
- package/docs/documentation/components/TableRadio.html +1 -1
- package/docs/documentation/components/TableRowComponent.html +1 -1
- package/docs/documentation/components/TableToolbar.html +1 -1
- package/docs/documentation/components/TableToolbarActions.html +1 -1
- package/docs/documentation/components/TableToolbarContent.html +1 -1
- package/docs/documentation/components/TableToolbarSearch.html +1 -1
- package/docs/documentation/components/Tabs.html +1 -1
- package/docs/documentation/components/Tag.html +1 -1
- package/docs/documentation/components/TagFilter.html +1 -1
- package/docs/documentation/components/TextInputLabelComponent.html +380 -109
- package/docs/documentation/components/TextareaLabelComponent.html +1 -1
- package/docs/documentation/components/Tile.html +1 -1
- package/docs/documentation/components/TileGroup.html +1 -1
- package/docs/documentation/components/TimePicker.html +1 -1
- package/docs/documentation/components/TimePickerSelect.html +1 -1
- package/docs/documentation/components/Toast.html +1 -1
- package/docs/documentation/components/Toggle.html +1 -1
- package/docs/documentation/components/Toggletip.html +1 -1
- package/docs/documentation/components/Tooltip.html +1 -1
- package/docs/documentation/components/TooltipDefinition.html +1 -1
- package/docs/documentation/components/TreeNodeComponent.html +1 -1
- package/docs/documentation/components/TreeViewComponent.html +1 -1
- package/docs/documentation/coverage.html +22 -10
- package/docs/documentation/directives/IconDirective.html +6 -5
- package/docs/documentation/directives/LinkIconDirective.html +368 -0
- package/docs/documentation/directives/PasswordInput.html +63 -5
- package/docs/documentation/directives/TextInput.html +60 -1
- package/docs/documentation/graph/dependencies.svg +1983 -1959
- package/docs/documentation/js/menu-wc.js +6 -3
- package/docs/documentation/js/menu-wc_es5.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +6 -6
- package/docs/documentation/modules/ComboBoxModule.html +6 -6
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +41 -45
- package/docs/documentation/modules/DatePickerInputModule.html +41 -45
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +48 -52
- package/docs/documentation/modules/DatePickerModule.html +48 -52
- package/docs/documentation/modules/LinkModule/dependencies.svg +41 -17
- package/docs/documentation/modules/LinkModule.html +52 -19
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +26 -26
- package/docs/documentation/modules/RadioModule.html +26 -26
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +4 -4
- package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SliderModule.html +4 -4
- package/docs/documentation/modules/TableModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TableModule.html +4 -4
- package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TagModule.html +4 -4
- package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
- package/docs/documentation/modules/ThemeModule.html +13 -13
- package/docs/documentation/modules/TilesModule/dependencies.svg +7 -7
- package/docs/documentation/modules/TilesModule.html +7 -7
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
- package/docs/documentation/modules/TimePickerModule.html +45 -41
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +23 -23
- package/docs/documentation/modules/TimePickerSelectModule.html +23 -23
- package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TooltipModule.html +28 -28
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +32 -32
- package/docs/documentation/modules/TreeviewModule.html +32 -32
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +4 -4
- package/docs/documentation/overview.html +1984 -1960
- package/docs/documentation.json +638 -299
- package/docs/storybook/1345.4ae7e616.iframe.bundle.js +1 -0
- package/docs/storybook/7141.e6990367.iframe.bundle.js +1 -0
- package/docs/storybook/901.32dc2d61.iframe.bundle.js +1 -0
- package/docs/storybook/9558.1e461c76.iframe.bundle.js +1 -0
- package/docs/storybook/9672.a4277bf9.iframe.bundle.js +1 -0
- package/docs/storybook/accordion-accordion-stories.f0e7b598.iframe.bundle.js +1 -0
- package/docs/storybook/button-button-set-stories.ed1d0fd9.iframe.bundle.js +1 -0
- package/docs/storybook/button-button-stories.de18db98.iframe.bundle.js +1 -0
- package/docs/storybook/button-icon-button-stories.4a9748f3.iframe.bundle.js +1 -0
- package/docs/storybook/code-snippet-code-snippet-stories.2701eee9.iframe.bundle.js +1 -0
- package/docs/storybook/combobox-combobox-stories.632a96c1.iframe.bundle.js +1 -0
- package/docs/storybook/context-menu-context-menu-stories.431b9c7a.iframe.bundle.js +1 -0
- package/docs/storybook/datepicker-datepicker-stories.2f076085.iframe.bundle.js +1 -0
- package/docs/storybook/dropdown-dropdown-stories.03c37214.iframe.bundle.js +1 -0
- package/docs/storybook/icon-icon-stories.e234de11.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/index-stories.fba8f9b4.iframe.bundle.js +1 -0
- package/docs/storybook/index.json +1 -1
- package/docs/storybook/inline-loading-inline-loading-stories.fea34c40.iframe.bundle.js +1 -0
- package/docs/storybook/input-input-stories.4bd7425d.iframe.bundle.js +1 -0
- package/docs/storybook/input-password-stories.575fa23d.iframe.bundle.js +1 -0
- package/docs/storybook/input-textarea-stories.75dfc9b8.iframe.bundle.js +1 -0
- package/docs/storybook/link-link-stories.d436099f.iframe.bundle.js +1 -0
- package/docs/storybook/main.bfc549ba.iframe.bundle.js +1 -0
- package/docs/storybook/main.css +34 -28
- package/docs/storybook/number-input-number-stories.1e4ea9f3.iframe.bundle.js +1 -0
- package/docs/storybook/patterns-dialogs-modal-with-table-stories.f9bddeed.iframe.bundle.js +1 -0
- package/docs/storybook/patterns-loading-large-loading-stories.a8a467eb.iframe.bundle.js +1 -0
- package/docs/storybook/progress-bar-progress-bar-stories.9a58678a.iframe.bundle.js +1 -0
- package/docs/storybook/progress-indicator-progress-indicator-stories.981734fc.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/radio-radio-stories.035c4409.iframe.bundle.js +1 -0
- package/docs/storybook/{runtime~main.807a23cc.iframe.bundle.js → runtime~main.578dcffd.iframe.bundle.js} +1 -1
- package/docs/storybook/search-search-stories.6bd22f30.iframe.bundle.js +1 -0
- package/docs/storybook/stories.json +1 -1
- package/docs/storybook/structured-list-structured-list-stories.905f4b86.iframe.bundle.js +1 -0
- package/docs/storybook/tag-tag-stories.60e1dec6.iframe.bundle.js +1 -0
- package/docs/storybook/toggletip-toggletip-stories.73f8eaaa.iframe.bundle.js +1 -0
- package/docs/storybook/treeview-treeview-stories.a7ea66bb.iframe.bundle.js +1 -0
- package/docs/storybook/ui-shell-ui-shell-stories.642f613c.iframe.bundle.js +1 -0
- package/esm2020/icon/icon.directive.mjs +3 -2
- package/esm2020/input/input.directive.mjs +9 -3
- package/esm2020/input/label.component.mjs +1 -1
- package/esm2020/input/password-input-label.component.mjs +92 -38
- package/esm2020/input/password.directive.mjs +9 -3
- package/esm2020/input/text-input-label.component.mjs +145 -83
- package/esm2020/link/index.mjs +2 -1
- package/esm2020/link/link-icon.directive.mjs +19 -0
- package/esm2020/link/link.module.mjs +9 -4
- package/esm2020/structured-list/list-row.component.mjs +1 -1
- package/fesm2015/carbon-components-angular-icon.mjs +2 -1
- package/fesm2015/carbon-components-angular-icon.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-input.mjs +251 -123
- package/fesm2015/carbon-components-angular-input.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-link.mjs +25 -4
- package/fesm2015/carbon-components-angular-link.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-structured-list.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-icon.mjs +2 -1
- package/fesm2020/carbon-components-angular-icon.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-input.mjs +251 -123
- package/fesm2020/carbon-components-angular-input.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-link.mjs +25 -4
- package/fesm2020/carbon-components-angular-link.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-structured-list.mjs.map +1 -1
- package/input/input.directive.d.ts +1 -0
- package/input/password-input-label.component.d.ts +7 -1
- package/input/password.directive.d.ts +1 -0
- package/input/text-input-label.component.d.ts +9 -2
- package/link/index.d.ts +1 -0
- package/link/link-icon.directive.d.ts +26 -0
- package/link/link.module.d.ts +3 -2
- package/package.json +1 -1
- package/docs/storybook/1345.e54b0c87.iframe.bundle.js +0 -1
- package/docs/storybook/7141.259796ae.iframe.bundle.js +0 -1
- package/docs/storybook/901.22b316ed.iframe.bundle.js +0 -1
- package/docs/storybook/9558.40984421.iframe.bundle.js +0 -1
- package/docs/storybook/9672.84e90325.iframe.bundle.js +0 -1
- package/docs/storybook/accordion-accordion-stories.e04e2378.iframe.bundle.js +0 -1
- package/docs/storybook/button-button-set-stories.1417284a.iframe.bundle.js +0 -1
- package/docs/storybook/button-button-stories.a12bca49.iframe.bundle.js +0 -1
- package/docs/storybook/button-icon-button-stories.d6e7f30d.iframe.bundle.js +0 -1
- package/docs/storybook/code-snippet-code-snippet-stories.0b374806.iframe.bundle.js +0 -1
- package/docs/storybook/combobox-combobox-stories.84acbfa0.iframe.bundle.js +0 -1
- package/docs/storybook/context-menu-context-menu-stories.64411dcb.iframe.bundle.js +0 -1
- package/docs/storybook/datepicker-datepicker-stories.adb85d77.iframe.bundle.js +0 -1
- package/docs/storybook/dropdown-dropdown-stories.c20a8aa6.iframe.bundle.js +0 -1
- package/docs/storybook/icon-icon-stories.7926f3ba.iframe.bundle.js +0 -1
- package/docs/storybook/index-stories.613320d5.iframe.bundle.js +0 -1
- package/docs/storybook/inline-loading-inline-loading-stories.5226939d.iframe.bundle.js +0 -1
- package/docs/storybook/input-input-stories.fa251a40.iframe.bundle.js +0 -1
- package/docs/storybook/input-password-stories.def6cbdf.iframe.bundle.js +0 -1
- package/docs/storybook/input-textarea-stories.425449a3.iframe.bundle.js +0 -1
- package/docs/storybook/link-link-stories.9e3dd976.iframe.bundle.js +0 -1
- package/docs/storybook/main.11fd86ca.iframe.bundle.js +0 -1
- package/docs/storybook/number-input-number-stories.8d02c22f.iframe.bundle.js +0 -1
- package/docs/storybook/patterns-dialogs-modal-with-table-stories.a011175b.iframe.bundle.js +0 -1
- package/docs/storybook/patterns-loading-large-loading-stories.a879e04d.iframe.bundle.js +0 -1
- package/docs/storybook/progress-bar-progress-bar-stories.b2965ab3.iframe.bundle.js +0 -1
- package/docs/storybook/progress-indicator-progress-indicator-stories.b7f8dfd4.iframe.bundle.js +0 -1
- package/docs/storybook/radio-radio-stories.b6c3c440.iframe.bundle.js +0 -1
- package/docs/storybook/search-search-stories.c9476b26.iframe.bundle.js +0 -1
- package/docs/storybook/structured-list-structured-list-stories.e6a4535e.iframe.bundle.js +0 -1
- package/docs/storybook/tag-tag-stories.dffa6874.iframe.bundle.js +0 -1
- package/docs/storybook/toggletip-toggletip-stories.c3354041.iframe.bundle.js +0 -1
- package/docs/storybook/treeview-treeview-stories.7addb70a.iframe.bundle.js +0 -1
- package/docs/storybook/ui-shell-ui-shell-stories.61c6235e.iframe.bundle.js +0 -1
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>carbon-components-angular documentation</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">carbon-components-angular documentation</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="container-fluid main">
|
|
77
|
+
<div class="row main">
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
79
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
|
+
</div>
|
|
81
|
+
<!-- START CONTENT -->
|
|
82
|
+
<div class="content directive">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
<ol class="breadcrumb">
|
|
92
|
+
<li class="breadcrumb-item">Directives</li>
|
|
93
|
+
<li class="breadcrumb-item" >LinkIconDirective</li>
|
|
94
|
+
</ol>
|
|
95
|
+
|
|
96
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
97
|
+
<li class="nav-item">
|
|
98
|
+
<a href="#info"
|
|
99
|
+
class="nav-link"
|
|
100
|
+
class="nav-link active"
|
|
101
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
102
|
+
</li>
|
|
103
|
+
<li class="nav-item">
|
|
104
|
+
<a href="#source"
|
|
105
|
+
class="nav-link"
|
|
106
|
+
|
|
107
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
108
|
+
</li>
|
|
109
|
+
</ul>
|
|
110
|
+
|
|
111
|
+
<div class="tab-content">
|
|
112
|
+
<div class="tab-pane fade active in" id="info">
|
|
113
|
+
<p class="comment">
|
|
114
|
+
<h3>File</h3>
|
|
115
|
+
</p>
|
|
116
|
+
<p class="comment">
|
|
117
|
+
<code>src/link/link-icon.directive.ts</code>
|
|
118
|
+
</p>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<section data-compodoc="block-metadata">
|
|
126
|
+
<h3>Metadata</h3>
|
|
127
|
+
<table class="table table-sm table-hover metadata">
|
|
128
|
+
<tbody>
|
|
129
|
+
|
|
130
|
+
<tr>
|
|
131
|
+
<td class="col-md-3">Selector</td>
|
|
132
|
+
<td class="col-md-9"><code>[ibmLinkIcon], [cdsLinkIcon]</code></td>
|
|
133
|
+
</tr>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
</tbody>
|
|
139
|
+
</table>
|
|
140
|
+
</section>
|
|
141
|
+
|
|
142
|
+
<section data-compodoc="block-index">
|
|
143
|
+
<h3 id="index">Index</h3>
|
|
144
|
+
<table class="table table-sm table-bordered index-table">
|
|
145
|
+
<tbody>
|
|
146
|
+
<tr>
|
|
147
|
+
<td class="col-md-4">
|
|
148
|
+
<h6><b>Properties</b></h6>
|
|
149
|
+
</td>
|
|
150
|
+
</tr>
|
|
151
|
+
<tr>
|
|
152
|
+
<td class="col-md-4">
|
|
153
|
+
<ul class="index-list">
|
|
154
|
+
<li>
|
|
155
|
+
<span class="modifier"></span>
|
|
156
|
+
<a href="#iconClass" >iconClass</a>
|
|
157
|
+
</li>
|
|
158
|
+
</ul>
|
|
159
|
+
</td>
|
|
160
|
+
</tr>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<tr>
|
|
166
|
+
<td class="col-md-4">
|
|
167
|
+
<h6><b>HostBindings</b></h6>
|
|
168
|
+
</td>
|
|
169
|
+
</tr>
|
|
170
|
+
<tr>
|
|
171
|
+
<td class="col-md-4">
|
|
172
|
+
<ul class="index-list">
|
|
173
|
+
<li>
|
|
174
|
+
<a href="#class.cds--link__icon" >class.cds--link__icon</a>
|
|
175
|
+
</li>
|
|
176
|
+
</ul>
|
|
177
|
+
</td>
|
|
178
|
+
</tr>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
</tbody>
|
|
182
|
+
</table>
|
|
183
|
+
</section>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
<section data-compodoc="block-properties">
|
|
189
|
+
<h3>HostBindings</h3> <table class="table table-sm table-bordered">
|
|
190
|
+
<tbody>
|
|
191
|
+
<tr>
|
|
192
|
+
<td class="col-md-4">
|
|
193
|
+
<a name="class.cds--link__icon"></a>
|
|
194
|
+
<span class="name">
|
|
195
|
+
<span ><b>class.cds--link__icon</b></span>
|
|
196
|
+
<a href="#class.cds--link__icon"><span class="icon ion-ios-link"></span></a>
|
|
197
|
+
</span>
|
|
198
|
+
</td>
|
|
199
|
+
</tr>
|
|
200
|
+
<tr>
|
|
201
|
+
<td class="col-md-4">
|
|
202
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
203
|
+
|
|
204
|
+
</td>
|
|
205
|
+
</tr>
|
|
206
|
+
<tr>
|
|
207
|
+
<td class="col-md-4">
|
|
208
|
+
<i>Default value : </i><code>true</code>
|
|
209
|
+
</td>
|
|
210
|
+
</tr>
|
|
211
|
+
<tr>
|
|
212
|
+
<td class="col-md-4">
|
|
213
|
+
<div class="io-line">Defined in <a href="" data-line="7" class="link-to-prism">src/link/link-icon.directive.ts:7</a></div>
|
|
214
|
+
</td>
|
|
215
|
+
</tr>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
</tbody>
|
|
219
|
+
</table>
|
|
220
|
+
</section>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<section data-compodoc="block-properties">
|
|
225
|
+
|
|
226
|
+
<h3 id="inputs">
|
|
227
|
+
Properties
|
|
228
|
+
</h3>
|
|
229
|
+
<table class="table table-sm table-bordered">
|
|
230
|
+
<tbody>
|
|
231
|
+
<tr>
|
|
232
|
+
<td class="col-md-4">
|
|
233
|
+
<a name="iconClass"></a>
|
|
234
|
+
<span class="name">
|
|
235
|
+
<span class="modifier"></span>
|
|
236
|
+
<span ><b>iconClass</b></span>
|
|
237
|
+
<a href="#iconClass"><span class="icon ion-ios-link"></span></a>
|
|
238
|
+
</span>
|
|
239
|
+
</td>
|
|
240
|
+
</tr>
|
|
241
|
+
<tr>
|
|
242
|
+
<td class="col-md-4">
|
|
243
|
+
<i>Default value : </i><code>true</code>
|
|
244
|
+
</td>
|
|
245
|
+
</tr>
|
|
246
|
+
<tr>
|
|
247
|
+
<td class="col-md-4">
|
|
248
|
+
<b>Decorators : </b>
|
|
249
|
+
<br />
|
|
250
|
+
<code>
|
|
251
|
+
@HostBinding('class.cds--link__icon')<br />
|
|
252
|
+
</code>
|
|
253
|
+
</td>
|
|
254
|
+
</tr>
|
|
255
|
+
<tr>
|
|
256
|
+
<td class="col-md-4">
|
|
257
|
+
<div class="io-line">Defined in <a href="" data-line="7" class="link-to-prism">src/link/link-icon.directive.ts:7</a></div>
|
|
258
|
+
</td>
|
|
259
|
+
</tr>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
</tbody>
|
|
263
|
+
</table>
|
|
264
|
+
</section>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
271
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, HostBinding } from "@angular/core";
|
|
272
|
+
|
|
273
|
+
@Directive({
|
|
274
|
+
selector: "[ibmLinkIcon], [cdsLinkIcon]"
|
|
275
|
+
})
|
|
276
|
+
export class LinkIconDirective {
|
|
277
|
+
@HostBinding("class.cds--link__icon") iconClass = true;
|
|
278
|
+
}
|
|
279
|
+
</code></pre>
|
|
280
|
+
</div>
|
|
281
|
+
|
|
282
|
+
</div>
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
</div><div class="search-results">
|
|
298
|
+
<div class="has-results">
|
|
299
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
300
|
+
<ul class="search-results-list"></ul>
|
|
301
|
+
</div>
|
|
302
|
+
<div class="no-results">
|
|
303
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
<!-- END CONTENT -->
|
|
308
|
+
</div>
|
|
309
|
+
</div>
|
|
310
|
+
|
|
311
|
+
<label class="dark-mode-switch">
|
|
312
|
+
<input type="checkbox">
|
|
313
|
+
<span class="slider">
|
|
314
|
+
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
315
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
316
|
+
</svg>
|
|
317
|
+
</span>
|
|
318
|
+
</label>
|
|
319
|
+
|
|
320
|
+
<script>
|
|
321
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
322
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'directive';
|
|
323
|
+
var COMPODOC_CURRENT_PAGE_URL = 'LinkIconDirective.html';
|
|
324
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
325
|
+
</script>
|
|
326
|
+
|
|
327
|
+
<script>
|
|
328
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
329
|
+
checkToggle(darkModeState);
|
|
330
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
331
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
332
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
333
|
+
darkModeState = !darkModeState;
|
|
334
|
+
toggleDarkMode(darkModeState);
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
</script>
|
|
339
|
+
|
|
340
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
341
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
342
|
+
|
|
343
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
344
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
345
|
+
|
|
346
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
347
|
+
|
|
348
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
349
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
350
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
351
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
352
|
+
|
|
353
|
+
<script src="../js/compodoc.js"></script>
|
|
354
|
+
|
|
355
|
+
<script src="../js/tabs.js"></script>
|
|
356
|
+
<script src="../js/menu.js"></script>
|
|
357
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
358
|
+
<script src="../js/libs/prism.js"></script>
|
|
359
|
+
<script src="../js/sourceCode.js"></script>
|
|
360
|
+
<script src="../js/search/search.js"></script>
|
|
361
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
362
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
363
|
+
<script src="../js/search/search_index.js"></script>
|
|
364
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
</body>
|
|
368
|
+
</html>
|
|
@@ -227,6 +227,9 @@
|
|
|
227
227
|
<tr>
|
|
228
228
|
<td class="col-md-4">
|
|
229
229
|
<ul class="index-list">
|
|
230
|
+
<li>
|
|
231
|
+
<a href="#attr.data-invalid" >attr.data-invalid</a>
|
|
232
|
+
</li>
|
|
230
233
|
<li>
|
|
231
234
|
<a href="#class.cds--layout--size-lg" >class.cds--layout--size-lg</a>
|
|
232
235
|
</li>
|
|
@@ -291,6 +294,9 @@
|
|
|
291
294
|
<li>
|
|
292
295
|
<a href="#isLightTheme" >isLightTheme</a>
|
|
293
296
|
</li>
|
|
297
|
+
<li>
|
|
298
|
+
<a href="#getInvalidAttribute" >getInvalidAttribute</a>
|
|
299
|
+
</li>
|
|
294
300
|
</ul>
|
|
295
301
|
</td>
|
|
296
302
|
</tr>
|
|
@@ -309,7 +315,7 @@
|
|
|
309
315
|
</tr>
|
|
310
316
|
<tr>
|
|
311
317
|
<td class="col-md-4">
|
|
312
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
318
|
+
<div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/input/password.directive.ts:72</a></div>
|
|
313
319
|
</td>
|
|
314
320
|
</tr>
|
|
315
321
|
|
|
@@ -522,6 +528,32 @@
|
|
|
522
528
|
|
|
523
529
|
<section data-compodoc="block-properties">
|
|
524
530
|
<h3>HostBindings</h3> <table class="table table-sm table-bordered">
|
|
531
|
+
<tbody>
|
|
532
|
+
<tr>
|
|
533
|
+
<td class="col-md-4">
|
|
534
|
+
<a name="attr.data-invalid"></a>
|
|
535
|
+
<span class="name">
|
|
536
|
+
<span ><b>attr.data-invalid</b></span>
|
|
537
|
+
<a href="#attr.data-invalid"><span class="icon ion-ios-link"></span></a>
|
|
538
|
+
</span>
|
|
539
|
+
</td>
|
|
540
|
+
</tr>
|
|
541
|
+
<tr>
|
|
542
|
+
<td class="col-md-4">
|
|
543
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
544
|
+
|
|
545
|
+
</td>
|
|
546
|
+
</tr>
|
|
547
|
+
<tr>
|
|
548
|
+
<td class="col-md-4">
|
|
549
|
+
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/input/password.directive.ts:68</a></div>
|
|
550
|
+
</td>
|
|
551
|
+
</tr>
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
</tbody>
|
|
555
|
+
</table>
|
|
556
|
+
<table class="table table-sm table-bordered">
|
|
525
557
|
<tbody>
|
|
526
558
|
<tr>
|
|
527
559
|
<td class="col-md-4">
|
|
@@ -793,8 +825,8 @@
|
|
|
793
825
|
|
|
794
826
|
<tr>
|
|
795
827
|
<td class="col-md-4">
|
|
796
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
797
|
-
class="link-to-prism">src/input/password.directive.ts:
|
|
828
|
+
<div class="io-line">Defined in <a href="" data-line="76"
|
|
829
|
+
class="link-to-prism">src/input/password.directive.ts:76</a></div>
|
|
798
830
|
</td>
|
|
799
831
|
</tr>
|
|
800
832
|
|
|
@@ -841,7 +873,7 @@
|
|
|
841
873
|
</tr>
|
|
842
874
|
<tr>
|
|
843
875
|
<td class="col-md-4">
|
|
844
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
876
|
+
<div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/input/password.directive.ts:72</a></div>
|
|
845
877
|
</td>
|
|
846
878
|
</tr>
|
|
847
879
|
|
|
@@ -1144,6 +1176,28 @@
|
|
|
1144
1176
|
|
|
1145
1177
|
</tbody>
|
|
1146
1178
|
</table>
|
|
1179
|
+
<table class="table table-sm table-bordered">
|
|
1180
|
+
<tbody>
|
|
1181
|
+
<tr>
|
|
1182
|
+
<td class="col-md-4">
|
|
1183
|
+
<a name="getInvalidAttribute"></a>
|
|
1184
|
+
<span class="name"><b>getInvalidAttribute</b><a href="#getInvalidAttribute"><span class="icon ion-ios-link"></span></a></span>
|
|
1185
|
+
</td>
|
|
1186
|
+
</tr>
|
|
1187
|
+
|
|
1188
|
+
<tr>
|
|
1189
|
+
<td class="col-md-4">
|
|
1190
|
+
<span class="accessor"><b>get</b><code>getInvalidAttribute()</code></span>
|
|
1191
|
+
</td>
|
|
1192
|
+
</tr>
|
|
1193
|
+
<tr>
|
|
1194
|
+
<td class="col-md-4">
|
|
1195
|
+
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/input/password.directive.ts:68</a></div>
|
|
1196
|
+
</td>
|
|
1197
|
+
</tr>
|
|
1198
|
+
|
|
1199
|
+
</tbody>
|
|
1200
|
+
</table>
|
|
1147
1201
|
</section>
|
|
1148
1202
|
|
|
1149
1203
|
</div>
|
|
@@ -1203,7 +1257,7 @@ export class PasswordInput implements AfterViewInit {
|
|
|
1203
1257
|
|
|
1204
1258
|
@HostBinding("class.cds--text-input") inputClass = true;
|
|
1205
1259
|
@HostBinding("class.cds--text-input--invalid") @Input() invalid = false;
|
|
1206
|
-
@HostBinding("class.cds--text-
|
|
1260
|
+
@HostBinding("class.cds--text-input--warning") @Input() warn = false;
|
|
1207
1261
|
@HostBinding("class.cds--skeleton") @Input() skeleton = false;
|
|
1208
1262
|
|
|
1209
1263
|
/**
|
|
@@ -1217,6 +1271,10 @@ export class PasswordInput implements AfterViewInit {
|
|
|
1217
1271
|
*/
|
|
1218
1272
|
@Input() size: "sm" | "md" | "lg" = "md";
|
|
1219
1273
|
|
|
1274
|
+
@HostBinding("attr.data-invalid") get getInvalidAttribute() {
|
|
1275
|
+
return this.invalid ? true : undefined;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1220
1278
|
private _type = "password";
|
|
1221
1279
|
|
|
1222
1280
|
constructor(protected elementRef: ElementRef, protected renderer: Renderer2) { }
|
|
@@ -205,6 +205,9 @@
|
|
|
205
205
|
<tr>
|
|
206
206
|
<td class="col-md-4">
|
|
207
207
|
<ul class="index-list">
|
|
208
|
+
<li>
|
|
209
|
+
<a href="#attr.data-invalid" >attr.data-invalid</a>
|
|
210
|
+
</li>
|
|
208
211
|
<li>
|
|
209
212
|
<a href="#class.cds--layout--size-lg" >class.cds--layout--size-lg</a>
|
|
210
213
|
</li>
|
|
@@ -263,6 +266,9 @@
|
|
|
263
266
|
<li>
|
|
264
267
|
<a href="#isLightTheme" >isLightTheme</a>
|
|
265
268
|
</li>
|
|
269
|
+
<li>
|
|
270
|
+
<a href="#getInvalidAttribute" >getInvalidAttribute</a>
|
|
271
|
+
</li>
|
|
266
272
|
</ul>
|
|
267
273
|
</td>
|
|
268
274
|
</tr>
|
|
@@ -413,6 +419,32 @@
|
|
|
413
419
|
|
|
414
420
|
<section data-compodoc="block-properties">
|
|
415
421
|
<h3>HostBindings</h3> <table class="table table-sm table-bordered">
|
|
422
|
+
<tbody>
|
|
423
|
+
<tr>
|
|
424
|
+
<td class="col-md-4">
|
|
425
|
+
<a name="attr.data-invalid"></a>
|
|
426
|
+
<span class="name">
|
|
427
|
+
<span ><b>attr.data-invalid</b></span>
|
|
428
|
+
<a href="#attr.data-invalid"><span class="icon ion-ios-link"></span></a>
|
|
429
|
+
</span>
|
|
430
|
+
</td>
|
|
431
|
+
</tr>
|
|
432
|
+
<tr>
|
|
433
|
+
<td class="col-md-4">
|
|
434
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
435
|
+
|
|
436
|
+
</td>
|
|
437
|
+
</tr>
|
|
438
|
+
<tr>
|
|
439
|
+
<td class="col-md-4">
|
|
440
|
+
<div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/input/input.directive.ts:62</a></div>
|
|
441
|
+
</td>
|
|
442
|
+
</tr>
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
</tbody>
|
|
446
|
+
</table>
|
|
447
|
+
<table class="table table-sm table-bordered">
|
|
416
448
|
<tbody>
|
|
417
449
|
<tr>
|
|
418
450
|
<td class="col-md-4">
|
|
@@ -836,6 +868,28 @@
|
|
|
836
868
|
|
|
837
869
|
</tbody>
|
|
838
870
|
</table>
|
|
871
|
+
<table class="table table-sm table-bordered">
|
|
872
|
+
<tbody>
|
|
873
|
+
<tr>
|
|
874
|
+
<td class="col-md-4">
|
|
875
|
+
<a name="getInvalidAttribute"></a>
|
|
876
|
+
<span class="name"><b>getInvalidAttribute</b><a href="#getInvalidAttribute"><span class="icon ion-ios-link"></span></a></span>
|
|
877
|
+
</td>
|
|
878
|
+
</tr>
|
|
879
|
+
|
|
880
|
+
<tr>
|
|
881
|
+
<td class="col-md-4">
|
|
882
|
+
<span class="accessor"><b>get</b><code>getInvalidAttribute()</code></span>
|
|
883
|
+
</td>
|
|
884
|
+
</tr>
|
|
885
|
+
<tr>
|
|
886
|
+
<td class="col-md-4">
|
|
887
|
+
<div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/input/input.directive.ts:62</a></div>
|
|
888
|
+
</td>
|
|
889
|
+
</tr>
|
|
890
|
+
|
|
891
|
+
</tbody>
|
|
892
|
+
</table>
|
|
839
893
|
</section>
|
|
840
894
|
|
|
841
895
|
</div>
|
|
@@ -897,11 +951,16 @@ export class TextInput {
|
|
|
897
951
|
}
|
|
898
952
|
|
|
899
953
|
@HostBinding("class.cds--text-input--invalid") @Input() invalid = false;
|
|
900
|
-
@HostBinding("class.cds--text-
|
|
954
|
+
@HostBinding("class.cds--text-input--warning") @Input() warn = false;
|
|
901
955
|
@HostBinding("class.cds--skeleton") @Input() skeleton = false;
|
|
902
956
|
@HostBinding("class.cds--text-input--light") get isLightTheme() {
|
|
903
957
|
return this.theme === "light";
|
|
904
958
|
}
|
|
959
|
+
|
|
960
|
+
@HostBinding("attr.data-invalid") get getInvalidAttribute() {
|
|
961
|
+
return this.invalid ? true : undefined;
|
|
962
|
+
}
|
|
963
|
+
|
|
905
964
|
}
|
|
906
965
|
</code></pre>
|
|
907
966
|
</div>
|