carbon-components-angular 5.26.0 → 5.26.2
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 +2 -1
- package/docs/documentation/classes/CheckboxExportedTests.html +168 -108
- package/docs/documentation/classes/ComponentTests.html +150 -90
- package/docs/documentation/classes/DataGridInteractionModel.html +341 -289
- package/docs/documentation/classes/IconCache.html +191 -131
- package/docs/documentation/classes/IconMemoryCache.html +194 -134
- package/docs/documentation/classes/IconNameNotFoundError.html +70 -6
- package/docs/documentation/classes/IconSizeNotFoundError.html +70 -6
- package/docs/documentation/classes/NumberChange.html +69 -5
- package/docs/documentation/classes/Overridable.html +110 -48
- package/docs/documentation/classes/PaginationModel.html +69 -5
- package/docs/documentation/classes/RadioChange.html +69 -5
- package/docs/documentation/classes/TableAdapter.html +354 -302
- package/docs/documentation/classes/TableCellAdapter.html +69 -5
- package/docs/documentation/classes/TableDomAdapter.html +610 -566
- package/docs/documentation/classes/TableHeaderItem.html +169 -109
- package/docs/documentation/classes/TableItem.html +73 -9
- package/docs/documentation/classes/TableModel.html +1250 -1234
- package/docs/documentation/classes/TableRow.html +70 -6
- package/docs/documentation/classes/TableRowAdapter.html +69 -5
- package/docs/documentation/components/Accordion.html +90 -26
- package/docs/documentation/components/AccordionItem.html +118 -56
- package/docs/documentation/components/ActionableNotification.html +146 -84
- package/docs/documentation/components/AlertModal.html +175 -115
- package/docs/documentation/components/BaseIconButton.html +69 -5
- package/docs/documentation/components/BaseNotification.html +134 -72
- package/docs/documentation/components/BaseTabHeader.html +186 -126
- package/docs/documentation/components/Breadcrumb.html +141 -79
- package/docs/documentation/components/BreadcrumbItemComponent.html +114 -52
- package/docs/documentation/components/ButtonSet.html +70 -6
- package/docs/documentation/components/Checkbox.html +482 -434
- package/docs/documentation/components/ClickableTile.html +106 -44
- package/docs/documentation/components/CodeSnippet.html +136 -72
- package/docs/documentation/components/ComboBox.html +757 -719
- package/docs/documentation/components/ContainedList.html +112 -50
- package/docs/documentation/components/ContainedListItem.html +122 -60
- package/docs/documentation/components/ContentSwitcher.html +127 -65
- package/docs/documentation/components/ContextMenuComponent.html +167 -107
- package/docs/documentation/components/ContextMenuDividerComponent.html +69 -5
- package/docs/documentation/components/ContextMenuGroupComponent.html +127 -65
- package/docs/documentation/components/ContextMenuItemComponent.html +281 -221
- package/docs/documentation/components/DatePicker.html +743 -703
- package/docs/documentation/components/DatePickerInput.html +269 -215
- package/docs/documentation/components/Dialog.html +318 -264
- package/docs/documentation/components/Documentation.html +96 -32
- package/docs/documentation/components/Dropdown.html +661 -617
- package/docs/documentation/components/DropdownList.html +679 -639
- package/docs/documentation/components/ExpandableTile.html +99 -35
- package/docs/documentation/components/FileComponent.html +78 -14
- package/docs/documentation/components/FileUploader.html +475 -431
- package/docs/documentation/components/Hamburger.html +81 -17
- package/docs/documentation/components/Header.html +143 -83
- package/docs/documentation/components/HeaderAction.html +79 -15
- package/docs/documentation/components/HeaderGlobal.html +69 -5
- package/docs/documentation/components/HeaderItem.html +105 -43
- package/docs/documentation/components/HeaderMenu.html +200 -140
- package/docs/documentation/components/HeaderNavigation.html +69 -5
- package/docs/documentation/components/IconButton.html +138 -76
- package/docs/documentation/components/InlineLoading.html +70 -6
- package/docs/documentation/components/Label.html +129 -67
- package/docs/documentation/components/ListColumn.html +70 -6
- package/docs/documentation/components/ListHeader.html +90 -26
- package/docs/documentation/components/ListRow.html +166 -104
- package/docs/documentation/components/Loading.html +70 -6
- package/docs/documentation/components/Modal.html +191 -131
- package/docs/documentation/components/ModalFooter.html +69 -5
- package/docs/documentation/components/ModalHeader.html +83 -19
- package/docs/documentation/components/Notification.html +146 -84
- package/docs/documentation/components/NumberComponent.html +389 -337
- package/docs/documentation/components/OverflowMenu.html +110 -48
- package/docs/documentation/components/OverflowMenuCustomPane.html +398 -346
- package/docs/documentation/components/OverflowMenuOption.html +106 -42
- package/docs/documentation/components/OverflowMenuPane.html +426 -374
- package/docs/documentation/components/Overlay.html +106 -44
- package/docs/documentation/components/Pagination.html +73 -9
- package/docs/documentation/components/PaginationNav.html +188 -128
- package/docs/documentation/components/PaginationNavItem.html +71 -7
- package/docs/documentation/components/PaginationOverflow.html +107 -45
- package/docs/documentation/components/Panel.html +69 -5
- package/docs/documentation/components/PasswordInputLabelComponent.html +137 -75
- package/docs/documentation/components/Placeholder.html +80 -16
- package/docs/documentation/components/PopoverContent.html +78 -14
- package/docs/documentation/components/ProgressBar.html +106 -44
- package/docs/documentation/components/ProgressIndicator.html +216 -158
- package/docs/documentation/components/Radio.html +237 -181
- package/docs/documentation/components/RadioGroup.html +412 -360
- package/docs/documentation/components/Search.html +509 -463
- package/docs/documentation/components/Select.html +337 -285
- package/docs/documentation/components/SelectionTile.html +158 -98
- package/docs/documentation/components/SideNav.html +78 -14
- package/docs/documentation/components/SideNavItem.html +183 -121
- package/docs/documentation/components/SideNavMenu.html +107 -43
- package/docs/documentation/components/SkeletonPlaceholder.html +70 -6
- package/docs/documentation/components/SkeletonText.html +124 -62
- package/docs/documentation/components/Slider.html +840 -810
- package/docs/documentation/components/StructuredList.html +211 -153
- package/docs/documentation/components/SwitcherList.html +70 -6
- package/docs/documentation/components/SwitcherListItem.html +105 -43
- package/docs/documentation/components/Tab.html +267 -53
- package/docs/documentation/components/TabHeaderGroup.html +316 -260
- package/docs/documentation/components/TabHeaders.html +425 -373
- package/docs/documentation/components/TabSkeleton.html +69 -5
- package/docs/documentation/components/Table.html +973 -947
- package/docs/documentation/components/TableBody.html +241 -185
- package/docs/documentation/components/TableCheckbox.html +119 -57
- package/docs/documentation/components/TableContainer.html +78 -14
- package/docs/documentation/components/TableData.html +69 -5
- package/docs/documentation/components/TableExpandButton.html +78 -14
- package/docs/documentation/components/TableExpandedRow.html +141 -81
- package/docs/documentation/components/TableHead.html +124 -60
- package/docs/documentation/components/TableHeadCell.html +116 -52
- package/docs/documentation/components/TableHeadCheckbox.html +78 -14
- package/docs/documentation/components/TableHeadExpand.html +69 -5
- package/docs/documentation/components/TableHeader.html +69 -5
- package/docs/documentation/components/TableRadio.html +119 -57
- package/docs/documentation/components/TableRowComponent.html +123 -59
- package/docs/documentation/components/TableToolbar.html +79 -15
- package/docs/documentation/components/TableToolbarActions.html +69 -5
- package/docs/documentation/components/TableToolbarContent.html +69 -5
- package/docs/documentation/components/TableToolbarSearch.html +563 -517
- package/docs/documentation/components/Tabs.html +130 -68
- package/docs/documentation/components/Tag.html +70 -6
- package/docs/documentation/components/TagFilter.html +150 -90
- package/docs/documentation/components/TextInputLabelComponent.html +118 -56
- package/docs/documentation/components/TextareaLabelComponent.html +118 -56
- package/docs/documentation/components/Tile.html +70 -6
- package/docs/documentation/components/TileGroup.html +247 -191
- package/docs/documentation/components/TimePicker.html +321 -269
- package/docs/documentation/components/TimePickerSelect.html +382 -330
- package/docs/documentation/components/Toast.html +155 -93
- package/docs/documentation/components/Toggle.html +568 -522
- package/docs/documentation/components/Toggletip.html +491 -441
- package/docs/documentation/components/Tooltip.html +578 -534
- package/docs/documentation/components/TooltipDefinition.html +559 -513
- package/docs/documentation/components/TreeNodeComponent.html +353 -303
- package/docs/documentation/components/TreeViewComponent.html +155 -93
- package/docs/documentation/coverage.html +71 -7
- package/docs/documentation/dependencies.html +69 -5
- package/docs/documentation/directives/AbstractDropdownView.html +347 -291
- package/docs/documentation/directives/ActionableButton.html +69 -5
- package/docs/documentation/directives/ActionableSubtitle.html +69 -5
- package/docs/documentation/directives/ActionableTitle.html +69 -5
- package/docs/documentation/directives/BaseModal.html +79 -15
- package/docs/documentation/directives/Button.html +71 -7
- package/docs/documentation/directives/ColumnDirective.html +108 -44
- package/docs/documentation/directives/ContentSwitcherOption.html +162 -102
- package/docs/documentation/directives/DialogDirective.html +322 -268
- package/docs/documentation/directives/ExpandableTileAboveFoldDirective.html +69 -5
- package/docs/documentation/directives/ExpandableTileBelowFoldDirective.html +69 -5
- package/docs/documentation/directives/ExpandedRowHover.html +145 -85
- package/docs/documentation/directives/GridDirective.html +89 -25
- package/docs/documentation/directives/IconDirective.html +158 -98
- package/docs/documentation/directives/LayerDirective.html +79 -15
- package/docs/documentation/directives/Link.html +70 -6
- package/docs/documentation/directives/List.html +70 -6
- package/docs/documentation/directives/ListItemDirective.html +69 -5
- package/docs/documentation/directives/ModalContent.html +69 -5
- package/docs/documentation/directives/ModalContentText.html +69 -5
- package/docs/documentation/directives/ModalHeaderHeading.html +69 -5
- package/docs/documentation/directives/ModalHeaderLabel.html +69 -5
- package/docs/documentation/directives/NotificationSubtitle.html +69 -5
- package/docs/documentation/directives/NotificationTitle.html +69 -5
- package/docs/documentation/directives/OptGroup.html +69 -5
- package/docs/documentation/directives/Option.html +69 -5
- package/docs/documentation/directives/OverflowMenuDirective.html +377 -323
- package/docs/documentation/directives/PasswordInput.html +78 -14
- package/docs/documentation/directives/PopoverContainer.html +305 -249
- package/docs/documentation/directives/RowDirective.html +69 -5
- package/docs/documentation/directives/ScrollableList.html +419 -371
- package/docs/documentation/directives/StackDirective.html +70 -6
- package/docs/documentation/directives/TabHeader.html +107 -43
- package/docs/documentation/directives/TableDirective.html +69 -5
- package/docs/documentation/directives/TableHeadCellLabel.html +69 -5
- package/docs/documentation/directives/TableHeaderDescription.html +69 -5
- package/docs/documentation/directives/TableHeaderTitle.html +69 -5
- package/docs/documentation/directives/TextArea.html +70 -6
- package/docs/documentation/directives/TextInput.html +70 -6
- package/docs/documentation/directives/ThemeDirective.html +79 -15
- package/docs/documentation/directives/ToastCaption.html +69 -5
- package/docs/documentation/directives/ToastSubtitle.html +69 -5
- package/docs/documentation/directives/ToastTitle.html +69 -5
- package/docs/documentation/directives/ToggletipAction.html +69 -5
- package/docs/documentation/directives/ToggletipButton.html +69 -5
- package/docs/documentation/directives/ToggletipContent.html +69 -5
- package/docs/documentation/directives/ToggletipLabel.html +69 -5
- package/docs/documentation/index.html +78 -8
- package/docs/documentation/injectables/AnimationFrameService.html +69 -5
- package/docs/documentation/injectables/AnimationFrameServiceSingleton.html +120 -58
- package/docs/documentation/injectables/BaseModalService.html +159 -99
- package/docs/documentation/injectables/ContextMenuSelectionService.html +189 -131
- package/docs/documentation/injectables/DialogService.html +212 -152
- package/docs/documentation/injectables/DocumentService.html +170 -110
- package/docs/documentation/injectables/DropdownService.html +285 -229
- package/docs/documentation/injectables/ElementService.html +127 -65
- package/docs/documentation/injectables/EventService.html +194 -134
- package/docs/documentation/injectables/ExperimentalService.html +276 -220
- package/docs/documentation/injectables/GridService.html +110 -48
- package/docs/documentation/injectables/I18n.html +506 -458
- package/docs/documentation/injectables/IconService.html +309 -255
- package/docs/documentation/injectables/ModalService.html +215 -157
- package/docs/documentation/injectables/NotificationDisplayService.html +110 -48
- package/docs/documentation/injectables/NotificationService.html +349 -295
- package/docs/documentation/injectables/PlaceholderService.html +475 -427
- package/docs/documentation/injectables/TreeViewService.html +115 -53
- package/docs/documentation/interfaces/ActionableContent.html +70 -6
- package/docs/documentation/interfaces/AlertModalData.html +69 -5
- package/docs/documentation/interfaces/BreadcrumbItem.html +69 -5
- package/docs/documentation/interfaces/CloseMeta.html +69 -5
- package/docs/documentation/interfaces/DataGridPosition.html +69 -5
- package/docs/documentation/interfaces/DialogConfig.html +69 -5
- package/docs/documentation/interfaces/ElementVisibilityEvent.html +69 -5
- package/docs/documentation/interfaces/ExpandableTileTranslations.html +69 -5
- package/docs/documentation/interfaces/Experiment.html +69 -5
- package/docs/documentation/interfaces/FileItem.html +69 -5
- package/docs/documentation/interfaces/HeaderItemInterface.html +69 -5
- package/docs/documentation/interfaces/IconDescriptor.html +69 -5
- package/docs/documentation/interfaces/ListItem.html +70 -6
- package/docs/documentation/interfaces/ModalButton.html +69 -5
- package/docs/documentation/interfaces/NavigationItem.html +69 -5
- package/docs/documentation/interfaces/Node.html +69 -5
- package/docs/documentation/interfaces/NotificationAction.html +69 -5
- package/docs/documentation/interfaces/NotificationContent.html +69 -5
- package/docs/documentation/interfaces/NotificationLink.html +69 -5
- package/docs/documentation/interfaces/PaginationNavTranslations.html +69 -5
- package/docs/documentation/interfaces/PaginationTranslations.html +69 -5
- package/docs/documentation/interfaces/ScrollCustomEvent.html +70 -6
- package/docs/documentation/interfaces/SideNavItemInterface.html +70 -6
- package/docs/documentation/interfaces/Step.html +69 -5
- package/docs/documentation/interfaces/TableTranslations.html +69 -5
- package/docs/documentation/interfaces/TileSelection.html +69 -5
- package/docs/documentation/interfaces/ToastContent.html +70 -6
- package/docs/documentation/interfaces/TooltipConfig.html +69 -5
- package/docs/documentation/js/libs/bootstrap-native.js +2 -1
- package/docs/documentation/js/libs/es6-shim.min.js +11 -10
- package/docs/documentation/js/libs/tablesort.min.js +3 -3
- package/docs/documentation/js/libs/tablesort.number.min.js +2 -2
- package/docs/documentation/js/libs/vis.min.js +1 -1
- package/docs/documentation/js/menu-wc_es5.js +17 -19
- package/docs/documentation/js/menu.js +0 -55
- package/docs/documentation/js/search/search.js +71 -56
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/license.html +72 -8
- package/docs/documentation/miscellaneous/enumerations.html +69 -5
- package/docs/documentation/miscellaneous/functions.html +831 -819
- package/docs/documentation/miscellaneous/typealiases.html +69 -5
- package/docs/documentation/miscellaneous/variables.html +70 -6
- package/docs/documentation/modules/AccordionModule.html +69 -5
- package/docs/documentation/modules/BreadcrumbModule.html +69 -5
- package/docs/documentation/modules/ButtonModule.html +69 -5
- package/docs/documentation/modules/CheckboxModule.html +69 -5
- package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
- package/docs/documentation/modules/CodeSnippetModule.html +73 -9
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +73 -9
- package/docs/documentation/modules/ContainedListModule.html +69 -5
- package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ContentSwitcherModule.html +73 -9
- package/docs/documentation/modules/ContextMenuModule.html +69 -5
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +20 -20
- package/docs/documentation/modules/DatePickerInputModule.html +89 -25
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +50 -46
- package/docs/documentation/modules/DatePickerModule.html +119 -51
- package/docs/documentation/modules/DialogModule.html +69 -5
- package/docs/documentation/modules/DocumentationModule.html +69 -5
- package/docs/documentation/modules/DropdownModule.html +69 -5
- package/docs/documentation/modules/ExperimentalModule.html +69 -5
- package/docs/documentation/modules/FileUploaderModule/dependencies.svg +58 -58
- package/docs/documentation/modules/FileUploaderModule.html +127 -63
- package/docs/documentation/modules/GridModule.html +69 -5
- package/docs/documentation/modules/HeaderModule.html +69 -5
- package/docs/documentation/modules/I18nModule.html +69 -5
- package/docs/documentation/modules/IconModule.html +69 -5
- package/docs/documentation/modules/InlineLoadingModule.html +69 -5
- package/docs/documentation/modules/InputModule.html +69 -5
- package/docs/documentation/modules/LayerModule.html +69 -5
- package/docs/documentation/modules/LayoutModule.html +69 -5
- package/docs/documentation/modules/LinkModule.html +69 -5
- package/docs/documentation/modules/ListModule.html +69 -5
- package/docs/documentation/modules/LoadingModule.html +69 -5
- package/docs/documentation/modules/ModalModule.html +69 -5
- package/docs/documentation/modules/NFormsModule.html +69 -5
- package/docs/documentation/modules/NotificationModule.html +69 -5
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +73 -9
- package/docs/documentation/modules/PaginationModule.html +69 -5
- package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
- package/docs/documentation/modules/PanelModule.html +105 -41
- package/docs/documentation/modules/PlaceholderModule.html +69 -5
- package/docs/documentation/modules/PopoverModule.html +69 -5
- package/docs/documentation/modules/ProgressBarModule.html +69 -5
- package/docs/documentation/modules/ProgressIndicatorModule.html +69 -5
- package/docs/documentation/modules/RadioModule/dependencies.svg +43 -47
- package/docs/documentation/modules/RadioModule.html +112 -52
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +73 -9
- package/docs/documentation/modules/SelectModule/dependencies.svg +34 -34
- package/docs/documentation/modules/SelectModule.html +103 -39
- package/docs/documentation/modules/SideNavModule.html +69 -5
- package/docs/documentation/modules/SkeletonModule.html +69 -5
- package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SliderModule.html +73 -9
- package/docs/documentation/modules/StructuredListModule.html +69 -5
- package/docs/documentation/modules/TableModule.html +68 -4
- package/docs/documentation/modules/TabsModule.html +69 -5
- package/docs/documentation/modules/TagModule/dependencies.svg +28 -28
- package/docs/documentation/modules/TagModule.html +97 -33
- package/docs/documentation/modules/ThemeModule/dependencies.svg +15 -15
- package/docs/documentation/modules/ThemeModule.html +84 -20
- package/docs/documentation/modules/TilesModule/dependencies.svg +98 -98
- package/docs/documentation/modules/TilesModule.html +167 -103
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
- package/docs/documentation/modules/TimePickerModule.html +114 -46
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +46 -42
- package/docs/documentation/modules/TimePickerSelectModule.html +115 -47
- package/docs/documentation/modules/ToggleModule/dependencies.svg +26 -26
- package/docs/documentation/modules/ToggleModule.html +95 -31
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggletipModule.html +73 -9
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +73 -9
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +32 -32
- package/docs/documentation/modules/TreeviewModule.html +101 -37
- package/docs/documentation/modules/UIShellModule.html +69 -5
- package/docs/documentation/modules/UtilsModule.html +69 -5
- package/docs/documentation/modules.html +68 -4
- package/docs/documentation/overview.html +68 -4
- package/docs/documentation/pipes/ReplacePipe.html +114 -52
- package/docs/documentation/properties.html +69 -5
- package/docs/documentation/styles/compodoc.css +11 -8
- package/docs/documentation.json +2158 -1848
- package/docs/storybook/{3348.9d9f3238.iframe.bundle.js → 3348.03939d46.iframe.bundle.js} +1 -1
- package/docs/storybook/{959.4248791c.iframe.bundle.js → 959.05fb42da.iframe.bundle.js} +3 -3
- package/docs/storybook/{959.4248791c.iframe.bundle.js.map → 959.05fb42da.iframe.bundle.js.map} +1 -1
- package/docs/storybook/iframe.html +3 -3
- package/docs/storybook/main.cfffa2d2.iframe.bundle.js +1 -0
- package/docs/storybook/main.css +2 -4
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.33c694dd.iframe.bundle.js → runtime~main.c3f8e5ba.iframe.bundle.js} +1 -1
- package/docs/storybook/sb-addons/essentials-controls-1/manager-bundle.js +29 -29
- package/docs/storybook/{tabs-tabs-stories.183f4129.iframe.bundle.js → tabs-tabs-stories.066fa432.iframe.bundle.js} +1 -1
- package/esm2020/tabs/tab.component.mjs +20 -3
- package/esm2020/ui-shell/sidenav/sidenav-item.component.mjs +15 -13
- package/fesm2015/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2015/carbon-components-angular-tabs.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-ui-shell.mjs +14 -12
- package/fesm2015/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-tabs.mjs +24 -7
- package/fesm2020/carbon-components-angular-tabs.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-ui-shell.mjs +14 -12
- package/fesm2020/carbon-components-angular-ui-shell.mjs.map +1 -1
- package/package.json +1 -1
- package/tabs/tab.component.d.ts +10 -1
- package/docs/storybook/main.67c70a42.iframe.bundle.js +0 -1
- /package/docs/storybook/{959.4248791c.iframe.bundle.js.LICENSE.txt → 959.05fb42da.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -12,10 +12,61 @@
|
|
|
12
12
|
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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>
|
|
19
70
|
</div>
|
|
20
71
|
|
|
21
72
|
<div class="xs-menu menu" id="mobile-menu">
|
|
@@ -24,7 +75,7 @@
|
|
|
24
75
|
|
|
25
76
|
<div class="container-fluid main">
|
|
26
77
|
<div class="row main">
|
|
27
|
-
<div class="
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
28
79
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
29
80
|
</div>
|
|
30
81
|
<!-- START CONTENT -->
|
|
@@ -417,49 +468,47 @@
|
|
|
417
468
|
</tr>
|
|
418
469
|
|
|
419
470
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
471
|
+
<tr>
|
|
472
|
+
<td class="col-md-4">
|
|
473
|
+
<div class="io-line">Defined in <a href="" data-line="45"
|
|
474
|
+
class="link-to-prism">src/table/body/table-expanded-row.component.ts:45</a></div>
|
|
475
|
+
</td>
|
|
476
|
+
</tr>
|
|
426
477
|
|
|
427
478
|
|
|
428
479
|
<tr>
|
|
429
480
|
<td class="col-md-4">
|
|
430
481
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
</div>
|
|
482
|
+
<div class="io-description">
|
|
483
|
+
<b>Parameters :</b>
|
|
484
|
+
|
|
485
|
+
<table class="params">
|
|
486
|
+
<thead>
|
|
487
|
+
<tr>
|
|
488
|
+
<td>Name</td>
|
|
489
|
+
<td>Optional</td>
|
|
490
|
+
</tr>
|
|
491
|
+
</thead>
|
|
492
|
+
<tbody>
|
|
493
|
+
<tr>
|
|
494
|
+
<td>row</td>
|
|
495
|
+
|
|
496
|
+
<td>
|
|
497
|
+
No
|
|
498
|
+
</td>
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
</tr>
|
|
502
|
+
</tbody>
|
|
503
|
+
</table>
|
|
504
|
+
</div>
|
|
505
|
+
<div class="io-description">
|
|
506
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
507
|
+
|
|
508
|
+
</div>
|
|
509
|
+
<div class="io-description">
|
|
510
|
+
|
|
511
|
+
</div>
|
|
463
512
|
</td>
|
|
464
513
|
</tr>
|
|
465
514
|
</tbody>
|
|
@@ -482,49 +531,47 @@
|
|
|
482
531
|
</tr>
|
|
483
532
|
|
|
484
533
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
534
|
+
<tr>
|
|
535
|
+
<td class="col-md-4">
|
|
536
|
+
<div class="io-line">Defined in <a href="" data-line="37"
|
|
537
|
+
class="link-to-prism">src/table/body/table-expanded-row.component.ts:37</a></div>
|
|
538
|
+
</td>
|
|
539
|
+
</tr>
|
|
491
540
|
|
|
492
541
|
|
|
493
542
|
<tr>
|
|
494
543
|
<td class="col-md-4">
|
|
495
544
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
</div>
|
|
545
|
+
<div class="io-description">
|
|
546
|
+
<b>Parameters :</b>
|
|
547
|
+
|
|
548
|
+
<table class="params">
|
|
549
|
+
<thead>
|
|
550
|
+
<tr>
|
|
551
|
+
<td>Name</td>
|
|
552
|
+
<td>Optional</td>
|
|
553
|
+
</tr>
|
|
554
|
+
</thead>
|
|
555
|
+
<tbody>
|
|
556
|
+
<tr>
|
|
557
|
+
<td>row</td>
|
|
558
|
+
|
|
559
|
+
<td>
|
|
560
|
+
No
|
|
561
|
+
</td>
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
</tr>
|
|
565
|
+
</tbody>
|
|
566
|
+
</table>
|
|
567
|
+
</div>
|
|
568
|
+
<div class="io-description">
|
|
569
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
570
|
+
|
|
571
|
+
</div>
|
|
572
|
+
<div class="io-description">
|
|
573
|
+
|
|
574
|
+
</div>
|
|
528
575
|
</td>
|
|
529
576
|
</tr>
|
|
530
577
|
</tbody>
|
|
@@ -773,6 +820,19 @@ export class TableExpandedRow {
|
|
|
773
820
|
var MAX_SEARCH_RESULTS = 15;
|
|
774
821
|
</script>
|
|
775
822
|
|
|
823
|
+
<script>
|
|
824
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
825
|
+
checkToggle(darkModeState);
|
|
826
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
827
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
828
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
829
|
+
darkModeState = !darkModeState;
|
|
830
|
+
toggleDarkMode(darkModeState);
|
|
831
|
+
});
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
</script>
|
|
835
|
+
|
|
776
836
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
777
837
|
<script src="../js/libs/lit-html.js"></script>
|
|
778
838
|
|
|
@@ -12,10 +12,61 @@
|
|
|
12
12
|
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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>
|
|
19
70
|
</div>
|
|
20
71
|
|
|
21
72
|
<div class="xs-menu menu" id="mobile-menu">
|
|
@@ -24,7 +75,7 @@
|
|
|
24
75
|
|
|
25
76
|
<div class="container-fluid main">
|
|
26
77
|
<div class="row main">
|
|
27
|
-
<div class="
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
28
79
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
29
80
|
</div>
|
|
30
81
|
<!-- START CONTENT -->
|
|
@@ -75,7 +126,7 @@
|
|
|
75
126
|
<p class="comment">
|
|
76
127
|
<p>A subcomponent that creates the thead of the table</p>
|
|
77
128
|
<h2>Basic usage</h2>
|
|
78
|
-
<div><pre class="line-numbers"><code class="language-html"> <thead cdsTableHead [model]="model"></thead></code></pre></div>
|
|
129
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html"> <thead cdsTableHead [model]="model"></thead></code></pre></div>
|
|
79
130
|
</p>
|
|
80
131
|
|
|
81
132
|
|
|
@@ -811,21 +862,21 @@ possible to set the sortable state on the header item to disable/enable sorting
|
|
|
811
862
|
</tr>
|
|
812
863
|
|
|
813
864
|
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
865
|
+
<tr>
|
|
866
|
+
<td class="col-md-4">
|
|
867
|
+
<div class="io-line">Defined in <a href="" data-line="187"
|
|
868
|
+
class="link-to-prism">src/table/head/table-head.component.ts:187</a></div>
|
|
869
|
+
</td>
|
|
870
|
+
</tr>
|
|
820
871
|
|
|
821
872
|
|
|
822
873
|
<tr>
|
|
823
874
|
<td class="col-md-4">
|
|
824
875
|
|
|
825
|
-
|
|
826
|
-
|
|
876
|
+
<div class="io-description">
|
|
877
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
827
878
|
|
|
828
|
-
|
|
879
|
+
</div>
|
|
829
880
|
</td>
|
|
830
881
|
</tr>
|
|
831
882
|
</tbody>
|
|
@@ -848,21 +899,21 @@ possible to set the sortable state on the header item to disable/enable sorting
|
|
|
848
899
|
</tr>
|
|
849
900
|
|
|
850
901
|
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
902
|
+
<tr>
|
|
903
|
+
<td class="col-md-4">
|
|
904
|
+
<div class="io-line">Defined in <a href="" data-line="199"
|
|
905
|
+
class="link-to-prism">src/table/head/table-head.component.ts:199</a></div>
|
|
906
|
+
</td>
|
|
907
|
+
</tr>
|
|
857
908
|
|
|
858
909
|
|
|
859
910
|
<tr>
|
|
860
911
|
<td class="col-md-4">
|
|
861
912
|
|
|
862
|
-
|
|
863
|
-
|
|
913
|
+
<div class="io-description">
|
|
914
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
864
915
|
|
|
865
|
-
|
|
916
|
+
</div>
|
|
866
917
|
</td>
|
|
867
918
|
</tr>
|
|
868
919
|
</tbody>
|
|
@@ -885,21 +936,21 @@ possible to set the sortable state on the header item to disable/enable sorting
|
|
|
885
936
|
</tr>
|
|
886
937
|
|
|
887
938
|
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
939
|
+
<tr>
|
|
940
|
+
<td class="col-md-4">
|
|
941
|
+
<div class="io-line">Defined in <a href="" data-line="195"
|
|
942
|
+
class="link-to-prism">src/table/head/table-head.component.ts:195</a></div>
|
|
943
|
+
</td>
|
|
944
|
+
</tr>
|
|
894
945
|
|
|
895
946
|
|
|
896
947
|
<tr>
|
|
897
948
|
<td class="col-md-4">
|
|
898
949
|
|
|
899
|
-
|
|
900
|
-
|
|
950
|
+
<div class="io-description">
|
|
951
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
901
952
|
|
|
902
|
-
|
|
953
|
+
</div>
|
|
903
954
|
</td>
|
|
904
955
|
</tr>
|
|
905
956
|
</tbody>
|
|
@@ -922,21 +973,21 @@ possible to set the sortable state on the header item to disable/enable sorting
|
|
|
922
973
|
</tr>
|
|
923
974
|
|
|
924
975
|
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
976
|
+
<tr>
|
|
977
|
+
<td class="col-md-4">
|
|
978
|
+
<div class="io-line">Defined in <a href="" data-line="191"
|
|
979
|
+
class="link-to-prism">src/table/head/table-head.component.ts:191</a></div>
|
|
980
|
+
</td>
|
|
981
|
+
</tr>
|
|
931
982
|
|
|
932
983
|
|
|
933
984
|
<tr>
|
|
934
985
|
<td class="col-md-4">
|
|
935
986
|
|
|
936
|
-
|
|
937
|
-
|
|
987
|
+
<div class="io-description">
|
|
988
|
+
<b>Returns : </b> <code>Observable<string></code>
|
|
938
989
|
|
|
939
|
-
|
|
990
|
+
</div>
|
|
940
991
|
</td>
|
|
941
992
|
</tr>
|
|
942
993
|
</tbody>
|
|
@@ -959,21 +1010,21 @@ possible to set the sortable state on the header item to disable/enable sorting
|
|
|
959
1010
|
</tr>
|
|
960
1011
|
|
|
961
1012
|
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1013
|
+
<tr>
|
|
1014
|
+
<td class="col-md-4">
|
|
1015
|
+
<div class="io-line">Defined in <a href="" data-line="173"
|
|
1016
|
+
class="link-to-prism">src/table/head/table-head.component.ts:173</a></div>
|
|
1017
|
+
</td>
|
|
1018
|
+
</tr>
|
|
968
1019
|
|
|
969
1020
|
|
|
970
1021
|
<tr>
|
|
971
1022
|
<td class="col-md-4">
|
|
972
1023
|
|
|
973
|
-
|
|
974
|
-
|
|
1024
|
+
<div class="io-description">
|
|
1025
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
975
1026
|
|
|
976
|
-
|
|
1027
|
+
</div>
|
|
977
1028
|
</td>
|
|
978
1029
|
</tr>
|
|
979
1030
|
</tbody>
|
|
@@ -996,21 +1047,21 @@ possible to set the sortable state on the header item to disable/enable sorting
|
|
|
996
1047
|
</tr>
|
|
997
1048
|
|
|
998
1049
|
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1050
|
+
<tr>
|
|
1051
|
+
<td class="col-md-4">
|
|
1052
|
+
<div class="io-line">Defined in <a href="" data-line="179"
|
|
1053
|
+
class="link-to-prism">src/table/head/table-head.component.ts:179</a></div>
|
|
1054
|
+
</td>
|
|
1055
|
+
</tr>
|
|
1005
1056
|
|
|
1006
1057
|
|
|
1007
1058
|
<tr>
|
|
1008
1059
|
<td class="col-md-4">
|
|
1009
1060
|
|
|
1010
|
-
|
|
1011
|
-
|
|
1061
|
+
<div class="io-description">
|
|
1062
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
1012
1063
|
|
|
1013
|
-
|
|
1064
|
+
</div>
|
|
1014
1065
|
</td>
|
|
1015
1066
|
</tr>
|
|
1016
1067
|
</tbody>
|
|
@@ -1737,6 +1788,19 @@ export class TableHead implements AfterViewInit {
|
|
|
1737
1788
|
var MAX_SEARCH_RESULTS = 15;
|
|
1738
1789
|
</script>
|
|
1739
1790
|
|
|
1791
|
+
<script>
|
|
1792
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1793
|
+
checkToggle(darkModeState);
|
|
1794
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
1795
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
1796
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
1797
|
+
darkModeState = !darkModeState;
|
|
1798
|
+
toggleDarkMode(darkModeState);
|
|
1799
|
+
});
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
</script>
|
|
1803
|
+
|
|
1740
1804
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
1741
1805
|
<script src="../js/libs/lit-html.js"></script>
|
|
1742
1806
|
|