carbon-components-angular 5.26.1 → 5.26.3

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 (356) hide show
  1. package/README.md +2 -1
  2. package/combobox/combobox.component.d.ts +2 -1
  3. package/docs/documentation/classes/CheckboxExportedTests.html +168 -108
  4. package/docs/documentation/classes/ComponentTests.html +150 -90
  5. package/docs/documentation/classes/DataGridInteractionModel.html +341 -289
  6. package/docs/documentation/classes/IconCache.html +191 -131
  7. package/docs/documentation/classes/IconMemoryCache.html +194 -134
  8. package/docs/documentation/classes/IconNameNotFoundError.html +70 -6
  9. package/docs/documentation/classes/IconSizeNotFoundError.html +70 -6
  10. package/docs/documentation/classes/NumberChange.html +69 -5
  11. package/docs/documentation/classes/Overridable.html +110 -48
  12. package/docs/documentation/classes/PaginationModel.html +69 -5
  13. package/docs/documentation/classes/RadioChange.html +69 -5
  14. package/docs/documentation/classes/TableAdapter.html +354 -302
  15. package/docs/documentation/classes/TableCellAdapter.html +69 -5
  16. package/docs/documentation/classes/TableDomAdapter.html +610 -566
  17. package/docs/documentation/classes/TableHeaderItem.html +169 -109
  18. package/docs/documentation/classes/TableItem.html +73 -9
  19. package/docs/documentation/classes/TableModel.html +1250 -1234
  20. package/docs/documentation/classes/TableRow.html +70 -6
  21. package/docs/documentation/classes/TableRowAdapter.html +69 -5
  22. package/docs/documentation/components/Accordion.html +90 -26
  23. package/docs/documentation/components/AccordionItem.html +118 -56
  24. package/docs/documentation/components/ActionableNotification.html +146 -84
  25. package/docs/documentation/components/AlertModal.html +175 -115
  26. package/docs/documentation/components/BaseIconButton.html +69 -5
  27. package/docs/documentation/components/BaseNotification.html +134 -72
  28. package/docs/documentation/components/BaseTabHeader.html +186 -126
  29. package/docs/documentation/components/Breadcrumb.html +141 -79
  30. package/docs/documentation/components/BreadcrumbItemComponent.html +114 -52
  31. package/docs/documentation/components/ButtonSet.html +70 -6
  32. package/docs/documentation/components/Checkbox.html +482 -434
  33. package/docs/documentation/components/ClickableTile.html +106 -44
  34. package/docs/documentation/components/CodeSnippet.html +136 -72
  35. package/docs/documentation/components/ComboBox.html +863 -793
  36. package/docs/documentation/components/ContainedList.html +112 -50
  37. package/docs/documentation/components/ContainedListItem.html +122 -60
  38. package/docs/documentation/components/ContentSwitcher.html +127 -65
  39. package/docs/documentation/components/ContextMenuComponent.html +167 -107
  40. package/docs/documentation/components/ContextMenuDividerComponent.html +69 -5
  41. package/docs/documentation/components/ContextMenuGroupComponent.html +127 -65
  42. package/docs/documentation/components/ContextMenuItemComponent.html +281 -221
  43. package/docs/documentation/components/DatePicker.html +743 -703
  44. package/docs/documentation/components/DatePickerInput.html +269 -215
  45. package/docs/documentation/components/Dialog.html +318 -264
  46. package/docs/documentation/components/Documentation.html +96 -32
  47. package/docs/documentation/components/Dropdown.html +661 -617
  48. package/docs/documentation/components/DropdownList.html +679 -639
  49. package/docs/documentation/components/ExpandableTile.html +99 -35
  50. package/docs/documentation/components/FileComponent.html +78 -14
  51. package/docs/documentation/components/FileUploader.html +475 -431
  52. package/docs/documentation/components/Hamburger.html +81 -17
  53. package/docs/documentation/components/Header.html +143 -83
  54. package/docs/documentation/components/HeaderAction.html +79 -15
  55. package/docs/documentation/components/HeaderGlobal.html +69 -5
  56. package/docs/documentation/components/HeaderItem.html +105 -43
  57. package/docs/documentation/components/HeaderMenu.html +200 -140
  58. package/docs/documentation/components/HeaderNavigation.html +69 -5
  59. package/docs/documentation/components/IconButton.html +138 -76
  60. package/docs/documentation/components/InlineLoading.html +70 -6
  61. package/docs/documentation/components/Label.html +129 -67
  62. package/docs/documentation/components/ListColumn.html +70 -6
  63. package/docs/documentation/components/ListHeader.html +90 -26
  64. package/docs/documentation/components/ListRow.html +166 -104
  65. package/docs/documentation/components/Loading.html +70 -6
  66. package/docs/documentation/components/Modal.html +191 -131
  67. package/docs/documentation/components/ModalFooter.html +69 -5
  68. package/docs/documentation/components/ModalHeader.html +83 -19
  69. package/docs/documentation/components/Notification.html +146 -84
  70. package/docs/documentation/components/NumberComponent.html +389 -337
  71. package/docs/documentation/components/OverflowMenu.html +110 -48
  72. package/docs/documentation/components/OverflowMenuCustomPane.html +398 -346
  73. package/docs/documentation/components/OverflowMenuOption.html +106 -42
  74. package/docs/documentation/components/OverflowMenuPane.html +426 -374
  75. package/docs/documentation/components/Overlay.html +106 -44
  76. package/docs/documentation/components/Pagination.html +73 -9
  77. package/docs/documentation/components/PaginationNav.html +188 -128
  78. package/docs/documentation/components/PaginationNavItem.html +71 -7
  79. package/docs/documentation/components/PaginationOverflow.html +107 -45
  80. package/docs/documentation/components/Panel.html +69 -5
  81. package/docs/documentation/components/PasswordInputLabelComponent.html +137 -75
  82. package/docs/documentation/components/Placeholder.html +80 -16
  83. package/docs/documentation/components/PopoverContent.html +78 -14
  84. package/docs/documentation/components/ProgressBar.html +106 -44
  85. package/docs/documentation/components/ProgressIndicator.html +216 -158
  86. package/docs/documentation/components/Radio.html +237 -181
  87. package/docs/documentation/components/RadioGroup.html +412 -360
  88. package/docs/documentation/components/Search.html +509 -463
  89. package/docs/documentation/components/Select.html +337 -285
  90. package/docs/documentation/components/SelectionTile.html +158 -98
  91. package/docs/documentation/components/SideNav.html +78 -14
  92. package/docs/documentation/components/SideNavItem.html +149 -89
  93. package/docs/documentation/components/SideNavMenu.html +107 -43
  94. package/docs/documentation/components/SkeletonPlaceholder.html +70 -6
  95. package/docs/documentation/components/SkeletonText.html +124 -62
  96. package/docs/documentation/components/Slider.html +840 -810
  97. package/docs/documentation/components/StructuredList.html +211 -153
  98. package/docs/documentation/components/SwitcherList.html +70 -6
  99. package/docs/documentation/components/SwitcherListItem.html +105 -43
  100. package/docs/documentation/components/Tab.html +267 -53
  101. package/docs/documentation/components/TabHeaderGroup.html +316 -260
  102. package/docs/documentation/components/TabHeaders.html +425 -373
  103. package/docs/documentation/components/TabSkeleton.html +69 -5
  104. package/docs/documentation/components/Table.html +973 -947
  105. package/docs/documentation/components/TableBody.html +241 -185
  106. package/docs/documentation/components/TableCheckbox.html +119 -57
  107. package/docs/documentation/components/TableContainer.html +78 -14
  108. package/docs/documentation/components/TableData.html +69 -5
  109. package/docs/documentation/components/TableExpandButton.html +78 -14
  110. package/docs/documentation/components/TableExpandedRow.html +141 -81
  111. package/docs/documentation/components/TableHead.html +124 -60
  112. package/docs/documentation/components/TableHeadCell.html +116 -52
  113. package/docs/documentation/components/TableHeadCheckbox.html +78 -14
  114. package/docs/documentation/components/TableHeadExpand.html +69 -5
  115. package/docs/documentation/components/TableHeader.html +69 -5
  116. package/docs/documentation/components/TableRadio.html +119 -57
  117. package/docs/documentation/components/TableRowComponent.html +123 -59
  118. package/docs/documentation/components/TableToolbar.html +79 -15
  119. package/docs/documentation/components/TableToolbarActions.html +69 -5
  120. package/docs/documentation/components/TableToolbarContent.html +69 -5
  121. package/docs/documentation/components/TableToolbarSearch.html +563 -517
  122. package/docs/documentation/components/Tabs.html +130 -68
  123. package/docs/documentation/components/Tag.html +70 -6
  124. package/docs/documentation/components/TagFilter.html +150 -90
  125. package/docs/documentation/components/TextInputLabelComponent.html +118 -56
  126. package/docs/documentation/components/TextareaLabelComponent.html +118 -56
  127. package/docs/documentation/components/Tile.html +70 -6
  128. package/docs/documentation/components/TileGroup.html +247 -191
  129. package/docs/documentation/components/TimePicker.html +321 -269
  130. package/docs/documentation/components/TimePickerSelect.html +382 -330
  131. package/docs/documentation/components/Toast.html +155 -93
  132. package/docs/documentation/components/Toggle.html +568 -522
  133. package/docs/documentation/components/Toggletip.html +491 -441
  134. package/docs/documentation/components/Tooltip.html +578 -534
  135. package/docs/documentation/components/TooltipDefinition.html +559 -513
  136. package/docs/documentation/components/TreeNodeComponent.html +353 -303
  137. package/docs/documentation/components/TreeViewComponent.html +155 -93
  138. package/docs/documentation/coverage.html +74 -10
  139. package/docs/documentation/dependencies.html +69 -5
  140. package/docs/documentation/directives/AbstractDropdownView.html +347 -291
  141. package/docs/documentation/directives/ActionableButton.html +69 -5
  142. package/docs/documentation/directives/ActionableSubtitle.html +69 -5
  143. package/docs/documentation/directives/ActionableTitle.html +69 -5
  144. package/docs/documentation/directives/BaseModal.html +79 -15
  145. package/docs/documentation/directives/Button.html +71 -7
  146. package/docs/documentation/directives/ColumnDirective.html +108 -44
  147. package/docs/documentation/directives/ContentSwitcherOption.html +162 -102
  148. package/docs/documentation/directives/DialogDirective.html +322 -268
  149. package/docs/documentation/directives/ExpandableTileAboveFoldDirective.html +69 -5
  150. package/docs/documentation/directives/ExpandableTileBelowFoldDirective.html +69 -5
  151. package/docs/documentation/directives/ExpandedRowHover.html +145 -85
  152. package/docs/documentation/directives/GridDirective.html +89 -25
  153. package/docs/documentation/directives/IconDirective.html +158 -98
  154. package/docs/documentation/directives/LayerDirective.html +79 -15
  155. package/docs/documentation/directives/Link.html +70 -6
  156. package/docs/documentation/directives/List.html +70 -6
  157. package/docs/documentation/directives/ListItemDirective.html +69 -5
  158. package/docs/documentation/directives/ModalContent.html +69 -5
  159. package/docs/documentation/directives/ModalContentText.html +69 -5
  160. package/docs/documentation/directives/ModalHeaderHeading.html +69 -5
  161. package/docs/documentation/directives/ModalHeaderLabel.html +69 -5
  162. package/docs/documentation/directives/NotificationSubtitle.html +69 -5
  163. package/docs/documentation/directives/NotificationTitle.html +69 -5
  164. package/docs/documentation/directives/OptGroup.html +69 -5
  165. package/docs/documentation/directives/Option.html +69 -5
  166. package/docs/documentation/directives/OverflowMenuDirective.html +377 -323
  167. package/docs/documentation/directives/PasswordInput.html +78 -14
  168. package/docs/documentation/directives/PopoverContainer.html +305 -249
  169. package/docs/documentation/directives/RowDirective.html +69 -5
  170. package/docs/documentation/directives/ScrollableList.html +419 -371
  171. package/docs/documentation/directives/StackDirective.html +70 -6
  172. package/docs/documentation/directives/TabHeader.html +107 -43
  173. package/docs/documentation/directives/TableDirective.html +69 -5
  174. package/docs/documentation/directives/TableHeadCellLabel.html +69 -5
  175. package/docs/documentation/directives/TableHeaderDescription.html +69 -5
  176. package/docs/documentation/directives/TableHeaderTitle.html +69 -5
  177. package/docs/documentation/directives/TextArea.html +70 -6
  178. package/docs/documentation/directives/TextInput.html +70 -6
  179. package/docs/documentation/directives/ThemeDirective.html +79 -15
  180. package/docs/documentation/directives/ToastCaption.html +69 -5
  181. package/docs/documentation/directives/ToastSubtitle.html +69 -5
  182. package/docs/documentation/directives/ToastTitle.html +69 -5
  183. package/docs/documentation/directives/ToggletipAction.html +69 -5
  184. package/docs/documentation/directives/ToggletipButton.html +69 -5
  185. package/docs/documentation/directives/ToggletipContent.html +69 -5
  186. package/docs/documentation/directives/ToggletipLabel.html +69 -5
  187. package/docs/documentation/index.html +78 -8
  188. package/docs/documentation/injectables/AnimationFrameService.html +69 -5
  189. package/docs/documentation/injectables/AnimationFrameServiceSingleton.html +120 -58
  190. package/docs/documentation/injectables/BaseModalService.html +159 -99
  191. package/docs/documentation/injectables/ContextMenuSelectionService.html +189 -131
  192. package/docs/documentation/injectables/DialogService.html +212 -152
  193. package/docs/documentation/injectables/DocumentService.html +170 -110
  194. package/docs/documentation/injectables/DropdownService.html +285 -229
  195. package/docs/documentation/injectables/ElementService.html +127 -65
  196. package/docs/documentation/injectables/EventService.html +194 -134
  197. package/docs/documentation/injectables/ExperimentalService.html +276 -220
  198. package/docs/documentation/injectables/GridService.html +110 -48
  199. package/docs/documentation/injectables/I18n.html +506 -458
  200. package/docs/documentation/injectables/IconService.html +309 -255
  201. package/docs/documentation/injectables/ModalService.html +215 -157
  202. package/docs/documentation/injectables/NotificationDisplayService.html +110 -48
  203. package/docs/documentation/injectables/NotificationService.html +349 -295
  204. package/docs/documentation/injectables/PlaceholderService.html +475 -427
  205. package/docs/documentation/injectables/TreeViewService.html +115 -53
  206. package/docs/documentation/interfaces/ActionableContent.html +70 -6
  207. package/docs/documentation/interfaces/AlertModalData.html +69 -5
  208. package/docs/documentation/interfaces/BreadcrumbItem.html +69 -5
  209. package/docs/documentation/interfaces/CloseMeta.html +69 -5
  210. package/docs/documentation/interfaces/DataGridPosition.html +69 -5
  211. package/docs/documentation/interfaces/DialogConfig.html +69 -5
  212. package/docs/documentation/interfaces/ElementVisibilityEvent.html +69 -5
  213. package/docs/documentation/interfaces/ExpandableTileTranslations.html +69 -5
  214. package/docs/documentation/interfaces/Experiment.html +69 -5
  215. package/docs/documentation/interfaces/FileItem.html +69 -5
  216. package/docs/documentation/interfaces/HeaderItemInterface.html +69 -5
  217. package/docs/documentation/interfaces/IconDescriptor.html +69 -5
  218. package/docs/documentation/interfaces/ListItem.html +70 -6
  219. package/docs/documentation/interfaces/ModalButton.html +69 -5
  220. package/docs/documentation/interfaces/NavigationItem.html +69 -5
  221. package/docs/documentation/interfaces/Node.html +69 -5
  222. package/docs/documentation/interfaces/NotificationAction.html +69 -5
  223. package/docs/documentation/interfaces/NotificationContent.html +69 -5
  224. package/docs/documentation/interfaces/NotificationLink.html +69 -5
  225. package/docs/documentation/interfaces/PaginationNavTranslations.html +69 -5
  226. package/docs/documentation/interfaces/PaginationTranslations.html +69 -5
  227. package/docs/documentation/interfaces/ScrollCustomEvent.html +70 -6
  228. package/docs/documentation/interfaces/SideNavItemInterface.html +70 -6
  229. package/docs/documentation/interfaces/Step.html +69 -5
  230. package/docs/documentation/interfaces/TableTranslations.html +69 -5
  231. package/docs/documentation/interfaces/TileSelection.html +69 -5
  232. package/docs/documentation/interfaces/ToastContent.html +70 -6
  233. package/docs/documentation/interfaces/TooltipConfig.html +69 -5
  234. package/docs/documentation/js/libs/bootstrap-native.js +2 -1
  235. package/docs/documentation/js/libs/es6-shim.min.js +11 -10
  236. package/docs/documentation/js/libs/tablesort.min.js +3 -3
  237. package/docs/documentation/js/libs/tablesort.number.min.js +2 -2
  238. package/docs/documentation/js/libs/vis.min.js +1 -1
  239. package/docs/documentation/js/menu-wc_es5.js +17 -19
  240. package/docs/documentation/js/menu.js +0 -55
  241. package/docs/documentation/js/search/search.js +71 -56
  242. package/docs/documentation/js/search/search_index.js +2 -2
  243. package/docs/documentation/license.html +72 -8
  244. package/docs/documentation/miscellaneous/enumerations.html +69 -5
  245. package/docs/documentation/miscellaneous/functions.html +831 -819
  246. package/docs/documentation/miscellaneous/typealiases.html +69 -5
  247. package/docs/documentation/miscellaneous/variables.html +70 -6
  248. package/docs/documentation/modules/AccordionModule.html +69 -5
  249. package/docs/documentation/modules/BreadcrumbModule.html +69 -5
  250. package/docs/documentation/modules/ButtonModule.html +69 -5
  251. package/docs/documentation/modules/CheckboxModule.html +69 -5
  252. package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
  253. package/docs/documentation/modules/CodeSnippetModule.html +73 -9
  254. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  255. package/docs/documentation/modules/ComboBoxModule.html +73 -9
  256. package/docs/documentation/modules/ContainedListModule.html +69 -5
  257. package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
  258. package/docs/documentation/modules/ContentSwitcherModule.html +73 -9
  259. package/docs/documentation/modules/ContextMenuModule.html +69 -5
  260. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +20 -20
  261. package/docs/documentation/modules/DatePickerInputModule.html +89 -25
  262. package/docs/documentation/modules/DatePickerModule/dependencies.svg +46 -50
  263. package/docs/documentation/modules/DatePickerModule.html +115 -55
  264. package/docs/documentation/modules/DialogModule.html +69 -5
  265. package/docs/documentation/modules/DocumentationModule.html +69 -5
  266. package/docs/documentation/modules/DropdownModule.html +69 -5
  267. package/docs/documentation/modules/ExperimentalModule.html +69 -5
  268. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +58 -58
  269. package/docs/documentation/modules/FileUploaderModule.html +127 -63
  270. package/docs/documentation/modules/GridModule.html +69 -5
  271. package/docs/documentation/modules/HeaderModule.html +69 -5
  272. package/docs/documentation/modules/I18nModule.html +69 -5
  273. package/docs/documentation/modules/IconModule.html +69 -5
  274. package/docs/documentation/modules/InlineLoadingModule.html +69 -5
  275. package/docs/documentation/modules/InputModule.html +69 -5
  276. package/docs/documentation/modules/LayerModule.html +69 -5
  277. package/docs/documentation/modules/LayoutModule.html +69 -5
  278. package/docs/documentation/modules/LinkModule.html +69 -5
  279. package/docs/documentation/modules/ListModule.html +69 -5
  280. package/docs/documentation/modules/LoadingModule.html +69 -5
  281. package/docs/documentation/modules/ModalModule.html +69 -5
  282. package/docs/documentation/modules/NFormsModule.html +69 -5
  283. package/docs/documentation/modules/NotificationModule.html +69 -5
  284. package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
  285. package/docs/documentation/modules/NumberModule.html +73 -9
  286. package/docs/documentation/modules/PaginationModule.html +69 -5
  287. package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
  288. package/docs/documentation/modules/PanelModule.html +105 -41
  289. package/docs/documentation/modules/PlaceholderModule.html +69 -5
  290. package/docs/documentation/modules/PopoverModule.html +69 -5
  291. package/docs/documentation/modules/ProgressBarModule.html +69 -5
  292. package/docs/documentation/modules/ProgressIndicatorModule.html +69 -5
  293. package/docs/documentation/modules/RadioModule/dependencies.svg +47 -43
  294. package/docs/documentation/modules/RadioModule.html +116 -48
  295. package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
  296. package/docs/documentation/modules/SearchModule.html +73 -9
  297. package/docs/documentation/modules/SelectModule/dependencies.svg +34 -34
  298. package/docs/documentation/modules/SelectModule.html +103 -39
  299. package/docs/documentation/modules/SideNavModule.html +69 -5
  300. package/docs/documentation/modules/SkeletonModule.html +69 -5
  301. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  302. package/docs/documentation/modules/SliderModule.html +73 -9
  303. package/docs/documentation/modules/StructuredListModule.html +69 -5
  304. package/docs/documentation/modules/TableModule.html +68 -4
  305. package/docs/documentation/modules/TabsModule.html +69 -5
  306. package/docs/documentation/modules/TagModule/dependencies.svg +28 -28
  307. package/docs/documentation/modules/TagModule.html +97 -33
  308. package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
  309. package/docs/documentation/modules/ThemeModule.html +82 -18
  310. package/docs/documentation/modules/TilesModule/dependencies.svg +101 -101
  311. package/docs/documentation/modules/TilesModule.html +170 -106
  312. package/docs/documentation/modules/TimePickerModule/dependencies.svg +41 -45
  313. package/docs/documentation/modules/TimePickerModule.html +110 -50
  314. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +45 -49
  315. package/docs/documentation/modules/TimePickerSelectModule.html +114 -54
  316. package/docs/documentation/modules/ToggleModule/dependencies.svg +26 -26
  317. package/docs/documentation/modules/ToggleModule.html +95 -31
  318. package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
  319. package/docs/documentation/modules/ToggletipModule.html +106 -42
  320. package/docs/documentation/modules/TooltipModule.html +69 -5
  321. package/docs/documentation/modules/TreeviewModule/dependencies.svg +35 -35
  322. package/docs/documentation/modules/TreeviewModule.html +104 -40
  323. package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
  324. package/docs/documentation/modules/UIShellModule.html +73 -9
  325. package/docs/documentation/modules/UtilsModule.html +69 -5
  326. package/docs/documentation/modules.html +68 -4
  327. package/docs/documentation/overview.html +68 -4
  328. package/docs/documentation/pipes/ReplacePipe.html +114 -52
  329. package/docs/documentation/properties.html +69 -5
  330. package/docs/documentation/styles/compodoc.css +11 -8
  331. package/docs/documentation.json +2237 -1918
  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/combobox-combobox-stories.330abc6c.iframe.bundle.js +1 -0
  335. package/docs/storybook/iframe.html +3 -3
  336. package/docs/storybook/main.css +2 -4
  337. package/docs/storybook/main.d6e42b2b.iframe.bundle.js +1 -0
  338. package/docs/storybook/project.json +1 -1
  339. package/docs/storybook/{runtime~main.b589439b.iframe.bundle.js → runtime~main.2319260a.iframe.bundle.js} +1 -1
  340. package/docs/storybook/sb-addons/essentials-controls-1/manager-bundle.js +29 -29
  341. package/docs/storybook/{tabs-tabs-stories.183f4129.iframe.bundle.js → tabs-tabs-stories.066fa432.iframe.bundle.js} +1 -1
  342. package/esm2020/combobox/combobox.component.mjs +9 -4
  343. package/esm2020/tabs/tab.component.mjs +20 -3
  344. package/fesm2015/carbon-components-angular-combobox.mjs +8 -3
  345. package/fesm2015/carbon-components-angular-combobox.mjs.map +1 -1
  346. package/fesm2015/carbon-components-angular-tabs.mjs +24 -7
  347. package/fesm2015/carbon-components-angular-tabs.mjs.map +1 -1
  348. package/fesm2020/carbon-components-angular-combobox.mjs +8 -3
  349. package/fesm2020/carbon-components-angular-combobox.mjs.map +1 -1
  350. package/fesm2020/carbon-components-angular-tabs.mjs +24 -7
  351. package/fesm2020/carbon-components-angular-tabs.mjs.map +1 -1
  352. package/package.json +1 -1
  353. package/tabs/tab.component.d.ts +10 -1
  354. package/docs/storybook/combobox-combobox-stories.50d218fc.iframe.bundle.js +0 -1
  355. package/docs/storybook/main.5c20d10a.iframe.bundle.js +0 -1
  356. /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,10 +123,10 @@
72
123
  <p>Used to present a selection of pages when there is an overflow
73
124
  in the pagination list</p>
74
125
  <ul>
75
- <li><div><pre class="line-numbers"><code class="language-html"></code></pre></div></li>
126
+ <li><b>Example :</b><div><pre class="line-numbers"><code class="language-html"></code></pre></div></li>
76
127
  </ul>
77
128
  <p>&lt;cds-pagination-overflow [fromIndex]=&quot;5&quot; [count]=&quot;30&quot; (change)=&quot;handleChange(value)&quot;&gt;</cds-pagination-overflow></p>
78
- <div><pre class="line-numbers"><code class="language-none"></code></pre></div>
129
+ <b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
79
130
  </p>
80
131
 
81
132
 
@@ -403,49 +454,47 @@ in the pagination list</p>
403
454
  </tr>
404
455
 
405
456
 
406
- <tr>
407
- <td class="col-md-4">
408
- <div class="io-line">Defined in <a href="" data-line="66"
409
- class="link-to-prism">src/pagination/pagination-nav/pagination-overflow.component.ts:66</a></div>
410
- </td>
411
- </tr>
457
+ <tr>
458
+ <td class="col-md-4">
459
+ <div class="io-line">Defined in <a href="" data-line="66"
460
+ class="link-to-prism">src/pagination/pagination-nav/pagination-overflow.component.ts:66</a></div>
461
+ </td>
462
+ </tr>
412
463
 
413
464
 
414
465
  <tr>
415
466
  <td class="col-md-4">
416
467
 
417
- <div class="io-description">
418
- <b>Parameters :</b>
419
-
420
- <table class="params">
421
- <thead>
422
- <tr>
423
- <td>Name</td>
424
- <td>Optional</td>
425
- </tr>
426
- </thead>
427
- <tbody>
428
- <tr>
429
- <td>event</td>
430
-
431
- <td>
432
- No
433
- </td>
434
-
435
-
436
- </tr>
437
- </tbody>
438
- </table>
439
- </div>
440
- <div>
441
- </div>
442
- <div class="io-description">
443
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
444
-
445
- </div>
446
- <div class="io-description">
447
-
448
- </div>
468
+ <div class="io-description">
469
+ <b>Parameters :</b>
470
+
471
+ <table class="params">
472
+ <thead>
473
+ <tr>
474
+ <td>Name</td>
475
+ <td>Optional</td>
476
+ </tr>
477
+ </thead>
478
+ <tbody>
479
+ <tr>
480
+ <td>event</td>
481
+
482
+ <td>
483
+ No
484
+ </td>
485
+
486
+
487
+ </tr>
488
+ </tbody>
489
+ </table>
490
+ </div>
491
+ <div class="io-description">
492
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
493
+
494
+ </div>
495
+ <div class="io-description">
496
+
497
+ </div>
449
498
  </td>
450
499
  </tr>
451
500
  </tbody>
@@ -636,6 +685,19 @@ export class PaginationOverflow {
636
685
  var MAX_SEARCH_RESULTS = 15;
637
686
  </script>
638
687
 
688
+ <script>
689
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
690
+ checkToggle(darkModeState);
691
+ if ($darkModeToggleSwitchers.length > 0) {
692
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
693
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
694
+ darkModeState = !darkModeState;
695
+ toggleDarkMode(darkModeState);
696
+ });
697
+ }
698
+ }
699
+ </script>
700
+
639
701
  <script src="../js/libs/custom-elements.min.js"></script>
640
702
  <script src="../js/libs/lit-html.js"></script>
641
703
 
@@ -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 -->
@@ -334,6 +385,19 @@ export class Panel {
334
385
  var MAX_SEARCH_RESULTS = 15;
335
386
  </script>
336
387
 
388
+ <script>
389
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
390
+ checkToggle(darkModeState);
391
+ if ($darkModeToggleSwitchers.length > 0) {
392
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
393
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
394
+ darkModeState = !darkModeState;
395
+ toggleDarkMode(darkModeState);
396
+ });
397
+ }
398
+ }
399
+ </script>
400
+
337
401
  <script src="../js/libs/custom-elements.min.js"></script>
338
402
  <script src="../js/libs/lit-html.js"></script>
339
403
 
@@ -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 -->
@@ -70,7 +121,7 @@
70
121
  </p>
71
122
  <p class="comment">
72
123
  <p>Get started with importing the module:</p>
73
- <div><pre class="line-numbers"><code class="language-typescript">import { InputModule } from &#39;carbon-components-angular&#39;;</code></pre></div><div><pre class="line-numbers"><code class="language-html">&lt;cds-password-label&gt;
124
+ <b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { InputModule } from &#39;carbon-components-angular&#39;;</code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-html">&lt;cds-password-label&gt;
74
125
  Label
75
126
  &lt;input cdsPassword&gt;
76
127
  &lt;/cds-password-label&gt;</code></pre></div><p><a href="../../?path=/story/components-input--basic">See demo</a></p>
@@ -81,7 +132,7 @@
81
132
  <h3>Extends</h3>
82
133
  </p>
83
134
  <p class="comment">
84
- <code><a href="../components/BaseIconButton.html" target="_self" >BaseIconButton</a></code>
135
+ <code><a href="../components/BaseIconButton.html" target="_self" >BaseIconButton</a></code>
85
136
  </p>
86
137
 
87
138
  <p class="comment">
@@ -1258,7 +1309,7 @@ This is not toggleable - should be assigned once</p>
1258
1309
  <td class="col-md-4">
1259
1310
  <a name="handleTogglePasswordVisibility"></a>
1260
1311
  <span class="name">
1261
- <span class="modifier">Public</span>
1312
+ <span class="modifier">Public</span>
1262
1313
  <span ><b>handleTogglePasswordVisibility</b></span>
1263
1314
  <a href="#handleTogglePasswordVisibility"><span class="icon ion-ios-link"></span></a>
1264
1315
  </span>
@@ -1266,29 +1317,29 @@ This is not toggleable - should be assigned once</p>
1266
1317
  </tr>
1267
1318
  <tr>
1268
1319
  <td class="col-md-4">
1269
- <span class="modifier-icon icon ion-ios-reset"></span>
1320
+ <span class="modifier-icon icon ion-ios-reset"></span>
1270
1321
  <code>handleTogglePasswordVisibility()</code>
1271
1322
  </td>
1272
1323
  </tr>
1273
1324
 
1274
1325
 
1275
- <tr>
1276
- <td class="col-md-4">
1277
- <div class="io-line">Defined in <a href="" data-line="250"
1278
- class="link-to-prism">src/input/password-input-label.component.ts:250</a></div>
1279
- </td>
1280
- </tr>
1326
+ <tr>
1327
+ <td class="col-md-4">
1328
+ <div class="io-line">Defined in <a href="" data-line="250"
1329
+ class="link-to-prism">src/input/password-input-label.component.ts:250</a></div>
1330
+ </td>
1331
+ </tr>
1281
1332
 
1282
1333
 
1283
1334
  <tr>
1284
1335
  <td class="col-md-4">
1285
- <div class="io-description"><p>Handler for toggling password visibility.</p>
1336
+ <div class="io-description"><p>Handler for toggling password visibility.</p>
1286
1337
  </div>
1287
1338
 
1288
- <div class="io-description">
1289
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
1339
+ <div class="io-description">
1340
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
1290
1341
 
1291
- </div>
1342
+ </div>
1292
1343
  </td>
1293
1344
  </tr>
1294
1345
  </tbody>
@@ -1299,7 +1350,7 @@ This is not toggleable - should be assigned once</p>
1299
1350
  <td class="col-md-4">
1300
1351
  <a name="isTemplate"></a>
1301
1352
  <span class="name">
1302
- <span class="modifier">Public</span>
1353
+ <span class="modifier">Public</span>
1303
1354
  <span ><b>isTemplate</b></span>
1304
1355
  <a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
1305
1356
  </span>
@@ -1307,65 +1358,63 @@ This is not toggleable - should be assigned once</p>
1307
1358
  </tr>
1308
1359
  <tr>
1309
1360
  <td class="col-md-4">
1310
- <span class="modifier-icon icon ion-ios-reset"></span>
1361
+ <span class="modifier-icon icon ion-ios-reset"></span>
1311
1362
  <code>isTemplate(value)</code>
1312
1363
  </td>
1313
1364
  </tr>
1314
1365
 
1315
1366
 
1316
- <tr>
1317
- <td class="col-md-4">
1318
- <div class="io-line">Defined in <a href="" data-line="243"
1319
- class="link-to-prism">src/input/password-input-label.component.ts:243</a></div>
1320
- </td>
1321
- </tr>
1367
+ <tr>
1368
+ <td class="col-md-4">
1369
+ <div class="io-line">Defined in <a href="" data-line="243"
1370
+ class="link-to-prism">src/input/password-input-label.component.ts:243</a></div>
1371
+ </td>
1372
+ </tr>
1322
1373
 
1323
1374
 
1324
1375
  <tr>
1325
1376
  <td class="col-md-4">
1326
- <div class="io-description"><p>Function to check if a value is a TemplateRef.</p>
1377
+ <div class="io-description"><p>Function to check if a value is a TemplateRef.</p>
1327
1378
  </div>
1328
1379
 
1329
- <div class="io-description">
1330
- <b>Parameters :</b>
1331
-
1332
- <table class="params">
1333
- <thead>
1334
- <tr>
1335
- <td>Name</td>
1336
- <td>Optional</td>
1337
- <td>Description</td>
1338
- </tr>
1339
- </thead>
1340
- <tbody>
1341
- <tr>
1342
- <td>value</td>
1343
-
1344
- <td>
1345
- No
1346
- </td>
1347
-
1348
-
1349
- <td>
1350
- <ul>
1380
+ <div class="io-description">
1381
+ <b>Parameters :</b>
1382
+
1383
+ <table class="params">
1384
+ <thead>
1385
+ <tr>
1386
+ <td>Name</td>
1387
+ <td>Optional</td>
1388
+ <td>Description</td>
1389
+ </tr>
1390
+ </thead>
1391
+ <tbody>
1392
+ <tr>
1393
+ <td>value</td>
1394
+
1395
+ <td>
1396
+ No
1397
+ </td>
1398
+
1399
+
1400
+ <td>
1401
+ <ul>
1351
1402
  <li>Value to check.</li>
1352
1403
  </ul>
1353
1404
 
1354
- </td>
1355
- </tr>
1356
- </tbody>
1357
- </table>
1358
- </div>
1359
- <div>
1360
- </div>
1361
- <div class="io-description">
1362
- <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
1363
-
1364
- </div>
1365
- <div class="io-description">
1366
- <p>Whether the value is a TemplateRef.</p>
1367
-
1368
- </div>
1405
+ </td>
1406
+ </tr>
1407
+ </tbody>
1408
+ </table>
1409
+ </div>
1410
+ <div class="io-description">
1411
+ <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
1412
+
1413
+ </div>
1414
+ <div class="io-description">
1415
+ <p>Whether the value is a TemplateRef.</p>
1416
+
1417
+ </div>
1369
1418
  </td>
1370
1419
  </tr>
1371
1420
  </tbody>
@@ -1388,23 +1437,23 @@ This is not toggleable - should be assigned once</p>
1388
1437
  </tr>
1389
1438
 
1390
1439
 
1391
- <tr>
1392
- <td class="col-md-4">
1393
- <div class="io-line">Defined in <a href="" data-line="223"
1394
- class="link-to-prism">src/input/password-input-label.component.ts:223</a></div>
1395
- </td>
1396
- </tr>
1440
+ <tr>
1441
+ <td class="col-md-4">
1442
+ <div class="io-line">Defined in <a href="" data-line="223"
1443
+ class="link-to-prism">src/input/password-input-label.component.ts:223</a></div>
1444
+ </td>
1445
+ </tr>
1397
1446
 
1398
1447
 
1399
1448
  <tr>
1400
1449
  <td class="col-md-4">
1401
- <div class="io-description"><p>Lifecycle hook called after the view has been initialized to set the ID of the input element</p>
1450
+ <div class="io-description"><p>Lifecycle hook called after the view has been initialized to set the ID of the input element</p>
1402
1451
  </div>
1403
1452
 
1404
- <div class="io-description">
1405
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
1453
+ <div class="io-description">
1454
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
1406
1455
 
1407
- </div>
1456
+ </div>
1408
1457
  </td>
1409
1458
  </tr>
1410
1459
  </tbody>
@@ -2054,6 +2103,19 @@ export class PasswordInputLabelComponent extends BaseIconButton implements After
2054
2103
  var MAX_SEARCH_RESULTS = 15;
2055
2104
  </script>
2056
2105
 
2106
+ <script>
2107
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
2108
+ checkToggle(darkModeState);
2109
+ if ($darkModeToggleSwitchers.length > 0) {
2110
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
2111
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
2112
+ darkModeState = !darkModeState;
2113
+ toggleDarkMode(darkModeState);
2114
+ });
2115
+ }
2116
+ }
2117
+ </script>
2118
+
2057
2119
  <script src="../js/libs/custom-elements.min.js"></script>
2058
2120
  <script src="../js/libs/lit-html.js"></script>
2059
2121