carbon-components-angular 5.67.0 → 5.68.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/checkbox/checkbox-group-host.d.ts +31 -0
- package/checkbox/checkbox-group.component.d.ts +67 -0
- package/checkbox/checkbox.component.d.ts +56 -4
- package/checkbox/checkbox.module.d.ts +5 -3
- package/checkbox/index.d.ts +2 -0
- package/docs/documentation/components/AILabelComponent.html +1 -1
- 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 +767 -58
- package/docs/documentation/components/CheckboxGroup.html +1401 -0
- 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/ComboButtonComponent.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 +1 -1
- package/docs/documentation/components/Loading.html +1 -1
- package/docs/documentation/components/MenuButtonComponent.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 +1 -1
- 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/TableHeaderDecorator.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/TagOperationalComponent.html +1 -1
- package/docs/documentation/components/TagSelectableComponent.html +1 -1
- package/docs/documentation/components/TextInputLabelComponent.html +1 -1
- 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 +526 -66
- 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 +42 -6
- package/docs/documentation/graph/dependencies.svg +3103 -3057
- package/docs/documentation/interfaces/CheckboxGroupHost.html +417 -0
- package/docs/documentation/js/menu-wc.js +9 -3
- package/docs/documentation/js/menu-wc_es5.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/miscellaneous/variables.html +26 -0
- package/docs/documentation/modules/CheckboxModule/dependencies.svg +92 -36
- package/docs/documentation/modules/CheckboxModule.html +116 -39
- package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
- package/docs/documentation/modules/CodeSnippetModule.html +4 -4
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/ComboButtonModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboButtonModule.html +4 -4
- package/docs/documentation/modules/ContextMenuModule/dependencies.svg +52 -52
- package/docs/documentation/modules/ContextMenuModule.html +52 -52
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +42 -46
- package/docs/documentation/modules/DatePickerInputModule.html +42 -46
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +54 -58
- package/docs/documentation/modules/DatePickerModule.html +54 -58
- package/docs/documentation/modules/DialogModule/dependencies.svg +34 -34
- package/docs/documentation/modules/DialogModule.html +34 -34
- package/docs/documentation/modules/DropdownModule/dependencies.svg +70 -70
- package/docs/documentation/modules/DropdownModule.html +70 -70
- package/docs/documentation/modules/FileUploaderModule/dependencies.svg +62 -62
- package/docs/documentation/modules/FileUploaderModule.html +62 -62
- package/docs/documentation/modules/GridModule/dependencies.svg +7 -7
- package/docs/documentation/modules/GridModule.html +7 -7
- package/docs/documentation/modules/I18nModule/dependencies.svg +4 -4
- package/docs/documentation/modules/I18nModule.html +4 -4
- package/docs/documentation/modules/IconModule/dependencies.svg +4 -4
- package/docs/documentation/modules/IconModule.html +4 -4
- package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/InlineLoadingModule.html +4 -4
- package/docs/documentation/modules/InputModule/dependencies.svg +4 -4
- package/docs/documentation/modules/InputModule.html +4 -4
- package/docs/documentation/modules/LayerModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LayerModule.html +4 -4
- package/docs/documentation/modules/LayoutModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LayoutModule.html +4 -4
- package/docs/documentation/modules/LoadingModule/dependencies.svg +13 -13
- package/docs/documentation/modules/LoadingModule.html +13 -13
- package/docs/documentation/modules/MenuButtonModule/dependencies.svg +4 -4
- package/docs/documentation/modules/MenuButtonModule.html +4 -4
- package/docs/documentation/modules/ModalModule/dependencies.svg +115 -115
- package/docs/documentation/modules/ModalModule.html +115 -115
- package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NFormsModule.html +4 -4
- package/docs/documentation/modules/NotificationModule/dependencies.svg +37 -37
- package/docs/documentation/modules/NotificationModule.html +37 -37
- package/docs/documentation/modules/NumberModule/dependencies.svg +24 -24
- package/docs/documentation/modules/NumberModule.html +24 -24
- package/docs/documentation/modules/PaginationModule/dependencies.svg +56 -56
- package/docs/documentation/modules/PaginationModule.html +56 -56
- package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
- package/docs/documentation/modules/PanelModule.html +36 -36
- package/docs/documentation/modules/PopoverModule/dependencies.svg +4 -4
- package/docs/documentation/modules/PopoverModule.html +4 -4
- package/docs/documentation/modules/ProgressBarModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressBarModule.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 +58 -62
- package/docs/documentation/modules/RadioModule.html +58 -62
- package/docs/documentation/modules/SearchModule/dependencies.svg +30 -30
- package/docs/documentation/modules/SearchModule.html +30 -30
- package/docs/documentation/modules/SelectModule/dependencies.svg +61 -61
- package/docs/documentation/modules/SelectModule.html +61 -61
- package/docs/documentation/modules/SideNavModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SideNavModule.html +4 -4
- package/docs/documentation/modules/SkeletonModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SkeletonModule.html +4 -4
- package/docs/documentation/modules/SliderModule/dependencies.svg +42 -46
- package/docs/documentation/modules/SliderModule.html +42 -46
- package/docs/documentation/modules/StructuredListModule/dependencies.svg +4 -4
- package/docs/documentation/modules/StructuredListModule.html +4 -4
- package/docs/documentation/modules/TableModule/dependencies.svg +224 -224
- package/docs/documentation/modules/TableModule.html +224 -224
- package/docs/documentation/modules/TabsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TabsModule.html +4 -4
- package/docs/documentation/modules/TagModule/dependencies.svg +37 -37
- package/docs/documentation/modules/TagModule.html +37 -37
- package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
- package/docs/documentation/modules/ThemeModule.html +13 -13
- package/docs/documentation/modules/TilesModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TilesModule.html +4 -4
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerSelectModule.html +4 -4
- package/docs/documentation/modules/ToggleModule/dependencies.svg +7 -7
- package/docs/documentation/modules/ToggleModule.html +7 -7
- 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/overview.html +3105 -3059
- package/docs/documentation.json +1002 -127
- package/docs/storybook/9300.537382cc.iframe.bundle.js +1 -0
- package/docs/storybook/955.99b6ac85.iframe.bundle.js +1 -0
- package/docs/storybook/checkbox-checkbox-stories.a40b7a36.iframe.bundle.js +1 -0
- package/docs/storybook/dialog-overflow-menu-overflow-menu-stories.d99d789a.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/index.json +1 -1
- package/docs/storybook/main.4ba3ac58.iframe.bundle.js +1 -0
- package/docs/storybook/modal-modal-stories.02e35bd4.iframe.bundle.js +1 -0
- package/docs/storybook/pagination-pagination-nav-stories.647ce4df.iframe.bundle.js +1 -0
- package/docs/storybook/pagination-pagination-stories.aa18b936.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.018cbdfe.iframe.bundle.js → runtime~main.229d454b.iframe.bundle.js} +1 -1
- package/docs/storybook/stories.json +1 -1
- package/docs/storybook/toggle-toggle-stories.999199e8.iframe.bundle.js +1 -0
- package/esm2020/checkbox/checkbox-group-host.mjs +3 -0
- package/esm2020/checkbox/checkbox-group.component.mjs +201 -0
- package/esm2020/checkbox/checkbox.component.mjs +169 -9
- package/esm2020/checkbox/checkbox.module.mjs +16 -7
- package/esm2020/checkbox/index.mjs +3 -1
- package/esm2020/table/cell/table-checkbox.component.mjs +1 -1
- package/esm2020/table/head/table-head-checkbox.component.mjs +1 -1
- package/esm2020/toggle/toggle.component.mjs +12 -7
- package/fesm2015/carbon-components-angular-checkbox.mjs +385 -15
- package/fesm2015/carbon-components-angular-checkbox.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-table.mjs +2 -2
- package/fesm2015/carbon-components-angular-table.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-toggle.mjs +13 -6
- package/fesm2015/carbon-components-angular-toggle.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-checkbox.mjs +379 -15
- package/fesm2020/carbon-components-angular-checkbox.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-table.mjs +2 -2
- package/fesm2020/carbon-components-angular-table.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-toggle.mjs +11 -6
- package/fesm2020/carbon-components-angular-toggle.mjs.map +1 -1
- package/package.json +1 -1
- package/toggle/toggle.component.d.ts +3 -3
- package/docs/storybook/1895.d3fd5755.iframe.bundle.js +0 -1
- package/docs/storybook/955.754a7cf6.iframe.bundle.js +0 -1
- package/docs/storybook/checkbox-checkbox-stories.3aeae19d.iframe.bundle.js +0 -1
- package/docs/storybook/dialog-overflow-menu-overflow-menu-stories.aa916da9.iframe.bundle.js +0 -1
- package/docs/storybook/main.544b1246.iframe.bundle.js +0 -1
- package/docs/storybook/modal-modal-stories.22f92029.iframe.bundle.js +0 -1
- package/docs/storybook/pagination-pagination-nav-stories.9f6e65be.iframe.bundle.js +0 -1
- package/docs/storybook/pagination-pagination-stories.540698c1.iframe.bundle.js +0 -1
- package/docs/storybook/toggle-toggle-stories.7832edbb.iframe.bundle.js +0 -1
|
@@ -0,0 +1,417 @@
|
|
|
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
|
+
|
|
14
|
+
<style>
|
|
15
|
+
footer.carbon {
|
|
16
|
+
position: absolute;
|
|
17
|
+
bottom: 0;
|
|
18
|
+
width: 100%;
|
|
19
|
+
z-index: 9999;
|
|
20
|
+
}
|
|
21
|
+
#root > div {
|
|
22
|
+
/*
|
|
23
|
+
* Subtracting the height of the footer to prevent
|
|
24
|
+
* overlaying the footer ontop of content
|
|
25
|
+
*/
|
|
26
|
+
height: calc(100vh - 48px);
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<script>
|
|
32
|
+
// Blocking script to avoid flickering dark mode
|
|
33
|
+
// Dark mode toggle button
|
|
34
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
35
|
+
var darkModeState = useDark.matches;
|
|
36
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
37
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
38
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
39
|
+
|
|
40
|
+
function checkToggle(check) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
42
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function toggleDarkMode(state) {
|
|
47
|
+
if (window.localStorage) {
|
|
48
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
checkToggle(state);
|
|
52
|
+
|
|
53
|
+
const hasClass = document.body.classList.contains('dark');
|
|
54
|
+
|
|
55
|
+
if (state) {
|
|
56
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
57
|
+
$darkModeToggles[i].classList.add('dark');
|
|
58
|
+
}
|
|
59
|
+
if (!hasClass) {
|
|
60
|
+
document.body.classList.add('dark');
|
|
61
|
+
}
|
|
62
|
+
} else {
|
|
63
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
64
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
65
|
+
}
|
|
66
|
+
if (hasClass) {
|
|
67
|
+
document.body.classList.remove('dark');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
useDark.addEventListener('change', function (evt) {
|
|
73
|
+
toggleDarkMode(evt.matches);
|
|
74
|
+
});
|
|
75
|
+
if (darkModeStateLocal) {
|
|
76
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
77
|
+
}
|
|
78
|
+
toggleDarkMode(darkModeState);
|
|
79
|
+
</script>
|
|
80
|
+
|
|
81
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
82
|
+
<div class="d-flex">
|
|
83
|
+
<a href="../" class="navbar-brand">carbon-components-angular documentation</a>
|
|
84
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
89
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div class="container-fluid main">
|
|
93
|
+
<div class="row main">
|
|
94
|
+
<div class="d-none d-md-block menu">
|
|
95
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
96
|
+
</div>
|
|
97
|
+
<!-- START CONTENT -->
|
|
98
|
+
<div class="content interface">
|
|
99
|
+
<div class="content-data">
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<ol class="breadcrumb">
|
|
114
|
+
<li class="breadcrumb-item">Interfaces</li>
|
|
115
|
+
<li class="breadcrumb-item"
|
|
116
|
+
>
|
|
117
|
+
CheckboxGroupHost</li>
|
|
118
|
+
</ol>
|
|
119
|
+
|
|
120
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
121
|
+
<li class="nav-item">
|
|
122
|
+
<a href="#info"
|
|
123
|
+
class="nav-link"
|
|
124
|
+
class="nav-link active"
|
|
125
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
126
|
+
</li>
|
|
127
|
+
<li class="nav-item">
|
|
128
|
+
<a href="#source"
|
|
129
|
+
class="nav-link"
|
|
130
|
+
|
|
131
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
132
|
+
</li>
|
|
133
|
+
</ul>
|
|
134
|
+
|
|
135
|
+
<div class="tab-content">
|
|
136
|
+
<div class="tab-pane fade active in" id="info">
|
|
137
|
+
<p class="comment">
|
|
138
|
+
<h3>File</h3>
|
|
139
|
+
</p>
|
|
140
|
+
<p class="comment">
|
|
141
|
+
<code>src/checkbox/checkbox-group-host.ts</code>
|
|
142
|
+
</p>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<p class="comment">
|
|
146
|
+
<h3>Description</h3>
|
|
147
|
+
</p>
|
|
148
|
+
<p class="comment">
|
|
149
|
+
<p>Host context for <code>cds-checkbox</code> when nested in <code>cds-checkbox-group</code>
|
|
150
|
+
(read-only and validation state can propagate from the group).</p>
|
|
151
|
+
|
|
152
|
+
</p>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
<section data-compodoc="block-index">
|
|
156
|
+
<h3 id="index">Index</h3>
|
|
157
|
+
<table class="table table-sm table-bordered index-table">
|
|
158
|
+
<tbody>
|
|
159
|
+
<tr>
|
|
160
|
+
<td class="col-md-4">
|
|
161
|
+
<h6><b>Properties</b></h6>
|
|
162
|
+
</td>
|
|
163
|
+
</tr>
|
|
164
|
+
<tr>
|
|
165
|
+
<td class="col-md-4">
|
|
166
|
+
<ul class="index-list">
|
|
167
|
+
<li>
|
|
168
|
+
<a href="#invalid"
|
|
169
|
+
>
|
|
170
|
+
invalid
|
|
171
|
+
</a>
|
|
172
|
+
</li>
|
|
173
|
+
<li>
|
|
174
|
+
<a href="#readOnly"
|
|
175
|
+
>
|
|
176
|
+
readOnly
|
|
177
|
+
</a>
|
|
178
|
+
</li>
|
|
179
|
+
<li>
|
|
180
|
+
<a href="#warn"
|
|
181
|
+
>
|
|
182
|
+
warn
|
|
183
|
+
</a>
|
|
184
|
+
</li>
|
|
185
|
+
</ul>
|
|
186
|
+
</td>
|
|
187
|
+
</tr>
|
|
188
|
+
</tbody>
|
|
189
|
+
</table>
|
|
190
|
+
</section>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<section data-compodoc="block-properties">
|
|
195
|
+
<h3 id="inputs">Properties</h3>
|
|
196
|
+
<table class="table table-sm table-bordered">
|
|
197
|
+
<tbody>
|
|
198
|
+
<tr>
|
|
199
|
+
<td class="col-md-4">
|
|
200
|
+
<a name="invalid"></a>
|
|
201
|
+
<span class="name "><b>invalid</b>
|
|
202
|
+
<a href="#invalid">
|
|
203
|
+
<span class="icon ion-ios-link"></span>
|
|
204
|
+
</a>
|
|
205
|
+
</span>
|
|
206
|
+
</td>
|
|
207
|
+
</tr>
|
|
208
|
+
<tr>
|
|
209
|
+
<td class="col-md-4">
|
|
210
|
+
<code>invalid: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
211
|
+
</code>
|
|
212
|
+
</td>
|
|
213
|
+
</tr>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
<tr>
|
|
217
|
+
<td class="col-md-4">
|
|
218
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
219
|
+
|
|
220
|
+
</td>
|
|
221
|
+
</tr>
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
</tbody>
|
|
228
|
+
</table>
|
|
229
|
+
<table class="table table-sm table-bordered">
|
|
230
|
+
<tbody>
|
|
231
|
+
<tr>
|
|
232
|
+
<td class="col-md-4">
|
|
233
|
+
<a name="readOnly"></a>
|
|
234
|
+
<span class="name "><b>readOnly</b>
|
|
235
|
+
<a href="#readOnly">
|
|
236
|
+
<span class="icon ion-ios-link"></span>
|
|
237
|
+
</a>
|
|
238
|
+
</span>
|
|
239
|
+
</td>
|
|
240
|
+
</tr>
|
|
241
|
+
<tr>
|
|
242
|
+
<td class="col-md-4">
|
|
243
|
+
<code>readOnly: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
244
|
+
</code>
|
|
245
|
+
</td>
|
|
246
|
+
</tr>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
<tr>
|
|
250
|
+
<td class="col-md-4">
|
|
251
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
252
|
+
|
|
253
|
+
</td>
|
|
254
|
+
</tr>
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
</tbody>
|
|
261
|
+
</table>
|
|
262
|
+
<table class="table table-sm table-bordered">
|
|
263
|
+
<tbody>
|
|
264
|
+
<tr>
|
|
265
|
+
<td class="col-md-4">
|
|
266
|
+
<a name="warn"></a>
|
|
267
|
+
<span class="name "><b>warn</b>
|
|
268
|
+
<a href="#warn">
|
|
269
|
+
<span class="icon ion-ios-link"></span>
|
|
270
|
+
</a>
|
|
271
|
+
</span>
|
|
272
|
+
</td>
|
|
273
|
+
</tr>
|
|
274
|
+
<tr>
|
|
275
|
+
<td class="col-md-4">
|
|
276
|
+
<code>warn: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
277
|
+
</code>
|
|
278
|
+
</td>
|
|
279
|
+
</tr>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
<tr>
|
|
283
|
+
<td class="col-md-4">
|
|
284
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
285
|
+
|
|
286
|
+
</td>
|
|
287
|
+
</tr>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
</tbody>
|
|
294
|
+
</table>
|
|
295
|
+
</section>
|
|
296
|
+
</div>
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
300
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { InjectionToken } from "@angular/core";
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Host context for `cds-checkbox` when nested in `cds-checkbox-group`
|
|
304
|
+
* (read-only and validation state can propagate from the group).
|
|
305
|
+
*/
|
|
306
|
+
export interface CheckboxGroupHost {
|
|
307
|
+
readOnly: boolean;
|
|
308
|
+
invalid: boolean;
|
|
309
|
+
warn: boolean;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export const CHECKBOX_GROUP_HOST = new InjectionToken<CheckboxGroupHost | null>("CheckboxGroupHost");
|
|
313
|
+
</code></pre>
|
|
314
|
+
</div>
|
|
315
|
+
</div>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
</div><div class="search-results">
|
|
325
|
+
<div class="has-results">
|
|
326
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
327
|
+
<ul class="search-results-list"></ul>
|
|
328
|
+
</div>
|
|
329
|
+
<div class="no-results">
|
|
330
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
333
|
+
</div>
|
|
334
|
+
<!-- END CONTENT -->
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
|
|
338
|
+
<label class="dark-mode-switch">
|
|
339
|
+
<input type="checkbox">
|
|
340
|
+
<span class="slider">
|
|
341
|
+
<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">
|
|
342
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
343
|
+
</svg>
|
|
344
|
+
</span>
|
|
345
|
+
</label>
|
|
346
|
+
|
|
347
|
+
<script>
|
|
348
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
349
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface';
|
|
350
|
+
var COMPODOC_CURRENT_PAGE_URL = 'CheckboxGroupHost.html';
|
|
351
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
352
|
+
</script>
|
|
353
|
+
|
|
354
|
+
<script>
|
|
355
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
356
|
+
checkToggle(darkModeState);
|
|
357
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
358
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
359
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
360
|
+
darkModeState = !darkModeState;
|
|
361
|
+
toggleDarkMode(darkModeState);
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
</script>
|
|
366
|
+
|
|
367
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
368
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
369
|
+
|
|
370
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
371
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
372
|
+
|
|
373
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
374
|
+
|
|
375
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
376
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
377
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
378
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
379
|
+
|
|
380
|
+
<script src="../js/compodoc.js"></script>
|
|
381
|
+
|
|
382
|
+
<script src="../js/tabs.js"></script>
|
|
383
|
+
<script src="../js/menu.js"></script>
|
|
384
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
385
|
+
<script src="../js/libs/prism.js"></script>
|
|
386
|
+
<script src="../js/sourceCode.js"></script>
|
|
387
|
+
<script src="../js/search/search.js"></script>
|
|
388
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
389
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
390
|
+
<script src="../js/search/search_index.js"></script>
|
|
391
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
<footer class="carbon">
|
|
397
|
+
<dds-footer-container key="footer" disable-locale-button="true" size="micro" />
|
|
398
|
+
</footer>
|
|
399
|
+
|
|
400
|
+
<script
|
|
401
|
+
key="8"
|
|
402
|
+
type="module"
|
|
403
|
+
src="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/footer.min.js">
|
|
404
|
+
</script>
|
|
405
|
+
|
|
406
|
+
<!-- Storybook override -->
|
|
407
|
+
<script>
|
|
408
|
+
document.title = "Carbon Components Angular";
|
|
409
|
+
</script>
|
|
410
|
+
|
|
411
|
+
<script
|
|
412
|
+
src="//1.www.s81c.com/common/stats/ibm-common.js"
|
|
413
|
+
type="text/javascript"
|
|
414
|
+
async="async">
|
|
415
|
+
</script>
|
|
416
|
+
</body>
|
|
417
|
+
</html>
|
|
@@ -178,16 +178,19 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
178
178
|
<a href="modules/CheckboxModule.html" data-type="entity-link" >CheckboxModule</a>
|
|
179
179
|
<li class="chapter inner">
|
|
180
180
|
<div class="simple menu-toggler" data-bs-toggle="collapse" ${ isNormalMode ?
|
|
181
|
-
'data-bs-target="#components-links-module-CheckboxModule-
|
|
181
|
+
'data-bs-target="#components-links-module-CheckboxModule-e61ff822d1dc3c376855b1e06a4b717dbac288581db17c0f5523b732ba77643461dff32c87610a19e35ba1ec6e06df788ef7aa7666720093bd4c49b6278e1012"' : 'data-bs-target="#xs-components-links-module-CheckboxModule-e61ff822d1dc3c376855b1e06a4b717dbac288581db17c0f5523b732ba77643461dff32c87610a19e35ba1ec6e06df788ef7aa7666720093bd4c49b6278e1012"' }>
|
|
182
182
|
<span class="icon ion-md-cog"></span>
|
|
183
183
|
<span>Components</span>
|
|
184
184
|
<span class="icon ion-ios-arrow-down"></span>
|
|
185
185
|
</div>
|
|
186
|
-
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-CheckboxModule-
|
|
187
|
-
'id="xs-components-links-module-CheckboxModule-
|
|
186
|
+
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-CheckboxModule-e61ff822d1dc3c376855b1e06a4b717dbac288581db17c0f5523b732ba77643461dff32c87610a19e35ba1ec6e06df788ef7aa7666720093bd4c49b6278e1012"' :
|
|
187
|
+
'id="xs-components-links-module-CheckboxModule-e61ff822d1dc3c376855b1e06a4b717dbac288581db17c0f5523b732ba77643461dff32c87610a19e35ba1ec6e06df788ef7aa7666720093bd4c49b6278e1012"' }>
|
|
188
188
|
<li class="link">
|
|
189
189
|
<a href="components/Checkbox.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >Checkbox</a>
|
|
190
190
|
</li>
|
|
191
|
+
<li class="link">
|
|
192
|
+
<a href="components/CheckboxGroup.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >CheckboxGroup</a>
|
|
193
|
+
</li>
|
|
191
194
|
</ul>
|
|
192
195
|
</li>
|
|
193
196
|
</li>
|
|
@@ -1801,6 +1804,9 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
1801
1804
|
<li class="link">
|
|
1802
1805
|
<a href="interfaces/BreadcrumbItem.html" data-type="entity-link" >BreadcrumbItem</a>
|
|
1803
1806
|
</li>
|
|
1807
|
+
<li class="link">
|
|
1808
|
+
<a href="interfaces/CheckboxGroupHost.html" data-type="entity-link" >CheckboxGroupHost</a>
|
|
1809
|
+
</li>
|
|
1804
1810
|
<li class="link">
|
|
1805
1811
|
<a href="interfaces/CloseMeta.html" data-type="entity-link" >CloseMeta</a>
|
|
1806
1812
|
</li>
|