carbon-components-angular 5.50.0 → 5.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/docs/documentation/components/Accordion.html +1 -1
  2. package/docs/documentation/components/AccordionItem.html +1 -1
  3. package/docs/documentation/components/ActionableNotification.html +1 -1
  4. package/docs/documentation/components/AlertModal.html +1 -1
  5. package/docs/documentation/components/BaseIconButton.html +1 -1
  6. package/docs/documentation/components/BaseNotification.html +1 -1
  7. package/docs/documentation/components/BaseTabHeader.html +1 -1
  8. package/docs/documentation/components/Breadcrumb.html +1 -1
  9. package/docs/documentation/components/BreadcrumbItemComponent.html +1 -1
  10. package/docs/documentation/components/ButtonSet.html +1 -1
  11. package/docs/documentation/components/Checkbox.html +1 -1
  12. package/docs/documentation/components/ClickableTile.html +1 -1
  13. package/docs/documentation/components/CodeSnippet.html +1 -1
  14. package/docs/documentation/components/ComboBox.html +1 -1
  15. package/docs/documentation/components/ContainedList.html +1 -1
  16. package/docs/documentation/components/ContainedListItem.html +1 -1
  17. package/docs/documentation/components/ContentSwitcher.html +1 -1
  18. package/docs/documentation/components/ContextMenuComponent.html +1 -1
  19. package/docs/documentation/components/ContextMenuDividerComponent.html +1 -1
  20. package/docs/documentation/components/ContextMenuGroupComponent.html +1 -1
  21. package/docs/documentation/components/ContextMenuItemComponent.html +1 -1
  22. package/docs/documentation/components/DatePicker.html +1 -1
  23. package/docs/documentation/components/DatePickerInput.html +1 -1
  24. package/docs/documentation/components/Dialog.html +1 -1
  25. package/docs/documentation/components/Documentation.html +1 -1
  26. package/docs/documentation/components/Dropdown.html +1 -1
  27. package/docs/documentation/components/DropdownList.html +1 -1
  28. package/docs/documentation/components/ExpandableTile.html +1 -1
  29. package/docs/documentation/components/FileComponent.html +1 -1
  30. package/docs/documentation/components/FileUploader.html +1 -1
  31. package/docs/documentation/components/Hamburger.html +1 -1
  32. package/docs/documentation/components/Header.html +1 -1
  33. package/docs/documentation/components/HeaderAction.html +1 -1
  34. package/docs/documentation/components/HeaderGlobal.html +1 -1
  35. package/docs/documentation/components/HeaderItem.html +1 -1
  36. package/docs/documentation/components/HeaderMenu.html +1 -1
  37. package/docs/documentation/components/HeaderNavigation.html +1 -1
  38. package/docs/documentation/components/IconButton.html +1 -1
  39. package/docs/documentation/components/InlineLoading.html +1 -1
  40. package/docs/documentation/components/Label.html +1 -1
  41. package/docs/documentation/components/ListColumn.html +1 -1
  42. package/docs/documentation/components/ListHeader.html +1 -1
  43. package/docs/documentation/components/ListRow.html +1 -1
  44. package/docs/documentation/components/Loading.html +1 -1
  45. package/docs/documentation/components/Modal.html +1 -1
  46. package/docs/documentation/components/ModalFooter.html +1 -1
  47. package/docs/documentation/components/ModalHeader.html +1 -1
  48. package/docs/documentation/components/Notification.html +1 -1
  49. package/docs/documentation/components/NumberComponent.html +1 -1
  50. package/docs/documentation/components/OverflowMenu.html +1 -1
  51. package/docs/documentation/components/OverflowMenuCustomPane.html +1 -1
  52. package/docs/documentation/components/OverflowMenuOption.html +1 -1
  53. package/docs/documentation/components/OverflowMenuPane.html +1 -1
  54. package/docs/documentation/components/Overlay.html +1 -1
  55. package/docs/documentation/components/Pagination.html +1 -1
  56. package/docs/documentation/components/PaginationNav.html +1 -1
  57. package/docs/documentation/components/PaginationNavItem.html +1 -1
  58. package/docs/documentation/components/PaginationOverflow.html +1 -1
  59. package/docs/documentation/components/Panel.html +1 -1
  60. package/docs/documentation/components/PasswordInputLabelComponent.html +1 -1
  61. package/docs/documentation/components/Placeholder.html +1 -1
  62. package/docs/documentation/components/PopoverContent.html +1 -1
  63. package/docs/documentation/components/ProgressBar.html +1 -1
  64. package/docs/documentation/components/ProgressIndicator.html +1 -1
  65. package/docs/documentation/components/Radio.html +1 -1
  66. package/docs/documentation/components/RadioGroup.html +1 -1
  67. package/docs/documentation/components/Search.html +1 -1
  68. package/docs/documentation/components/Select.html +1 -1
  69. package/docs/documentation/components/SelectionTile.html +1 -1
  70. package/docs/documentation/components/SideNav.html +1 -1
  71. package/docs/documentation/components/SideNavItem.html +1 -1
  72. package/docs/documentation/components/SideNavMenu.html +1 -1
  73. package/docs/documentation/components/SkeletonPlaceholder.html +1 -1
  74. package/docs/documentation/components/SkeletonText.html +1 -1
  75. package/docs/documentation/components/Slider.html +1 -1
  76. package/docs/documentation/components/StructuredList.html +1 -1
  77. package/docs/documentation/components/SwitcherList.html +1 -1
  78. package/docs/documentation/components/SwitcherListItem.html +1 -1
  79. package/docs/documentation/components/Tab.html +1 -1
  80. package/docs/documentation/components/TabHeaderGroup.html +1 -1
  81. package/docs/documentation/components/TabHeaders.html +1 -1
  82. package/docs/documentation/components/TabSkeleton.html +1 -1
  83. package/docs/documentation/components/Table.html +1 -1
  84. package/docs/documentation/components/TableBody.html +1 -1
  85. package/docs/documentation/components/TableCheckbox.html +1 -1
  86. package/docs/documentation/components/TableContainer.html +1 -1
  87. package/docs/documentation/components/TableData.html +1 -1
  88. package/docs/documentation/components/TableExpandButton.html +1 -1
  89. package/docs/documentation/components/TableExpandedRow.html +1 -1
  90. package/docs/documentation/components/TableHead.html +1 -1
  91. package/docs/documentation/components/TableHeadCell.html +1 -1
  92. package/docs/documentation/components/TableHeadCheckbox.html +1 -1
  93. package/docs/documentation/components/TableHeadExpand.html +1 -1
  94. package/docs/documentation/components/TableHeader.html +1 -1
  95. package/docs/documentation/components/TableRadio.html +1 -1
  96. package/docs/documentation/components/TableRowComponent.html +1 -1
  97. package/docs/documentation/components/TableToolbar.html +1 -1
  98. package/docs/documentation/components/TableToolbarActions.html +1 -1
  99. package/docs/documentation/components/TableToolbarContent.html +1 -1
  100. package/docs/documentation/components/TableToolbarSearch.html +1 -1
  101. package/docs/documentation/components/Tabs.html +1 -1
  102. package/docs/documentation/components/Tag.html +1 -1
  103. package/docs/documentation/components/TagFilter.html +1 -1
  104. package/docs/documentation/components/TextInputLabelComponent.html +1 -1
  105. package/docs/documentation/components/TextareaLabelComponent.html +1 -1
  106. package/docs/documentation/components/Tile.html +1 -1
  107. package/docs/documentation/components/TileGroup.html +1 -1
  108. package/docs/documentation/components/TimePicker.html +1 -1
  109. package/docs/documentation/components/TimePickerSelect.html +1 -1
  110. package/docs/documentation/components/Toast.html +1 -1
  111. package/docs/documentation/components/Toggle.html +1 -1
  112. package/docs/documentation/components/Toggletip.html +1 -1
  113. package/docs/documentation/components/Tooltip.html +1 -1
  114. package/docs/documentation/components/TooltipDefinition.html +1 -1
  115. package/docs/documentation/components/TreeNodeComponent.html +1 -1
  116. package/docs/documentation/components/TreeViewComponent.html +1 -1
  117. package/docs/documentation/coverage.html +12 -0
  118. package/docs/documentation/directives/IconDirective.html +6 -5
  119. package/docs/documentation/directives/LinkIconDirective.html +368 -0
  120. package/docs/documentation/graph/dependencies.svg +1983 -1959
  121. package/docs/documentation/js/menu-wc.js +6 -3
  122. package/docs/documentation/js/menu-wc_es5.js +1 -1
  123. package/docs/documentation/js/search/search_index.js +2 -2
  124. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  125. package/docs/documentation/modules/ComboBoxModule.html +4 -4
  126. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +26 -26
  127. package/docs/documentation/modules/DatePickerInputModule.html +26 -26
  128. package/docs/documentation/modules/DatePickerModule/dependencies.svg +39 -39
  129. package/docs/documentation/modules/DatePickerModule.html +39 -39
  130. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +35 -35
  131. package/docs/documentation/modules/FileUploaderModule.html +35 -35
  132. package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
  133. package/docs/documentation/modules/InlineLoadingModule.html +4 -4
  134. package/docs/documentation/modules/LinkModule/dependencies.svg +41 -17
  135. package/docs/documentation/modules/LinkModule.html +52 -19
  136. package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
  137. package/docs/documentation/modules/NumberModule.html +4 -4
  138. package/docs/documentation/modules/ProgressBarModule/dependencies.svg +4 -4
  139. package/docs/documentation/modules/ProgressBarModule.html +4 -4
  140. package/docs/documentation/modules/RadioModule/dependencies.svg +38 -38
  141. package/docs/documentation/modules/RadioModule.html +38 -38
  142. package/docs/documentation/modules/SelectModule/dependencies.svg +60 -60
  143. package/docs/documentation/modules/SelectModule.html +60 -60
  144. package/docs/documentation/modules/TableModule/dependencies.svg +4 -4
  145. package/docs/documentation/modules/TableModule.html +4 -4
  146. package/docs/documentation/modules/TabsModule/dependencies.svg +68 -68
  147. package/docs/documentation/modules/TabsModule.html +68 -68
  148. package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
  149. package/docs/documentation/modules/TagModule.html +4 -4
  150. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  151. package/docs/documentation/modules/ThemeModule.html +4 -4
  152. package/docs/documentation/modules/TilesModule/dependencies.svg +8 -8
  153. package/docs/documentation/modules/TilesModule.html +8 -8
  154. package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
  155. package/docs/documentation/modules/TimePickerModule.html +4 -4
  156. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +46 -42
  157. package/docs/documentation/modules/TimePickerSelectModule.html +46 -42
  158. package/docs/documentation/modules/ToggleModule/dependencies.svg +41 -45
  159. package/docs/documentation/modules/ToggleModule.html +41 -45
  160. package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
  161. package/docs/documentation/modules/TooltipModule.html +28 -28
  162. package/docs/documentation/modules/TreeviewModule/dependencies.svg +4 -4
  163. package/docs/documentation/modules/TreeviewModule.html +4 -4
  164. package/docs/documentation/overview.html +1984 -1960
  165. package/docs/documentation.json +336 -209
  166. package/docs/storybook/7141.e6990367.iframe.bundle.js +1 -0
  167. package/docs/storybook/901.32dc2d61.iframe.bundle.js +1 -0
  168. package/docs/storybook/9558.1e461c76.iframe.bundle.js +1 -0
  169. package/docs/storybook/9672.a4277bf9.iframe.bundle.js +1 -0
  170. package/docs/storybook/accordion-accordion-stories.f0e7b598.iframe.bundle.js +1 -0
  171. package/docs/storybook/button-button-set-stories.ed1d0fd9.iframe.bundle.js +1 -0
  172. package/docs/storybook/button-button-stories.de18db98.iframe.bundle.js +1 -0
  173. package/docs/storybook/button-icon-button-stories.4a9748f3.iframe.bundle.js +1 -0
  174. package/docs/storybook/code-snippet-code-snippet-stories.2701eee9.iframe.bundle.js +1 -0
  175. package/docs/storybook/combobox-combobox-stories.632a96c1.iframe.bundle.js +1 -0
  176. package/docs/storybook/context-menu-context-menu-stories.431b9c7a.iframe.bundle.js +1 -0
  177. package/docs/storybook/datepicker-datepicker-stories.2f076085.iframe.bundle.js +1 -0
  178. package/docs/storybook/dropdown-dropdown-stories.03c37214.iframe.bundle.js +1 -0
  179. package/docs/storybook/icon-icon-stories.e234de11.iframe.bundle.js +1 -0
  180. package/docs/storybook/iframe.html +2 -2
  181. package/docs/storybook/index-stories.fba8f9b4.iframe.bundle.js +1 -0
  182. package/docs/storybook/index.json +1 -1
  183. package/docs/storybook/inline-loading-inline-loading-stories.fea34c40.iframe.bundle.js +1 -0
  184. package/docs/storybook/input-input-stories.4bd7425d.iframe.bundle.js +1 -0
  185. package/docs/storybook/input-password-stories.575fa23d.iframe.bundle.js +1 -0
  186. package/docs/storybook/input-textarea-stories.75dfc9b8.iframe.bundle.js +1 -0
  187. package/docs/storybook/link-link-stories.d436099f.iframe.bundle.js +1 -0
  188. package/docs/storybook/main.bfc549ba.iframe.bundle.js +1 -0
  189. package/docs/storybook/number-input-number-stories.1e4ea9f3.iframe.bundle.js +1 -0
  190. package/docs/storybook/patterns-dialogs-modal-with-table-stories.f9bddeed.iframe.bundle.js +1 -0
  191. package/docs/storybook/patterns-loading-large-loading-stories.a8a467eb.iframe.bundle.js +1 -0
  192. package/docs/storybook/progress-bar-progress-bar-stories.9a58678a.iframe.bundle.js +1 -0
  193. package/docs/storybook/progress-indicator-progress-indicator-stories.981734fc.iframe.bundle.js +1 -0
  194. package/docs/storybook/project.json +1 -1
  195. package/docs/storybook/radio-radio-stories.035c4409.iframe.bundle.js +1 -0
  196. package/docs/storybook/{runtime~main.ac7f971f.iframe.bundle.js → runtime~main.578dcffd.iframe.bundle.js} +1 -1
  197. package/docs/storybook/search-search-stories.6bd22f30.iframe.bundle.js +1 -0
  198. package/docs/storybook/stories.json +1 -1
  199. package/docs/storybook/structured-list-structured-list-stories.905f4b86.iframe.bundle.js +1 -0
  200. package/docs/storybook/tag-tag-stories.60e1dec6.iframe.bundle.js +1 -0
  201. package/docs/storybook/toggletip-toggletip-stories.73f8eaaa.iframe.bundle.js +1 -0
  202. package/docs/storybook/treeview-treeview-stories.a7ea66bb.iframe.bundle.js +1 -0
  203. package/docs/storybook/ui-shell-ui-shell-stories.642f613c.iframe.bundle.js +1 -0
  204. package/esm2020/icon/icon.directive.mjs +3 -2
  205. package/esm2020/link/index.mjs +2 -1
  206. package/esm2020/link/link-icon.directive.mjs +19 -0
  207. package/esm2020/link/link.module.mjs +9 -4
  208. package/fesm2015/carbon-components-angular-icon.mjs +2 -1
  209. package/fesm2015/carbon-components-angular-icon.mjs.map +1 -1
  210. package/fesm2015/carbon-components-angular-link.mjs +25 -4
  211. package/fesm2015/carbon-components-angular-link.mjs.map +1 -1
  212. package/fesm2020/carbon-components-angular-icon.mjs +2 -1
  213. package/fesm2020/carbon-components-angular-icon.mjs.map +1 -1
  214. package/fesm2020/carbon-components-angular-link.mjs +25 -4
  215. package/fesm2020/carbon-components-angular-link.mjs.map +1 -1
  216. package/link/index.d.ts +1 -0
  217. package/link/link-icon.directive.d.ts +26 -0
  218. package/link/link.module.d.ts +3 -2
  219. package/package.json +1 -1
  220. package/docs/storybook/7141.259796ae.iframe.bundle.js +0 -1
  221. package/docs/storybook/901.22b316ed.iframe.bundle.js +0 -1
  222. package/docs/storybook/9558.40984421.iframe.bundle.js +0 -1
  223. package/docs/storybook/9672.84e90325.iframe.bundle.js +0 -1
  224. package/docs/storybook/accordion-accordion-stories.e04e2378.iframe.bundle.js +0 -1
  225. package/docs/storybook/button-button-set-stories.1417284a.iframe.bundle.js +0 -1
  226. package/docs/storybook/button-button-stories.a12bca49.iframe.bundle.js +0 -1
  227. package/docs/storybook/button-icon-button-stories.d6e7f30d.iframe.bundle.js +0 -1
  228. package/docs/storybook/code-snippet-code-snippet-stories.0b374806.iframe.bundle.js +0 -1
  229. package/docs/storybook/combobox-combobox-stories.84acbfa0.iframe.bundle.js +0 -1
  230. package/docs/storybook/context-menu-context-menu-stories.64411dcb.iframe.bundle.js +0 -1
  231. package/docs/storybook/datepicker-datepicker-stories.adb85d77.iframe.bundle.js +0 -1
  232. package/docs/storybook/dropdown-dropdown-stories.c20a8aa6.iframe.bundle.js +0 -1
  233. package/docs/storybook/icon-icon-stories.7926f3ba.iframe.bundle.js +0 -1
  234. package/docs/storybook/index-stories.613320d5.iframe.bundle.js +0 -1
  235. package/docs/storybook/inline-loading-inline-loading-stories.5226939d.iframe.bundle.js +0 -1
  236. package/docs/storybook/input-input-stories.13368962.iframe.bundle.js +0 -1
  237. package/docs/storybook/input-password-stories.de5bf47f.iframe.bundle.js +0 -1
  238. package/docs/storybook/input-textarea-stories.425449a3.iframe.bundle.js +0 -1
  239. package/docs/storybook/link-link-stories.9e3dd976.iframe.bundle.js +0 -1
  240. package/docs/storybook/main.8ed1584b.iframe.bundle.js +0 -1
  241. package/docs/storybook/number-input-number-stories.8d02c22f.iframe.bundle.js +0 -1
  242. package/docs/storybook/patterns-dialogs-modal-with-table-stories.a011175b.iframe.bundle.js +0 -1
  243. package/docs/storybook/patterns-loading-large-loading-stories.a879e04d.iframe.bundle.js +0 -1
  244. package/docs/storybook/progress-bar-progress-bar-stories.b2965ab3.iframe.bundle.js +0 -1
  245. package/docs/storybook/progress-indicator-progress-indicator-stories.b7f8dfd4.iframe.bundle.js +0 -1
  246. package/docs/storybook/radio-radio-stories.b6c3c440.iframe.bundle.js +0 -1
  247. package/docs/storybook/search-search-stories.c9476b26.iframe.bundle.js +0 -1
  248. package/docs/storybook/structured-list-structured-list-stories.a1c0bf43.iframe.bundle.js +0 -1
  249. package/docs/storybook/tag-tag-stories.dffa6874.iframe.bundle.js +0 -1
  250. package/docs/storybook/toggletip-toggletip-stories.c3354041.iframe.bundle.js +0 -1
  251. package/docs/storybook/treeview-treeview-stories.7addb70a.iframe.bundle.js +0 -1
  252. package/docs/storybook/ui-shell-ui-shell-stories.61c6235e.iframe.bundle.js +0 -1
@@ -13261,12 +13261,12 @@
13261
13261
  },
13262
13262
  {
13263
13263
  "name": "IconDirective",
13264
- "id": "directive-IconDirective-88b14822993a6d73f545f607449574a0eb0db55e2da0d003798e407ef1fb3c814c6dfcfdef222844db5294bee915945514b846b0d00a75b6bf100c2fc3012910",
13264
+ "id": "directive-IconDirective-af13f8e78e4c5d8d52b5175637904e07d769a086288d15f20df3fd8de4fedf9ec7360815a0b84ad8b4c7b46caf13b518c30f0c8defe3d9b5f5ea53953c4ddfe2",
13265
13265
  "file": "src/icon/icon.directive.ts",
13266
13266
  "type": "directive",
13267
13267
  "description": "<p>A directive for populating a svg element based on the provided carbon icon name.</p>\n<p>Get started with importing the module:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { IconModule } from &#39;carbon-components-angular&#39;;</code></pre></div><p><a href=\"../../?path=/story/components-icon--basic\">See demo</a></p>\n",
13268
13268
  "rawdescription": "\n\nA directive for populating a svg element based on the provided carbon icon name.\n\nGet started with importing the module:\n\n```typescript\nimport { IconModule } from 'carbon-components-angular';\n```\n\n[See demo](../../?path=/story/components-icon--basic)\n",
13269
- "sourceCode": "import {\n\tAfterViewInit,\n\tDirective,\n\tElementRef,\n\tInput,\n\tOnChanges,\n\tSimpleChanges\n} from \"@angular/core\";\nimport { IconService } from \"./icon.service\";\nimport { getAttributes } from \"@carbon/icon-helpers\";\n\n/**\n * A directive for populating a svg element based on the provided carbon icon name.\n *\n * Get started with importing the module:\n *\n * ```typescript\n * import { IconModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-icon--basic)\n */\n@Directive({\n\tselector: \"[cdsIcon], [ibmIcon]\"\n})\nexport class IconDirective implements AfterViewInit, OnChanges {\n\n\t/**\n\t * @deprecated since v5 - Use `cdsIcon` input property instead\n\t */\n\t@Input() set ibmIcon(iconName: string) {\n\t\tthis.cdsIcon = iconName;\n\t}\n\n\tstatic titleIdCounter = 0;\n\n\t@Input() cdsIcon = \"\";\n\n\t@Input() size = \"16\";\n\n\t@Input() title = \"\";\n\n\t@Input() ariaLabel = \"\";\n\n\t@Input() ariaLabelledBy = \"\";\n\n\t@Input() ariaHidden = \"\";\n\n\t@Input() isFocusable = false;\n\n\tconstructor(\n\t\tprotected elementRef: ElementRef,\n\t\tprotected iconService: IconService\n\t) {}\n\n\trenderIcon(iconName: string) {\n\t\tconst root = this.elementRef.nativeElement as HTMLElement;\n\n\t\tlet icon;\n\t\ttry {\n\t\t\ticon = this.iconService.get(iconName, this.size.toString());\n\t\t} catch (error) {\n\t\t\tconsole.warn(error);\n\t\t\t// bail out\n\t\t\treturn;\n\t\t}\n\n\t\tconst domParser = new DOMParser();\n\t\tconst rawSVG = icon.svg;\n\t\tconst svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n\n\t\tlet node: ChildNode = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : svgElement.firstChild;\n\t\troot.innerHTML = \"\"; // Clear root element\n\t\twhile (node) {\n\t\t\t// importNode makes a clone of the node\n\t\t\t// this ensures we keep looping over the nodes in the parsed document\n\t\t\troot.appendChild(root.ownerDocument.importNode(node, true));\n\t\t\t// type the node because the angular compiler freaks out if it\n\t\t\t// ends up thinking it's a `Node` instead of a `ChildNode`\n\t\t\tnode = node.nextSibling as ChildNode;\n\t\t}\n\n\t\tconst svg = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : root;\n\t\tsvg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n\n\t\tconst attributes = getAttributes({\n\t\t\twidth: icon.attrs.width,\n\t\t\theight: icon.attrs.height,\n\t\t\tviewBox: icon.attrs.viewBox,\n\t\t\ttitle: this.title,\n\t\t\t\"aria-label\": this.ariaLabel,\n\t\t\t\"aria-labelledby\": this.ariaLabelledBy,\n\t\t\t\"aria-hidden\": this.ariaHidden,\n\t\t\tfocusable: this.isFocusable.toString()\n\t\t});\n\n\t\tconst attrKeys = Object.keys(attributes);\n\t\tfor (let i = 0; i < attrKeys.length; i++) {\n\t\t\tconst key = attrKeys[i];\n\t\t\tconst value = attributes[key];\n\n\t\t\tif (key === \"title\") {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (value) {\n\t\t\t\tsvg.setAttribute(key, value);\n\t\t\t}\n\t\t}\n\n\t\tif (attributes[\"title\"]) {\n\t\t\tconst title = document.createElement(\"title\");\n\t\t\ttitle.textContent = attributes.title;\n\t\t\tIconDirective.titleIdCounter++;\n\t\t\ttitle.setAttribute(\"id\", `${icon.name}-title-${IconDirective.titleIdCounter}`);\n\t\t\t// title must be first for screen readers\n\t\t\tsvg.insertBefore(title, svg.firstElementChild);\n\t\t\tsvg.setAttribute(\"aria-labelledby\", `${icon.name}-title-${IconDirective.titleIdCounter}`);\n\t\t}\n\t}\n\n\tngAfterViewInit() {\n\t\tthis.renderIcon(this.cdsIcon);\n\t}\n\n\tngOnChanges({ cdsIcon }: SimpleChanges) {\n\t\t// We want to ignore first change to let the icon register\n\t\t// and add only after view has been initialized\n\t\tif (cdsIcon && !cdsIcon.isFirstChange()) {\n\t\t\tthis.renderIcon(this.cdsIcon);\n\t\t}\n\t}\n}\n",
13269
+ "sourceCode": "import {\n\tAfterViewInit,\n\tDirective,\n\tElementRef,\n\tInput,\n\tOnChanges,\n\tSimpleChanges\n} from \"@angular/core\";\nimport { IconService } from \"./icon.service\";\nimport { getAttributes } from \"@carbon/icon-helpers\";\n\n/**\n * A directive for populating a svg element based on the provided carbon icon name.\n *\n * Get started with importing the module:\n *\n * ```typescript\n * import { IconModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-icon--basic)\n */\n@Directive({\n\tselector: \"[cdsIcon], [ibmIcon]\"\n})\nexport class IconDirective implements AfterViewInit, OnChanges {\n\n\t/**\n\t * @deprecated since v5 - Use `cdsIcon` input property instead\n\t */\n\t@Input() set ibmIcon(iconName: string) {\n\t\tthis.cdsIcon = iconName;\n\t}\n\n\tstatic titleIdCounter = 0;\n\n\t@Input() cdsIcon = \"\";\n\n\t@Input() size = \"16\";\n\n\t@Input() title = \"\";\n\n\t@Input() ariaLabel = \"\";\n\n\t@Input() ariaLabelledBy = \"\";\n\n\t@Input() ariaHidden = \"\";\n\n\t@Input() isFocusable = false;\n\n\tconstructor(\n\t\tprotected elementRef: ElementRef,\n\t\tprotected iconService: IconService\n\t) {}\n\n\trenderIcon(iconName: string) {\n\t\tconst root = this.elementRef.nativeElement as HTMLElement;\n\n\t\tlet icon;\n\t\ttry {\n\t\t\ticon = this.iconService.get(iconName, this.size.toString());\n\t\t} catch (error) {\n\t\t\tconsole.warn(error);\n\t\t\t// bail out\n\t\t\treturn;\n\t\t}\n\n\t\tconst domParser = new DOMParser();\n\t\tconst rawSVG = icon.svg;\n\t\tconst svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n\n\t\tlet node: ChildNode = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : svgElement.firstChild;\n\t\troot.innerHTML = \"\"; // Clear root element\n\t\twhile (node) {\n\t\t\t// importNode makes a clone of the node\n\t\t\t// this ensures we keep looping over the nodes in the parsed document\n\t\t\troot.appendChild(root.ownerDocument.importNode(node, true));\n\t\t\t// type the node because the angular compiler freaks out if it\n\t\t\t// ends up thinking it's a `Node` instead of a `ChildNode`\n\t\t\tnode = node.nextSibling as ChildNode;\n\t\t}\n\n\t\tconst svg = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : root;\n\t\tsvg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n\n\t\tconst attributes = getAttributes({\n\t\t\twidth: icon.attrs.width,\n\t\t\theight: icon.attrs.height,\n\t\t\tviewBox: icon.attrs.viewBox,\n\t\t\ttitle: this.title,\n\t\t\t\"aria-label\": this.ariaLabel,\n\t\t\t\"aria-labelledby\": this.ariaLabelledBy,\n\t\t\t\"aria-hidden\": this.ariaHidden,\n\t\t\tfocusable: this.isFocusable.toString(),\n\t\t\tfill: icon.attrs.fill\n\t\t});\n\n\t\tconst attrKeys = Object.keys(attributes);\n\t\tfor (let i = 0; i < attrKeys.length; i++) {\n\t\t\tconst key = attrKeys[i];\n\t\t\tconst value = attributes[key];\n\n\t\t\tif (key === \"title\") {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (value) {\n\t\t\t\tsvg.setAttribute(key, value);\n\t\t\t}\n\t\t}\n\n\t\tif (attributes[\"title\"]) {\n\t\t\tconst title = document.createElement(\"title\");\n\t\t\ttitle.textContent = attributes.title;\n\t\t\tIconDirective.titleIdCounter++;\n\t\t\ttitle.setAttribute(\"id\", `${icon.name}-title-${IconDirective.titleIdCounter}`);\n\t\t\t// title must be first for screen readers\n\t\t\tsvg.insertBefore(title, svg.firstElementChild);\n\t\t\tsvg.setAttribute(\"aria-labelledby\", `${icon.name}-title-${IconDirective.titleIdCounter}`);\n\t\t}\n\t}\n\n\tngAfterViewInit() {\n\t\tthis.renderIcon(this.cdsIcon);\n\t}\n\n\tngOnChanges({ cdsIcon }: SimpleChanges) {\n\t\t// We want to ignore first change to let the icon register\n\t\t// and add only after view has been initialized\n\t\tif (cdsIcon && !cdsIcon.isFirstChange()) {\n\t\t\tthis.renderIcon(this.cdsIcon);\n\t\t}\n\t}\n}\n",
13270
13270
  "selector": "[cdsIcon], [ibmIcon]",
13271
13271
  "providers": [],
13272
13272
  "hostDirectives": [],
@@ -13888,6 +13888,58 @@
13888
13888
  }
13889
13889
  }
13890
13890
  },
13891
+ {
13892
+ "name": "LinkIconDirective",
13893
+ "id": "directive-LinkIconDirective-55c5a92a8ab4a84e9a10dde7956dcd2102bb8bd5c68efeed3b3fb2e36d02d5e24395230c758089993dc569202b7e7be0b129e5b06d66af4fa187b39b536241d7",
13894
+ "file": "src/link/link-icon.directive.ts",
13895
+ "type": "directive",
13896
+ "description": "",
13897
+ "rawdescription": "\n",
13898
+ "sourceCode": "import { Directive, HostBinding } from \"@angular/core\";\n\n@Directive({\n\tselector: \"[ibmLinkIcon], [cdsLinkIcon]\"\n})\nexport class LinkIconDirective {\n\t@HostBinding(\"class.cds--link__icon\") iconClass = true;\n}\n",
13899
+ "selector": "[ibmLinkIcon], [cdsLinkIcon]",
13900
+ "providers": [],
13901
+ "hostDirectives": [],
13902
+ "standalone": false,
13903
+ "inputsClass": [],
13904
+ "outputsClass": [],
13905
+ "deprecated": false,
13906
+ "deprecationMessage": "",
13907
+ "hostBindings": [
13908
+ {
13909
+ "name": "class.cds--link__icon",
13910
+ "defaultValue": "true",
13911
+ "deprecated": false,
13912
+ "deprecationMessage": "",
13913
+ "line": 7,
13914
+ "type": "boolean",
13915
+ "decorators": []
13916
+ }
13917
+ ],
13918
+ "hostListeners": [],
13919
+ "propertiesClass": [
13920
+ {
13921
+ "name": "iconClass",
13922
+ "defaultValue": "true",
13923
+ "deprecated": false,
13924
+ "deprecationMessage": "",
13925
+ "type": "",
13926
+ "optional": false,
13927
+ "description": "",
13928
+ "line": 7,
13929
+ "decorators": [
13930
+ {
13931
+ "name": "HostBinding",
13932
+ "stringifiedArguments": "'class.cds--link__icon'"
13933
+ }
13934
+ ],
13935
+ "modifierKind": [
13936
+ 170
13937
+ ]
13938
+ }
13939
+ ],
13940
+ "methodsClass": [],
13941
+ "extends": []
13942
+ },
13891
13943
  {
13892
13944
  "name": "List",
13893
13945
  "id": "directive-List-e215f38900f4ed9dd003bf3b5029e3e2fb5f8fa0299377a9ad4a7037486533b07026b1eccf7e446ee9bd2072f2c0fbe5f6ef8108b9c5dc2ec08618692a55ff38",
@@ -70333,13 +70385,13 @@
70333
70385
  },
70334
70386
  {
70335
70387
  "name": "LinkModule",
70336
- "id": "module-LinkModule-2790d06d16b68fa2edd457d5bc90e0eec459e8ef66bd88cca5e1d3d846e33a169e7a8a2f46388c57faa943000ce967b825cf52272ef0b8f716084b12c71cef1b",
70388
+ "id": "module-LinkModule-b6b59a7cd7c68cb547739f8b9a4d15159b95fd630a4aa00614eef2f1222d2e360c06d5fb54bf1631fb4dbe61491338320925febfff89723de1162e6c660215d0",
70337
70389
  "description": "",
70338
70390
  "deprecationMessage": "",
70339
70391
  "deprecated": false,
70340
70392
  "file": "src/link/link.module.ts",
70341
70393
  "methods": [],
70342
- "sourceCode": "import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { Link } from \"./link.directive\";\n\n@NgModule({\n\tdeclarations: [\n\t\tLink\n\t],\n\texports: [\n\t\tLink\n\t],\n\timports: [\n\t\tCommonModule\n\t]\n})\nexport class LinkModule {}\n",
70394
+ "sourceCode": "import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { Link } from \"./link.directive\";\nimport { LinkIconDirective } from \"./link-icon.directive\";\n\n@NgModule({\n\tdeclarations: [\n\t\tLink,\n\t\tLinkIconDirective\n\t],\n\texports: [\n\t\tLink,\n\t\tLinkIconDirective\n\t],\n\timports: [\n\t\tCommonModule\n\t]\n})\nexport class LinkModule {}\n",
70343
70395
  "children": [
70344
70396
  {
70345
70397
  "type": "providers",
@@ -70350,6 +70402,9 @@
70350
70402
  "elements": [
70351
70403
  {
70352
70404
  "name": "Link"
70405
+ },
70406
+ {
70407
+ "name": "LinkIconDirective"
70353
70408
  }
70354
70409
  ]
70355
70410
  },
@@ -70362,6 +70417,9 @@
70362
70417
  "elements": [
70363
70418
  {
70364
70419
  "name": "Link"
70420
+ },
70421
+ {
70422
+ "name": "LinkIconDirective"
70365
70423
  }
70366
70424
  ]
70367
70425
  },
@@ -72623,7 +72681,7 @@
72623
72681
  "name": "Basic",
72624
72682
  "ctype": "miscellaneous",
72625
72683
  "subtype": "variable",
72626
- "file": "src/breadcrumb/breadcrumb.stories.ts",
72684
+ "file": "src/button/button-set.stories.ts",
72627
72685
  "deprecated": false,
72628
72686
  "deprecationMessage": "",
72629
72687
  "type": "",
@@ -72633,7 +72691,7 @@
72633
72691
  "name": "Basic",
72634
72692
  "ctype": "miscellaneous",
72635
72693
  "subtype": "variable",
72636
- "file": "src/button/button-set.stories.ts",
72694
+ "file": "src/button/button.stories.ts",
72637
72695
  "deprecated": false,
72638
72696
  "deprecationMessage": "",
72639
72697
  "type": "",
@@ -72643,7 +72701,7 @@
72643
72701
  "name": "Basic",
72644
72702
  "ctype": "miscellaneous",
72645
72703
  "subtype": "variable",
72646
- "file": "src/button/button.stories.ts",
72704
+ "file": "src/button/icon-button.stories.ts",
72647
72705
  "deprecated": false,
72648
72706
  "deprecationMessage": "",
72649
72707
  "type": "",
@@ -72653,7 +72711,7 @@
72653
72711
  "name": "Basic",
72654
72712
  "ctype": "miscellaneous",
72655
72713
  "subtype": "variable",
72656
- "file": "src/button/icon-button.stories.ts",
72714
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
72657
72715
  "deprecated": false,
72658
72716
  "deprecationMessage": "",
72659
72717
  "type": "",
@@ -72993,7 +73051,7 @@
72993
73051
  "name": "Basic",
72994
73052
  "ctype": "miscellaneous",
72995
73053
  "subtype": "variable",
72996
- "file": "src/table/table.stories.ts",
73054
+ "file": "src/tabs/tabs.stories.ts",
72997
73055
  "deprecated": false,
72998
73056
  "deprecationMessage": "",
72999
73057
  "type": "",
@@ -73003,7 +73061,7 @@
73003
73061
  "name": "Basic",
73004
73062
  "ctype": "miscellaneous",
73005
73063
  "subtype": "variable",
73006
- "file": "src/tabs/tabs.stories.ts",
73064
+ "file": "src/tag/tag.stories.ts",
73007
73065
  "deprecated": false,
73008
73066
  "deprecationMessage": "",
73009
73067
  "type": "",
@@ -73013,7 +73071,7 @@
73013
73071
  "name": "Basic",
73014
73072
  "ctype": "miscellaneous",
73015
73073
  "subtype": "variable",
73016
- "file": "src/tag/tag.stories.ts",
73074
+ "file": "src/table/table.stories.ts",
73017
73075
  "deprecated": false,
73018
73076
  "deprecationMessage": "",
73019
73077
  "type": "",
@@ -73930,6 +73988,16 @@
73930
73988
  "type": "",
73931
73989
  "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<app-treeview-icon-component></app-treeview-icon-component>\n\t`\n})"
73932
73990
  },
73991
+ {
73992
+ "name": "IconTemplate",
73993
+ "ctype": "miscellaneous",
73994
+ "subtype": "variable",
73995
+ "file": "src/link/link.stories.ts",
73996
+ "deprecated": false,
73997
+ "deprecationMessage": "",
73998
+ "type": "",
73999
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<a\n\t\t\thref=\"#\"\n\t\t\tcdsLink\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[inline]=\"inline\">\n\t\t\tLink\n\t\t\t<svg cdsLinkIcon cdsIcon=\"close\" size=\"16\"></svg>\n\t\t</a>\n\t`\n})"
74000
+ },
73933
74001
  {
73934
74002
  "name": "Indeterminate",
73935
74003
  "ctype": "miscellaneous",
@@ -75165,7 +75233,7 @@
75165
75233
  "name": "Skeleton",
75166
75234
  "ctype": "miscellaneous",
75167
75235
  "subtype": "variable",
75168
- "file": "src/table/table.stories.ts",
75236
+ "file": "src/tabs/tabs.stories.ts",
75169
75237
  "deprecated": false,
75170
75238
  "deprecationMessage": "",
75171
75239
  "type": "",
@@ -75175,7 +75243,7 @@
75175
75243
  "name": "Skeleton",
75176
75244
  "ctype": "miscellaneous",
75177
75245
  "subtype": "variable",
75178
- "file": "src/tabs/tabs.stories.ts",
75246
+ "file": "src/table/table.stories.ts",
75179
75247
  "deprecated": false,
75180
75248
  "deprecationMessage": "",
75181
75249
  "type": "",
@@ -75285,21 +75353,21 @@
75285
75353
  "name": "SkeletonTemplate",
75286
75354
  "ctype": "miscellaneous",
75287
75355
  "subtype": "variable",
75288
- "file": "src/table/table.stories.ts",
75356
+ "file": "src/tabs/tabs.stories.ts",
75289
75357
  "deprecated": false,
75290
75358
  "deprecationMessage": "",
75291
75359
  "type": "",
75292
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-skeleton-table.component.ts\n\t\t-->\n\t\t<app-skeleton-table\n\t\t\t[skeletonModel]=\"skeletonModel\"\n\t\t\t[size]=\"size\"\n\t\t\t[striped]=\"striped\">\n\t\t</app-skeleton-table>\n\t`\n})"
75360
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs skeleton=\"true\">\n\t\t\t<cds-tab></cds-tab>\n\t\t\t<cds-tab></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<div style=\"margin-top: 5rem\">\n\t\t\t<p>Tab skeleton component for cds-tab-header-group:</p>\n\t\t\t<cds-tabs-skeleton></cds-tabs-skeleton>\n\t\t</div>\n\t`\n})"
75293
75361
  },
75294
75362
  {
75295
75363
  "name": "SkeletonTemplate",
75296
75364
  "ctype": "miscellaneous",
75297
75365
  "subtype": "variable",
75298
- "file": "src/tabs/tabs.stories.ts",
75366
+ "file": "src/table/table.stories.ts",
75299
75367
  "deprecated": false,
75300
75368
  "deprecationMessage": "",
75301
75369
  "type": "",
75302
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs skeleton=\"true\">\n\t\t\t<cds-tab></cds-tab>\n\t\t\t<cds-tab></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<div style=\"margin-top: 5rem\">\n\t\t\t<p>Tab skeleton component for cds-tab-header-group:</p>\n\t\t\t<cds-tabs-skeleton></cds-tabs-skeleton>\n\t\t</div>\n\t`\n})"
75370
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-skeleton-table.component.ts\n\t\t-->\n\t\t<app-skeleton-table\n\t\t\t[skeletonModel]=\"skeletonModel\"\n\t\t\t[size]=\"size\"\n\t\t\t[striped]=\"striped\">\n\t\t</app-skeleton-table>\n\t`\n})"
75303
75371
  },
75304
75372
  {
75305
75373
  "name": "SkeletonTemplate",
@@ -75395,41 +75463,41 @@
75395
75463
  "name": "Template",
75396
75464
  "ctype": "miscellaneous",
75397
75465
  "subtype": "variable",
75398
- "file": "src/breadcrumb/breadcrumb.stories.ts",
75466
+ "file": "src/button/button-set.stories.ts",
75399
75467
  "deprecated": false,
75400
75468
  "deprecationMessage": "",
75401
75469
  "type": "",
75402
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb [noTrailingSlash]=\"noTrailingSlash\">\n\t\t\t<cds-breadcrumb-item href=\"#1\">\n\t\t\t\tBreadcrumb 1\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#2\">\n\t\t\t\tBreadcrumb 2\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#3\">\n\t\t\t\tBreadcrumb 3\n\t\t\t</cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
75470
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-button-set>\n\t\t\t<button cdsButton=\"secondary\" [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t\t<button cdsButton [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t</cds-button-set>\n\t`\n})"
75403
75471
  },
75404
75472
  {
75405
75473
  "name": "Template",
75406
75474
  "ctype": "miscellaneous",
75407
75475
  "subtype": "variable",
75408
- "file": "src/button/button-set.stories.ts",
75476
+ "file": "src/button/button.stories.ts",
75409
75477
  "deprecated": false,
75410
75478
  "deprecationMessage": "",
75411
75479
  "type": "",
75412
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-button-set>\n\t\t\t<button cdsButton=\"secondary\" [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t\t<button cdsButton [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t</cds-button-set>\n\t`\n})"
75480
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseLeave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\tButton\n\t\t</button>\n\t`\n})"
75413
75481
  },
75414
75482
  {
75415
75483
  "name": "Template",
75416
75484
  "ctype": "miscellaneous",
75417
75485
  "subtype": "variable",
75418
- "file": "src/button/button.stories.ts",
75486
+ "file": "src/button/icon-button.stories.ts",
75419
75487
  "deprecated": false,
75420
75488
  "deprecationMessage": "",
75421
75489
  "type": "",
75422
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseLeave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\tButton\n\t\t</button>\n\t`\n})"
75490
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-icon-button\n\t\t\tbuttonId=\"icon-btn1\"\n\t\t\ttype=\"button\"\n\t\t\t[kind]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[align]=\"align\"\n\t\t\t[buttonNgClass]=\"buttonNgClass\"\n\t\t\t[buttonAttributes]=\"buttonAttributes\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\tdescription=\"Icon Description\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseLeave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"copy\" size=\"16\"></svg>\n\t\t</cds-icon-button>\n\t`\n})"
75423
75491
  },
75424
75492
  {
75425
75493
  "name": "Template",
75426
75494
  "ctype": "miscellaneous",
75427
75495
  "subtype": "variable",
75428
- "file": "src/button/icon-button.stories.ts",
75496
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
75429
75497
  "deprecated": false,
75430
75498
  "deprecationMessage": "",
75431
75499
  "type": "",
75432
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-icon-button\n\t\t\tbuttonId=\"icon-btn1\"\n\t\t\ttype=\"button\"\n\t\t\t[kind]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[align]=\"align\"\n\t\t\t[buttonNgClass]=\"buttonNgClass\"\n\t\t\t[buttonAttributes]=\"buttonAttributes\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\tdescription=\"Icon Description\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseLeave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"copy\" size=\"16\"></svg>\n\t\t</cds-icon-button>\n\t`\n})"
75500
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb [noTrailingSlash]=\"noTrailingSlash\">\n\t\t\t<cds-breadcrumb-item href=\"#1\">\n\t\t\t\tBreadcrumb 1\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#2\">\n\t\t\t\tBreadcrumb 2\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#3\">\n\t\t\t\tBreadcrumb 3\n\t\t\t</cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
75433
75501
  },
75434
75502
  {
75435
75503
  "name": "Template",
@@ -75765,31 +75833,31 @@
75765
75833
  "name": "Template",
75766
75834
  "ctype": "miscellaneous",
75767
75835
  "subtype": "variable",
75768
- "file": "src/table/table.stories.ts",
75836
+ "file": "src/tabs/tabs.stories.ts",
75769
75837
  "deprecated": false,
75770
75838
  "deprecationMessage": "",
75771
75839
  "type": "",
75772
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-table>\n\t\t</cds-table-container>\n\t`\n})"
75840
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs\n\t\t\t[type]=\"type\"\n\t\t\t[followFocus]=\"followFocus\"\n\t\t\t[isNavigation]=\"isNavigation\"\n\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t<cds-tab heading=\"one\">Tab Content 1</cds-tab>\n\t\t\t<cds-tab heading=\"two\">Tab Content 2</cds-tab>\n\t\t\t<cds-tab heading=\"three\" [tabContent]=\"three\"></cds-tab>\n\t\t\t<cds-tab heading=\"four\" [tabContent]=\"four\"></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<!-- Use templates if you would like to have lifecycle hooks called when cacheActive is false -->\n\t\t<ng-template #three>\n\t\t\tTab Content 3\n\t\t</ng-template>\n\n\t\t<ng-template #four>\n\t\t\tTab Content 4\n\t\t</ng-template>\n\t`\n})"
75773
75841
  },
75774
75842
  {
75775
75843
  "name": "Template",
75776
75844
  "ctype": "miscellaneous",
75777
75845
  "subtype": "variable",
75778
- "file": "src/tabs/tabs.stories.ts",
75846
+ "file": "src/tag/tag.stories.ts",
75779
75847
  "deprecated": false,
75780
75848
  "deprecationMessage": "",
75781
75849
  "type": "",
75782
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs\n\t\t\t[type]=\"type\"\n\t\t\t[followFocus]=\"followFocus\"\n\t\t\t[isNavigation]=\"isNavigation\"\n\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t<cds-tab heading=\"one\">Tab Content 1</cds-tab>\n\t\t\t<cds-tab heading=\"two\">Tab Content 2</cds-tab>\n\t\t\t<cds-tab heading=\"three\" [tabContent]=\"three\"></cds-tab>\n\t\t\t<cds-tab heading=\"four\" [tabContent]=\"four\"></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<!-- Use templates if you would like to have lifecycle hooks called when cacheActive is false -->\n\t\t<ng-template #three>\n\t\t\tTab Content 3\n\t\t</ng-template>\n\n\t\t<ng-template #four>\n\t\t\tTab Content 4\n\t\t</ng-template>\n\t`\n})"
75850
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
75783
75851
  },
75784
75852
  {
75785
75853
  "name": "Template",
75786
75854
  "ctype": "miscellaneous",
75787
75855
  "subtype": "variable",
75788
- "file": "src/tag/tag.stories.ts",
75856
+ "file": "src/table/table.stories.ts",
75789
75857
  "deprecated": false,
75790
75858
  "deprecationMessage": "",
75791
75859
  "type": "",
75792
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
75860
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-table>\n\t\t</cds-table-container>\n\t`\n})"
75793
75861
  },
75794
75862
  {
75795
75863
  "name": "Template",
@@ -76263,6 +76331,16 @@
76263
76331
  "type": "",
76264
76332
  "defaultValue": "WithIconTemplate.bind({})"
76265
76333
  },
76334
+ {
76335
+ "name": "WithIcon",
76336
+ "ctype": "miscellaneous",
76337
+ "subtype": "variable",
76338
+ "file": "src/link/link.stories.ts",
76339
+ "deprecated": false,
76340
+ "deprecationMessage": "",
76341
+ "type": "",
76342
+ "defaultValue": "IconTemplate.bind({})"
76343
+ },
76266
76344
  {
76267
76345
  "name": "withIcons",
76268
76346
  "ctype": "miscellaneous",
@@ -79195,199 +79273,199 @@
79195
79273
  "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"width: 500px\">\n\t\t\t<cds-accordion>\n\t\t\t\t<cds-accordion-item [title]=\"title\" (selected)=\"selected($event)\">\n\t\t\t\t\tLorem ipsum dolor sit amet, \\\n\t\t\t\t\tconsectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore \\\n\t\t\t\t\tet dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation \\\n\t\t\t\t\tullamco laboris nisi ut aliquip ex ea commodo consequat.\n\t\t\t\t</cds-accordion-item>\n\t\t\t\t<cds-accordion-item [title]=\"titleWithContext\" [context]=\"{ index: 2 }\" (selected)=\"selected($event)\">\n\t\t\t\t\tLorem ipsum dolor sit amet, \\\n\t\t\t\t\tconsectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore \\\n\t\t\t\t\tet dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation \\\n\t\t\t\t\tullamco laboris nisi ut aliquip ex ea commodo consequat.\n\t\t\t\t</cds-accordion-item>\n\t\t\t</cds-accordion>\n\t\t</div>\n\t\t<ng-template #title>\n\t\t\t<p class=\"cds--accordion__title\">Section 1 title</p>\n\t\t</ng-template>\n\t\t<ng-template #titleWithContext let-index=\"index\">\n\t\t\t<p class=\"cds--accordion__title\">Section {{ index }} title</p>\n\t\t</ng-template>\n\t`\n})"
79196
79274
  }
79197
79275
  ],
79198
- "src/breadcrumb/breadcrumb.stories.ts": [
79276
+ "src/button/button-set.stories.ts": [
79199
79277
  {
79200
79278
  "name": "Basic",
79201
79279
  "ctype": "miscellaneous",
79202
79280
  "subtype": "variable",
79203
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79281
+ "file": "src/button/button-set.stories.ts",
79204
79282
  "deprecated": false,
79205
79283
  "deprecationMessage": "",
79206
79284
  "type": "",
79207
79285
  "defaultValue": "Template.bind({})"
79208
79286
  },
79209
79287
  {
79210
- "name": "breadcrumbItems",
79288
+ "name": "Template",
79211
79289
  "ctype": "miscellaneous",
79212
79290
  "subtype": "variable",
79213
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79291
+ "file": "src/button/button-set.stories.ts",
79214
79292
  "deprecated": false,
79215
79293
  "deprecationMessage": "",
79216
- "type": ""
79217
- },
79294
+ "type": "",
79295
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-button-set>\n\t\t\t<button cdsButton=\"secondary\" [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t\t<button cdsButton [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t</cds-button-set>\n\t`\n})"
79296
+ }
79297
+ ],
79298
+ "src/button/button.stories.ts": [
79218
79299
  {
79219
- "name": "createBreadcrumbItems",
79300
+ "name": "Basic",
79220
79301
  "ctype": "miscellaneous",
79221
79302
  "subtype": "variable",
79222
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79303
+ "file": "src/button/button.stories.ts",
79223
79304
  "deprecated": false,
79224
79305
  "deprecationMessage": "",
79225
79306
  "type": "",
79226
- "defaultValue": "(count: number, content = \"Breadcrumb\"): Array<BreadcrumbItem> => {\n\tif (breadcrumbItems && count === breadcrumbItems.length) {\n\t\treturn breadcrumbItems;\n\t}\n\tbreadcrumbItems = Array(count).fill(0).map((x, i) => ({\n\t\tcontent: `${content} ${i + 1}`,\n\t\thref: \"#\" + (i + 1)\n\t}));\n\treturn breadcrumbItems;\n}"
79307
+ "defaultValue": "Template.bind({})"
79227
79308
  },
79228
79309
  {
79229
- "name": "CurrentPage",
79310
+ "name": "Template",
79230
79311
  "ctype": "miscellaneous",
79231
79312
  "subtype": "variable",
79232
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79313
+ "file": "src/button/button.stories.ts",
79233
79314
  "deprecated": false,
79234
79315
  "deprecationMessage": "",
79235
79316
  "type": "",
79236
- "defaultValue": "CurrentPageTemplate.bind({})"
79317
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseLeave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\tButton\n\t\t</button>\n\t`\n})"
79237
79318
  },
79238
79319
  {
79239
- "name": "CurrentPageTemplate",
79320
+ "name": "WithIcon",
79240
79321
  "ctype": "miscellaneous",
79241
79322
  "subtype": "variable",
79242
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79323
+ "file": "src/button/button.stories.ts",
79243
79324
  "deprecated": false,
79244
79325
  "deprecationMessage": "",
79245
79326
  "type": "",
79246
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb>\n\t\t\t<cds-breadcrumb-item href=\"#1\">\n\t\t\t\tBreadcrumb 1\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#2\">\n\t\t\t\tBreadcrumb 2\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item current=\"true\" href=\"#3\">\n\t\t\t\tBreadcrumb 3\n\t\t\t</cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
79327
+ "defaultValue": "WithIconTemplate.bind({})"
79247
79328
  },
79248
79329
  {
79249
- "name": "Model",
79330
+ "name": "WithIconTemplate",
79250
79331
  "ctype": "miscellaneous",
79251
79332
  "subtype": "variable",
79252
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79333
+ "file": "src/button/button.stories.ts",
79253
79334
  "deprecated": false,
79254
79335
  "deprecationMessage": "",
79255
79336
  "type": "",
79256
- "defaultValue": "ModelTemplate.bind({})"
79257
- },
79337
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseleave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\tWith icon\n\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n\t\t</button>\n\t`\n})"
79338
+ }
79339
+ ],
79340
+ "src/breadcrumb/breadcrumb.stories.ts": [
79258
79341
  {
79259
- "name": "ModelTemplate",
79342
+ "name": "Basic",
79260
79343
  "ctype": "miscellaneous",
79261
79344
  "subtype": "variable",
79262
79345
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79263
79346
  "deprecated": false,
79264
79347
  "deprecationMessage": "",
79265
79348
  "type": "",
79266
- "defaultValue": "(args) => ({\n\tprops: {\n\t\t...args,\n\t\tcreateBreadcrumbItems\n\t},\n\ttemplate: `\n\t\t<cds-breadcrumb\n\t\t\t[noTrailingSlash]=\"noTrailingSlash\"\n\t\t\t[threshold]=\"threshold\"\n\t\t\t[items]=\"createBreadcrumbItems(itemCount, content)\">\n\t\t</cds-breadcrumb>\n\t`\n})"
79349
+ "defaultValue": "Template.bind({})"
79267
79350
  },
79268
79351
  {
79269
- "name": "ModelWithTemplate",
79352
+ "name": "breadcrumbItems",
79270
79353
  "ctype": "miscellaneous",
79271
79354
  "subtype": "variable",
79272
79355
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79273
79356
  "deprecated": false,
79274
79357
  "deprecationMessage": "",
79275
- "type": "",
79276
- "defaultValue": "ModelWTemplate.bind({})"
79358
+ "type": ""
79277
79359
  },
79278
79360
  {
79279
- "name": "ModelWTemplate",
79361
+ "name": "createBreadcrumbItems",
79280
79362
  "ctype": "miscellaneous",
79281
79363
  "subtype": "variable",
79282
79364
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79283
79365
  "deprecated": false,
79284
79366
  "deprecationMessage": "",
79285
79367
  "type": "",
79286
- "defaultValue": "(args) => ({\n\tprops: {\n\t\t...args,\n\t\tcreateBreadcrumbItems,\n\t\twithTemplate\n\t},\n\ttemplate: `\n\t\t<ng-template #breadcrumbTemplate let-item>\n\t\t\t{{ templateContent }}{{ item.content }}\n\t\t</ng-template>\n\t\t<cds-breadcrumb\n\t\t\t[noTrailingSlash]=\"noTrailingSlash\"\n\t\t\t[threshold]=\"threshold\"\n\t\t\t[items]=\"withTemplate(breadcrumbTemplate, createBreadcrumbItems(itemCount, content))\">\n\t\t</cds-breadcrumb>\n\t`\n})"
79368
+ "defaultValue": "(count: number, content = \"Breadcrumb\"): Array<BreadcrumbItem> => {\n\tif (breadcrumbItems && count === breadcrumbItems.length) {\n\t\treturn breadcrumbItems;\n\t}\n\tbreadcrumbItems = Array(count).fill(0).map((x, i) => ({\n\t\tcontent: `${content} ${i + 1}`,\n\t\thref: \"#\" + (i + 1)\n\t}));\n\treturn breadcrumbItems;\n}"
79287
79369
  },
79288
79370
  {
79289
- "name": "Skeleton",
79371
+ "name": "CurrentPage",
79290
79372
  "ctype": "miscellaneous",
79291
79373
  "subtype": "variable",
79292
79374
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79293
79375
  "deprecated": false,
79294
79376
  "deprecationMessage": "",
79295
79377
  "type": "",
79296
- "defaultValue": "WithSkeleton.bind({})"
79378
+ "defaultValue": "CurrentPageTemplate.bind({})"
79297
79379
  },
79298
79380
  {
79299
- "name": "Template",
79381
+ "name": "CurrentPageTemplate",
79300
79382
  "ctype": "miscellaneous",
79301
79383
  "subtype": "variable",
79302
79384
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79303
79385
  "deprecated": false,
79304
79386
  "deprecationMessage": "",
79305
79387
  "type": "",
79306
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb [noTrailingSlash]=\"noTrailingSlash\">\n\t\t\t<cds-breadcrumb-item href=\"#1\">\n\t\t\t\tBreadcrumb 1\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#2\">\n\t\t\t\tBreadcrumb 2\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#3\">\n\t\t\t\tBreadcrumb 3\n\t\t\t</cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
79388
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb>\n\t\t\t<cds-breadcrumb-item href=\"#1\">\n\t\t\t\tBreadcrumb 1\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#2\">\n\t\t\t\tBreadcrumb 2\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item current=\"true\" href=\"#3\">\n\t\t\t\tBreadcrumb 3\n\t\t\t</cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
79307
79389
  },
79308
79390
  {
79309
- "name": "WithSkeleton",
79391
+ "name": "Model",
79310
79392
  "ctype": "miscellaneous",
79311
79393
  "subtype": "variable",
79312
79394
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79313
79395
  "deprecated": false,
79314
79396
  "deprecationMessage": "",
79315
79397
  "type": "",
79316
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb skeleton=\"true\" [noTrailingSlash]=\"noTrailingSlash\">\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
79398
+ "defaultValue": "ModelTemplate.bind({})"
79317
79399
  },
79318
79400
  {
79319
- "name": "withTemplate",
79401
+ "name": "ModelTemplate",
79320
79402
  "ctype": "miscellaneous",
79321
79403
  "subtype": "variable",
79322
79404
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79323
79405
  "deprecated": false,
79324
79406
  "deprecationMessage": "",
79325
79407
  "type": "",
79326
- "defaultValue": "(templateRef, items) => items.map(item => Object.assign(item, { template: templateRef }))"
79327
- }
79328
- ],
79329
- "src/button/button-set.stories.ts": [
79408
+ "defaultValue": "(args) => ({\n\tprops: {\n\t\t...args,\n\t\tcreateBreadcrumbItems\n\t},\n\ttemplate: `\n\t\t<cds-breadcrumb\n\t\t\t[noTrailingSlash]=\"noTrailingSlash\"\n\t\t\t[threshold]=\"threshold\"\n\t\t\t[items]=\"createBreadcrumbItems(itemCount, content)\">\n\t\t</cds-breadcrumb>\n\t`\n})"
79409
+ },
79330
79410
  {
79331
- "name": "Basic",
79411
+ "name": "ModelWithTemplate",
79332
79412
  "ctype": "miscellaneous",
79333
79413
  "subtype": "variable",
79334
- "file": "src/button/button-set.stories.ts",
79414
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79335
79415
  "deprecated": false,
79336
79416
  "deprecationMessage": "",
79337
79417
  "type": "",
79338
- "defaultValue": "Template.bind({})"
79418
+ "defaultValue": "ModelWTemplate.bind({})"
79339
79419
  },
79340
79420
  {
79341
- "name": "Template",
79421
+ "name": "ModelWTemplate",
79342
79422
  "ctype": "miscellaneous",
79343
79423
  "subtype": "variable",
79344
- "file": "src/button/button-set.stories.ts",
79424
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79345
79425
  "deprecated": false,
79346
79426
  "deprecationMessage": "",
79347
79427
  "type": "",
79348
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-button-set>\n\t\t\t<button cdsButton=\"secondary\" [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t\t<button cdsButton [size]=\"size\" [isExpressive]=\"isExpressive\">Button</button>\n\t\t</cds-button-set>\n\t`\n})"
79349
- }
79350
- ],
79351
- "src/button/button.stories.ts": [
79428
+ "defaultValue": "(args) => ({\n\tprops: {\n\t\t...args,\n\t\tcreateBreadcrumbItems,\n\t\twithTemplate\n\t},\n\ttemplate: `\n\t\t<ng-template #breadcrumbTemplate let-item>\n\t\t\t{{ templateContent }}{{ item.content }}\n\t\t</ng-template>\n\t\t<cds-breadcrumb\n\t\t\t[noTrailingSlash]=\"noTrailingSlash\"\n\t\t\t[threshold]=\"threshold\"\n\t\t\t[items]=\"withTemplate(breadcrumbTemplate, createBreadcrumbItems(itemCount, content))\">\n\t\t</cds-breadcrumb>\n\t`\n})"
79429
+ },
79352
79430
  {
79353
- "name": "Basic",
79431
+ "name": "Skeleton",
79354
79432
  "ctype": "miscellaneous",
79355
79433
  "subtype": "variable",
79356
- "file": "src/button/button.stories.ts",
79434
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79357
79435
  "deprecated": false,
79358
79436
  "deprecationMessage": "",
79359
79437
  "type": "",
79360
- "defaultValue": "Template.bind({})"
79438
+ "defaultValue": "WithSkeleton.bind({})"
79361
79439
  },
79362
79440
  {
79363
79441
  "name": "Template",
79364
79442
  "ctype": "miscellaneous",
79365
79443
  "subtype": "variable",
79366
- "file": "src/button/button.stories.ts",
79444
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79367
79445
  "deprecated": false,
79368
79446
  "deprecationMessage": "",
79369
79447
  "type": "",
79370
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseLeave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\tButton\n\t\t</button>\n\t`\n})"
79448
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb [noTrailingSlash]=\"noTrailingSlash\">\n\t\t\t<cds-breadcrumb-item href=\"#1\">\n\t\t\t\tBreadcrumb 1\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#2\">\n\t\t\t\tBreadcrumb 2\n\t\t\t</cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item href=\"#3\">\n\t\t\t\tBreadcrumb 3\n\t\t\t</cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
79371
79449
  },
79372
79450
  {
79373
- "name": "WithIcon",
79451
+ "name": "WithSkeleton",
79374
79452
  "ctype": "miscellaneous",
79375
79453
  "subtype": "variable",
79376
- "file": "src/button/button.stories.ts",
79454
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79377
79455
  "deprecated": false,
79378
79456
  "deprecationMessage": "",
79379
79457
  "type": "",
79380
- "defaultValue": "WithIconTemplate.bind({})"
79458
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-breadcrumb skeleton=\"true\" [noTrailingSlash]=\"noTrailingSlash\">\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t\t<cds-breadcrumb-item></cds-breadcrumb-item>\n\t\t</cds-breadcrumb>\n\t`\n})"
79381
79459
  },
79382
79460
  {
79383
- "name": "WithIconTemplate",
79461
+ "name": "withTemplate",
79384
79462
  "ctype": "miscellaneous",
79385
79463
  "subtype": "variable",
79386
- "file": "src/button/button.stories.ts",
79464
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79387
79465
  "deprecated": false,
79388
79466
  "deprecationMessage": "",
79389
79467
  "type": "",
79390
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseleave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\tWith icon\n\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n\t\t</button>\n\t`\n})"
79468
+ "defaultValue": "(templateRef, items) => items.map(item => Object.assign(item, { template: templateRef }))"
79391
79469
  }
79392
79470
  ],
79393
79471
  "src/checkbox/checkbox.stories.ts": [
@@ -80403,6 +80481,16 @@
80403
80481
  "type": "",
80404
80482
  "defaultValue": "Template.bind({})"
80405
80483
  },
80484
+ {
80485
+ "name": "IconTemplate",
80486
+ "ctype": "miscellaneous",
80487
+ "subtype": "variable",
80488
+ "file": "src/link/link.stories.ts",
80489
+ "deprecated": false,
80490
+ "deprecationMessage": "",
80491
+ "type": "",
80492
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<a\n\t\t\thref=\"#\"\n\t\t\tcdsLink\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[inline]=\"inline\">\n\t\t\tLink\n\t\t\t<svg cdsLinkIcon cdsIcon=\"close\" size=\"16\"></svg>\n\t\t</a>\n\t`\n})"
80493
+ },
80406
80494
  {
80407
80495
  "name": "Template",
80408
80496
  "ctype": "miscellaneous",
@@ -80412,6 +80500,16 @@
80412
80500
  "deprecationMessage": "",
80413
80501
  "type": "",
80414
80502
  "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<a href=\"#\" cdsLink [disabled]=\"disabled\" [inline]=\"inline\">link</a>\n\t`\n})"
80503
+ },
80504
+ {
80505
+ "name": "WithIcon",
80506
+ "ctype": "miscellaneous",
80507
+ "subtype": "variable",
80508
+ "file": "src/link/link.stories.ts",
80509
+ "deprecated": false,
80510
+ "deprecationMessage": "",
80511
+ "type": "",
80512
+ "defaultValue": "IconTemplate.bind({})"
80415
80513
  }
80416
80514
  ],
80417
80515
  "src/list/list.stories.ts": [
@@ -81112,440 +81210,440 @@
81112
81210
  "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-structured-list [condensed]=\"condensed\">\n\t\t\t<cds-list-header>\n\t\t\t\t<cds-list-column nowrap=\"true\">Column 1</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Column 2</cds-list-column>\n\t\t\t\t<cds-list-column>Column 3</cds-list-column>\n\t\t\t</cds-list-header>\n\t\t\t<cds-list-row>\n\t\t\t\t<cds-list-column>Row 1</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row One</cds-list-column>\n\t\t\t\t<cds-list-column>\n\t\t\t\t\tLorem ipsum dolor sit amet,\n\t\t\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n\t\t\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n\t\t\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n\t\t\t\t\tPellentesque vulputate nisl a porttitor interdum.\n\t\t\t\t</cds-list-column>\n\t\t\t</cds-list-row>\n\t\t\t<cds-list-row>\n\t\t\t\t<cds-list-column>Row 2</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Two</cds-list-column>\n\t\t\t\t<cds-list-column>\n\t\t\t\t\tLorem ipsum dolor sit amet,\n\t\t\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n\t\t\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n\t\t\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n\t\t\t\t\tPellentesque vulputate nisl a porttitor interdum.\n\t\t\t\t</cds-list-column>\n\t\t\t</cds-list-row>\n\t\t</cds-structured-list>\n\t`\n})"
81113
81211
  }
81114
81212
  ],
81115
- "src/table/table.stories.ts": [
81213
+ "src/tabs/tabs.stories.ts": [
81116
81214
  {
81117
81215
  "name": "Basic",
81118
81216
  "ctype": "miscellaneous",
81119
81217
  "subtype": "variable",
81120
- "file": "src/table/table.stories.ts",
81218
+ "file": "src/tabs/tabs.stories.ts",
81121
81219
  "deprecated": false,
81122
81220
  "deprecationMessage": "",
81123
81221
  "type": "",
81124
81222
  "defaultValue": "Template.bind({})"
81125
81223
  },
81126
81224
  {
81127
- "name": "DisabledRowsTemplate",
81225
+ "name": "BeforeAndAfter",
81128
81226
  "ctype": "miscellaneous",
81129
81227
  "subtype": "variable",
81130
- "file": "src/table/table.stories.ts",
81228
+ "file": "src/tabs/tabs.stories.ts",
81131
81229
  "deprecated": false,
81132
81230
  "deprecationMessage": "",
81133
81231
  "type": "",
81134
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<cds-table-toolbar [model]=\"model\" [batchText]=\"batchText\" #toolbar>\n\t\t\t\t<cds-table-toolbar-actions>\n\t\t\t\t\t<button cdsButton=\"primary\">\n\t\t\t\t\t\tDelete\n\t\t\t\t\t\t<svg cdsIcon=\"delete\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\">\n\t\t\t\t\t\tSave\n\t\t\t\t\t\t<svg cdsIcon=\"save\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\">\n\t\t\t\t\t\tDownload\n\t\t\t\t\t\t<svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-actions>\n\t\t\t\t<cds-table-toolbar-content *ngIf=\"!toolbar.selected\">\n\t\t\t\t\t<cds-table-toolbar-search [expandable]=\"true\"></cds-table-toolbar-search>\n\t\t\t\t\t<button cdsButton=\"ghost\" class=\"toolbar-action\">\n\t\t\t\t\t\t<svg cdsIcon=\"settings\" size=\"16\" class=\"cds--toolbar-action__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" size=\"sm\">\n\t\t\t\t\t\tPrimary button<svg cdsIcon=\"add\" size=\"20\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-content>\n\t\t\t</cds-table-toolbar>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-no-data-table.component.ts\n\t\t\t-->\n\t\t\t<app-no-data-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"lg\"\n\t\t\t\t[showSelectionColumn]=\"true\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-no-data-table>\n\t\t</cds-table-container>\n\t`\n})"
81232
+ "defaultValue": "BeforeAndAfterTemplate.bind({})"
81135
81233
  },
81136
81234
  {
81137
- "name": "DyanmicContentTemplate",
81235
+ "name": "BeforeAndAfterTemplate",
81138
81236
  "ctype": "miscellaneous",
81139
81237
  "subtype": "variable",
81140
- "file": "src/table/table.stories.ts",
81238
+ "file": "src/tabs/tabs.stories.ts",
81141
81239
  "deprecated": false,
81142
81240
  "deprecationMessage": "",
81143
81241
  "type": "",
81144
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-custom-table.component.ts\n\t\t\t-->\n\t\t\t<app-custom-table\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-custom-table>\n\t\t</cds-table-container>\n\t`\n})"
81242
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"font-weight: 600; padding-bottom: 10px; padding-top: 20px;\">before</div>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab heading=\"one\">foo</cds-tab>\n\t\t\t<cds-tab heading=\"two\">bar</cds-tab>\n\t\t\t<span before>content before</span>\n\t\t</cds-tabs>\n\t\t<div style=\"font-weight: 600; padding-bottom: 10px; padding-top: 20px;\">after</div>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab heading=\"one\">foo</cds-tab>\n\t\t\t<cds-tab heading=\"two\">bar</cds-tab>\n\t\t\t<span after>content after</span>\n\t\t</cds-tabs>\n\t\t<div style=\"font-weight: 600; padding-bottom: 10px; padding-top: 20px;\">both</div>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab heading=\"one\">foo</cds-tab>\n\t\t\t<cds-tab heading=\"two\">bar</cds-tab>\n\t\t\t<span before>content before</span>\n\t\t\t<span after>content after</span>\n\t\t</cds-tabs>\n\t`\n})"
81145
81243
  },
81146
81244
  {
81147
- "name": "emptyModel",
81245
+ "name": "Skeleton",
81148
81246
  "ctype": "miscellaneous",
81149
81247
  "subtype": "variable",
81150
- "file": "src/table/table.stories.ts",
81248
+ "file": "src/tabs/tabs.stories.ts",
81151
81249
  "deprecated": false,
81152
81250
  "deprecationMessage": "",
81153
81251
  "type": "",
81154
- "defaultValue": "new TableModel()"
81252
+ "defaultValue": "SkeletonTemplate.bind({})"
81155
81253
  },
81156
81254
  {
81157
- "name": "ExpansionTemplate",
81255
+ "name": "SkeletonTemplate",
81158
81256
  "ctype": "miscellaneous",
81159
81257
  "subtype": "variable",
81160
- "file": "src/table/table.stories.ts",
81258
+ "file": "src/tabs/tabs.stories.ts",
81161
81259
  "deprecated": false,
81162
81260
  "deprecationMessage": "",
81163
81261
  "type": "",
81164
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-expansion-table.component.ts\n\t\t\t-->\n\t\t\t<app-expansion-table\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\"\n\t\t\t\t[showExpandAllToggle]=\"showExpandAllToggle\">\n\t\t\t</app-expansion-table>\n\t\t</cds-table-container>\n\t`\n})"
81262
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs skeleton=\"true\">\n\t\t\t<cds-tab></cds-tab>\n\t\t\t<cds-tab></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<div style=\"margin-top: 5rem\">\n\t\t\t<p>Tab skeleton component for cds-tab-header-group:</p>\n\t\t\t<cds-tabs-skeleton></cds-tabs-skeleton>\n\t\t</div>\n\t`\n})"
81165
81263
  },
81166
81264
  {
81167
- "name": "Filtering",
81265
+ "name": "TabheaderGroup",
81168
81266
  "ctype": "miscellaneous",
81169
81267
  "subtype": "variable",
81170
- "file": "src/table/table.stories.ts",
81268
+ "file": "src/tabs/tabs.stories.ts",
81171
81269
  "deprecated": false,
81172
81270
  "deprecationMessage": "",
81173
81271
  "type": "",
81174
- "defaultValue": "FilteringTemplate.bind({})"
81272
+ "defaultValue": "TabHeaderGroupTemplate.bind({})"
81175
81273
  },
81176
81274
  {
81177
- "name": "FilteringOverriding",
81275
+ "name": "TabHeaderGroupTemplate",
81178
81276
  "ctype": "miscellaneous",
81179
81277
  "subtype": "variable",
81180
- "file": "src/table/table.stories.ts",
81278
+ "file": "src/tabs/tabs.stories.ts",
81181
81279
  "deprecated": false,
81182
81280
  "deprecationMessage": "",
81183
81281
  "type": "",
81184
- "defaultValue": "FilteringOverridingTemplate.bind({})"
81282
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/pagination/stories/pagination.component.ts\n\t\t-->\n\t\t<app-header-group\n\t\t\t[type]=\"type\"\n\t\t\t[followFocus]=\"followFocus\"\n\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t[isNavigation]=\"isNavigation\">\n\t\t</app-header-group>\n\t`\n})"
81185
81283
  },
81186
81284
  {
81187
- "name": "FilteringOverridingTemplate",
81285
+ "name": "Template",
81188
81286
  "ctype": "miscellaneous",
81189
81287
  "subtype": "variable",
81190
- "file": "src/table/table.stories.ts",
81288
+ "file": "src/tabs/tabs.stories.ts",
81191
81289
  "deprecated": false,
81192
81290
  "deprecationMessage": "",
81193
81291
  "type": "",
81194
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-function-override-filter-table.component.ts\n\t\t-->\n\t\t<app-function-override-filter-table\n\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t[striped]=\"striped\"\n\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t</app-function-override-filter-table>\n\t`\n})"
81292
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs\n\t\t\t[type]=\"type\"\n\t\t\t[followFocus]=\"followFocus\"\n\t\t\t[isNavigation]=\"isNavigation\"\n\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t<cds-tab heading=\"one\">Tab Content 1</cds-tab>\n\t\t\t<cds-tab heading=\"two\">Tab Content 2</cds-tab>\n\t\t\t<cds-tab heading=\"three\" [tabContent]=\"three\"></cds-tab>\n\t\t\t<cds-tab heading=\"four\" [tabContent]=\"four\"></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<!-- Use templates if you would like to have lifecycle hooks called when cacheActive is false -->\n\t\t<ng-template #three>\n\t\t\tTab Content 3\n\t\t</ng-template>\n\n\t\t<ng-template #four>\n\t\t\tTab Content 4\n\t\t</ng-template>\n\t`\n})"
81195
81293
  },
81196
81294
  {
81197
- "name": "FilteringTemplate",
81295
+ "name": "With",
81198
81296
  "ctype": "miscellaneous",
81199
81297
  "subtype": "variable",
81200
- "file": "src/table/table.stories.ts",
81298
+ "file": "src/tabs/tabs.stories.ts",
81201
81299
  "deprecated": false,
81202
81300
  "deprecationMessage": "",
81203
81301
  "type": "",
81204
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-model-filter-table.component.ts\n\t\t-->\n\t\t<app-model-filter-table\n\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t[striped]=\"striped\"\n\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t</app-model-filter-table>\n\t`\n})"
81302
+ "defaultValue": "WithTemplate.bind({})"
81205
81303
  },
81206
81304
  {
81207
- "name": "FromComponents",
81305
+ "name": "WithTemplate",
81208
81306
  "ctype": "miscellaneous",
81209
81307
  "subtype": "variable",
81210
- "file": "src/table/table.stories.ts",
81308
+ "file": "src/tabs/tabs.stories.ts",
81211
81309
  "deprecated": false,
81212
81310
  "deprecationMessage": "",
81213
81311
  "type": "",
81214
- "defaultValue": "FromComponentsTemplate.bind({})"
81215
- },
81312
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<ng-template #customTabs let-item>\n\t\t\t{{item ? item.name : \"wait for it\"}}\n\t\t</ng-template>\n\t\t<ng-template #iconTab>\n\t\t\t<div style=\"height: 14px;\">\n\t\t\t\tSomething custom\n\t\t\t\t<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"\n\t\t\t\tstyle=\"height: 14px; width: 14px; fill: #3d70b2;\">\n\t\t\t\t\t<path d=\"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"></path>\n\t\t\t\t\t<path d=\"M9 13H7V7h2z\"></path>\n\t\t\t\t\t<path d=\"M7 4a1 1 0 1 1 2 0 1 1 0 1 1-2 0\"></path>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab\n\t\t\t\t*ngFor=\"let item of data; let i = index;\"\n\t\t\t\t[heading]=\"customTabs\"\n\t\t\t\ttitle=\"Tab Content\"\n\t\t\t\t[context]=\"item\">\n\t\t\t\tTab Content {{i + 1}}\n\t\t\t</cds-tab>\n\t\t\t<cds-tab [heading]=\"iconTab\" title=\"Custom tab content\">Tab Content Custom</cds-tab>\n\t\t</cds-tabs>\n\t`\n})"
81313
+ }
81314
+ ],
81315
+ "src/tag/tag.stories.ts": [
81216
81316
  {
81217
- "name": "FromComponentsTemplate",
81317
+ "name": "Basic",
81218
81318
  "ctype": "miscellaneous",
81219
81319
  "subtype": "variable",
81220
- "file": "src/table/table.stories.ts",
81320
+ "file": "src/tag/tag.stories.ts",
81221
81321
  "deprecated": false,
81222
81322
  "deprecationMessage": "",
81223
81323
  "type": "",
81224
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<table cdsTable [sortable]=\"false\">\n\t\t\t<thead cdsTableHead>\n\t\t\t\t<tr>\n\t\t\t\t\t<th\n\t\t\t\t\t\tscope=\"col\"\n\t\t\t\t\t\tcdsTableHeadCell\n\t\t\t\t\t\t*ngFor=\"let column of model.header\"\n\t\t\t\t\t\t[column]=\"column\">\n\t\t\t\t\t</th>\n\t\t\t\t</tr>\n\t\t\t</thead>\n\t\t\t<tbody cdsTableBody>\n\t\t\t\t<tr\n\t\t\t\t\t*ngFor=\"let row of model.data\"\n\t\t\t\t\tcdsTableRow\n\t\t\t\t\t[row]=\"row\">\n\t\t\t\t\t<td\n\t\t\t\t\t\t*ngFor=\"let item of row; let j = index\"\n\t\t\t\t\t\tcdsTableData\n\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t[class]=\"model.header[j].className\"\n\t\t\t\t\t\t[ngStyle]=\"model.header[j].style\">\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t</table>\n\t`\n})"
81324
+ "defaultValue": "Template.bind({})"
81225
81325
  },
81226
81326
  {
81227
- "name": "getProps",
81327
+ "name": "Filter",
81228
81328
  "ctype": "miscellaneous",
81229
81329
  "subtype": "variable",
81230
- "file": "src/table/table.stories.ts",
81330
+ "file": "src/tag/tag.stories.ts",
81231
81331
  "deprecated": false,
81232
81332
  "deprecationMessage": "",
81233
81333
  "type": "",
81234
- "defaultValue": "(more = {}, type: \"args\" | \"argTypes\") => {\n\tconst defaultProps = type === \"args\" ? {\n\t\tmodel: simpleModel,\n\t\ttitle: \"Table title\",\n\t\tdescription: \"\",\n\t\tsize: \"md\",\n\t\tshowSelectionColumn: true,\n\t\tstriped: false,\n\t\tsortable: true,\n\t\tisDataGrid: true,\n\t\tstickyHeader: false,\n\t\tskeleton: false\n\t} : {\n\t\tsize: {\n\t\t\toptions: [\"xs\", \"sm\", \"md\", \"lg\", \"xl\"],\n\t\t\tcontrol: \"select\"\n\t\t}\n\t};\n\treturn { ...defaultProps, ...more };\n}"
81334
+ "defaultValue": "FilteredTemplate.bind({})"
81235
81335
  },
81236
81336
  {
81237
- "name": "NoDataTemplate",
81337
+ "name": "FilteredTemplate",
81238
81338
  "ctype": "miscellaneous",
81239
81339
  "subtype": "variable",
81240
- "file": "src/table/table.stories.ts",
81340
+ "file": "src/tag/tag.stories.ts",
81241
81341
  "deprecated": false,
81242
81342
  "deprecationMessage": "",
81243
81343
  "type": "",
81244
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle id=\"table-header\">{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription id=\"table-description\">{{description}}</p>\n\t\t\t</cds-table-header>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-no-data.component.ts\n\t\t\t-->\n\t\t\t<app-no-data-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\tariaLabelledby=\"table-header\"\n\t\t\t\tariaDescribedby=\"table-description\">\n\t\t\t\t<tbody><tr><td class=\"no-data\" colspan=\"3\"><div>No data.</div></td></tr></tbody>\n\t\t\t</app-no-data-table>\n\t\t</cds-table-container>\n\t`,\n\tstyles: [`\n\t\t.no-data {\n\t\t\twidth: 100%;\n\t\t\theight: 150px;\n\t\t\ttext-align: center;\n\t\t}\n\t`]\n})"
81344
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag-filter\n\t\t\t[type]=\"type\"\n\t\t\t[size]=\"size\"\n\t\t\ttitle=\"Filter\"\n\t\t\tcloseButtonLabel=\"Clear\">\n\t\t\tfilter\n\t\t</cds-tag-filter>\n\t`\n})"
81245
81345
  },
81246
81346
  {
81247
- "name": "OverflowMenuTemplate",
81347
+ "name": "Template",
81248
81348
  "ctype": "miscellaneous",
81249
81349
  "subtype": "variable",
81250
- "file": "src/table/table.stories.ts",
81350
+ "file": "src/tag/tag.stories.ts",
81251
81351
  "deprecated": false,
81252
81352
  "deprecationMessage": "",
81253
81353
  "type": "",
81254
- "defaultValue": "(args) => ({\n\tprops: {\n\t\t...getProps({\n\t\t\tdescription: \"With overflow menu\"\n\t\t}, \"args\")\n\t},\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-overflow-table.component.ts\n\t\t\t-->\n\t\t\t<app-overflow-table\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-overflow-table>\n\t\t</cds-table-container>\n\t`\n})"
81255
- },
81354
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
81355
+ }
81356
+ ],
81357
+ "src/table/table.stories.ts": [
81256
81358
  {
81257
- "name": "PaginationTemplate",
81359
+ "name": "Basic",
81258
81360
  "ctype": "miscellaneous",
81259
81361
  "subtype": "variable",
81260
81362
  "file": "src/table/table.stories.ts",
81261
81363
  "deprecated": false,
81262
81364
  "deprecationMessage": "",
81263
81365
  "type": "",
81264
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-pagination-table.component.ts\n\t\t\t-->\n\t\t\t<app-pagination-table\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[totalDataLength]=\"totalDataLength\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[model]=\"model\">\n\t\t\t</app-pagination-table>\n\t\t</cds-table-container>\n\t`\n})"
81366
+ "defaultValue": "Template.bind({})"
81265
81367
  },
81266
81368
  {
81267
- "name": "simpleModel",
81369
+ "name": "DisabledRowsTemplate",
81268
81370
  "ctype": "miscellaneous",
81269
81371
  "subtype": "variable",
81270
81372
  "file": "src/table/table.stories.ts",
81271
81373
  "deprecated": false,
81272
81374
  "deprecationMessage": "",
81273
81375
  "type": "",
81274
- "defaultValue": "new TableModel()"
81376
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<cds-table-toolbar [model]=\"model\" [batchText]=\"batchText\" #toolbar>\n\t\t\t\t<cds-table-toolbar-actions>\n\t\t\t\t\t<button cdsButton=\"primary\">\n\t\t\t\t\t\tDelete\n\t\t\t\t\t\t<svg cdsIcon=\"delete\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\">\n\t\t\t\t\t\tSave\n\t\t\t\t\t\t<svg cdsIcon=\"save\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\">\n\t\t\t\t\t\tDownload\n\t\t\t\t\t\t<svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-actions>\n\t\t\t\t<cds-table-toolbar-content *ngIf=\"!toolbar.selected\">\n\t\t\t\t\t<cds-table-toolbar-search [expandable]=\"true\"></cds-table-toolbar-search>\n\t\t\t\t\t<button cdsButton=\"ghost\" class=\"toolbar-action\">\n\t\t\t\t\t\t<svg cdsIcon=\"settings\" size=\"16\" class=\"cds--toolbar-action__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" size=\"sm\">\n\t\t\t\t\t\tPrimary button<svg cdsIcon=\"add\" size=\"20\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-content>\n\t\t\t</cds-table-toolbar>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-no-data-table.component.ts\n\t\t\t-->\n\t\t\t<app-no-data-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"lg\"\n\t\t\t\t[showSelectionColumn]=\"true\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-no-data-table>\n\t\t</cds-table-container>\n\t`\n})"
81275
81377
  },
81276
81378
  {
81277
- "name": "Skeleton",
81379
+ "name": "DyanmicContentTemplate",
81278
81380
  "ctype": "miscellaneous",
81279
81381
  "subtype": "variable",
81280
81382
  "file": "src/table/table.stories.ts",
81281
81383
  "deprecated": false,
81282
81384
  "deprecationMessage": "",
81283
81385
  "type": "",
81284
- "defaultValue": "SkeletonTemplate.bind({})"
81386
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-custom-table.component.ts\n\t\t\t-->\n\t\t\t<app-custom-table\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-custom-table>\n\t\t</cds-table-container>\n\t`\n})"
81285
81387
  },
81286
81388
  {
81287
- "name": "SkeletonTemplate",
81389
+ "name": "emptyModel",
81288
81390
  "ctype": "miscellaneous",
81289
81391
  "subtype": "variable",
81290
81392
  "file": "src/table/table.stories.ts",
81291
81393
  "deprecated": false,
81292
81394
  "deprecationMessage": "",
81293
81395
  "type": "",
81294
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-skeleton-table.component.ts\n\t\t-->\n\t\t<app-skeleton-table\n\t\t\t[skeletonModel]=\"skeletonModel\"\n\t\t\t[size]=\"size\"\n\t\t\t[striped]=\"striped\">\n\t\t</app-skeleton-table>\n\t`\n})"
81396
+ "defaultValue": "new TableModel()"
81295
81397
  },
81296
81398
  {
81297
- "name": "Template",
81399
+ "name": "ExpansionTemplate",
81298
81400
  "ctype": "miscellaneous",
81299
81401
  "subtype": "variable",
81300
81402
  "file": "src/table/table.stories.ts",
81301
81403
  "deprecated": false,
81302
81404
  "deprecationMessage": "",
81303
81405
  "type": "",
81304
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-table>\n\t\t</cds-table-container>\n\t`\n})"
81406
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-expansion-table.component.ts\n\t\t\t-->\n\t\t\t<app-expansion-table\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\"\n\t\t\t\t[showExpandAllToggle]=\"showExpandAllToggle\">\n\t\t\t</app-expansion-table>\n\t\t</cds-table-container>\n\t`\n})"
81305
81407
  },
81306
81408
  {
81307
- "name": "ToolbarTemplate",
81409
+ "name": "Filtering",
81308
81410
  "ctype": "miscellaneous",
81309
81411
  "subtype": "variable",
81310
81412
  "file": "src/table/table.stories.ts",
81311
81413
  "deprecated": false,
81312
81414
  "deprecationMessage": "",
81313
81415
  "type": "",
81314
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<cds-table-toolbar\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[batchText]=\"batchText\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t(cancel)=\"cancelMethod()\"\n\t\t\t\t#toolbar>\n\t\t\t\t<cds-table-toolbar-actions>\n\t\t\t\t\t<button cdsButton=\"primary\" [tabindex]=\"toolbar.selected ? 0 : -1\">\n\t\t\t\t\t\tDelete\n\t\t\t\t\t\t<svg cdsIcon=\"trash-can\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" [tabindex]=\"toolbar.selected ? 0 : -1\">\n\t\t\t\t\t\tSave\n\t\t\t\t\t\t<svg cdsIcon=\"save\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" [tabindex]=\"toolbar.selected ? 0 : -1\">\n\t\t\t\t\t\tDownload\n\t\t\t\t\t\t<svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-actions>\n\t\t\t\t<cds-table-toolbar-content *ngIf=\"!toolbar.selected\">\n\t\t\t\t\t<cds-table-toolbar-search\n\t\t\t\t\t\tngDefaultControl\n\t\t\t\t\t\t[expandable]=\"searchExpandable\"\n\t\t\t\t\t\t[(ngModel)]=\"searchModel\">\n\t\t\t\t\t</cds-table-toolbar-search>\n\t\t\t\t\t<cds-overflow-menu\n\t\t\t\t\t\ttriggerClass=\"cds--toolbar-action\"\n\t\t\t\t\t\t[customTrigger]=\"customTrigger\"\n\t\t\t\t\t\tplacement=\"bottom\"\n\t\t\t\t\t\t[offset]=\"size === 'sm' ? null : offset\">\n\t\t\t\t\t\t<cds-overflow-menu-option>Option 1</cds-overflow-menu-option>\n\t\t\t\t\t\t<cds-overflow-menu-option>Option 2</cds-overflow-menu-option>\n\t\t\t\t\t\t<cds-overflow-menu-option disabled=\"true\">Disabled</cds-overflow-menu-option>\n\t\t\t\t\t\t<cds-overflow-menu-option type=\"danger\">Danger option</cds-overflow-menu-option>\n\t\t\t\t\t</cds-overflow-menu>\n\t\t\t\t\t<button cdsButton=\"primary\" size=\"sm\" [tabindex]=\"toolbar.selected ? -1 : 0\">\n\t\t\t\t\t\tPrimary button<svg cdsIcon=\"add\" size=\"20\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-content>\n\t\t\t</cds-table-toolbar>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-table>\n\t\t\t<ng-template #customTrigger><svg cdsIcon=\"settings\" size=\"16\"></svg></ng-template>\n\t\t</cds-table-container>\n\t`\n})"
81416
+ "defaultValue": "FilteringTemplate.bind({})"
81315
81417
  },
81316
81418
  {
81317
- "name": "WithDisabledRows",
81419
+ "name": "FilteringOverriding",
81318
81420
  "ctype": "miscellaneous",
81319
81421
  "subtype": "variable",
81320
81422
  "file": "src/table/table.stories.ts",
81321
81423
  "deprecated": false,
81322
81424
  "deprecationMessage": "",
81323
81425
  "type": "",
81324
- "defaultValue": "DisabledRowsTemplate.bind({})"
81426
+ "defaultValue": "FilteringOverridingTemplate.bind({})"
81325
81427
  },
81326
81428
  {
81327
- "name": "WithDynamicContent",
81429
+ "name": "FilteringOverridingTemplate",
81328
81430
  "ctype": "miscellaneous",
81329
81431
  "subtype": "variable",
81330
81432
  "file": "src/table/table.stories.ts",
81331
81433
  "deprecated": false,
81332
81434
  "deprecationMessage": "",
81333
81435
  "type": "",
81334
- "defaultValue": "DyanmicContentTemplate.bind({})"
81436
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-function-override-filter-table.component.ts\n\t\t-->\n\t\t<app-function-override-filter-table\n\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t[striped]=\"striped\"\n\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t</app-function-override-filter-table>\n\t`\n})"
81335
81437
  },
81336
81438
  {
81337
- "name": "WithExpansion",
81439
+ "name": "FilteringTemplate",
81338
81440
  "ctype": "miscellaneous",
81339
81441
  "subtype": "variable",
81340
81442
  "file": "src/table/table.stories.ts",
81341
81443
  "deprecated": false,
81342
81444
  "deprecationMessage": "",
81343
81445
  "type": "",
81344
- "defaultValue": "ExpansionTemplate.bind({})"
81446
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-model-filter-table.component.ts\n\t\t-->\n\t\t<app-model-filter-table\n\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t[striped]=\"striped\"\n\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t</app-model-filter-table>\n\t`\n})"
81345
81447
  },
81346
81448
  {
81347
- "name": "WithoutActionTemplate",
81449
+ "name": "FromComponents",
81348
81450
  "ctype": "miscellaneous",
81349
81451
  "subtype": "variable",
81350
81452
  "file": "src/table/table.stories.ts",
81351
81453
  "deprecated": false,
81352
81454
  "deprecationMessage": "",
81353
81455
  "type": "",
81354
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle id=\"table-header\">{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription id=\"table-description\">{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<cds-table-toolbar>\n\t\t\t\t<cds-table-toolbar-content>\n\t\t\t\t\t<cds-table-toolbar-search [expandable]=\"true\"></cds-table-toolbar-search>\n\t\t\t\t\t<button cdsButton=\"ghost\" class=\"toolbar-action\">\n\t\t\t\t\t\t<svg cdsIcon=\"settings\" size=\"16\" class=\"cds--toolbar-action__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" size=\"sm\">\n\t\t\t\t\t\tPrimary button<svg cdsIcon=\"add\" size=\"20\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-content>\n\t\t\t</cds-table-toolbar>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\"\n\t\t\t\tariaLabelledby=\"table-header\"\n\t\t\t\tariaDescribedby=\"table-description\">\n\t\t\t</app-table>\n\t\t</cds-table-container>\n\t`\n})"
81456
+ "defaultValue": "FromComponentsTemplate.bind({})"
81355
81457
  },
81356
81458
  {
81357
- "name": "WithoutData",
81459
+ "name": "FromComponentsTemplate",
81358
81460
  "ctype": "miscellaneous",
81359
81461
  "subtype": "variable",
81360
81462
  "file": "src/table/table.stories.ts",
81361
81463
  "deprecated": false,
81362
81464
  "deprecationMessage": "",
81363
81465
  "type": "",
81364
- "defaultValue": "NoDataTemplate.bind({})"
81466
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<table cdsTable [sortable]=\"false\">\n\t\t\t<thead cdsTableHead>\n\t\t\t\t<tr>\n\t\t\t\t\t<th\n\t\t\t\t\t\tscope=\"col\"\n\t\t\t\t\t\tcdsTableHeadCell\n\t\t\t\t\t\t*ngFor=\"let column of model.header\"\n\t\t\t\t\t\t[column]=\"column\">\n\t\t\t\t\t</th>\n\t\t\t\t</tr>\n\t\t\t</thead>\n\t\t\t<tbody cdsTableBody>\n\t\t\t\t<tr\n\t\t\t\t\t*ngFor=\"let row of model.data\"\n\t\t\t\t\tcdsTableRow\n\t\t\t\t\t[row]=\"row\">\n\t\t\t\t\t<td\n\t\t\t\t\t\t*ngFor=\"let item of row; let j = index\"\n\t\t\t\t\t\tcdsTableData\n\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t[class]=\"model.header[j].className\"\n\t\t\t\t\t\t[ngStyle]=\"model.header[j].style\">\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t</table>\n\t`\n})"
81365
81467
  },
81366
81468
  {
81367
- "name": "WithOverflowMenu",
81469
+ "name": "getProps",
81368
81470
  "ctype": "miscellaneous",
81369
81471
  "subtype": "variable",
81370
81472
  "file": "src/table/table.stories.ts",
81371
81473
  "deprecated": false,
81372
81474
  "deprecationMessage": "",
81373
81475
  "type": "",
81374
- "defaultValue": "OverflowMenuTemplate.bind({})"
81476
+ "defaultValue": "(more = {}, type: \"args\" | \"argTypes\") => {\n\tconst defaultProps = type === \"args\" ? {\n\t\tmodel: simpleModel,\n\t\ttitle: \"Table title\",\n\t\tdescription: \"\",\n\t\tsize: \"md\",\n\t\tshowSelectionColumn: true,\n\t\tstriped: false,\n\t\tsortable: true,\n\t\tisDataGrid: true,\n\t\tstickyHeader: false,\n\t\tskeleton: false\n\t} : {\n\t\tsize: {\n\t\t\toptions: [\"xs\", \"sm\", \"md\", \"lg\", \"xl\"],\n\t\t\tcontrol: \"select\"\n\t\t}\n\t};\n\treturn { ...defaultProps, ...more };\n}"
81375
81477
  },
81376
81478
  {
81377
- "name": "WithPagination",
81479
+ "name": "NoDataTemplate",
81378
81480
  "ctype": "miscellaneous",
81379
81481
  "subtype": "variable",
81380
81482
  "file": "src/table/table.stories.ts",
81381
81483
  "deprecated": false,
81382
81484
  "deprecationMessage": "",
81383
81485
  "type": "",
81384
- "defaultValue": "PaginationTemplate.bind({})"
81486
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle id=\"table-header\">{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription id=\"table-description\">{{description}}</p>\n\t\t\t</cds-table-header>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-no-data.component.ts\n\t\t\t-->\n\t\t\t<app-no-data-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\tariaLabelledby=\"table-header\"\n\t\t\t\tariaDescribedby=\"table-description\">\n\t\t\t\t<tbody><tr><td class=\"no-data\" colspan=\"3\"><div>No data.</div></td></tr></tbody>\n\t\t\t</app-no-data-table>\n\t\t</cds-table-container>\n\t`,\n\tstyles: [`\n\t\t.no-data {\n\t\t\twidth: 100%;\n\t\t\theight: 150px;\n\t\t\ttext-align: center;\n\t\t}\n\t`]\n})"
81385
81487
  },
81386
81488
  {
81387
- "name": "WithToolbar",
81489
+ "name": "OverflowMenuTemplate",
81388
81490
  "ctype": "miscellaneous",
81389
81491
  "subtype": "variable",
81390
81492
  "file": "src/table/table.stories.ts",
81391
81493
  "deprecated": false,
81392
81494
  "deprecationMessage": "",
81393
81495
  "type": "",
81394
- "defaultValue": "ToolbarTemplate.bind({})"
81496
+ "defaultValue": "(args) => ({\n\tprops: {\n\t\t...getProps({\n\t\t\tdescription: \"With overflow menu\"\n\t\t}, \"args\")\n\t},\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-overflow-table.component.ts\n\t\t\t-->\n\t\t\t<app-overflow-table\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-overflow-table>\n\t\t</cds-table-container>\n\t`\n})"
81395
81497
  },
81396
81498
  {
81397
- "name": "WithToolbarWithoutToolbarAction",
81499
+ "name": "PaginationTemplate",
81398
81500
  "ctype": "miscellaneous",
81399
81501
  "subtype": "variable",
81400
81502
  "file": "src/table/table.stories.ts",
81401
81503
  "deprecated": false,
81402
81504
  "deprecationMessage": "",
81403
81505
  "type": "",
81404
- "defaultValue": "WithoutActionTemplate.bind({})"
81405
- }
81406
- ],
81407
- "src/tabs/tabs.stories.ts": [
81506
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-pagination-table.component.ts\n\t\t\t-->\n\t\t\t<app-pagination-table\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[totalDataLength]=\"totalDataLength\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[model]=\"model\">\n\t\t\t</app-pagination-table>\n\t\t</cds-table-container>\n\t`\n})"
81507
+ },
81408
81508
  {
81409
- "name": "Basic",
81509
+ "name": "simpleModel",
81410
81510
  "ctype": "miscellaneous",
81411
81511
  "subtype": "variable",
81412
- "file": "src/tabs/tabs.stories.ts",
81512
+ "file": "src/table/table.stories.ts",
81413
81513
  "deprecated": false,
81414
81514
  "deprecationMessage": "",
81415
81515
  "type": "",
81416
- "defaultValue": "Template.bind({})"
81516
+ "defaultValue": "new TableModel()"
81417
81517
  },
81418
81518
  {
81419
- "name": "BeforeAndAfter",
81519
+ "name": "Skeleton",
81420
81520
  "ctype": "miscellaneous",
81421
81521
  "subtype": "variable",
81422
- "file": "src/tabs/tabs.stories.ts",
81522
+ "file": "src/table/table.stories.ts",
81423
81523
  "deprecated": false,
81424
81524
  "deprecationMessage": "",
81425
81525
  "type": "",
81426
- "defaultValue": "BeforeAndAfterTemplate.bind({})"
81526
+ "defaultValue": "SkeletonTemplate.bind({})"
81427
81527
  },
81428
81528
  {
81429
- "name": "BeforeAndAfterTemplate",
81529
+ "name": "SkeletonTemplate",
81430
81530
  "ctype": "miscellaneous",
81431
81531
  "subtype": "variable",
81432
- "file": "src/tabs/tabs.stories.ts",
81532
+ "file": "src/table/table.stories.ts",
81433
81533
  "deprecated": false,
81434
81534
  "deprecationMessage": "",
81435
81535
  "type": "",
81436
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"font-weight: 600; padding-bottom: 10px; padding-top: 20px;\">before</div>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab heading=\"one\">foo</cds-tab>\n\t\t\t<cds-tab heading=\"two\">bar</cds-tab>\n\t\t\t<span before>content before</span>\n\t\t</cds-tabs>\n\t\t<div style=\"font-weight: 600; padding-bottom: 10px; padding-top: 20px;\">after</div>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab heading=\"one\">foo</cds-tab>\n\t\t\t<cds-tab heading=\"two\">bar</cds-tab>\n\t\t\t<span after>content after</span>\n\t\t</cds-tabs>\n\t\t<div style=\"font-weight: 600; padding-bottom: 10px; padding-top: 20px;\">both</div>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab heading=\"one\">foo</cds-tab>\n\t\t\t<cds-tab heading=\"two\">bar</cds-tab>\n\t\t\t<span before>content before</span>\n\t\t\t<span after>content after</span>\n\t\t</cds-tabs>\n\t`\n})"
81536
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-skeleton-table.component.ts\n\t\t-->\n\t\t<app-skeleton-table\n\t\t\t[skeletonModel]=\"skeletonModel\"\n\t\t\t[size]=\"size\"\n\t\t\t[striped]=\"striped\">\n\t\t</app-skeleton-table>\n\t`\n})"
81437
81537
  },
81438
81538
  {
81439
- "name": "Skeleton",
81539
+ "name": "Template",
81440
81540
  "ctype": "miscellaneous",
81441
81541
  "subtype": "variable",
81442
- "file": "src/tabs/tabs.stories.ts",
81542
+ "file": "src/table/table.stories.ts",
81443
81543
  "deprecated": false,
81444
81544
  "deprecationMessage": "",
81445
81545
  "type": "",
81446
- "defaultValue": "SkeletonTemplate.bind({})"
81546
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-table>\n\t\t</cds-table-container>\n\t`\n})"
81447
81547
  },
81448
81548
  {
81449
- "name": "SkeletonTemplate",
81549
+ "name": "ToolbarTemplate",
81450
81550
  "ctype": "miscellaneous",
81451
81551
  "subtype": "variable",
81452
- "file": "src/tabs/tabs.stories.ts",
81552
+ "file": "src/table/table.stories.ts",
81453
81553
  "deprecated": false,
81454
81554
  "deprecationMessage": "",
81455
81555
  "type": "",
81456
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs skeleton=\"true\">\n\t\t\t<cds-tab></cds-tab>\n\t\t\t<cds-tab></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<div style=\"margin-top: 5rem\">\n\t\t\t<p>Tab skeleton component for cds-tab-header-group:</p>\n\t\t\t<cds-tabs-skeleton></cds-tabs-skeleton>\n\t\t</div>\n\t`\n})"
81556
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle>{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription>{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<cds-table-toolbar\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[batchText]=\"batchText\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t(cancel)=\"cancelMethod()\"\n\t\t\t\t#toolbar>\n\t\t\t\t<cds-table-toolbar-actions>\n\t\t\t\t\t<button cdsButton=\"primary\" [tabindex]=\"toolbar.selected ? 0 : -1\">\n\t\t\t\t\t\tDelete\n\t\t\t\t\t\t<svg cdsIcon=\"trash-can\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" [tabindex]=\"toolbar.selected ? 0 : -1\">\n\t\t\t\t\t\tSave\n\t\t\t\t\t\t<svg cdsIcon=\"save\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" [tabindex]=\"toolbar.selected ? 0 : -1\">\n\t\t\t\t\t\tDownload\n\t\t\t\t\t\t<svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-actions>\n\t\t\t\t<cds-table-toolbar-content *ngIf=\"!toolbar.selected\">\n\t\t\t\t\t<cds-table-toolbar-search\n\t\t\t\t\t\tngDefaultControl\n\t\t\t\t\t\t[expandable]=\"searchExpandable\"\n\t\t\t\t\t\t[(ngModel)]=\"searchModel\">\n\t\t\t\t\t</cds-table-toolbar-search>\n\t\t\t\t\t<cds-overflow-menu\n\t\t\t\t\t\ttriggerClass=\"cds--toolbar-action\"\n\t\t\t\t\t\t[customTrigger]=\"customTrigger\"\n\t\t\t\t\t\tplacement=\"bottom\"\n\t\t\t\t\t\t[offset]=\"size === 'sm' ? null : offset\">\n\t\t\t\t\t\t<cds-overflow-menu-option>Option 1</cds-overflow-menu-option>\n\t\t\t\t\t\t<cds-overflow-menu-option>Option 2</cds-overflow-menu-option>\n\t\t\t\t\t\t<cds-overflow-menu-option disabled=\"true\">Disabled</cds-overflow-menu-option>\n\t\t\t\t\t\t<cds-overflow-menu-option type=\"danger\">Danger option</cds-overflow-menu-option>\n\t\t\t\t\t</cds-overflow-menu>\n\t\t\t\t\t<button cdsButton=\"primary\" size=\"sm\" [tabindex]=\"toolbar.selected ? -1 : 0\">\n\t\t\t\t\t\tPrimary button<svg cdsIcon=\"add\" size=\"20\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-content>\n\t\t\t</cds-table-toolbar>\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\">\n\t\t\t</app-table>\n\t\t\t<ng-template #customTrigger><svg cdsIcon=\"settings\" size=\"16\"></svg></ng-template>\n\t\t</cds-table-container>\n\t`\n})"
81457
81557
  },
81458
81558
  {
81459
- "name": "TabheaderGroup",
81559
+ "name": "WithDisabledRows",
81460
81560
  "ctype": "miscellaneous",
81461
81561
  "subtype": "variable",
81462
- "file": "src/tabs/tabs.stories.ts",
81562
+ "file": "src/table/table.stories.ts",
81463
81563
  "deprecated": false,
81464
81564
  "deprecationMessage": "",
81465
81565
  "type": "",
81466
- "defaultValue": "TabHeaderGroupTemplate.bind({})"
81566
+ "defaultValue": "DisabledRowsTemplate.bind({})"
81467
81567
  },
81468
81568
  {
81469
- "name": "TabHeaderGroupTemplate",
81569
+ "name": "WithDynamicContent",
81470
81570
  "ctype": "miscellaneous",
81471
81571
  "subtype": "variable",
81472
- "file": "src/tabs/tabs.stories.ts",
81572
+ "file": "src/table/table.stories.ts",
81473
81573
  "deprecated": false,
81474
81574
  "deprecationMessage": "",
81475
81575
  "type": "",
81476
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/pagination/stories/pagination.component.ts\n\t\t-->\n\t\t<app-header-group\n\t\t\t[type]=\"type\"\n\t\t\t[followFocus]=\"followFocus\"\n\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t[isNavigation]=\"isNavigation\">\n\t\t</app-header-group>\n\t`\n})"
81576
+ "defaultValue": "DyanmicContentTemplate.bind({})"
81477
81577
  },
81478
81578
  {
81479
- "name": "Template",
81579
+ "name": "WithExpansion",
81480
81580
  "ctype": "miscellaneous",
81481
81581
  "subtype": "variable",
81482
- "file": "src/tabs/tabs.stories.ts",
81582
+ "file": "src/table/table.stories.ts",
81483
81583
  "deprecated": false,
81484
81584
  "deprecationMessage": "",
81485
81585
  "type": "",
81486
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tabs\n\t\t\t[type]=\"type\"\n\t\t\t[followFocus]=\"followFocus\"\n\t\t\t[isNavigation]=\"isNavigation\"\n\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t<cds-tab heading=\"one\">Tab Content 1</cds-tab>\n\t\t\t<cds-tab heading=\"two\">Tab Content 2</cds-tab>\n\t\t\t<cds-tab heading=\"three\" [tabContent]=\"three\"></cds-tab>\n\t\t\t<cds-tab heading=\"four\" [tabContent]=\"four\"></cds-tab>\n\t\t</cds-tabs>\n\n\t\t<!-- Use templates if you would like to have lifecycle hooks called when cacheActive is false -->\n\t\t<ng-template #three>\n\t\t\tTab Content 3\n\t\t</ng-template>\n\n\t\t<ng-template #four>\n\t\t\tTab Content 4\n\t\t</ng-template>\n\t`\n})"
81586
+ "defaultValue": "ExpansionTemplate.bind({})"
81487
81587
  },
81488
81588
  {
81489
- "name": "With",
81589
+ "name": "WithoutActionTemplate",
81490
81590
  "ctype": "miscellaneous",
81491
81591
  "subtype": "variable",
81492
- "file": "src/tabs/tabs.stories.ts",
81592
+ "file": "src/table/table.stories.ts",
81493
81593
  "deprecated": false,
81494
81594
  "deprecationMessage": "",
81495
81595
  "type": "",
81496
- "defaultValue": "WithTemplate.bind({})"
81596
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-table-container>\n\t\t\t<cds-table-header>\n\t\t\t\t<h4 cdsTableHeaderTitle id=\"table-header\">{{title}}</h4>\n\t\t\t\t<p cdsTableHeaderDescription id=\"table-description\">{{description}}</p>\n\t\t\t</cds-table-header>\n\t\t\t<cds-table-toolbar>\n\t\t\t\t<cds-table-toolbar-content>\n\t\t\t\t\t<cds-table-toolbar-search [expandable]=\"true\"></cds-table-toolbar-search>\n\t\t\t\t\t<button cdsButton=\"ghost\" class=\"toolbar-action\">\n\t\t\t\t\t\t<svg cdsIcon=\"settings\" size=\"16\" class=\"cds--toolbar-action__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button cdsButton=\"primary\" size=\"sm\">\n\t\t\t\t\t\tPrimary button<svg cdsIcon=\"add\" size=\"20\" class=\"cds--btn__icon\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-table-toolbar-content>\n\t\t\t</cds-table-toolbar>\n\n\t\t\t<!--\n\t\t\tapp-* components are for demo purposes only.\n\t\t\tYou can create your own implementation by using the component source found at:\n\t\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/table/stories/app-table.component.ts\n\t\t\t-->\n\t\t\t<app-table\n\t\t\t\t[model]=\"model\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t[stickyHeader]=\"stickyHeader\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[striped]=\"striped\"\n\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t[isDataGrid]=\"isDataGrid\"\n\t\t\t\tariaLabelledby=\"table-header\"\n\t\t\t\tariaDescribedby=\"table-description\">\n\t\t\t</app-table>\n\t\t</cds-table-container>\n\t`\n})"
81497
81597
  },
81498
81598
  {
81499
- "name": "WithTemplate",
81599
+ "name": "WithoutData",
81500
81600
  "ctype": "miscellaneous",
81501
81601
  "subtype": "variable",
81502
- "file": "src/tabs/tabs.stories.ts",
81602
+ "file": "src/table/table.stories.ts",
81503
81603
  "deprecated": false,
81504
81604
  "deprecationMessage": "",
81505
81605
  "type": "",
81506
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<ng-template #customTabs let-item>\n\t\t\t{{item ? item.name : \"wait for it\"}}\n\t\t</ng-template>\n\t\t<ng-template #iconTab>\n\t\t\t<div style=\"height: 14px;\">\n\t\t\t\tSomething custom\n\t\t\t\t<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"\n\t\t\t\tstyle=\"height: 14px; width: 14px; fill: #3d70b2;\">\n\t\t\t\t\t<path d=\"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z\"></path>\n\t\t\t\t\t<path d=\"M9 13H7V7h2z\"></path>\n\t\t\t\t\t<path d=\"M7 4a1 1 0 1 1 2 0 1 1 0 1 1-2 0\"></path>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<cds-tabs [type]=\"type\" [followFocus]=\"followFocus\" [isNavigation]=\"isNavigation\">\n\t\t\t<cds-tab\n\t\t\t\t*ngFor=\"let item of data; let i = index;\"\n\t\t\t\t[heading]=\"customTabs\"\n\t\t\t\ttitle=\"Tab Content\"\n\t\t\t\t[context]=\"item\">\n\t\t\t\tTab Content {{i + 1}}\n\t\t\t</cds-tab>\n\t\t\t<cds-tab [heading]=\"iconTab\" title=\"Custom tab content\">Tab Content Custom</cds-tab>\n\t\t</cds-tabs>\n\t`\n})"
81507
- }
81508
- ],
81509
- "src/tag/tag.stories.ts": [
81606
+ "defaultValue": "NoDataTemplate.bind({})"
81607
+ },
81510
81608
  {
81511
- "name": "Basic",
81609
+ "name": "WithOverflowMenu",
81512
81610
  "ctype": "miscellaneous",
81513
81611
  "subtype": "variable",
81514
- "file": "src/tag/tag.stories.ts",
81612
+ "file": "src/table/table.stories.ts",
81515
81613
  "deprecated": false,
81516
81614
  "deprecationMessage": "",
81517
81615
  "type": "",
81518
- "defaultValue": "Template.bind({})"
81616
+ "defaultValue": "OverflowMenuTemplate.bind({})"
81519
81617
  },
81520
81618
  {
81521
- "name": "Filter",
81619
+ "name": "WithPagination",
81522
81620
  "ctype": "miscellaneous",
81523
81621
  "subtype": "variable",
81524
- "file": "src/tag/tag.stories.ts",
81622
+ "file": "src/table/table.stories.ts",
81525
81623
  "deprecated": false,
81526
81624
  "deprecationMessage": "",
81527
81625
  "type": "",
81528
- "defaultValue": "FilteredTemplate.bind({})"
81626
+ "defaultValue": "PaginationTemplate.bind({})"
81529
81627
  },
81530
81628
  {
81531
- "name": "FilteredTemplate",
81629
+ "name": "WithToolbar",
81532
81630
  "ctype": "miscellaneous",
81533
81631
  "subtype": "variable",
81534
- "file": "src/tag/tag.stories.ts",
81632
+ "file": "src/table/table.stories.ts",
81535
81633
  "deprecated": false,
81536
81634
  "deprecationMessage": "",
81537
81635
  "type": "",
81538
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag-filter\n\t\t\t[type]=\"type\"\n\t\t\t[size]=\"size\"\n\t\t\ttitle=\"Filter\"\n\t\t\tcloseButtonLabel=\"Clear\">\n\t\t\tfilter\n\t\t</cds-tag-filter>\n\t`\n})"
81636
+ "defaultValue": "ToolbarTemplate.bind({})"
81539
81637
  },
81540
81638
  {
81541
- "name": "Template",
81639
+ "name": "WithToolbarWithoutToolbarAction",
81542
81640
  "ctype": "miscellaneous",
81543
81641
  "subtype": "variable",
81544
- "file": "src/tag/tag.stories.ts",
81642
+ "file": "src/table/table.stories.ts",
81545
81643
  "deprecated": false,
81546
81644
  "deprecationMessage": "",
81547
81645
  "type": "",
81548
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
81646
+ "defaultValue": "WithoutActionTemplate.bind({})"
81549
81647
  }
81550
81648
  ],
81551
81649
  "src/theme/theme.stories.ts": [
@@ -86913,6 +87011,15 @@
86913
87011
  "coverageCount": "0/1",
86914
87012
  "status": "low"
86915
87013
  },
87014
+ {
87015
+ "filePath": "src/link/link-icon.directive.ts",
87016
+ "type": "directive",
87017
+ "linktype": "directive",
87018
+ "name": "LinkIconDirective",
87019
+ "coveragePercent": 0,
87020
+ "coverageCount": "0/3",
87021
+ "status": "low"
87022
+ },
86916
87023
  {
86917
87024
  "filePath": "src/link/link.directive.ts",
86918
87025
  "type": "directive",
@@ -86932,6 +87039,16 @@
86932
87039
  "coverageCount": "0/1",
86933
87040
  "status": "low"
86934
87041
  },
87042
+ {
87043
+ "filePath": "src/link/link.stories.ts",
87044
+ "type": "variable",
87045
+ "linktype": "miscellaneous",
87046
+ "linksubtype": "variable",
87047
+ "name": "IconTemplate",
87048
+ "coveragePercent": 0,
87049
+ "coverageCount": "0/1",
87050
+ "status": "low"
87051
+ },
86935
87052
  {
86936
87053
  "filePath": "src/link/link.stories.ts",
86937
87054
  "type": "variable",
@@ -86942,6 +87059,16 @@
86942
87059
  "coverageCount": "0/1",
86943
87060
  "status": "low"
86944
87061
  },
87062
+ {
87063
+ "filePath": "src/link/link.stories.ts",
87064
+ "type": "variable",
87065
+ "linktype": "miscellaneous",
87066
+ "linksubtype": "variable",
87067
+ "name": "WithIcon",
87068
+ "coveragePercent": 0,
87069
+ "coverageCount": "0/1",
87070
+ "status": "low"
87071
+ },
86945
87072
  {
86946
87073
  "filePath": "src/list/list-item.directive.ts",
86947
87074
  "type": "directive",