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.
Files changed (354) hide show
  1. package/README.md +2 -1
  2. package/docs/documentation/classes/CheckboxExportedTests.html +168 -108
  3. package/docs/documentation/classes/ComponentTests.html +150 -90
  4. package/docs/documentation/classes/DataGridInteractionModel.html +341 -289
  5. package/docs/documentation/classes/IconCache.html +191 -131
  6. package/docs/documentation/classes/IconMemoryCache.html +194 -134
  7. package/docs/documentation/classes/IconNameNotFoundError.html +70 -6
  8. package/docs/documentation/classes/IconSizeNotFoundError.html +70 -6
  9. package/docs/documentation/classes/NumberChange.html +69 -5
  10. package/docs/documentation/classes/Overridable.html +110 -48
  11. package/docs/documentation/classes/PaginationModel.html +69 -5
  12. package/docs/documentation/classes/RadioChange.html +69 -5
  13. package/docs/documentation/classes/TableAdapter.html +354 -302
  14. package/docs/documentation/classes/TableCellAdapter.html +69 -5
  15. package/docs/documentation/classes/TableDomAdapter.html +610 -566
  16. package/docs/documentation/classes/TableHeaderItem.html +169 -109
  17. package/docs/documentation/classes/TableItem.html +73 -9
  18. package/docs/documentation/classes/TableModel.html +1250 -1234
  19. package/docs/documentation/classes/TableRow.html +70 -6
  20. package/docs/documentation/classes/TableRowAdapter.html +69 -5
  21. package/docs/documentation/components/Accordion.html +90 -26
  22. package/docs/documentation/components/AccordionItem.html +118 -56
  23. package/docs/documentation/components/ActionableNotification.html +146 -84
  24. package/docs/documentation/components/AlertModal.html +175 -115
  25. package/docs/documentation/components/BaseIconButton.html +69 -5
  26. package/docs/documentation/components/BaseNotification.html +134 -72
  27. package/docs/documentation/components/BaseTabHeader.html +186 -126
  28. package/docs/documentation/components/Breadcrumb.html +141 -79
  29. package/docs/documentation/components/BreadcrumbItemComponent.html +114 -52
  30. package/docs/documentation/components/ButtonSet.html +70 -6
  31. package/docs/documentation/components/Checkbox.html +482 -434
  32. package/docs/documentation/components/ClickableTile.html +106 -44
  33. package/docs/documentation/components/CodeSnippet.html +136 -72
  34. package/docs/documentation/components/ComboBox.html +757 -719
  35. package/docs/documentation/components/ContainedList.html +112 -50
  36. package/docs/documentation/components/ContainedListItem.html +122 -60
  37. package/docs/documentation/components/ContentSwitcher.html +127 -65
  38. package/docs/documentation/components/ContextMenuComponent.html +167 -107
  39. package/docs/documentation/components/ContextMenuDividerComponent.html +69 -5
  40. package/docs/documentation/components/ContextMenuGroupComponent.html +127 -65
  41. package/docs/documentation/components/ContextMenuItemComponent.html +281 -221
  42. package/docs/documentation/components/DatePicker.html +743 -703
  43. package/docs/documentation/components/DatePickerInput.html +269 -215
  44. package/docs/documentation/components/Dialog.html +318 -264
  45. package/docs/documentation/components/Documentation.html +96 -32
  46. package/docs/documentation/components/Dropdown.html +661 -617
  47. package/docs/documentation/components/DropdownList.html +679 -639
  48. package/docs/documentation/components/ExpandableTile.html +99 -35
  49. package/docs/documentation/components/FileComponent.html +78 -14
  50. package/docs/documentation/components/FileUploader.html +475 -431
  51. package/docs/documentation/components/Hamburger.html +81 -17
  52. package/docs/documentation/components/Header.html +143 -83
  53. package/docs/documentation/components/HeaderAction.html +79 -15
  54. package/docs/documentation/components/HeaderGlobal.html +69 -5
  55. package/docs/documentation/components/HeaderItem.html +105 -43
  56. package/docs/documentation/components/HeaderMenu.html +200 -140
  57. package/docs/documentation/components/HeaderNavigation.html +69 -5
  58. package/docs/documentation/components/IconButton.html +138 -76
  59. package/docs/documentation/components/InlineLoading.html +70 -6
  60. package/docs/documentation/components/Label.html +129 -67
  61. package/docs/documentation/components/ListColumn.html +70 -6
  62. package/docs/documentation/components/ListHeader.html +90 -26
  63. package/docs/documentation/components/ListRow.html +166 -104
  64. package/docs/documentation/components/Loading.html +70 -6
  65. package/docs/documentation/components/Modal.html +191 -131
  66. package/docs/documentation/components/ModalFooter.html +69 -5
  67. package/docs/documentation/components/ModalHeader.html +83 -19
  68. package/docs/documentation/components/Notification.html +146 -84
  69. package/docs/documentation/components/NumberComponent.html +389 -337
  70. package/docs/documentation/components/OverflowMenu.html +110 -48
  71. package/docs/documentation/components/OverflowMenuCustomPane.html +398 -346
  72. package/docs/documentation/components/OverflowMenuOption.html +106 -42
  73. package/docs/documentation/components/OverflowMenuPane.html +426 -374
  74. package/docs/documentation/components/Overlay.html +106 -44
  75. package/docs/documentation/components/Pagination.html +73 -9
  76. package/docs/documentation/components/PaginationNav.html +188 -128
  77. package/docs/documentation/components/PaginationNavItem.html +71 -7
  78. package/docs/documentation/components/PaginationOverflow.html +107 -45
  79. package/docs/documentation/components/Panel.html +69 -5
  80. package/docs/documentation/components/PasswordInputLabelComponent.html +137 -75
  81. package/docs/documentation/components/Placeholder.html +80 -16
  82. package/docs/documentation/components/PopoverContent.html +78 -14
  83. package/docs/documentation/components/ProgressBar.html +106 -44
  84. package/docs/documentation/components/ProgressIndicator.html +216 -158
  85. package/docs/documentation/components/Radio.html +237 -181
  86. package/docs/documentation/components/RadioGroup.html +412 -360
  87. package/docs/documentation/components/Search.html +509 -463
  88. package/docs/documentation/components/Select.html +337 -285
  89. package/docs/documentation/components/SelectionTile.html +158 -98
  90. package/docs/documentation/components/SideNav.html +78 -14
  91. package/docs/documentation/components/SideNavItem.html +183 -121
  92. package/docs/documentation/components/SideNavMenu.html +107 -43
  93. package/docs/documentation/components/SkeletonPlaceholder.html +70 -6
  94. package/docs/documentation/components/SkeletonText.html +124 -62
  95. package/docs/documentation/components/Slider.html +840 -810
  96. package/docs/documentation/components/StructuredList.html +211 -153
  97. package/docs/documentation/components/SwitcherList.html +70 -6
  98. package/docs/documentation/components/SwitcherListItem.html +105 -43
  99. package/docs/documentation/components/Tab.html +267 -53
  100. package/docs/documentation/components/TabHeaderGroup.html +316 -260
  101. package/docs/documentation/components/TabHeaders.html +425 -373
  102. package/docs/documentation/components/TabSkeleton.html +69 -5
  103. package/docs/documentation/components/Table.html +973 -947
  104. package/docs/documentation/components/TableBody.html +241 -185
  105. package/docs/documentation/components/TableCheckbox.html +119 -57
  106. package/docs/documentation/components/TableContainer.html +78 -14
  107. package/docs/documentation/components/TableData.html +69 -5
  108. package/docs/documentation/components/TableExpandButton.html +78 -14
  109. package/docs/documentation/components/TableExpandedRow.html +141 -81
  110. package/docs/documentation/components/TableHead.html +124 -60
  111. package/docs/documentation/components/TableHeadCell.html +116 -52
  112. package/docs/documentation/components/TableHeadCheckbox.html +78 -14
  113. package/docs/documentation/components/TableHeadExpand.html +69 -5
  114. package/docs/documentation/components/TableHeader.html +69 -5
  115. package/docs/documentation/components/TableRadio.html +119 -57
  116. package/docs/documentation/components/TableRowComponent.html +123 -59
  117. package/docs/documentation/components/TableToolbar.html +79 -15
  118. package/docs/documentation/components/TableToolbarActions.html +69 -5
  119. package/docs/documentation/components/TableToolbarContent.html +69 -5
  120. package/docs/documentation/components/TableToolbarSearch.html +563 -517
  121. package/docs/documentation/components/Tabs.html +130 -68
  122. package/docs/documentation/components/Tag.html +70 -6
  123. package/docs/documentation/components/TagFilter.html +150 -90
  124. package/docs/documentation/components/TextInputLabelComponent.html +118 -56
  125. package/docs/documentation/components/TextareaLabelComponent.html +118 -56
  126. package/docs/documentation/components/Tile.html +70 -6
  127. package/docs/documentation/components/TileGroup.html +247 -191
  128. package/docs/documentation/components/TimePicker.html +321 -269
  129. package/docs/documentation/components/TimePickerSelect.html +382 -330
  130. package/docs/documentation/components/Toast.html +155 -93
  131. package/docs/documentation/components/Toggle.html +568 -522
  132. package/docs/documentation/components/Toggletip.html +491 -441
  133. package/docs/documentation/components/Tooltip.html +578 -534
  134. package/docs/documentation/components/TooltipDefinition.html +559 -513
  135. package/docs/documentation/components/TreeNodeComponent.html +353 -303
  136. package/docs/documentation/components/TreeViewComponent.html +155 -93
  137. package/docs/documentation/coverage.html +71 -7
  138. package/docs/documentation/dependencies.html +69 -5
  139. package/docs/documentation/directives/AbstractDropdownView.html +347 -291
  140. package/docs/documentation/directives/ActionableButton.html +69 -5
  141. package/docs/documentation/directives/ActionableSubtitle.html +69 -5
  142. package/docs/documentation/directives/ActionableTitle.html +69 -5
  143. package/docs/documentation/directives/BaseModal.html +79 -15
  144. package/docs/documentation/directives/Button.html +71 -7
  145. package/docs/documentation/directives/ColumnDirective.html +108 -44
  146. package/docs/documentation/directives/ContentSwitcherOption.html +162 -102
  147. package/docs/documentation/directives/DialogDirective.html +322 -268
  148. package/docs/documentation/directives/ExpandableTileAboveFoldDirective.html +69 -5
  149. package/docs/documentation/directives/ExpandableTileBelowFoldDirective.html +69 -5
  150. package/docs/documentation/directives/ExpandedRowHover.html +145 -85
  151. package/docs/documentation/directives/GridDirective.html +89 -25
  152. package/docs/documentation/directives/IconDirective.html +158 -98
  153. package/docs/documentation/directives/LayerDirective.html +79 -15
  154. package/docs/documentation/directives/Link.html +70 -6
  155. package/docs/documentation/directives/List.html +70 -6
  156. package/docs/documentation/directives/ListItemDirective.html +69 -5
  157. package/docs/documentation/directives/ModalContent.html +69 -5
  158. package/docs/documentation/directives/ModalContentText.html +69 -5
  159. package/docs/documentation/directives/ModalHeaderHeading.html +69 -5
  160. package/docs/documentation/directives/ModalHeaderLabel.html +69 -5
  161. package/docs/documentation/directives/NotificationSubtitle.html +69 -5
  162. package/docs/documentation/directives/NotificationTitle.html +69 -5
  163. package/docs/documentation/directives/OptGroup.html +69 -5
  164. package/docs/documentation/directives/Option.html +69 -5
  165. package/docs/documentation/directives/OverflowMenuDirective.html +377 -323
  166. package/docs/documentation/directives/PasswordInput.html +78 -14
  167. package/docs/documentation/directives/PopoverContainer.html +305 -249
  168. package/docs/documentation/directives/RowDirective.html +69 -5
  169. package/docs/documentation/directives/ScrollableList.html +419 -371
  170. package/docs/documentation/directives/StackDirective.html +70 -6
  171. package/docs/documentation/directives/TabHeader.html +107 -43
  172. package/docs/documentation/directives/TableDirective.html +69 -5
  173. package/docs/documentation/directives/TableHeadCellLabel.html +69 -5
  174. package/docs/documentation/directives/TableHeaderDescription.html +69 -5
  175. package/docs/documentation/directives/TableHeaderTitle.html +69 -5
  176. package/docs/documentation/directives/TextArea.html +70 -6
  177. package/docs/documentation/directives/TextInput.html +70 -6
  178. package/docs/documentation/directives/ThemeDirective.html +79 -15
  179. package/docs/documentation/directives/ToastCaption.html +69 -5
  180. package/docs/documentation/directives/ToastSubtitle.html +69 -5
  181. package/docs/documentation/directives/ToastTitle.html +69 -5
  182. package/docs/documentation/directives/ToggletipAction.html +69 -5
  183. package/docs/documentation/directives/ToggletipButton.html +69 -5
  184. package/docs/documentation/directives/ToggletipContent.html +69 -5
  185. package/docs/documentation/directives/ToggletipLabel.html +69 -5
  186. package/docs/documentation/index.html +78 -8
  187. package/docs/documentation/injectables/AnimationFrameService.html +69 -5
  188. package/docs/documentation/injectables/AnimationFrameServiceSingleton.html +120 -58
  189. package/docs/documentation/injectables/BaseModalService.html +159 -99
  190. package/docs/documentation/injectables/ContextMenuSelectionService.html +189 -131
  191. package/docs/documentation/injectables/DialogService.html +212 -152
  192. package/docs/documentation/injectables/DocumentService.html +170 -110
  193. package/docs/documentation/injectables/DropdownService.html +285 -229
  194. package/docs/documentation/injectables/ElementService.html +127 -65
  195. package/docs/documentation/injectables/EventService.html +194 -134
  196. package/docs/documentation/injectables/ExperimentalService.html +276 -220
  197. package/docs/documentation/injectables/GridService.html +110 -48
  198. package/docs/documentation/injectables/I18n.html +506 -458
  199. package/docs/documentation/injectables/IconService.html +309 -255
  200. package/docs/documentation/injectables/ModalService.html +215 -157
  201. package/docs/documentation/injectables/NotificationDisplayService.html +110 -48
  202. package/docs/documentation/injectables/NotificationService.html +349 -295
  203. package/docs/documentation/injectables/PlaceholderService.html +475 -427
  204. package/docs/documentation/injectables/TreeViewService.html +115 -53
  205. package/docs/documentation/interfaces/ActionableContent.html +70 -6
  206. package/docs/documentation/interfaces/AlertModalData.html +69 -5
  207. package/docs/documentation/interfaces/BreadcrumbItem.html +69 -5
  208. package/docs/documentation/interfaces/CloseMeta.html +69 -5
  209. package/docs/documentation/interfaces/DataGridPosition.html +69 -5
  210. package/docs/documentation/interfaces/DialogConfig.html +69 -5
  211. package/docs/documentation/interfaces/ElementVisibilityEvent.html +69 -5
  212. package/docs/documentation/interfaces/ExpandableTileTranslations.html +69 -5
  213. package/docs/documentation/interfaces/Experiment.html +69 -5
  214. package/docs/documentation/interfaces/FileItem.html +69 -5
  215. package/docs/documentation/interfaces/HeaderItemInterface.html +69 -5
  216. package/docs/documentation/interfaces/IconDescriptor.html +69 -5
  217. package/docs/documentation/interfaces/ListItem.html +70 -6
  218. package/docs/documentation/interfaces/ModalButton.html +69 -5
  219. package/docs/documentation/interfaces/NavigationItem.html +69 -5
  220. package/docs/documentation/interfaces/Node.html +69 -5
  221. package/docs/documentation/interfaces/NotificationAction.html +69 -5
  222. package/docs/documentation/interfaces/NotificationContent.html +69 -5
  223. package/docs/documentation/interfaces/NotificationLink.html +69 -5
  224. package/docs/documentation/interfaces/PaginationNavTranslations.html +69 -5
  225. package/docs/documentation/interfaces/PaginationTranslations.html +69 -5
  226. package/docs/documentation/interfaces/ScrollCustomEvent.html +70 -6
  227. package/docs/documentation/interfaces/SideNavItemInterface.html +70 -6
  228. package/docs/documentation/interfaces/Step.html +69 -5
  229. package/docs/documentation/interfaces/TableTranslations.html +69 -5
  230. package/docs/documentation/interfaces/TileSelection.html +69 -5
  231. package/docs/documentation/interfaces/ToastContent.html +70 -6
  232. package/docs/documentation/interfaces/TooltipConfig.html +69 -5
  233. package/docs/documentation/js/libs/bootstrap-native.js +2 -1
  234. package/docs/documentation/js/libs/es6-shim.min.js +11 -10
  235. package/docs/documentation/js/libs/tablesort.min.js +3 -3
  236. package/docs/documentation/js/libs/tablesort.number.min.js +2 -2
  237. package/docs/documentation/js/libs/vis.min.js +1 -1
  238. package/docs/documentation/js/menu-wc_es5.js +17 -19
  239. package/docs/documentation/js/menu.js +0 -55
  240. package/docs/documentation/js/search/search.js +71 -56
  241. package/docs/documentation/js/search/search_index.js +2 -2
  242. package/docs/documentation/license.html +72 -8
  243. package/docs/documentation/miscellaneous/enumerations.html +69 -5
  244. package/docs/documentation/miscellaneous/functions.html +831 -819
  245. package/docs/documentation/miscellaneous/typealiases.html +69 -5
  246. package/docs/documentation/miscellaneous/variables.html +70 -6
  247. package/docs/documentation/modules/AccordionModule.html +69 -5
  248. package/docs/documentation/modules/BreadcrumbModule.html +69 -5
  249. package/docs/documentation/modules/ButtonModule.html +69 -5
  250. package/docs/documentation/modules/CheckboxModule.html +69 -5
  251. package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
  252. package/docs/documentation/modules/CodeSnippetModule.html +73 -9
  253. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  254. package/docs/documentation/modules/ComboBoxModule.html +73 -9
  255. package/docs/documentation/modules/ContainedListModule.html +69 -5
  256. package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
  257. package/docs/documentation/modules/ContentSwitcherModule.html +73 -9
  258. package/docs/documentation/modules/ContextMenuModule.html +69 -5
  259. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +20 -20
  260. package/docs/documentation/modules/DatePickerInputModule.html +89 -25
  261. package/docs/documentation/modules/DatePickerModule/dependencies.svg +50 -46
  262. package/docs/documentation/modules/DatePickerModule.html +119 -51
  263. package/docs/documentation/modules/DialogModule.html +69 -5
  264. package/docs/documentation/modules/DocumentationModule.html +69 -5
  265. package/docs/documentation/modules/DropdownModule.html +69 -5
  266. package/docs/documentation/modules/ExperimentalModule.html +69 -5
  267. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +58 -58
  268. package/docs/documentation/modules/FileUploaderModule.html +127 -63
  269. package/docs/documentation/modules/GridModule.html +69 -5
  270. package/docs/documentation/modules/HeaderModule.html +69 -5
  271. package/docs/documentation/modules/I18nModule.html +69 -5
  272. package/docs/documentation/modules/IconModule.html +69 -5
  273. package/docs/documentation/modules/InlineLoadingModule.html +69 -5
  274. package/docs/documentation/modules/InputModule.html +69 -5
  275. package/docs/documentation/modules/LayerModule.html +69 -5
  276. package/docs/documentation/modules/LayoutModule.html +69 -5
  277. package/docs/documentation/modules/LinkModule.html +69 -5
  278. package/docs/documentation/modules/ListModule.html +69 -5
  279. package/docs/documentation/modules/LoadingModule.html +69 -5
  280. package/docs/documentation/modules/ModalModule.html +69 -5
  281. package/docs/documentation/modules/NFormsModule.html +69 -5
  282. package/docs/documentation/modules/NotificationModule.html +69 -5
  283. package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
  284. package/docs/documentation/modules/NumberModule.html +73 -9
  285. package/docs/documentation/modules/PaginationModule.html +69 -5
  286. package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
  287. package/docs/documentation/modules/PanelModule.html +105 -41
  288. package/docs/documentation/modules/PlaceholderModule.html +69 -5
  289. package/docs/documentation/modules/PopoverModule.html +69 -5
  290. package/docs/documentation/modules/ProgressBarModule.html +69 -5
  291. package/docs/documentation/modules/ProgressIndicatorModule.html +69 -5
  292. package/docs/documentation/modules/RadioModule/dependencies.svg +43 -47
  293. package/docs/documentation/modules/RadioModule.html +112 -52
  294. package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
  295. package/docs/documentation/modules/SearchModule.html +73 -9
  296. package/docs/documentation/modules/SelectModule/dependencies.svg +34 -34
  297. package/docs/documentation/modules/SelectModule.html +103 -39
  298. package/docs/documentation/modules/SideNavModule.html +69 -5
  299. package/docs/documentation/modules/SkeletonModule.html +69 -5
  300. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  301. package/docs/documentation/modules/SliderModule.html +73 -9
  302. package/docs/documentation/modules/StructuredListModule.html +69 -5
  303. package/docs/documentation/modules/TableModule.html +68 -4
  304. package/docs/documentation/modules/TabsModule.html +69 -5
  305. package/docs/documentation/modules/TagModule/dependencies.svg +28 -28
  306. package/docs/documentation/modules/TagModule.html +97 -33
  307. package/docs/documentation/modules/ThemeModule/dependencies.svg +15 -15
  308. package/docs/documentation/modules/ThemeModule.html +84 -20
  309. package/docs/documentation/modules/TilesModule/dependencies.svg +98 -98
  310. package/docs/documentation/modules/TilesModule.html +167 -103
  311. package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
  312. package/docs/documentation/modules/TimePickerModule.html +114 -46
  313. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +46 -42
  314. package/docs/documentation/modules/TimePickerSelectModule.html +115 -47
  315. package/docs/documentation/modules/ToggleModule/dependencies.svg +26 -26
  316. package/docs/documentation/modules/ToggleModule.html +95 -31
  317. package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
  318. package/docs/documentation/modules/ToggletipModule.html +73 -9
  319. package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
  320. package/docs/documentation/modules/TooltipModule.html +73 -9
  321. package/docs/documentation/modules/TreeviewModule/dependencies.svg +32 -32
  322. package/docs/documentation/modules/TreeviewModule.html +101 -37
  323. package/docs/documentation/modules/UIShellModule.html +69 -5
  324. package/docs/documentation/modules/UtilsModule.html +69 -5
  325. package/docs/documentation/modules.html +68 -4
  326. package/docs/documentation/overview.html +68 -4
  327. package/docs/documentation/pipes/ReplacePipe.html +114 -52
  328. package/docs/documentation/properties.html +69 -5
  329. package/docs/documentation/styles/compodoc.css +11 -8
  330. package/docs/documentation.json +2158 -1848
  331. package/docs/storybook/{3348.9d9f3238.iframe.bundle.js → 3348.03939d46.iframe.bundle.js} +1 -1
  332. package/docs/storybook/{959.4248791c.iframe.bundle.js → 959.05fb42da.iframe.bundle.js} +3 -3
  333. package/docs/storybook/{959.4248791c.iframe.bundle.js.map → 959.05fb42da.iframe.bundle.js.map} +1 -1
  334. package/docs/storybook/iframe.html +3 -3
  335. package/docs/storybook/main.cfffa2d2.iframe.bundle.js +1 -0
  336. package/docs/storybook/main.css +2 -4
  337. package/docs/storybook/project.json +1 -1
  338. package/docs/storybook/{runtime~main.33c694dd.iframe.bundle.js → runtime~main.c3f8e5ba.iframe.bundle.js} +1 -1
  339. package/docs/storybook/sb-addons/essentials-controls-1/manager-bundle.js +29 -29
  340. package/docs/storybook/{tabs-tabs-stories.183f4129.iframe.bundle.js → tabs-tabs-stories.066fa432.iframe.bundle.js} +1 -1
  341. package/esm2020/tabs/tab.component.mjs +20 -3
  342. package/esm2020/ui-shell/sidenav/sidenav-item.component.mjs +15 -13
  343. package/fesm2015/carbon-components-angular-tabs.mjs +24 -7
  344. package/fesm2015/carbon-components-angular-tabs.mjs.map +1 -1
  345. package/fesm2015/carbon-components-angular-ui-shell.mjs +14 -12
  346. package/fesm2015/carbon-components-angular-ui-shell.mjs.map +1 -1
  347. package/fesm2020/carbon-components-angular-tabs.mjs +24 -7
  348. package/fesm2020/carbon-components-angular-tabs.mjs.map +1 -1
  349. package/fesm2020/carbon-components-angular-ui-shell.mjs +14 -12
  350. package/fesm2020/carbon-components-angular-ui-shell.mjs.map +1 -1
  351. package/package.json +1 -1
  352. package/tabs/tab.component.d.ts +10 -1
  353. package/docs/storybook/main.67c70a42.iframe.bundle.js +0 -1
  354. /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
- <div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
17
- <a href="../" class="navbar-brand">carbon-components-angular documentation</a>
18
- <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
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="hidden-xs menu">
78
+ <div class="d-none d-md-block menu">
28
79
  <compodoc-menu mode="normal"></compodoc-menu>
29
80
  </div>
30
81
  <!-- START CONTENT -->
@@ -72,7 +123,7 @@
72
123
  <p>The content switcher can be used for toggling between distinct options.
73
124
  Similar to tabs, but without an associated content panel.</p>
74
125
  <p>Get started with importing the module:</p>
75
- <div><pre class="line-numbers"><code class="language-typescript">import { ContentSwitcherModule } from &#39;carbon-components-angular&#39;;</code></pre></div><div><pre class="line-numbers"><code class="language-html">&lt;cds-content-switcher (selected)=&quot;selected($event)&quot;&gt;
126
+ <b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { ContentSwitcherModule } from &#39;carbon-components-angular&#39;;</code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-html">&lt;cds-content-switcher (selected)=&quot;selected($event)&quot;&gt;
76
127
  &lt;button cdsContentOption&gt;First section&lt;/button&gt;
77
128
  &lt;button cdsContentOption&gt;Second section&lt;/button&gt;
78
129
  &lt;button cdsContentOption&gt;Third section&lt;/button&gt;
@@ -399,12 +450,12 @@ Similar to tabs, but without an associated content panel.</p>
399
450
  </tr>
400
451
 
401
452
 
402
- <tr>
403
- <td class="col-md-4">
404
- <div class="io-line">Defined in <a href="" data-line="89"
405
- class="link-to-prism">src/content-switcher/content-switcher.component.ts:89</a></div>
406
- </td>
407
- </tr>
453
+ <tr>
454
+ <td class="col-md-4">
455
+ <div class="io-line">Defined in <a href="" data-line="89"
456
+ class="link-to-prism">src/content-switcher/content-switcher.component.ts:89</a></div>
457
+ </td>
458
+ </tr>
408
459
 
409
460
 
410
461
  </tbody>
@@ -421,7 +472,7 @@ Similar to tabs, but without an associated content panel.</p>
421
472
  <td class="col-md-4">
422
473
  <a name="hostkeys"></a>
423
474
  <span class="name">
424
- <span class="modifier"></span>
475
+ <span class="modifier"></span>
425
476
  <span ><b>hostkeys</b></span>
426
477
  <a href="#hostkeys"><span class="icon ion-ios-link"></span></a>
427
478
  </span>
@@ -429,7 +480,7 @@ Similar to tabs, but without an associated content panel.</p>
429
480
  </tr>
430
481
  <tr>
431
482
  <td class="col-md-4">
432
- <span class="modifier-icon icon ion-ios-reset"></span>
483
+ <span class="modifier-icon icon ion-ios-reset"></span>
433
484
  <code>hostkeys(event: KeyboardEvent)</code>
434
485
  </td>
435
486
  </tr>
@@ -442,53 +493,51 @@ Similar to tabs, but without an associated content panel.</p>
442
493
  </td>
443
494
  </tr>
444
495
 
445
- <tr>
446
- <td class="col-md-4">
447
- <div class="io-line">Defined in <a href="" data-line="89"
448
- class="link-to-prism">src/content-switcher/content-switcher.component.ts:89</a></div>
449
- </td>
450
- </tr>
496
+ <tr>
497
+ <td class="col-md-4">
498
+ <div class="io-line">Defined in <a href="" data-line="89"
499
+ class="link-to-prism">src/content-switcher/content-switcher.component.ts:89</a></div>
500
+ </td>
501
+ </tr>
451
502
 
452
503
 
453
504
  <tr>
454
505
  <td class="col-md-4">
455
506
 
456
- <div class="io-description">
457
- <b>Parameters :</b>
458
-
459
- <table class="params">
460
- <thead>
461
- <tr>
462
- <td>Name</td>
463
- <td>Type</td>
464
- <td>Optional</td>
465
- </tr>
466
- </thead>
467
- <tbody>
468
- <tr>
469
- <td>event</td>
470
- <td>
471
- <code>KeyboardEvent</code>
472
- </td>
473
-
474
- <td>
475
- No
476
- </td>
477
-
478
-
479
- </tr>
480
- </tbody>
481
- </table>
482
- </div>
483
- <div>
484
- </div>
485
- <div class="io-description">
486
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
487
-
488
- </div>
489
- <div class="io-description">
490
-
491
- </div>
507
+ <div class="io-description">
508
+ <b>Parameters :</b>
509
+
510
+ <table class="params">
511
+ <thead>
512
+ <tr>
513
+ <td>Name</td>
514
+ <td>Type</td>
515
+ <td>Optional</td>
516
+ </tr>
517
+ </thead>
518
+ <tbody>
519
+ <tr>
520
+ <td>event</td>
521
+ <td>
522
+ <code>KeyboardEvent</code>
523
+ </td>
524
+
525
+ <td>
526
+ No
527
+ </td>
528
+
529
+
530
+ </tr>
531
+ </tbody>
532
+ </table>
533
+ </div>
534
+ <div class="io-description">
535
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
536
+
537
+ </div>
538
+ <div class="io-description">
539
+
540
+ </div>
492
541
  </td>
493
542
  </tr>
494
543
  </tbody>
@@ -511,21 +560,21 @@ Similar to tabs, but without an associated content panel.</p>
511
560
  </tr>
512
561
 
513
562
 
514
- <tr>
515
- <td class="col-md-4">
516
- <div class="io-line">Defined in <a href="" data-line="68"
517
- class="link-to-prism">src/content-switcher/content-switcher.component.ts:68</a></div>
518
- </td>
519
- </tr>
563
+ <tr>
564
+ <td class="col-md-4">
565
+ <div class="io-line">Defined in <a href="" data-line="68"
566
+ class="link-to-prism">src/content-switcher/content-switcher.component.ts:68</a></div>
567
+ </td>
568
+ </tr>
520
569
 
521
570
 
522
571
  <tr>
523
572
  <td class="col-md-4">
524
573
 
525
- <div class="io-description">
526
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
574
+ <div class="io-description">
575
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
527
576
 
528
- </div>
577
+ </div>
529
578
  </td>
530
579
  </tr>
531
580
  </tbody>
@@ -785,6 +834,19 @@ export class ContentSwitcher implements AfterViewInit {
785
834
  var MAX_SEARCH_RESULTS = 15;
786
835
  </script>
787
836
 
837
+ <script>
838
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
839
+ checkToggle(darkModeState);
840
+ if ($darkModeToggleSwitchers.length > 0) {
841
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
842
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
843
+ darkModeState = !darkModeState;
844
+ toggleDarkMode(darkModeState);
845
+ });
846
+ }
847
+ }
848
+ </script>
849
+
788
850
  <script src="../js/libs/custom-elements.min.js"></script>
789
851
  <script src="../js/libs/lit-html.js"></script>
790
852
 
@@ -12,10 +12,61 @@
12
12
  <link rel="stylesheet" href="../styles/dark.css">
13
13
  </head>
14
14
  <body>
15
-
16
- <div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
17
- <a href="../" class="navbar-brand">carbon-components-angular documentation</a>
18
- <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
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="hidden-xs menu">
78
+ <div class="d-none d-md-block menu">
28
79
  <compodoc-menu mode="normal"></compodoc-menu>
29
80
  </div>
30
81
  <!-- START CONTENT -->
@@ -74,7 +125,7 @@
74
125
  </p>
75
126
  <p class="comment">
76
127
  <p>Get started with importing the module:</p>
77
- <div><pre class="line-numbers"><code class="language-typescript">import { ContextMenuModule } from &#39;carbon-components-angular&#39;;</code></pre></div><p><a href="../../?path=/story/components-context-menu--basic">See demo</a></p>
128
+ <b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { ContextMenuModule } from &#39;carbon-components-angular&#39;;</code></pre></div><p><a href="../../?path=/story/components-context-menu--basic">See demo</a></p>
78
129
 
79
130
  </p>
80
131
 
@@ -646,12 +697,12 @@
646
697
  </tr>
647
698
 
648
699
 
649
- <tr>
650
- <td class="col-md-4">
651
- <div class="io-line">Defined in <a href="" data-line="70"
652
- class="link-to-prism">src/context-menu/context-menu.component.ts:70</a></div>
653
- </td>
654
- </tr>
700
+ <tr>
701
+ <td class="col-md-4">
702
+ <div class="io-line">Defined in <a href="" data-line="70"
703
+ class="link-to-prism">src/context-menu/context-menu.component.ts:70</a></div>
704
+ </td>
705
+ </tr>
655
706
 
656
707
 
657
708
  </tbody>
@@ -680,21 +731,21 @@
680
731
  </tr>
681
732
 
682
733
 
683
- <tr>
684
- <td class="col-md-4">
685
- <div class="io-line">Defined in <a href="" data-line="60"
686
- class="link-to-prism">src/context-menu/context-menu.component.ts:60</a></div>
687
- </td>
688
- </tr>
734
+ <tr>
735
+ <td class="col-md-4">
736
+ <div class="io-line">Defined in <a href="" data-line="60"
737
+ class="link-to-prism">src/context-menu/context-menu.component.ts:60</a></div>
738
+ </td>
739
+ </tr>
689
740
 
690
741
 
691
742
  <tr>
692
743
  <td class="col-md-4">
693
744
 
694
- <div class="io-description">
695
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
745
+ <div class="io-description">
746
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
696
747
 
697
- </div>
748
+ </div>
698
749
  </td>
699
750
  </tr>
700
751
  </tbody>
@@ -705,7 +756,7 @@
705
756
  <td class="col-md-4">
706
757
  <a name="handleNavigation"></a>
707
758
  <span class="name">
708
- <span class="modifier"></span>
759
+ <span class="modifier"></span>
709
760
  <span ><b>handleNavigation</b></span>
710
761
  <a href="#handleNavigation"><span class="icon ion-ios-link"></span></a>
711
762
  </span>
@@ -713,7 +764,7 @@
713
764
  </tr>
714
765
  <tr>
715
766
  <td class="col-md-4">
716
- <span class="modifier-icon icon ion-ios-reset"></span>
767
+ <span class="modifier-icon icon ion-ios-reset"></span>
717
768
  <code>handleNavigation(event: KeyboardEvent)</code>
718
769
  </td>
719
770
  </tr>
@@ -726,53 +777,51 @@
726
777
  </td>
727
778
  </tr>
728
779
 
729
- <tr>
730
- <td class="col-md-4">
731
- <div class="io-line">Defined in <a href="" data-line="70"
732
- class="link-to-prism">src/context-menu/context-menu.component.ts:70</a></div>
733
- </td>
734
- </tr>
780
+ <tr>
781
+ <td class="col-md-4">
782
+ <div class="io-line">Defined in <a href="" data-line="70"
783
+ class="link-to-prism">src/context-menu/context-menu.component.ts:70</a></div>
784
+ </td>
785
+ </tr>
735
786
 
736
787
 
737
788
  <tr>
738
789
  <td class="col-md-4">
739
790
 
740
- <div class="io-description">
741
- <b>Parameters :</b>
742
-
743
- <table class="params">
744
- <thead>
745
- <tr>
746
- <td>Name</td>
747
- <td>Type</td>
748
- <td>Optional</td>
749
- </tr>
750
- </thead>
751
- <tbody>
752
- <tr>
753
- <td>event</td>
754
- <td>
755
- <code>KeyboardEvent</code>
756
- </td>
757
-
758
- <td>
759
- No
760
- </td>
761
-
762
-
763
- </tr>
764
- </tbody>
765
- </table>
766
- </div>
767
- <div>
768
- </div>
769
- <div class="io-description">
770
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
771
-
772
- </div>
773
- <div class="io-description">
774
-
775
- </div>
791
+ <div class="io-description">
792
+ <b>Parameters :</b>
793
+
794
+ <table class="params">
795
+ <thead>
796
+ <tr>
797
+ <td>Name</td>
798
+ <td>Type</td>
799
+ <td>Optional</td>
800
+ </tr>
801
+ </thead>
802
+ <tbody>
803
+ <tr>
804
+ <td>event</td>
805
+ <td>
806
+ <code>KeyboardEvent</code>
807
+ </td>
808
+
809
+ <td>
810
+ No
811
+ </td>
812
+
813
+
814
+ </tr>
815
+ </tbody>
816
+ </table>
817
+ </div>
818
+ <div class="io-description">
819
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
820
+
821
+ </div>
822
+ <div class="io-description">
823
+
824
+ </div>
776
825
  </td>
777
826
  </tr>
778
827
  </tbody>
@@ -795,53 +844,51 @@
795
844
  </tr>
796
845
 
797
846
 
798
- <tr>
799
- <td class="col-md-4">
800
- <div class="io-line">Defined in <a href="" data-line="54"
801
- class="link-to-prism">src/context-menu/context-menu.component.ts:54</a></div>
802
- </td>
803
- </tr>
847
+ <tr>
848
+ <td class="col-md-4">
849
+ <div class="io-line">Defined in <a href="" data-line="54"
850
+ class="link-to-prism">src/context-menu/context-menu.component.ts:54</a></div>
851
+ </td>
852
+ </tr>
804
853
 
805
854
 
806
855
  <tr>
807
856
  <td class="col-md-4">
808
857
 
809
- <div class="io-description">
810
- <b>Parameters :</b>
811
-
812
- <table class="params">
813
- <thead>
814
- <tr>
815
- <td>Name</td>
816
- <td>Type</td>
817
- <td>Optional</td>
818
- </tr>
819
- </thead>
820
- <tbody>
821
- <tr>
822
- <td>changes</td>
823
- <td>
824
- <code>SimpleChanges</code>
825
- </td>
826
-
827
- <td>
828
- No
829
- </td>
830
-
831
-
832
- </tr>
833
- </tbody>
834
- </table>
835
- </div>
836
- <div>
837
- </div>
838
- <div class="io-description">
839
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
840
-
841
- </div>
842
- <div class="io-description">
843
-
844
- </div>
858
+ <div class="io-description">
859
+ <b>Parameters :</b>
860
+
861
+ <table class="params">
862
+ <thead>
863
+ <tr>
864
+ <td>Name</td>
865
+ <td>Type</td>
866
+ <td>Optional</td>
867
+ </tr>
868
+ </thead>
869
+ <tbody>
870
+ <tr>
871
+ <td>changes</td>
872
+ <td>
873
+ <code>SimpleChanges</code>
874
+ </td>
875
+
876
+ <td>
877
+ No
878
+ </td>
879
+
880
+
881
+ </tr>
882
+ </tbody>
883
+ </table>
884
+ </div>
885
+ <div class="io-description">
886
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
887
+
888
+ </div>
889
+ <div class="io-description">
890
+
891
+ </div>
845
892
  </td>
846
893
  </tr>
847
894
  </tbody>
@@ -1297,6 +1344,19 @@ export class ContextMenuComponent implements OnChanges {
1297
1344
  var MAX_SEARCH_RESULTS = 15;
1298
1345
  </script>
1299
1346
 
1347
+ <script>
1348
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
1349
+ checkToggle(darkModeState);
1350
+ if ($darkModeToggleSwitchers.length > 0) {
1351
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
1352
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
1353
+ darkModeState = !darkModeState;
1354
+ toggleDarkMode(darkModeState);
1355
+ });
1356
+ }
1357
+ }
1358
+ </script>
1359
+
1300
1360
  <script src="../js/libs/custom-elements.min.js"></script>
1301
1361
  <script src="../js/libs/lit-html.js"></script>
1302
1362