carbon-components-angular 5.49.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 (267) 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 +2 -2
  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 +264 -72
  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 +380 -109
  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 +22 -10
  118. package/docs/documentation/directives/IconDirective.html +6 -5
  119. package/docs/documentation/directives/LinkIconDirective.html +368 -0
  120. package/docs/documentation/directives/PasswordInput.html +63 -5
  121. package/docs/documentation/directives/TextInput.html +60 -1
  122. package/docs/documentation/graph/dependencies.svg +1983 -1959
  123. package/docs/documentation/js/menu-wc.js +6 -3
  124. package/docs/documentation/js/menu-wc_es5.js +1 -1
  125. package/docs/documentation/js/search/search_index.js +2 -2
  126. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +6 -6
  127. package/docs/documentation/modules/ComboBoxModule.html +6 -6
  128. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +41 -45
  129. package/docs/documentation/modules/DatePickerInputModule.html +41 -45
  130. package/docs/documentation/modules/DatePickerModule/dependencies.svg +48 -52
  131. package/docs/documentation/modules/DatePickerModule.html +48 -52
  132. package/docs/documentation/modules/LinkModule/dependencies.svg +41 -17
  133. package/docs/documentation/modules/LinkModule.html +52 -19
  134. package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
  135. package/docs/documentation/modules/NumberModule.html +4 -4
  136. package/docs/documentation/modules/RadioModule/dependencies.svg +26 -26
  137. package/docs/documentation/modules/RadioModule.html +26 -26
  138. package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
  139. package/docs/documentation/modules/SearchModule.html +4 -4
  140. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  141. package/docs/documentation/modules/SliderModule.html +4 -4
  142. package/docs/documentation/modules/TableModule/dependencies.svg +4 -4
  143. package/docs/documentation/modules/TableModule.html +4 -4
  144. package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
  145. package/docs/documentation/modules/TagModule.html +4 -4
  146. package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
  147. package/docs/documentation/modules/ThemeModule.html +13 -13
  148. package/docs/documentation/modules/TilesModule/dependencies.svg +7 -7
  149. package/docs/documentation/modules/TilesModule.html +7 -7
  150. package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
  151. package/docs/documentation/modules/TimePickerModule.html +45 -41
  152. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +23 -23
  153. package/docs/documentation/modules/TimePickerSelectModule.html +23 -23
  154. package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
  155. package/docs/documentation/modules/TooltipModule.html +28 -28
  156. package/docs/documentation/modules/TreeviewModule/dependencies.svg +32 -32
  157. package/docs/documentation/modules/TreeviewModule.html +32 -32
  158. package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
  159. package/docs/documentation/modules/UIShellModule.html +4 -4
  160. package/docs/documentation/overview.html +1984 -1960
  161. package/docs/documentation.json +638 -299
  162. package/docs/storybook/1345.4ae7e616.iframe.bundle.js +1 -0
  163. package/docs/storybook/7141.e6990367.iframe.bundle.js +1 -0
  164. package/docs/storybook/901.32dc2d61.iframe.bundle.js +1 -0
  165. package/docs/storybook/9558.1e461c76.iframe.bundle.js +1 -0
  166. package/docs/storybook/9672.a4277bf9.iframe.bundle.js +1 -0
  167. package/docs/storybook/accordion-accordion-stories.f0e7b598.iframe.bundle.js +1 -0
  168. package/docs/storybook/button-button-set-stories.ed1d0fd9.iframe.bundle.js +1 -0
  169. package/docs/storybook/button-button-stories.de18db98.iframe.bundle.js +1 -0
  170. package/docs/storybook/button-icon-button-stories.4a9748f3.iframe.bundle.js +1 -0
  171. package/docs/storybook/code-snippet-code-snippet-stories.2701eee9.iframe.bundle.js +1 -0
  172. package/docs/storybook/combobox-combobox-stories.632a96c1.iframe.bundle.js +1 -0
  173. package/docs/storybook/context-menu-context-menu-stories.431b9c7a.iframe.bundle.js +1 -0
  174. package/docs/storybook/datepicker-datepicker-stories.2f076085.iframe.bundle.js +1 -0
  175. package/docs/storybook/dropdown-dropdown-stories.03c37214.iframe.bundle.js +1 -0
  176. package/docs/storybook/icon-icon-stories.e234de11.iframe.bundle.js +1 -0
  177. package/docs/storybook/iframe.html +2 -2
  178. package/docs/storybook/index-stories.fba8f9b4.iframe.bundle.js +1 -0
  179. package/docs/storybook/index.json +1 -1
  180. package/docs/storybook/inline-loading-inline-loading-stories.fea34c40.iframe.bundle.js +1 -0
  181. package/docs/storybook/input-input-stories.4bd7425d.iframe.bundle.js +1 -0
  182. package/docs/storybook/input-password-stories.575fa23d.iframe.bundle.js +1 -0
  183. package/docs/storybook/input-textarea-stories.75dfc9b8.iframe.bundle.js +1 -0
  184. package/docs/storybook/link-link-stories.d436099f.iframe.bundle.js +1 -0
  185. package/docs/storybook/main.bfc549ba.iframe.bundle.js +1 -0
  186. package/docs/storybook/main.css +34 -28
  187. package/docs/storybook/number-input-number-stories.1e4ea9f3.iframe.bundle.js +1 -0
  188. package/docs/storybook/patterns-dialogs-modal-with-table-stories.f9bddeed.iframe.bundle.js +1 -0
  189. package/docs/storybook/patterns-loading-large-loading-stories.a8a467eb.iframe.bundle.js +1 -0
  190. package/docs/storybook/progress-bar-progress-bar-stories.9a58678a.iframe.bundle.js +1 -0
  191. package/docs/storybook/progress-indicator-progress-indicator-stories.981734fc.iframe.bundle.js +1 -0
  192. package/docs/storybook/project.json +1 -1
  193. package/docs/storybook/radio-radio-stories.035c4409.iframe.bundle.js +1 -0
  194. package/docs/storybook/{runtime~main.807a23cc.iframe.bundle.js → runtime~main.578dcffd.iframe.bundle.js} +1 -1
  195. package/docs/storybook/search-search-stories.6bd22f30.iframe.bundle.js +1 -0
  196. package/docs/storybook/stories.json +1 -1
  197. package/docs/storybook/structured-list-structured-list-stories.905f4b86.iframe.bundle.js +1 -0
  198. package/docs/storybook/tag-tag-stories.60e1dec6.iframe.bundle.js +1 -0
  199. package/docs/storybook/toggletip-toggletip-stories.73f8eaaa.iframe.bundle.js +1 -0
  200. package/docs/storybook/treeview-treeview-stories.a7ea66bb.iframe.bundle.js +1 -0
  201. package/docs/storybook/ui-shell-ui-shell-stories.642f613c.iframe.bundle.js +1 -0
  202. package/esm2020/icon/icon.directive.mjs +3 -2
  203. package/esm2020/input/input.directive.mjs +9 -3
  204. package/esm2020/input/label.component.mjs +1 -1
  205. package/esm2020/input/password-input-label.component.mjs +92 -38
  206. package/esm2020/input/password.directive.mjs +9 -3
  207. package/esm2020/input/text-input-label.component.mjs +145 -83
  208. package/esm2020/link/index.mjs +2 -1
  209. package/esm2020/link/link-icon.directive.mjs +19 -0
  210. package/esm2020/link/link.module.mjs +9 -4
  211. package/esm2020/structured-list/list-row.component.mjs +1 -1
  212. package/fesm2015/carbon-components-angular-icon.mjs +2 -1
  213. package/fesm2015/carbon-components-angular-icon.mjs.map +1 -1
  214. package/fesm2015/carbon-components-angular-input.mjs +251 -123
  215. package/fesm2015/carbon-components-angular-input.mjs.map +1 -1
  216. package/fesm2015/carbon-components-angular-link.mjs +25 -4
  217. package/fesm2015/carbon-components-angular-link.mjs.map +1 -1
  218. package/fesm2015/carbon-components-angular-structured-list.mjs.map +1 -1
  219. package/fesm2020/carbon-components-angular-icon.mjs +2 -1
  220. package/fesm2020/carbon-components-angular-icon.mjs.map +1 -1
  221. package/fesm2020/carbon-components-angular-input.mjs +251 -123
  222. package/fesm2020/carbon-components-angular-input.mjs.map +1 -1
  223. package/fesm2020/carbon-components-angular-link.mjs +25 -4
  224. package/fesm2020/carbon-components-angular-link.mjs.map +1 -1
  225. package/fesm2020/carbon-components-angular-structured-list.mjs.map +1 -1
  226. package/input/input.directive.d.ts +1 -0
  227. package/input/password-input-label.component.d.ts +7 -1
  228. package/input/password.directive.d.ts +1 -0
  229. package/input/text-input-label.component.d.ts +9 -2
  230. package/link/index.d.ts +1 -0
  231. package/link/link-icon.directive.d.ts +26 -0
  232. package/link/link.module.d.ts +3 -2
  233. package/package.json +1 -1
  234. package/docs/storybook/1345.e54b0c87.iframe.bundle.js +0 -1
  235. package/docs/storybook/7141.259796ae.iframe.bundle.js +0 -1
  236. package/docs/storybook/901.22b316ed.iframe.bundle.js +0 -1
  237. package/docs/storybook/9558.40984421.iframe.bundle.js +0 -1
  238. package/docs/storybook/9672.84e90325.iframe.bundle.js +0 -1
  239. package/docs/storybook/accordion-accordion-stories.e04e2378.iframe.bundle.js +0 -1
  240. package/docs/storybook/button-button-set-stories.1417284a.iframe.bundle.js +0 -1
  241. package/docs/storybook/button-button-stories.a12bca49.iframe.bundle.js +0 -1
  242. package/docs/storybook/button-icon-button-stories.d6e7f30d.iframe.bundle.js +0 -1
  243. package/docs/storybook/code-snippet-code-snippet-stories.0b374806.iframe.bundle.js +0 -1
  244. package/docs/storybook/combobox-combobox-stories.84acbfa0.iframe.bundle.js +0 -1
  245. package/docs/storybook/context-menu-context-menu-stories.64411dcb.iframe.bundle.js +0 -1
  246. package/docs/storybook/datepicker-datepicker-stories.adb85d77.iframe.bundle.js +0 -1
  247. package/docs/storybook/dropdown-dropdown-stories.c20a8aa6.iframe.bundle.js +0 -1
  248. package/docs/storybook/icon-icon-stories.7926f3ba.iframe.bundle.js +0 -1
  249. package/docs/storybook/index-stories.613320d5.iframe.bundle.js +0 -1
  250. package/docs/storybook/inline-loading-inline-loading-stories.5226939d.iframe.bundle.js +0 -1
  251. package/docs/storybook/input-input-stories.fa251a40.iframe.bundle.js +0 -1
  252. package/docs/storybook/input-password-stories.def6cbdf.iframe.bundle.js +0 -1
  253. package/docs/storybook/input-textarea-stories.425449a3.iframe.bundle.js +0 -1
  254. package/docs/storybook/link-link-stories.9e3dd976.iframe.bundle.js +0 -1
  255. package/docs/storybook/main.11fd86ca.iframe.bundle.js +0 -1
  256. package/docs/storybook/number-input-number-stories.8d02c22f.iframe.bundle.js +0 -1
  257. package/docs/storybook/patterns-dialogs-modal-with-table-stories.a011175b.iframe.bundle.js +0 -1
  258. package/docs/storybook/patterns-loading-large-loading-stories.a879e04d.iframe.bundle.js +0 -1
  259. package/docs/storybook/progress-bar-progress-bar-stories.b2965ab3.iframe.bundle.js +0 -1
  260. package/docs/storybook/progress-indicator-progress-indicator-stories.b7f8dfd4.iframe.bundle.js +0 -1
  261. package/docs/storybook/radio-radio-stories.b6c3c440.iframe.bundle.js +0 -1
  262. package/docs/storybook/search-search-stories.c9476b26.iframe.bundle.js +0 -1
  263. package/docs/storybook/structured-list-structured-list-stories.e6a4535e.iframe.bundle.js +0 -1
  264. package/docs/storybook/tag-tag-stories.dffa6874.iframe.bundle.js +0 -1
  265. package/docs/storybook/toggletip-toggletip-stories.c3354041.iframe.bundle.js +0 -1
  266. package/docs/storybook/treeview-treeview-stories.7addb70a.iframe.bundle.js +0 -1
  267. 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",
@@ -15172,12 +15224,12 @@
15172
15224
  },
15173
15225
  {
15174
15226
  "name": "PasswordInput",
15175
- "id": "directive-PasswordInput-d408fdbe8dc2402fa997e784118a8b04f7d2fc0de29add0dc1bd5ecd1356a6f4c6897e00c84e722c4ef8db9fadb62f1b918f0b94899b134e73113410d06eb1d4",
15227
+ "id": "directive-PasswordInput-ff3f658fbcddc4e1f391934db19db0a8c63fa6f399034fc6b6f4fa2ea2e2eb9455b086a06183c142d06f61bcfdc9d2844178364c097b8473542f645c527389d3",
15176
15228
  "file": "src/input/password.directive.ts",
15177
15229
  "type": "directive",
15178
15230
  "description": "",
15179
15231
  "rawdescription": "\n",
15180
- "sourceCode": "import {\n\tDirective,\n\tHostBinding,\n\tInput,\n\tRenderer2,\n\tElementRef,\n\tAfterViewInit\n} from \"@angular/core\";\n\n@Directive({\n\tselector: \"[cdsPassword], [ibmPassword]\"\n})\nexport class PasswordInput implements AfterViewInit {\n\n\t@Input() set type(type: string) {\n\t\tif (type) {\n\t\t\tthis._type = type;\n\t\t\tif (this.elementRef) {\n\t\t\t\tthis.renderer.setAttribute(this.elementRef.nativeElement, \"type\", this._type);\n\t\t\t}\n\t\t}\n\t}\n\t@HostBinding(\"class.cds--password-input\") passwordInputClass = true;\n\n\t/**\n\t * @todo - remove `cds--text-input--${size}` classes in v12\n\t */\n\t@HostBinding(\"class.cds--text-input--sm\") get isSizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--text-input--md\") get isSizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--text-input--lg\") get isSizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\n\t// Size\n\t@HostBinding(\"class.cds--layout--size-sm\") get sizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-md\") get sizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-lg\") get sizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\t@HostBinding(\"class.cds--text-input--light\") get isLightTheme() {\n\t\treturn this.theme === \"light\";\n\t}\n\n\t@HostBinding(\"class.cds--text-input\") inputClass = true;\n\t@HostBinding(\"class.cds--text-input--invalid\") @Input() invalid = false;\n\t@HostBinding(\"class.cds--text-input__field-wrapper--warning\") @Input() warn = false;\n\t@HostBinding(\"class.cds--skeleton\") @Input() skeleton = false;\n\n\t/**\n\t * @deprecated since v5 - Use `cdsLayer` directive instead\n\t * `light` or `dark` input theme\n\t */\n\t@Input() theme: \"light\" | \"dark\" = \"dark\";\n\n\t/**\n\t * Input field render size\n\t */\n\t@Input() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\n\tprivate _type = \"password\";\n\n\tconstructor(protected elementRef: ElementRef, protected renderer: Renderer2) { }\n\n\tngAfterViewInit(): void {\n\t\tthis.renderer.setAttribute(this.elementRef.nativeElement, \"type\", this._type);\n\t}\n}\n",
15232
+ "sourceCode": "import {\n\tDirective,\n\tHostBinding,\n\tInput,\n\tRenderer2,\n\tElementRef,\n\tAfterViewInit\n} from \"@angular/core\";\n\n@Directive({\n\tselector: \"[cdsPassword], [ibmPassword]\"\n})\nexport class PasswordInput implements AfterViewInit {\n\n\t@Input() set type(type: string) {\n\t\tif (type) {\n\t\t\tthis._type = type;\n\t\t\tif (this.elementRef) {\n\t\t\t\tthis.renderer.setAttribute(this.elementRef.nativeElement, \"type\", this._type);\n\t\t\t}\n\t\t}\n\t}\n\t@HostBinding(\"class.cds--password-input\") passwordInputClass = true;\n\n\t/**\n\t * @todo - remove `cds--text-input--${size}` classes in v12\n\t */\n\t@HostBinding(\"class.cds--text-input--sm\") get isSizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--text-input--md\") get isSizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--text-input--lg\") get isSizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\n\t// Size\n\t@HostBinding(\"class.cds--layout--size-sm\") get sizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-md\") get sizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-lg\") get sizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\t@HostBinding(\"class.cds--text-input--light\") get isLightTheme() {\n\t\treturn this.theme === \"light\";\n\t}\n\n\t@HostBinding(\"class.cds--text-input\") inputClass = true;\n\t@HostBinding(\"class.cds--text-input--invalid\") @Input() invalid = false;\n\t@HostBinding(\"class.cds--text-input--warning\") @Input() warn = false;\n\t@HostBinding(\"class.cds--skeleton\") @Input() skeleton = false;\n\n\t/**\n\t * @deprecated since v5 - Use `cdsLayer` directive instead\n\t * `light` or `dark` input theme\n\t */\n\t@Input() theme: \"light\" | \"dark\" = \"dark\";\n\n\t/**\n\t * Input field render size\n\t */\n\t@Input() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\n\t@HostBinding(\"attr.data-invalid\") get getInvalidAttribute() {\n\t\treturn this.invalid ? true : undefined;\n\t}\n\n\tprivate _type = \"password\";\n\n\tconstructor(protected elementRef: ElementRef, protected renderer: Renderer2) { }\n\n\tngAfterViewInit(): void {\n\t\tthis.renderer.setAttribute(this.elementRef.nativeElement, \"type\", this._type);\n\t}\n}\n",
15181
15233
  "selector": "[cdsPassword], [ibmPassword]",
15182
15234
  "providers": [],
15183
15235
  "hostDirectives": [],
@@ -15219,15 +15271,15 @@
15219
15271
  "deprecationMessage": "since v5 - Use `cdsLayer` directive instead\n`light` or `dark` input theme",
15220
15272
  "jsdoctags": [
15221
15273
  {
15222
- "pos": 1510,
15223
- "end": 1602,
15274
+ "pos": 1495,
15275
+ "end": 1587,
15224
15276
  "flags": 16842752,
15225
15277
  "modifierFlagsCache": 0,
15226
15278
  "transformFlags": 0,
15227
15279
  "kind": 338,
15228
15280
  "tagName": {
15229
- "pos": 1511,
15230
- "end": 1521,
15281
+ "pos": 1496,
15282
+ "end": 1506,
15231
15283
  "flags": 16842752,
15232
15284
  "modifierFlagsCache": 0,
15233
15285
  "transformFlags": 0,
@@ -15263,6 +15315,14 @@
15263
15315
  "deprecated": false,
15264
15316
  "deprecationMessage": "",
15265
15317
  "hostBindings": [
15318
+ {
15319
+ "name": "attr.data-invalid",
15320
+ "deprecated": false,
15321
+ "deprecationMessage": "",
15322
+ "line": 68,
15323
+ "type": "boolean",
15324
+ "decorators": []
15325
+ },
15266
15326
  {
15267
15327
  "name": "class.cds--layout--size-lg",
15268
15328
  "deprecated": false,
@@ -15423,7 +15483,7 @@
15423
15483
  "deprecationMessage": ""
15424
15484
  }
15425
15485
  ],
15426
- "line": 68,
15486
+ "line": 72,
15427
15487
  "jsdoctags": [
15428
15488
  {
15429
15489
  "name": "elementRef",
@@ -15560,6 +15620,15 @@
15560
15620
  "returnType": "",
15561
15621
  "line": 48
15562
15622
  }
15623
+ },
15624
+ "getInvalidAttribute": {
15625
+ "name": "getInvalidAttribute",
15626
+ "getSignature": {
15627
+ "name": "getInvalidAttribute",
15628
+ "type": "",
15629
+ "returnType": "",
15630
+ "line": 68
15631
+ }
15563
15632
  }
15564
15633
  }
15565
15634
  },
@@ -17516,12 +17585,12 @@
17516
17585
  },
17517
17586
  {
17518
17587
  "name": "TextInput",
17519
- "id": "directive-TextInput-b2f306ed92d28dadc94046064f37d699ff82321bf5073de8f0f01f28ed6199366f7827ef1bb87c4a3fc788a7a252d603153161582a0a04986b8f67a9624e88d8",
17588
+ "id": "directive-TextInput-65a35808bf737a7b8eba08b1b54da0b59becf4132bc81901e672afb6e36e121fe507d68be484b85e05a1f6f916a845db77c8ccf0491beb0a7929260ea6418521",
17520
17589
  "file": "src/input/input.directive.ts",
17521
17590
  "type": "directive",
17522
17591
  "description": "<p>A directive for applying styling to an input element.</p>\n<p>Example:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-html\">&lt;input cdsText/&gt;</code></pre></div><p>See the <a href=\"http://www.carbondesignsystem.com/components/text-input/code\">vanilla carbon docs</a> for more detail.</p>\n",
17523
17592
  "rawdescription": "\n\nA directive for applying styling to an input element.\n\nExample:\n\n```html\n<input cdsText/>\n```\n\nSee the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.\n",
17524
- "sourceCode": "import { Directive, HostBinding, Input } from \"@angular/core\";\n\n/**\n * A directive for applying styling to an input element.\n *\n * Example:\n *\n * ```html\n * <input cdsText/>\n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.\n */\n@Directive({\n\tselector: \"[cdsText], [ibmText]\"\n})\nexport class TextInput {\n\t/**\n\t * @deprecated since v5 - Use `cdsLayer` directive instead\n\t * `light` or `dark` input theme\n\t */\n\t@Input() theme: \"light\" | \"dark\" = \"dark\";\n\n\t/**\n\t * Input field render size\n\t */\n\t@Input() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\n\t@HostBinding(\"class.cds--text-input\") inputClass = true;\n\n\t/**\n\t * @todo - remove `cds--text-input--${size}` classes in v12\n\t */\n\t@HostBinding(\"class.cds--text-input--sm\") get isSizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--text-input--md\") get isSizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--text-input--lg\") get isSizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\n\t// Size\n\t@HostBinding(\"class.cds--layout--size-sm\") get sizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-md\") get sizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-lg\") get sizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\n\t@HostBinding(\"class.cds--text-input--invalid\") @Input() invalid = false;\n\t@HostBinding(\"class.cds--text-input__field-wrapper--warning\") @Input() warn = false;\n\t@HostBinding(\"class.cds--skeleton\") @Input() skeleton = false;\n\t@HostBinding(\"class.cds--text-input--light\") get isLightTheme() {\n\t\treturn this.theme === \"light\";\n\t}\n}\n",
17593
+ "sourceCode": "import { Directive, HostBinding, Input } from \"@angular/core\";\n\n/**\n * A directive for applying styling to an input element.\n *\n * Example:\n *\n * ```html\n * <input cdsText/>\n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.\n */\n@Directive({\n\tselector: \"[cdsText], [ibmText]\"\n})\nexport class TextInput {\n\t/**\n\t * @deprecated since v5 - Use `cdsLayer` directive instead\n\t * `light` or `dark` input theme\n\t */\n\t@Input() theme: \"light\" | \"dark\" = \"dark\";\n\n\t/**\n\t * Input field render size\n\t */\n\t@Input() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\n\t@HostBinding(\"class.cds--text-input\") inputClass = true;\n\n\t/**\n\t * @todo - remove `cds--text-input--${size}` classes in v12\n\t */\n\t@HostBinding(\"class.cds--text-input--sm\") get isSizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--text-input--md\") get isSizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--text-input--lg\") get isSizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\n\t// Size\n\t@HostBinding(\"class.cds--layout--size-sm\") get sizeSm() {\n\t\treturn this.size === \"sm\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-md\") get sizeMd() {\n\t\treturn this.size === \"md\";\n\t}\n\t@HostBinding(\"class.cds--layout--size-lg\") get sizelg() {\n\t\treturn this.size === \"lg\";\n\t}\n\n\t@HostBinding(\"class.cds--text-input--invalid\") @Input() invalid = false;\n\t@HostBinding(\"class.cds--text-input--warning\") @Input() warn = false;\n\t@HostBinding(\"class.cds--skeleton\") @Input() skeleton = false;\n\t@HostBinding(\"class.cds--text-input--light\") get isLightTheme() {\n\t\treturn this.theme === \"light\";\n\t}\n\n\t@HostBinding(\"attr.data-invalid\") get getInvalidAttribute() {\n\t\treturn this.invalid ? true : undefined;\n\t}\n\n}\n",
17525
17594
  "selector": "[cdsText], [ibmText]",
17526
17595
  "providers": [],
17527
17596
  "hostDirectives": [],
@@ -17599,6 +17668,14 @@
17599
17668
  "deprecated": false,
17600
17669
  "deprecationMessage": "",
17601
17670
  "hostBindings": [
17671
+ {
17672
+ "name": "attr.data-invalid",
17673
+ "deprecated": false,
17674
+ "deprecationMessage": "",
17675
+ "line": 62,
17676
+ "type": "boolean",
17677
+ "decorators": []
17678
+ },
17602
17679
  {
17603
17680
  "name": "class.cds--layout--size-lg",
17604
17681
  "deprecated": false,
@@ -17794,6 +17871,15 @@
17794
17871
  "returnType": "",
17795
17872
  "line": 58
17796
17873
  }
17874
+ },
17875
+ "getInvalidAttribute": {
17876
+ "name": "getInvalidAttribute",
17877
+ "getSignature": {
17878
+ "name": "getInvalidAttribute",
17879
+ "type": "",
17880
+ "returnType": "",
17881
+ "line": 62
17882
+ }
17797
17883
  }
17798
17884
  }
17799
17885
  },
@@ -36053,7 +36139,7 @@
36053
36139
  },
36054
36140
  {
36055
36141
  "name": "ListRow",
36056
- "id": "component-ListRow-a4df99227a20b8139056c28b5a99ebf53dc7674812b105f3176175e3e6adeb92949dc089ce6c7a525c4d3c15715b9a62b42538cd998a0dd0eb25e615143f5722",
36142
+ "id": "component-ListRow-f0012d4f39660aab1eaadab444c33388b76c8676e6f7f27424b27672a115ff901dd52d638fd867189e5f05a38898f5baf387b7d7f1f2669e08d8f7390ce89a6c",
36057
36143
  "file": "src/structured-list/list-row.component.ts",
36058
36144
  "encapsulation": [],
36059
36145
  "entryComponents": [],
@@ -36330,7 +36416,7 @@
36330
36416
  "description": "<p><code>ListRow</code> provides a container for the <code>ListColumn</code>s that make up the body of a structured list.</p>\n<p>Example:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-html\"> &lt;cds-list-row&gt;\n &lt;cds-list-column&gt;Row 1&lt;/cds-list-column&gt;\n &lt;cds-list-column nowrap=&quot;true&quot;&gt;Row One&lt;/cds-list-column&gt;\n &lt;cds-list-column&gt;\n Lorem ipsum dolor sit amet,\n consectetur adipiscing elit. Nunc dui magna,\n finibus id tortor sed, aliquet bibendum augue.\n Aenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n Pellentesque vulputate nisl a porttitor interdum.\n &lt;/cds-list-column&gt;\n &lt;/cds-list-row&gt;</code></pre></div>",
36331
36417
  "rawdescription": "\n\n`ListRow` provides a container for the `ListColumn`s that make up the body of a structured list.\n\nExample:\n```html\n\t<cds-list-row>\n\t\t<cds-list-column>Row 1</cds-list-column>\n\t\t<cds-list-column nowrap=\"true\">Row One</cds-list-column>\n\t\t<cds-list-column>\n\t\t\tLorem ipsum dolor sit amet,\n\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n\t\t\tPellentesque vulputate nisl a porttitor interdum.\n\t\t</cds-list-column>\n\t</cds-list-row>\n```\n",
36332
36418
  "type": "component",
36333
- "sourceCode": "import {\n\tComponent,\n\tHostBinding,\n\tContentChildren,\n\tQueryList,\n\tAfterContentInit,\n\tInput,\n\tHostListener,\n\tViewChild,\n\tElementRef,\n\tEventEmitter,\n\tOutput\n} from \"@angular/core\";\nimport { ListColumn } from \"./list-column.component\";\n\n/**\n * `ListRow` provides a container for the `ListColumn`s that make up the body of a structured list.\n *\n * Example:\n * ```html\n * \t<cds-list-row>\n *\t\t<cds-list-column>Row 1</cds-list-column>\n *\t\t<cds-list-column nowrap=\"true\">Row One</cds-list-column>\n *\t\t<cds-list-column>\n *\t\t\tLorem ipsum dolor sit amet,\n *\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n *\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n *\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n *\t\t\tPellentesque vulputate nisl a porttitor interdum.\n *\t\t</cds-list-column>\n *\t</cds-list-row>\n * ```\n */\n@Component({\n\tselector: \"cds-list-row, ibm-list-row\",\n\ttemplate: `\n\t\t<ng-content></ng-content>\n\t\t<ng-container *ngIf=\"selection\">\n\t\t\t<input\n\t\t\t\t#input\n\t\t\t\tclass=\"cds--structured-list-input cds--visually-hidden\"\n\t\t\t\ttype=\"radio\"\n\t\t\t\t[value]=\"value\"\n\t\t\t\t[name]=\"name\"\n\t\t\t\t[title]=\"label\"\n\t\t\t\t(focus)=\"handleFocus(true)\"\n\t\t\t\t(blur)=\"handleFocus(false)\"\n\t\t\t\t(change)=\"onChange($event)\"\n\t\t\t\t[checked]=\"selected\"/>\n\t\t\t<div class=\"cds--structured-list-td\">\n\t\t\t\t<svg cdsIcon=\"checkmark--filled\" size=\"16\" class=\"cds--structured-list-svg\"></svg>\n\t\t\t</div>\n\t\t</ng-container>\n\t`\n})\nexport class ListRow implements AfterContentInit {\n\t@HostBinding(\"class.cds--structured-list-row--focused-within\") get focusClass() {\n\t\treturn this.isFocused;\n\t}\n\t@Input() @HostBinding(\"class.cds--structured-list-row--selected\") selected = false;\n\t/**\n\t * Applies an accessible label to the row. Defaults to no label.\n\t */\n\t@Input() @HostBinding(\"attr.aria-label\") label;\n\t/**\n\t * The value for the row. Returned via `ngModel` or `selected` event on the containing `StructuredList`.\n\t */\n\t@Input() value;\n\t/**\n\t * Internal event used to notify the containing `StructuredList` of changes.\n\t */\n\t@Output() change: EventEmitter<Event> = new EventEmitter();\n\n\t/**\n\t * Set by the containing `StructuredList`. Enables or disables row level selection features.\n\t */\n\tselection = false;\n\t/**\n\t * Set by the containing `StructuredList`. When `selection = true`, used for the `name` property on the radio input.\n\t */\n\tname = \"list\";\n\n\t@HostBinding(\"class.cds--structured-list-row\") wrapper = true;\n\t@HostBinding(\"attr.role\") role = \"row\";\n\n\t@ContentChildren(ListColumn) columns: QueryList<ListColumn>;\n\n\t@ViewChild(\"input\") input: ElementRef;\n\n\tprivate isFocused = false;\n\n\tngAfterContentInit() {\n\t\tthis.columns.forEach(column => {\n\t\t\tcolumn.isBodyColumn = true;\n\t\t\tcolumn.isHeaderColumn = false;\n\t\t});\n\t}\n\n\t@HostListener(\"click\")\n\tonclick() {\n\t\tif (this.selection) {\n\t\t\tthis.input.nativeElement.click();\n\t\t}\n\t}\n\t\n\tonChange(event) {\n\t\tthis.change.emit(event);\n\t}\n\n\thandleFocus(isFocused) {\n\t\tif (this.selection) {\n\t\t\tthis.isFocused = isFocused;\n\t\t\tif (this.isFocused) {\n\t\t\t\tthis.input.nativeElement.click();\n\t\t\t}\n\t\t}\n\t}\n}\n",
36419
+ "sourceCode": "import {\n\tComponent,\n\tHostBinding,\n\tContentChildren,\n\tQueryList,\n\tAfterContentInit,\n\tInput,\n\tHostListener,\n\tViewChild,\n\tElementRef,\n\tEventEmitter,\n\tOutput\n} from \"@angular/core\";\nimport { ListColumn } from \"./list-column.component\";\n\n/**\n * `ListRow` provides a container for the `ListColumn`s that make up the body of a structured list.\n *\n * Example:\n * ```html\n * \t<cds-list-row>\n *\t\t<cds-list-column>Row 1</cds-list-column>\n *\t\t<cds-list-column nowrap=\"true\">Row One</cds-list-column>\n *\t\t<cds-list-column>\n *\t\t\tLorem ipsum dolor sit amet,\n *\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n *\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n *\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n *\t\t\tPellentesque vulputate nisl a porttitor interdum.\n *\t\t</cds-list-column>\n *\t</cds-list-row>\n * ```\n */\n@Component({\n\tselector: \"cds-list-row, ibm-list-row\",\n\ttemplate: `\n\t\t<ng-content></ng-content>\n\t\t<ng-container *ngIf=\"selection\">\n\t\t\t<input\n\t\t\t\t#input\n\t\t\t\tclass=\"cds--structured-list-input cds--visually-hidden\"\n\t\t\t\ttype=\"radio\"\n\t\t\t\t[value]=\"value\"\n\t\t\t\t[name]=\"name\"\n\t\t\t\t[title]=\"label\"\n\t\t\t\t(focus)=\"handleFocus(true)\"\n\t\t\t\t(blur)=\"handleFocus(false)\"\n\t\t\t\t(change)=\"onChange($event)\"\n\t\t\t\t[checked]=\"selected\"/>\n\t\t\t<div class=\"cds--structured-list-td\">\n\t\t\t\t<svg cdsIcon=\"checkmark--filled\" size=\"16\" class=\"cds--structured-list-svg\"></svg>\n\t\t\t</div>\n\t\t</ng-container>\n\t`\n})\nexport class ListRow implements AfterContentInit {\n\t@HostBinding(\"class.cds--structured-list-row--focused-within\") get focusClass() {\n\t\treturn this.isFocused;\n\t}\n\t@Input() @HostBinding(\"class.cds--structured-list-row--selected\") selected = false;\n\t/**\n\t * Applies an accessible label to the row. Defaults to no label.\n\t */\n\t@Input() @HostBinding(\"attr.aria-label\") label;\n\t/**\n\t * The value for the row. Returned via `ngModel` or `selected` event on the containing `StructuredList`.\n\t */\n\t@Input() value;\n\t/**\n\t * Internal event used to notify the containing `StructuredList` of changes.\n\t */\n\t@Output() change: EventEmitter<Event> = new EventEmitter();\n\n\t/**\n\t * Set by the containing `StructuredList`. Enables or disables row level selection features.\n\t */\n\tselection = false;\n\t/**\n\t * Set by the containing `StructuredList`. When `selection = true`, used for the `name` property on the radio input.\n\t */\n\tname = \"list\";\n\n\t@HostBinding(\"class.cds--structured-list-row\") wrapper = true;\n\t@HostBinding(\"attr.role\") role = \"row\";\n\n\t@ContentChildren(ListColumn) columns: QueryList<ListColumn>;\n\n\t@ViewChild(\"input\") input: ElementRef;\n\n\tprivate isFocused = false;\n\n\tngAfterContentInit() {\n\t\tthis.columns.forEach(column => {\n\t\t\tcolumn.isBodyColumn = true;\n\t\t\tcolumn.isHeaderColumn = false;\n\t\t});\n\t}\n\n\t@HostListener(\"click\")\n\tonclick() {\n\t\tif (this.selection) {\n\t\t\tthis.input.nativeElement.click();\n\t\t}\n\t}\n\n\tonChange(event) {\n\t\tthis.change.emit(event);\n\t}\n\n\thandleFocus(isFocused) {\n\t\tif (this.selection) {\n\t\t\tthis.isFocused = isFocused;\n\t\t\tif (this.isFocused) {\n\t\t\t\tthis.input.nativeElement.click();\n\t\t\t}\n\t\t}\n\t}\n}\n",
36334
36420
  "assetsDirs": [],
36335
36421
  "styleUrlsData": "",
36336
36422
  "stylesData": "",
@@ -42898,7 +42984,7 @@
42898
42984
  },
42899
42985
  {
42900
42986
  "name": "PasswordInputLabelComponent",
42901
- "id": "component-PasswordInputLabelComponent-bdf59639f1e7e3881c59e6c091bbac5cd869c69dea799b0ccee5cabb9a1b1bacca79e8946a89b275174e24d1b802f6931d7ece15aa95b8f171dde4453403e6c1",
42987
+ "id": "component-PasswordInputLabelComponent-66bc6cdf361c02f00c681dad885fc33fd946196e164238ef7762e4784d4261bc77288a93ecc65c7b88a2f10aa34b41ad11c685094cddc10f623ccd2daa75684b",
42902
42988
  "file": "src/input/password-input-label.component.ts",
42903
42989
  "encapsulation": [],
42904
42990
  "entryComponents": [],
@@ -42908,7 +42994,7 @@
42908
42994
  "selector": "cds-password-label, ibm-password-label",
42909
42995
  "styleUrls": [],
42910
42996
  "styles": [],
42911
- "template": "<label\n\t[for]=\"labelInputID\"\n\t[attr.aria-label]=\"ariaLabel\"\n\tclass=\"cds--label\"\n\t[ngClass]=\"{\n\t\t'cds--label--disabled': disabled,\n\t\t'cds--skeleton': skeleton\n\t}\">\n\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t<ng-template #labelContent>\n\t\t<ng-content></ng-content>\n\t</ng-template>\n</label>\n\n<div class=\"cds--text-input__field-outer-wrapper\">\n\t<div\n\tclass=\"cds--text-input__field-wrapper\"\n\t[ngClass]=\"{\n\t\t'cds--text-input__field-wrapper--warning': warn\n\t}\"\n\t[attr.data-invalid]=\"invalid ? true : null\"\n\t#wrapper>\n\t\t<svg\n\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\tcdsIcon=\"warning--filled\"\n\t\t\tsize=\"16\"\n\t\t\tclass=\"cds--text-input__invalid-icon\">\n\t\t</svg>\n\t\t<svg\n\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\tcdsIcon=\"warning--alt--filled\"\n\t\t\tsize=\"16\"\n\t\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t\t</svg>\n\t\t<ng-content select=\"[cdsPassword], [ibmPassword]\"></ng-content>\n\t\t<cds-tooltip\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\t[description]=\"passwordIsVisible ? hidePasswordLabel : showPasswordLabel\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t[highContrast]=\"highContrast\"\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[align]=\"align\"\n\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t[enterDelayMs]=\"enterDelayMs\"\n\t\t\t[leaveDelayMs]=\"leaveDelayMs\"\n\t\t\tclass=\"cds--toggle-password-tooltip\">\n\t\t\t\t<div class=\"cds--tooltip-trigger__wrapper\">\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"cds--text-input--password__visibility__toggle cds--btn cds--tooltip__trigger cds--tooltip--a11y\"\n\t\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t(click)=\"handleTogglePasswordVisibility($event)\">\n\t\t\t\t\t\t<svg *ngIf=\"passwordIsVisible\" cdsIcon=\"view--off\" class=\"cds--icon-visibility-off\" size=\"16\"></svg>\n\t\t\t\t\t\t<svg *ngIf=\"!passwordIsVisible\" cdsIcon=\"view\" class=\"cds--icon-visibility-on\" size=\"16\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t</cds-tooltip>\n\t</div>\n\t<div\n\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\tclass=\"cds--form__helper-text\"\n\t\t[ngClass]=\"{ 'cds--form__helper-text--disabled': disabled }\">\n\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{ helperText }}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t</div>\n\n\t<div *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\n\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t</div>\n\n\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{ warnText }}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t</div>\n</div>\n",
42997
+ "template": "<ng-container *ngIf=\"skeleton\">\n\t<span class=\"cds--label cds--skeleton\"></span>\n\t<div class=\"cds--text-input cds--skeleton\"></div>\n</ng-container>\n<label\n\t*ngIf=\"!skeleton\"\n\t[for]=\"labelInputID\"\n\t[attr.aria-label]=\"ariaLabel\"\n\tclass=\"cds--label\"\n\t[ngClass]=\"{\n\t\t'cds--label--disabled': disabled\n\t}\">\n\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t<ng-template #labelContent>\n\t\t<ng-content></ng-content>\n\t</ng-template>\n</label>\n\n<div *ngIf=\"!skeleton\" class=\"cds--text-input__field-outer-wrapper\">\n\t<div\n\tclass=\"cds--text-input__field-wrapper\"\n\t[ngClass]=\"{\n\t\t'cds--text-input__field-wrapper--warning': warn\n\t}\"\n\t[attr.data-invalid]=\"invalid ? true : null\"\n\t#wrapper>\n\t\t<svg\n\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\tcdsIcon=\"warning--filled\"\n\t\t\tsize=\"16\"\n\t\t\tclass=\"cds--text-input__invalid-icon\">\n\t\t</svg>\n\t\t<svg\n\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\tcdsIcon=\"warning--alt--filled\"\n\t\t\tsize=\"16\"\n\t\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t\t</svg>\n\t\t<ng-content select=\"[cdsPassword], [ibmPassword]\"></ng-content>\n\t\t<cds-tooltip\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\t[description]=\"passwordIsVisible ? hidePasswordLabel : showPasswordLabel\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t[highContrast]=\"highContrast\"\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[align]=\"align\"\n\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t[enterDelayMs]=\"enterDelayMs\"\n\t\t\t[leaveDelayMs]=\"leaveDelayMs\"\n\t\t\tclass=\"cds--toggle-password-tooltip\">\n\t\t\t\t<div class=\"cds--tooltip-trigger__wrapper\">\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"cds--text-input--password__visibility__toggle cds--btn cds--tooltip__trigger cds--tooltip--a11y\"\n\t\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t(click)=\"handleTogglePasswordVisibility($event)\">\n\t\t\t\t\t\t<svg *ngIf=\"passwordIsVisible\" cdsIcon=\"view--off\" class=\"cds--icon-visibility-off\" size=\"16\"></svg>\n\t\t\t\t\t\t<svg *ngIf=\"!passwordIsVisible\" cdsIcon=\"view\" class=\"cds--icon-visibility-on\" size=\"16\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t</cds-tooltip>\n\n\t\t<ng-container *ngIf=\"fluid\">\n\t\t\t<hr class=\"cds--text-input__divider\" />\n\t\t\t<div *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{ warnText }}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t</div>\n\t\t</ng-container>\n\t</div>\n\t<ng-container *ngIf=\"!fluid\">\n\t\t<div\n\t\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\t\tclass=\"cds--form__helper-text\"\n\t\t\t[ngClass]=\"{ 'cds--form__helper-text--disabled': disabled }\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{ helperText }}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t</div>\n\n\t\t<div *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t</div>\n\n\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{ warnText }}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t</div>\n\t</ng-container>\n</div>\n",
42912
42998
  "templateUrl": [],
42913
42999
  "viewProviders": [],
42914
43000
  "hostDirectives": [],
@@ -42919,7 +43005,7 @@
42919
43005
  "deprecationMessage": "",
42920
43006
  "rawdescription": "\n\nAria label for label.\n",
42921
43007
  "description": "<p>Aria label for label.</p>\n",
42922
- "line": 188,
43008
+ "line": 206,
42923
43009
  "type": "string",
42924
43010
  "decorators": []
42925
43011
  },
@@ -42930,7 +43016,18 @@
42930
43016
  "deprecationMessage": "",
42931
43017
  "rawdescription": "\n\nFlag for disabled label.\n",
42932
43018
  "description": "<p>Flag for disabled label.</p>\n",
42933
- "line": 143,
43019
+ "line": 161,
43020
+ "type": "boolean",
43021
+ "decorators": []
43022
+ },
43023
+ {
43024
+ "name": "fluid",
43025
+ "defaultValue": "false",
43026
+ "deprecated": false,
43027
+ "deprecationMessage": "",
43028
+ "rawdescription": "\n\nExperimental: enable fluid state\n",
43029
+ "description": "<p>Experimental: enable fluid state</p>\n",
43030
+ "line": 221,
42934
43031
  "type": "boolean",
42935
43032
  "decorators": []
42936
43033
  },
@@ -42940,7 +43037,7 @@
42940
43037
  "deprecationMessage": "",
42941
43038
  "rawdescription": "\n\nOptional helper text under the label.\n",
42942
43039
  "description": "<p>Optional helper text under the label.</p>\n",
42943
- "line": 163,
43040
+ "line": 181,
42944
43041
  "type": "string | TemplateRef<any>",
42945
43042
  "decorators": []
42946
43043
  },
@@ -42951,7 +43048,7 @@
42951
43048
  "deprecationMessage": "",
42952
43049
  "rawdescription": "\n\nTooltip text for hiding password.\n",
42953
43050
  "description": "<p>Tooltip text for hiding password.</p>\n",
42954
- "line": 193,
43051
+ "line": 211,
42955
43052
  "type": "string",
42956
43053
  "decorators": []
42957
43054
  },
@@ -42962,7 +43059,7 @@
42962
43059
  "deprecationMessage": "",
42963
43060
  "rawdescription": "\n\nFlag for an invalid label component.\n",
42964
43061
  "description": "<p>Flag for an invalid label component.</p>\n",
42965
- "line": 173,
43062
+ "line": 191,
42966
43063
  "type": "boolean",
42967
43064
  "decorators": []
42968
43065
  },
@@ -42972,7 +43069,7 @@
42972
43069
  "deprecationMessage": "",
42973
43070
  "rawdescription": "\n\nSets the invalid text.\n",
42974
43071
  "description": "<p>Sets the invalid text.</p>\n",
42975
- "line": 168,
43072
+ "line": 186,
42976
43073
  "type": "string | TemplateRef<any>",
42977
43074
  "decorators": []
42978
43075
  },
@@ -42983,7 +43080,7 @@
42983
43080
  "deprecationMessage": "",
42984
43081
  "rawdescription": "\n\nID for the input item associated with the label.\n",
42985
43082
  "description": "<p>ID for the input item associated with the label.</p>\n",
42986
- "line": 128,
43083
+ "line": 146,
42987
43084
  "type": "string",
42988
43085
  "decorators": []
42989
43086
  },
@@ -42993,7 +43090,7 @@
42993
43090
  "deprecationMessage": "",
42994
43091
  "rawdescription": "\n\nTemplate for label content.\n",
42995
43092
  "description": "<p>Template for label content.</p>\n",
42996
- "line": 153,
43093
+ "line": 171,
42997
43094
  "type": "TemplateRef<any>",
42998
43095
  "decorators": []
42999
43096
  },
@@ -43003,7 +43100,7 @@
43003
43100
  "deprecationMessage": "",
43004
43101
  "rawdescription": "\n\nTemplate for password input.\n",
43005
43102
  "description": "<p>Template for password input.</p>\n",
43006
- "line": 158,
43103
+ "line": 176,
43007
43104
  "type": "TemplateRef<any>",
43008
43105
  "decorators": []
43009
43106
  },
@@ -43014,7 +43111,7 @@
43014
43111
  "deprecationMessage": "",
43015
43112
  "rawdescription": "\n\nTooltip text for showing password.\n",
43016
43113
  "description": "<p>Tooltip text for showing password.</p>\n",
43017
- "line": 198,
43114
+ "line": 216,
43018
43115
  "type": "string",
43019
43116
  "decorators": []
43020
43117
  },
@@ -43025,7 +43122,7 @@
43025
43122
  "deprecationMessage": "",
43026
43123
  "rawdescription": "\n\nFlag for loading (skeleton) label.\n",
43027
43124
  "description": "<p>Flag for loading (skeleton) label.</p>\n",
43028
- "line": 148,
43125
+ "line": 166,
43029
43126
  "type": "boolean",
43030
43127
  "decorators": []
43031
43128
  },
@@ -43036,7 +43133,7 @@
43036
43133
  "deprecationMessage": "",
43037
43134
  "rawdescription": "\n\nFlag for showing a warning.\n",
43038
43135
  "description": "<p>Flag for showing a warning.</p>\n",
43039
- "line": 178,
43136
+ "line": 196,
43040
43137
  "type": "boolean",
43041
43138
  "decorators": []
43042
43139
  },
@@ -43046,7 +43143,7 @@
43046
43143
  "deprecationMessage": "",
43047
43144
  "rawdescription": "\n\nWarning text.\n",
43048
43145
  "description": "<p>Warning text.</p>\n",
43049
- "line": 183,
43146
+ "line": 201,
43050
43147
  "type": "string | TemplateRef<any>",
43051
43148
  "decorators": []
43052
43149
  },
@@ -43173,7 +43270,7 @@
43173
43270
  "type": "\"password\" | \"text\"",
43174
43271
  "optional": false,
43175
43272
  "description": "<p>Type for input field, either password or text.</p>\n",
43176
- "line": 133,
43273
+ "line": 151,
43177
43274
  "rawdescription": "\n\nType for input field, either password or text.\n"
43178
43275
  },
43179
43276
  {
@@ -43184,7 +43281,7 @@
43184
43281
  "type": "",
43185
43282
  "optional": false,
43186
43283
  "description": "<p>Binding for applying class to host element.</p>\n",
43187
- "line": 208,
43284
+ "line": 231,
43188
43285
  "rawdescription": "\n\nBinding for applying class to host element.\n",
43189
43286
  "decorators": [
43190
43287
  {
@@ -43204,7 +43301,7 @@
43204
43301
  "type": "number",
43205
43302
  "optional": false,
43206
43303
  "description": "<p>Counter for generating unique labelInputID.</p>\n",
43207
- "line": 121,
43304
+ "line": 139,
43208
43305
  "rawdescription": "\n\nCounter for generating unique labelInputID.\n",
43209
43306
  "modifierKind": [
43210
43307
  126
@@ -43218,7 +43315,7 @@
43218
43315
  "type": "",
43219
43316
  "optional": false,
43220
43317
  "description": "",
43221
- "line": 209,
43318
+ "line": 232,
43222
43319
  "decorators": [
43223
43320
  {
43224
43321
  "name": "HostBinding",
@@ -43237,7 +43334,7 @@
43237
43334
  "type": "",
43238
43335
  "optional": false,
43239
43336
  "description": "<p>Flag for checking if password is visible.</p>\n",
43240
- "line": 138,
43337
+ "line": 156,
43241
43338
  "rawdescription": "\n\nFlag for checking if password is visible.\n"
43242
43339
  },
43243
43340
  {
@@ -43247,7 +43344,7 @@
43247
43344
  "type": "PasswordInput",
43248
43345
  "optional": false,
43249
43346
  "description": "",
43250
- "line": 123,
43347
+ "line": 141,
43251
43348
  "decorators": [
43252
43349
  {
43253
43350
  "name": "ContentChild",
@@ -43266,7 +43363,7 @@
43266
43363
  "type": "",
43267
43364
  "optional": false,
43268
43365
  "description": "",
43269
- "line": 210,
43366
+ "line": 233,
43270
43367
  "decorators": [
43271
43368
  {
43272
43369
  "name": "HostBinding",
@@ -43284,7 +43381,7 @@
43284
43381
  "type": "ElementRef<HTMLDivElement>",
43285
43382
  "optional": false,
43286
43383
  "description": "<p>Reference to the wrapper element.</p>\n",
43287
- "line": 203,
43384
+ "line": 226,
43288
43385
  "rawdescription": "\n\nReference to the wrapper element.\n",
43289
43386
  "decorators": [
43290
43387
  {
@@ -43304,7 +43401,7 @@
43304
43401
  "optional": false,
43305
43402
  "returnType": "void",
43306
43403
  "typeParameters": [],
43307
- "line": 253,
43404
+ "line": 284,
43308
43405
  "deprecated": false,
43309
43406
  "deprecationMessage": "",
43310
43407
  "rawdescription": "\n\nHandler for toggling password visibility.\n",
@@ -43326,7 +43423,7 @@
43326
43423
  "optional": false,
43327
43424
  "returnType": "boolean",
43328
43425
  "typeParameters": [],
43329
- "line": 246,
43426
+ "line": 277,
43330
43427
  "deprecated": false,
43331
43428
  "deprecationMessage": "",
43332
43429
  "rawdescription": "\n\nFunction to check if a value is a TemplateRef.\n",
@@ -43337,8 +43434,8 @@
43337
43434
  "jsdoctags": [
43338
43435
  {
43339
43436
  "name": {
43340
- "pos": 6424,
43341
- "end": 6429,
43437
+ "pos": 7573,
43438
+ "end": 7578,
43342
43439
  "flags": 16842752,
43343
43440
  "modifierFlagsCache": 0,
43344
43441
  "transformFlags": 0,
@@ -43349,8 +43446,8 @@
43349
43446
  "deprecated": false,
43350
43447
  "deprecationMessage": "",
43351
43448
  "tagName": {
43352
- "pos": 6418,
43353
- "end": 6423,
43449
+ "pos": 7567,
43450
+ "end": 7572,
43354
43451
  "flags": 16842752,
43355
43452
  "modifierFlagsCache": 0,
43356
43453
  "transformFlags": 0,
@@ -43361,8 +43458,8 @@
43361
43458
  },
43362
43459
  {
43363
43460
  "tagName": {
43364
- "pos": 6453,
43365
- "end": 6460,
43461
+ "pos": 7602,
43462
+ "end": 7609,
43366
43463
  "flags": 16842752,
43367
43464
  "modifierFlagsCache": 0,
43368
43465
  "transformFlags": 0,
@@ -43384,7 +43481,7 @@
43384
43481
  "deprecationMessage": "",
43385
43482
  "rawdescription": "\n\nBinding for applying class to host element.\n",
43386
43483
  "description": "<p>Binding for applying class to host element.</p>\n",
43387
- "line": 208,
43484
+ "line": 231,
43388
43485
  "type": "boolean",
43389
43486
  "decorators": []
43390
43487
  },
@@ -43393,7 +43490,23 @@
43393
43490
  "defaultValue": "true",
43394
43491
  "deprecated": false,
43395
43492
  "deprecationMessage": "",
43396
- "line": 209,
43493
+ "line": 232,
43494
+ "type": "boolean",
43495
+ "decorators": []
43496
+ },
43497
+ {
43498
+ "name": "class.cds--text-input--fluid",
43499
+ "deprecated": false,
43500
+ "deprecationMessage": "",
43501
+ "line": 238,
43502
+ "type": "boolean",
43503
+ "decorators": []
43504
+ },
43505
+ {
43506
+ "name": "class.cds--text-input--fluid__skeleton",
43507
+ "deprecated": false,
43508
+ "deprecationMessage": "",
43509
+ "line": 242,
43397
43510
  "type": "boolean",
43398
43511
  "decorators": []
43399
43512
  },
@@ -43402,7 +43515,7 @@
43402
43515
  "defaultValue": "true",
43403
43516
  "deprecated": false,
43404
43517
  "deprecationMessage": "",
43405
- "line": 210,
43518
+ "line": 233,
43406
43519
  "type": "boolean",
43407
43520
  "decorators": []
43408
43521
  },
@@ -43410,7 +43523,7 @@
43410
43523
  "name": "class.cds--text-input-wrapper--readonly",
43411
43524
  "deprecated": false,
43412
43525
  "deprecationMessage": "",
43413
- "line": 211,
43526
+ "line": 234,
43414
43527
  "type": "any",
43415
43528
  "decorators": []
43416
43529
  }
@@ -43421,7 +43534,7 @@
43421
43534
  "description": "<p>Get started with importing the module:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { InputModule } from &#39;carbon-components-angular&#39;;</code></pre></div><b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-html\">&lt;cds-password-label&gt;\n Label\n &lt;input cdsPassword&gt;\n&lt;/cds-password-label&gt;</code></pre></div><p><a href=\"../../?path=/story/components-input--basic\">See demo</a></p>\n",
43422
43535
  "rawdescription": "\n\nGet started with importing the module:\n\n```typescript\nimport { InputModule } from 'carbon-components-angular';\n```\n\n```html\n<cds-password-label>\n\tLabel\n\t<input cdsPassword>\n</cds-password-label>\n```\n\n[See demo](../../?path=/story/components-input--basic)\n",
43423
43536
  "type": "component",
43424
- "sourceCode": "import {\n\tComponent,\n\tInput,\n\tAfterViewInit,\n\tElementRef,\n\tHostBinding,\n\tTemplateRef,\n\tViewChild,\n\tChangeDetectorRef,\n\tContentChild\n} from \"@angular/core\";\nimport { PasswordInput } from \"./password.directive\";\nimport { BaseIconButton } from \"carbon-components-angular/button\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { InputModule } from 'carbon-components-angular';\n * ```\n *\n * ```html\n * <cds-password-label>\n * \tLabel\n *\t<input cdsPassword>\n * </cds-password-label>\n * ```\n *\n * [See demo](../../?path=/story/components-input--basic)\n */\n@Component({\n\tselector: \"cds-password-label, ibm-password-label\",\n\ttemplate: `\n\t\t<label\n\t\t\t[for]=\"labelInputID\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\tclass=\"cds--label\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'cds--label--disabled': disabled,\n\t\t\t\t'cds--skeleton': skeleton\n\t\t\t}\">\n\t\t\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t\t\t<ng-template #labelContent>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-template>\n\t\t</label>\n\n\t\t<div class=\"cds--text-input__field-outer-wrapper\">\n\t\t\t<div\n\t\t\tclass=\"cds--text-input__field-wrapper\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'cds--text-input__field-wrapper--warning': warn\n\t\t\t}\"\n\t\t\t[attr.data-invalid]=\"invalid ? true : null\"\n\t\t\t#wrapper>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\t\tcdsIcon=\"warning--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"cds--text-input__invalid-icon\">\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\t\tcdsIcon=\"warning--alt--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t\t\t\t</svg>\n\t\t\t\t<ng-content select=\"[cdsPassword], [ibmPassword]\"></ng-content>\n\t\t\t\t<cds-tooltip\n\t\t\t\t\t*ngIf=\"!skeleton\"\n\t\t\t\t\t[description]=\"passwordIsVisible ? hidePasswordLabel : showPasswordLabel\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t\t\t[highContrast]=\"highContrast\"\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t\t\t[enterDelayMs]=\"enterDelayMs\"\n\t\t\t\t\t[leaveDelayMs]=\"leaveDelayMs\"\n\t\t\t\t\tclass=\"cds--toggle-password-tooltip\">\n\t\t\t\t\t\t<div class=\"cds--tooltip-trigger__wrapper\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclass=\"cds--text-input--password__visibility__toggle cds--btn cds--tooltip__trigger cds--tooltip--a11y\"\n\t\t\t\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t(click)=\"handleTogglePasswordVisibility($event)\">\n\t\t\t\t\t\t\t\t<svg *ngIf=\"passwordIsVisible\" cdsIcon=\"view--off\" class=\"cds--icon-visibility-off\" size=\"16\"></svg>\n\t\t\t\t\t\t\t\t<svg *ngIf=\"!passwordIsVisible\" cdsIcon=\"view\" class=\"cds--icon-visibility-on\" size=\"16\"></svg>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t</cds-tooltip>\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\t\t\tclass=\"cds--form__helper-text\"\n\t\t\t\t[ngClass]=\"{ 'cds--form__helper-text--disabled': disabled }\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{ helperText }}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t</div>\n\n\t\t\t<div *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t</div>\n\n\t\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{ warnText }}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t</div>\n\t\t</div>\n `\n})\n/**\n * Represents the Password Input Label Component.\n */\nexport class PasswordInputLabelComponent extends BaseIconButton implements AfterViewInit {\n\t/**\n\t * Counter for generating unique labelInputID.\n\t */\n\tstatic labelCounter = 0;\n\n\t@ContentChild(PasswordInput) textInput: PasswordInput;\n\n\t/**\n\t * ID for the input item associated with the label.\n\t */\n\t@Input() labelInputID = \"cds-password-input-\" + PasswordInputLabelComponent.labelCounter++;\n\n\t/**\n\t * Type for input field, either password or text.\n\t */\n\tinputType: \"password\" | \"text\" = \"password\";\n\n\t/**\n\t* Flag for checking if password is visible.\n\t*/\n\tpasswordIsVisible = false;\n\n\t/**\n\t * Flag for disabled label.\n\t */\n\t@Input() disabled = false;\n\n\t/**\n\t * Flag for loading (skeleton) label.\n\t */\n\t@Input() skeleton = false;\n\n\t/**\n\t * Template for label content.\n\t */\n\t@Input() labelTemplate: TemplateRef<any>;\n\n\t/**\n\t * Template for password input.\n\t */\n\t@Input() passwordInputTemplate: TemplateRef<any>;\n\n\t/**\n\t * Optional helper text under the label.\n\t */\n\t@Input() helperText: string | TemplateRef<any>;\n\n\t/**\n\t * Sets the invalid text.\n\t */\n\t@Input() invalidText: string | TemplateRef<any>;\n\n\t/**\n\t * Flag for an invalid label component.\n\t */\n\t@Input() invalid = false;\n\n\t/**\n\t * Flag for showing a warning.\n\t */\n\t@Input() warn = false;\n\n\t/**\n\t * Warning text.\n\t */\n\t@Input() warnText: string | TemplateRef<any>;\n\n\t/**\n\t * Aria label for label.\n\t */\n\t@Input() ariaLabel: string;\n\n\t/**\n\t * Tooltip text for hiding password.\n\t */\n\t@Input() hidePasswordLabel = \"Hide password\";\n\n\t/**\n\t * Tooltip text for showing password.\n\t */\n\t@Input() showPasswordLabel = \"Show password\";\n\n\t/**\n\t * Reference to the wrapper element.\n\t */\n\t@ViewChild(\"wrapper\", { static: true }) wrapper: ElementRef<HTMLDivElement>;\n\n\t/**\n\t * Binding for applying class to host element.\n\t */\n\t@HostBinding(\"class.cds--form-item\") labelClass = true;\n\t@HostBinding(\"class.cds--password-input-wrapper\") passwordInputWrapper = true;\n\t@HostBinding(\"class.cds--text-input-wrapper\") textInputWrapper = true;\n\t@HostBinding(\"class.cds--text-input-wrapper--readonly\") get isReadonly() {\n\t\treturn this.wrapper?.nativeElement.querySelector(\"input\")?.readOnly ?? false;\n\t}\n\n\t/**\n\t * Constructor for PasswordInputLabelComponent.\n\t * @param changeDetectorRef - Reference to ChangeDetectorRef.\n\t */\n\tconstructor(protected changeDetectorRef: ChangeDetectorRef) {\n\t\tsuper();\n\t}\n\n\t/**\n\t * Lifecycle hook called after the view has been initialized to set the ID of the input element\n\t */\n\tngAfterViewInit() {\n\t\tif (this.wrapper) {\n\t\t\tconst inputElement =\n\t\t\t\tthis.wrapper.nativeElement.querySelector(\"input\");\n\t\t\tif (inputElement) {\n\t\t\t\tif (inputElement.id) {\n\t\t\t\t\tthis.labelInputID = inputElement.id;\n\t\t\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t\t\t}\n\t\t\t\tinputElement.setAttribute(\"id\", this.labelInputID);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Function to check if a value is a TemplateRef.\n\t * @param value - Value to check.\n\t * @returns Whether the value is a TemplateRef.\n\t */\n\tpublic isTemplate(value) {\n\t\treturn value instanceof TemplateRef;\n\t}\n\n\t/**\n\t * Handler for toggling password visibility.\n\t */\n\tpublic handleTogglePasswordVisibility() {\n\t\tthis.inputType = this.inputType === \"password\" ? \"text\" : \"password\";\n\t\tthis.textInput.type = this.inputType;\n\t\tthis.passwordIsVisible = this.inputType === \"text\";\n\t}\n}\n",
43537
+ "sourceCode": "import {\n\tComponent,\n\tInput,\n\tAfterViewInit,\n\tElementRef,\n\tHostBinding,\n\tTemplateRef,\n\tViewChild,\n\tChangeDetectorRef,\n\tContentChild\n} from \"@angular/core\";\nimport { PasswordInput } from \"./password.directive\";\nimport { BaseIconButton } from \"carbon-components-angular/button\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { InputModule } from 'carbon-components-angular';\n * ```\n *\n * ```html\n * <cds-password-label>\n * \tLabel\n *\t<input cdsPassword>\n * </cds-password-label>\n * ```\n *\n * [See demo](../../?path=/story/components-input--basic)\n */\n@Component({\n\tselector: \"cds-password-label, ibm-password-label\",\n\ttemplate: `\n\t\t<ng-container *ngIf=\"skeleton\">\n\t\t\t<span class=\"cds--label cds--skeleton\"></span>\n\t\t\t<div class=\"cds--text-input cds--skeleton\"></div>\n\t\t</ng-container>\n\t\t<label\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\t[for]=\"labelInputID\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\tclass=\"cds--label\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'cds--label--disabled': disabled\n\t\t\t}\">\n\t\t\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t\t\t<ng-template #labelContent>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-template>\n\t\t</label>\n\n\t\t<div *ngIf=\"!skeleton\" class=\"cds--text-input__field-outer-wrapper\">\n\t\t\t<div\n\t\t\tclass=\"cds--text-input__field-wrapper\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'cds--text-input__field-wrapper--warning': warn\n\t\t\t}\"\n\t\t\t[attr.data-invalid]=\"invalid ? true : null\"\n\t\t\t#wrapper>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\t\tcdsIcon=\"warning--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"cds--text-input__invalid-icon\">\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\t\tcdsIcon=\"warning--alt--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t\t\t\t</svg>\n\t\t\t\t<ng-content select=\"[cdsPassword], [ibmPassword]\"></ng-content>\n\t\t\t\t<cds-tooltip\n\t\t\t\t\t*ngIf=\"!skeleton\"\n\t\t\t\t\t[description]=\"passwordIsVisible ? hidePasswordLabel : showPasswordLabel\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t\t\t[highContrast]=\"highContrast\"\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t\t\t[enterDelayMs]=\"enterDelayMs\"\n\t\t\t\t\t[leaveDelayMs]=\"leaveDelayMs\"\n\t\t\t\t\tclass=\"cds--toggle-password-tooltip\">\n\t\t\t\t\t\t<div class=\"cds--tooltip-trigger__wrapper\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclass=\"cds--text-input--password__visibility__toggle cds--btn cds--tooltip__trigger cds--tooltip--a11y\"\n\t\t\t\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t(click)=\"handleTogglePasswordVisibility($event)\">\n\t\t\t\t\t\t\t\t<svg *ngIf=\"passwordIsVisible\" cdsIcon=\"view--off\" class=\"cds--icon-visibility-off\" size=\"16\"></svg>\n\t\t\t\t\t\t\t\t<svg *ngIf=\"!passwordIsVisible\" cdsIcon=\"view\" class=\"cds--icon-visibility-on\" size=\"16\"></svg>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t</cds-tooltip>\n\n\t\t\t\t<ng-container *ngIf=\"fluid\">\n\t\t\t\t\t<hr class=\"cds--text-input__divider\" />\n\t\t\t\t\t<div *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\n\t\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{ warnText }}</ng-container>\n\t\t\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t</div>\n\t\t\t<ng-container *ngIf=\"!fluid\">\n\t\t\t\t<div\n\t\t\t\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\t\t\t\tclass=\"cds--form__helper-text\"\n\t\t\t\t\t[ngClass]=\"{ 'cds--form__helper-text--disabled': disabled }\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{ helperText }}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t\t</div>\n\n\t\t\t\t<div *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t\t</div>\n\n\t\t\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{ warnText }}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</ng-container>\n\t\t</div>\n `\n})\n/**\n * Represents the Password Input Label Component.\n */\nexport class PasswordInputLabelComponent extends BaseIconButton implements AfterViewInit {\n\t/**\n\t * Counter for generating unique labelInputID.\n\t */\n\tstatic labelCounter = 0;\n\n\t@ContentChild(PasswordInput) textInput: PasswordInput;\n\n\t/**\n\t * ID for the input item associated with the label.\n\t */\n\t@Input() labelInputID = \"cds-password-input-\" + PasswordInputLabelComponent.labelCounter++;\n\n\t/**\n\t * Type for input field, either password or text.\n\t */\n\tinputType: \"password\" | \"text\" = \"password\";\n\n\t/**\n\t* Flag for checking if password is visible.\n\t*/\n\tpasswordIsVisible = false;\n\n\t/**\n\t * Flag for disabled label.\n\t */\n\t@Input() disabled = false;\n\n\t/**\n\t * Flag for loading (skeleton) label.\n\t */\n\t@Input() skeleton = false;\n\n\t/**\n\t * Template for label content.\n\t */\n\t@Input() labelTemplate: TemplateRef<any>;\n\n\t/**\n\t * Template for password input.\n\t */\n\t@Input() passwordInputTemplate: TemplateRef<any>;\n\n\t/**\n\t * Optional helper text under the label.\n\t */\n\t@Input() helperText: string | TemplateRef<any>;\n\n\t/**\n\t * Sets the invalid text.\n\t */\n\t@Input() invalidText: string | TemplateRef<any>;\n\n\t/**\n\t * Flag for an invalid label component.\n\t */\n\t@Input() invalid = false;\n\n\t/**\n\t * Flag for showing a warning.\n\t */\n\t@Input() warn = false;\n\n\t/**\n\t * Warning text.\n\t */\n\t@Input() warnText: string | TemplateRef<any>;\n\n\t/**\n\t * Aria label for label.\n\t */\n\t@Input() ariaLabel: string;\n\n\t/**\n\t * Tooltip text for hiding password.\n\t */\n\t@Input() hidePasswordLabel = \"Hide password\";\n\n\t/**\n\t * Tooltip text for showing password.\n\t */\n\t@Input() showPasswordLabel = \"Show password\";\n\n\t/**\n\t * Experimental: enable fluid state\n\t */\n\t@Input() fluid = false;\n\n\t/**\n\t * Reference to the wrapper element.\n\t */\n\t@ViewChild(\"wrapper\", { static: true }) wrapper: ElementRef<HTMLDivElement>;\n\n\t/**\n\t * Binding for applying class to host element.\n\t */\n\t@HostBinding(\"class.cds--form-item\") labelClass = true;\n\t@HostBinding(\"class.cds--password-input-wrapper\") passwordInputWrapper = true;\n\t@HostBinding(\"class.cds--text-input-wrapper\") textInputWrapper = true;\n\t@HostBinding(\"class.cds--text-input-wrapper--readonly\") get isReadonly() {\n\t\treturn this.wrapper?.nativeElement.querySelector(\"input\")?.readOnly ?? false;\n\t}\n\n\t@HostBinding(\"class.cds--text-input--fluid\") get fluidClass() {\n\t\treturn this.fluid && !this.skeleton;\n\t}\n\n\t@HostBinding(\"class.cds--text-input--fluid__skeleton\") get fluidSkeletonClass() {\n\t\treturn this.fluid && this.skeleton;\n\t}\n\n\t/**\n\t * Constructor for PasswordInputLabelComponent.\n\t * @param changeDetectorRef - Reference to ChangeDetectorRef.\n\t */\n\tconstructor(protected changeDetectorRef: ChangeDetectorRef) {\n\t\tsuper();\n\t}\n\n\t/**\n\t * Lifecycle hook called after the view has been initialized to set the ID of the input element\n\t */\n\tngAfterViewInit() {\n\t\tif (this.wrapper) {\n\t\t\tconst inputElement =\n\t\t\t\tthis.wrapper.nativeElement.querySelector(\"input\");\n\t\t\tif (inputElement) {\n\t\t\t\tif (inputElement.id) {\n\t\t\t\t\tthis.labelInputID = inputElement.id;\n\t\t\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t\t\t}\n\t\t\t\tinputElement.setAttribute(\"id\", this.labelInputID);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Function to check if a value is a TemplateRef.\n\t * @param value - Value to check.\n\t * @returns Whether the value is a TemplateRef.\n\t */\n\tpublic isTemplate(value) {\n\t\treturn value instanceof TemplateRef;\n\t}\n\n\t/**\n\t * Handler for toggling password visibility.\n\t */\n\tpublic handleTogglePasswordVisibility() {\n\t\tthis.inputType = this.inputType === \"password\" ? \"text\" : \"password\";\n\t\tthis.textInput.type = this.inputType;\n\t\tthis.passwordIsVisible = this.inputType === \"text\";\n\t}\n}\n",
43425
43538
  "assetsDirs": [],
43426
43539
  "styleUrlsData": "",
43427
43540
  "stylesData": "",
@@ -43438,13 +43551,13 @@
43438
43551
  "deprecationMessage": ""
43439
43552
  }
43440
43553
  ],
43441
- "line": 213,
43554
+ "line": 244,
43442
43555
  "rawdescription": "\n\nConstructor for PasswordInputLabelComponent.\n",
43443
43556
  "jsdoctags": [
43444
43557
  {
43445
43558
  "name": {
43446
- "pos": 5769,
43447
- "end": 5786,
43559
+ "pos": 6918,
43560
+ "end": 6935,
43448
43561
  "flags": 16842752,
43449
43562
  "modifierFlagsCache": 0,
43450
43563
  "transformFlags": 0,
@@ -43455,8 +43568,8 @@
43455
43568
  "deprecated": false,
43456
43569
  "deprecationMessage": "",
43457
43570
  "tagName": {
43458
- "pos": 5763,
43459
- "end": 5768,
43571
+ "pos": 6912,
43572
+ "end": 6917,
43460
43573
  "flags": 16842752,
43461
43574
  "modifierFlagsCache": 0,
43462
43575
  "transformFlags": 0,
@@ -43480,7 +43593,25 @@
43480
43593
  "name": "isReadonly",
43481
43594
  "type": "",
43482
43595
  "returnType": "",
43483
- "line": 211
43596
+ "line": 234
43597
+ }
43598
+ },
43599
+ "fluidClass": {
43600
+ "name": "fluidClass",
43601
+ "getSignature": {
43602
+ "name": "fluidClass",
43603
+ "type": "",
43604
+ "returnType": "",
43605
+ "line": 238
43606
+ }
43607
+ },
43608
+ "fluidSkeletonClass": {
43609
+ "name": "fluidSkeletonClass",
43610
+ "getSignature": {
43611
+ "name": "fluidSkeletonClass",
43612
+ "type": "",
43613
+ "returnType": "",
43614
+ "line": 242
43484
43615
  }
43485
43616
  }
43486
43617
  }
@@ -61867,7 +61998,7 @@
61867
61998
  },
61868
61999
  {
61869
62000
  "name": "TextInputLabelComponent",
61870
- "id": "component-TextInputLabelComponent-40a5fa4a99975f64709f8c663f9f594f16d2aef26597ae1695aeb483431ffb3d85328e3802a0c33cf1aafce2bb9ab78987fa1a1f0c477d2c40cf6413467f0102",
62001
+ "id": "component-TextInputLabelComponent-f14584fce8ba15041c0135a0a64c5baa5afb8391618e7ef829969d866a2a97415598f29236a4b0a802d28233400d80b76e8a4865f168ffa1e26c3e267ce8b538",
61871
62002
  "file": "src/input/text-input-label.component.ts",
61872
62003
  "encapsulation": [],
61873
62004
  "entryComponents": [],
@@ -61877,7 +62008,7 @@
61877
62008
  "selector": "cds-text-label, ibm-text-label",
61878
62009
  "styleUrls": [],
61879
62010
  "styles": [],
61880
- "template": "<label\n\t[for]=\"labelInputID\"\n\t[attr.aria-label]=\"ariaLabel\"\n\tclass=\"cds--label\"\n\t[ngClass]=\"{\n\t\t'cds--label--disabled': disabled,\n\t\t'cds--skeleton': skeleton\n\t}\">\n\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t<ng-template #labelContent>\n\t\t<ng-content></ng-content>\n\t</ng-template>\n</label>\n<div\n\tclass=\"cds--text-input__field-wrapper\"\n\t[ngClass]=\"{\n\t\t'cds--text-input__field-wrapper--warning': warn\n\t}\"\n\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t#wrapper>\n\t<svg\n\t\t*ngIf=\"invalid\"\n\t\tcdsIcon=\"warning--filled\"\n\t\tsize=\"16\"\n\t\tclass=\"cds--text-input__invalid-icon\">\n\t</svg>\n\t<svg\n\t\t*ngIf=\"!invalid && warn\"\n\t\tcdsIcon=\"warning--alt--filled\"\n\t\tsize=\"16\"\n\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t</svg>\n\t<ng-template *ngIf=\"textInputTemplate; else textInputContent\" [ngTemplateOutlet]=\"textInputTemplate\"></ng-template>\n\t<ng-template #textInputContent>\n\t\t<ng-content select=\"[cdsText],[ibmText],input[type=text],div\"></ng-content>\n\t</ng-template>\n</div>\n<div\n\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\tclass=\"cds--form__helper-text\"\n\t[ngClass]=\"{'cds--form__helper-text--disabled': disabled}\">\n\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n</div>\n<div *ngIf=\"invalid\" class=\"cds--form-requirement\">\n\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n</div>\n<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n</div>\n\t",
62011
+ "template": "<ng-container *ngIf=\"skeleton\">\n\t<span class=\"cds--label cds--skeleton\"></span>\n\t<div class=\"cds--text-input cds--skeleton\"></div>\n</ng-container>\n<label\n\t*ngIf=\"!skeleton\"\n\t[for]=\"labelInputID\"\n\t[attr.aria-label]=\"ariaLabel\"\n\tclass=\"cds--label\"\n\t[ngClass]=\"{\n\t\t'cds--label--disabled': disabled\n\t}\">\n\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t<ng-template #labelContent>\n\t\t<ng-content></ng-content>\n\t</ng-template>\n</label>\n<div *ngIf=\"!skeleton\" class=\"cds--text-input__field-outer-wrapper\">\n\t<div\n\t\tclass=\"cds--text-input__field-wrapper\"\n\t\t[ngClass]=\"{\n\t\t\t'cds--text-input__field-wrapper--warning': warn\n\t\t}\"\n\t\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t\t#wrapper>\n\t\t<svg\n\t\t\t*ngIf=\"invalid && !warn\"\n\t\t\tcdsIcon=\"warning--filled\"\n\t\t\tsize=\"16\"\n\t\t\tclass=\"cds--text-input__invalid-icon\">\n\t\t</svg>\n\t\t<svg\n\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\tcdsIcon=\"warning--alt--filled\"\n\t\t\tsize=\"16\"\n\t\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t\t</svg>\n\t\t<ng-template *ngIf=\"textInputTemplate; else textInputContent\" [ngTemplateOutlet]=\"textInputTemplate\"></ng-template>\n\t\t<ng-template #textInputContent>\n\t\t\t<ng-content select=\"[cdsText],[ibmText],input[type=text],div\"></ng-content>\n\t\t</ng-template>\n\n\t\t<ng-container *ngIf=\"fluid\">\n\t\t\t<hr class=\"cds--text-input__divider\" />\n\t\t\t<div *ngIf=\"invalid\" class=\"cds--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t</div>\n\t\t</ng-container>\n\t</div>\n\t<ng-container *ngIf=\"!fluid\">\n\t\t<div\n\t\t\t*ngIf=\"helperText && !invalid && !warn\"\n\t\t\tclass=\"cds--form__helper-text\"\n\t\t\t[ngClass]=\"{'cds--form__helper-text--disabled': disabled}\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"invalid\" class=\"cds--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t</div>\n\t</ng-container>\n</div>\n\t",
61881
62012
  "templateUrl": [],
61882
62013
  "viewProviders": [],
61883
62014
  "hostDirectives": [],
@@ -61888,7 +62019,7 @@
61888
62019
  "deprecationMessage": "",
61889
62020
  "rawdescription": "\n\nSet the arialabel for label\n",
61890
62021
  "description": "<p>Set the arialabel for label</p>\n",
61891
- "line": 134,
62022
+ "line": 154,
61892
62023
  "type": "string",
61893
62024
  "decorators": []
61894
62025
  },
@@ -61899,7 +62030,18 @@
61899
62030
  "deprecationMessage": "",
61900
62031
  "rawdescription": "\n\nSet to `true` for a disabled label.\n",
61901
62032
  "description": "<p>Set to <code>true</code> for a disabled label.</p>\n",
61902
- "line": 99,
62033
+ "line": 119,
62034
+ "type": "boolean",
62035
+ "decorators": []
62036
+ },
62037
+ {
62038
+ "name": "fluid",
62039
+ "defaultValue": "false",
62040
+ "deprecated": false,
62041
+ "deprecationMessage": "",
62042
+ "rawdescription": "\n\nExperimental: enable fluid state\n",
62043
+ "description": "<p>Experimental: enable fluid state</p>\n",
62044
+ "line": 159,
61903
62045
  "type": "boolean",
61904
62046
  "decorators": []
61905
62047
  },
@@ -61909,7 +62051,7 @@
61909
62051
  "deprecationMessage": "",
61910
62052
  "rawdescription": "\n\nOptional helper text that appears under the label.\n",
61911
62053
  "description": "<p>Optional helper text that appears under the label.</p>\n",
61912
- "line": 114,
62054
+ "line": 134,
61913
62055
  "type": "string | TemplateRef<any>",
61914
62056
  "decorators": []
61915
62057
  },
@@ -61920,7 +62062,7 @@
61920
62062
  "deprecationMessage": "",
61921
62063
  "rawdescription": "\n\nSet to `true` for an invalid label component.\n",
61922
62064
  "description": "<p>Set to <code>true</code> for an invalid label component.</p>\n",
61923
- "line": 122,
62065
+ "line": 142,
61924
62066
  "type": "boolean",
61925
62067
  "decorators": []
61926
62068
  },
@@ -61930,7 +62072,7 @@
61930
62072
  "deprecationMessage": "",
61931
62073
  "rawdescription": "\n\nSets the invalid text.\n",
61932
62074
  "description": "<p>Sets the invalid text.</p>\n",
61933
- "line": 118,
62075
+ "line": 138,
61934
62076
  "type": "string | TemplateRef<any>",
61935
62077
  "decorators": []
61936
62078
  },
@@ -61941,7 +62083,7 @@
61941
62083
  "deprecationMessage": "",
61942
62084
  "rawdescription": "\n\nThe id of the input item associated with the `Label`. This value is also used to associate the `Label` with\nits input counterpart through the 'for' attribute.\n",
61943
62085
  "description": "<p>The id of the input item associated with the <code>Label</code>. This value is also used to associate the <code>Label</code> with\nits input counterpart through the &#39;for&#39; attribute.</p>\n",
61944
- "line": 94,
62086
+ "line": 114,
61945
62087
  "type": "string",
61946
62088
  "decorators": []
61947
62089
  },
@@ -61951,7 +62093,7 @@
61951
62093
  "deprecationMessage": "",
61952
62094
  "rawdescription": "\n\nHelper input property for ease of migration\nSince we cannot pass ng-content down easily from label component, we will accept the templates\n",
61953
62095
  "description": "<p>Helper input property for ease of migration\nSince we cannot pass ng-content down easily from label component, we will accept the templates</p>\n",
61954
- "line": 109,
62096
+ "line": 129,
61955
62097
  "type": "TemplateRef<any>",
61956
62098
  "decorators": []
61957
62099
  },
@@ -61962,7 +62104,7 @@
61962
62104
  "deprecationMessage": "",
61963
62105
  "rawdescription": "\n\nSet to `true` for a loading label.\n",
61964
62106
  "description": "<p>Set to <code>true</code> for a loading label.</p>\n",
61965
- "line": 103,
62107
+ "line": 123,
61966
62108
  "type": "boolean",
61967
62109
  "decorators": []
61968
62110
  },
@@ -61970,7 +62112,7 @@
61970
62112
  "name": "textInputTemplate",
61971
62113
  "deprecated": false,
61972
62114
  "deprecationMessage": "",
61973
- "line": 110,
62115
+ "line": 130,
61974
62116
  "type": "TemplateRef<any>",
61975
62117
  "decorators": []
61976
62118
  },
@@ -61981,7 +62123,7 @@
61981
62123
  "deprecationMessage": "",
61982
62124
  "rawdescription": "\n\nSet to `true` to show a warning (contents set by warningText)\n",
61983
62125
  "description": "<p>Set to <code>true</code> to show a warning (contents set by warningText)</p>\n",
61984
- "line": 126,
62126
+ "line": 146,
61985
62127
  "type": "boolean",
61986
62128
  "decorators": []
61987
62129
  },
@@ -61991,7 +62133,7 @@
61991
62133
  "deprecationMessage": "",
61992
62134
  "rawdescription": "\n\nSets the warning text\n",
61993
62135
  "description": "<p>Sets the warning text</p>\n",
61994
- "line": 130,
62136
+ "line": 150,
61995
62137
  "type": "string | TemplateRef<any>",
61996
62138
  "decorators": []
61997
62139
  }
@@ -62006,7 +62148,7 @@
62006
62148
  "type": "",
62007
62149
  "optional": false,
62008
62150
  "description": "",
62009
- "line": 139,
62151
+ "line": 164,
62010
62152
  "decorators": [
62011
62153
  {
62012
62154
  "name": "HostBinding",
@@ -62025,12 +62167,31 @@
62025
62167
  "type": "number",
62026
62168
  "optional": false,
62027
62169
  "description": "<p>Used to build the id of the input item associated with the <code>Label</code>.</p>\n",
62028
- "line": 89,
62170
+ "line": 109,
62029
62171
  "rawdescription": "\n\nUsed to build the id of the input item associated with the `Label`.\n",
62030
62172
  "modifierKind": [
62031
62173
  126
62032
62174
  ]
62033
62175
  },
62176
+ {
62177
+ "name": "textInputWrapper",
62178
+ "defaultValue": "true",
62179
+ "deprecated": false,
62180
+ "deprecationMessage": "",
62181
+ "type": "",
62182
+ "optional": false,
62183
+ "description": "",
62184
+ "line": 166,
62185
+ "decorators": [
62186
+ {
62187
+ "name": "HostBinding",
62188
+ "stringifiedArguments": "'class.cds--text-input-wrapper'"
62189
+ }
62190
+ ],
62191
+ "modifierKind": [
62192
+ 170
62193
+ ]
62194
+ },
62034
62195
  {
62035
62196
  "name": "wrapper",
62036
62197
  "deprecated": false,
@@ -62038,7 +62199,7 @@
62038
62199
  "type": "ElementRef<HTMLDivElement>",
62039
62200
  "optional": false,
62040
62201
  "description": "",
62041
- "line": 137,
62202
+ "line": 162,
62042
62203
  "decorators": [
62043
62204
  {
62044
62205
  "name": "ViewChild",
@@ -62064,7 +62225,7 @@
62064
62225
  "optional": false,
62065
62226
  "returnType": "boolean",
62066
62227
  "typeParameters": [],
62067
- "line": 178,
62228
+ "line": 213,
62068
62229
  "deprecated": false,
62069
62230
  "deprecationMessage": "",
62070
62231
  "modifierKind": [
@@ -62091,7 +62252,32 @@
62091
62252
  "defaultValue": "true",
62092
62253
  "deprecated": false,
62093
62254
  "deprecationMessage": "",
62094
- "line": 139,
62255
+ "line": 164,
62256
+ "type": "boolean",
62257
+ "decorators": []
62258
+ },
62259
+ {
62260
+ "name": "class.cds--text-input--fluid",
62261
+ "deprecated": false,
62262
+ "deprecationMessage": "",
62263
+ "line": 172,
62264
+ "type": "boolean",
62265
+ "decorators": []
62266
+ },
62267
+ {
62268
+ "name": "class.cds--text-input--fluid__skeleton",
62269
+ "deprecated": false,
62270
+ "deprecationMessage": "",
62271
+ "line": 176,
62272
+ "type": "boolean",
62273
+ "decorators": []
62274
+ },
62275
+ {
62276
+ "name": "class.cds--text-input-wrapper",
62277
+ "defaultValue": "true",
62278
+ "deprecated": false,
62279
+ "deprecationMessage": "",
62280
+ "line": 166,
62095
62281
  "type": "boolean",
62096
62282
  "decorators": []
62097
62283
  },
@@ -62099,7 +62285,7 @@
62099
62285
  "name": "class.cds--text-input-wrapper--readonly",
62100
62286
  "deprecated": false,
62101
62287
  "deprecationMessage": "",
62102
- "line": 141,
62288
+ "line": 168,
62103
62289
  "type": "any",
62104
62290
  "decorators": []
62105
62291
  }
@@ -62110,7 +62296,7 @@
62110
62296
  "description": "<p>Get started with importing the module:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { InputModule } from &#39;carbon-components-angular&#39;;</code></pre></div><b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-html\">&lt;cds-text-label&gt;\n Label\n &lt;input cdsText type=&quot;text&quot; class=&quot;input-field&quot;&gt;\n&lt;/cds-text-label&gt;</code></pre></div><p><a href=\"../../?path=/story/components-input--basic\">See demo</a></p>\n",
62111
62297
  "rawdescription": "\n\nGet started with importing the module:\n\n```typescript\nimport { InputModule } from 'carbon-components-angular';\n```\n\n```html\n<cds-text-label>\n\tLabel\n\t<input cdsText type=\"text\" class=\"input-field\">\n</cds-text-label>\n```\n\n[See demo](../../?path=/story/components-input--basic)\n",
62112
62298
  "type": "component",
62113
- "sourceCode": "import {\n\tComponent,\n\tInput,\n\tAfterViewInit,\n\tElementRef,\n\tHostBinding,\n\tTemplateRef,\n\tViewChild,\n\tChangeDetectorRef\n} from \"@angular/core\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { InputModule } from 'carbon-components-angular';\n * ```\n *\n * ```html\n * <cds-text-label>\n * \tLabel\n * \t<input cdsText type=\"text\" class=\"input-field\">\n * </cds-text-label>\n * ```\n *\n * [See demo](../../?path=/story/components-input--basic)\n */\n@Component({\n\tselector: \"cds-text-label, ibm-text-label\",\n\ttemplate: `\n\t\t<label\n\t\t\t[for]=\"labelInputID\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\tclass=\"cds--label\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'cds--label--disabled': disabled,\n\t\t\t\t'cds--skeleton': skeleton\n\t\t\t}\">\n\t\t\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t\t\t<ng-template #labelContent>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-template>\n\t\t</label>\n\t\t<div\n\t\t\tclass=\"cds--text-input__field-wrapper\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'cds--text-input__field-wrapper--warning': warn\n\t\t\t}\"\n\t\t\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t\t\t#wrapper>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"invalid\"\n\t\t\t\tcdsIcon=\"warning--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"cds--text-input__invalid-icon\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\tcdsIcon=\"warning--alt--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t\t\t</svg>\n\t\t\t<ng-template *ngIf=\"textInputTemplate; else textInputContent\" [ngTemplateOutlet]=\"textInputTemplate\"></ng-template>\n\t\t\t<ng-template #textInputContent>\n\t\t\t\t<ng-content select=\"[cdsText],[ibmText],input[type=text],div\"></ng-content>\n\t\t\t</ng-template>\n\t\t</div>\n\t\t<div\n\t\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\t\tclass=\"cds--form__helper-text\"\n\t\t\t[ngClass]=\"{'cds--form__helper-text--disabled': disabled}\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"invalid\" class=\"cds--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t</div>\n\t`\n})\nexport class TextInputLabelComponent implements AfterViewInit {\n\t/**\n\t * Used to build the id of the input item associated with the `Label`.\n\t */\n\tstatic labelCounter = 0;\n\t/**\n\t * The id of the input item associated with the `Label`. This value is also used to associate the `Label` with\n\t * its input counterpart through the 'for' attribute.\n\t*/\n\t@Input() labelInputID = \"ibm-text-input-\" + TextInputLabelComponent.labelCounter++;\n\n\t/**\n\t * Set to `true` for a disabled label.\n\t */\n\t@Input() disabled = false;\n\t/**\n\t * Set to `true` for a loading label.\n\t */\n\t@Input() skeleton = false;\n\n\t/**\n\t * Helper input property for ease of migration\n\t * Since we cannot pass ng-content down easily from label component, we will accept the templates\n\t */\n\t@Input() labelTemplate: TemplateRef<any>;\n\t@Input() textInputTemplate: TemplateRef<any>;\n\t/**\n\t * Optional helper text that appears under the label.\n\t */\n\t@Input() helperText: string | TemplateRef<any>;\n\t/**\n\t * Sets the invalid text.\n\t */\n\t@Input() invalidText: string | TemplateRef<any>;\n\t/**\n\t * Set to `true` for an invalid label component.\n\t */\n\t@Input() invalid = false;\n\t/**\n\t * Set to `true` to show a warning (contents set by warningText)\n\t */\n\t@Input() warn = false;\n\t/**\n\t * Sets the warning text\n\t */\n\t@Input() warnText: string | TemplateRef<any>;\n\t/**\n\t * Set the arialabel for label\n\t */\n\t@Input() ariaLabel: string;\n\n\t// @ts-ignore\n\t@ViewChild(\"wrapper\", { static: false }) wrapper: ElementRef<HTMLDivElement>;\n\n\t@HostBinding(\"class.cds--form-item\") labelClass = true;\n\n\t@HostBinding(\"class.cds--text-input-wrapper--readonly\") get isReadonly() {\n\t\treturn this.wrapper?.nativeElement.querySelector(\"input\")?.readOnly ?? false;\n\t}\n\n\t/**\n\t * Creates an instance of Label.\n\t */\n\tconstructor(protected changeDetectorRef: ChangeDetectorRef) {}\n\n\t/**\n\t * Sets the id on the input item associated with the `Label`.\n\t */\n\tngAfterViewInit() {\n\t\tif (this.wrapper) {\n\t\t\t// Prioritize setting id to `input` over div\n\t\t\tconst inputElement = this.wrapper.nativeElement.querySelector(\"input\");\n\t\t\tif (inputElement) {\n\t\t\t\t// avoid overriding ids already set by the user reuse it instead\n\t\t\t\tif (inputElement.id) {\n\t\t\t\t\tthis.labelInputID = inputElement.id;\n\t\t\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t\t\t}\n\t\t\t\tinputElement.setAttribute(\"id\", this.labelInputID);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst divElement = this.wrapper.nativeElement.querySelector(\"div\");\n\t\t\tif (divElement) {\n\t\t\t\tif (divElement.id) {\n\t\t\t\t\tthis.labelInputID = divElement.id;\n\t\t\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t\t\t}\n\t\t\t\tdivElement.setAttribute(\"id\", this.labelInputID);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic isTemplate(value) {\n\t\treturn value instanceof TemplateRef;\n\t}\n}\n",
62299
+ "sourceCode": "import {\n\tAfterViewInit,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tInput,\n\tTemplateRef,\n\tViewChild\n} from \"@angular/core\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { InputModule } from 'carbon-components-angular';\n * ```\n *\n * ```html\n * <cds-text-label>\n * \tLabel\n * \t<input cdsText type=\"text\" class=\"input-field\">\n * </cds-text-label>\n * ```\n *\n * [See demo](../../?path=/story/components-input--basic)\n */\n@Component({\n\tselector: \"cds-text-label, ibm-text-label\",\n\ttemplate: `\n\t\t<ng-container *ngIf=\"skeleton\">\n\t\t\t<span class=\"cds--label cds--skeleton\"></span>\n\t\t\t<div class=\"cds--text-input cds--skeleton\"></div>\n\t\t</ng-container>\n\t\t<label\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\t[for]=\"labelInputID\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\tclass=\"cds--label\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'cds--label--disabled': disabled\n\t\t\t}\">\n\t\t\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t\t\t<ng-template #labelContent>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-template>\n\t\t</label>\n\t\t<div *ngIf=\"!skeleton\" class=\"cds--text-input__field-outer-wrapper\">\n\t\t\t<div\n\t\t\t\tclass=\"cds--text-input__field-wrapper\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'cds--text-input__field-wrapper--warning': warn\n\t\t\t\t}\"\n\t\t\t\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t\t\t\t#wrapper>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"invalid && !warn\"\n\t\t\t\t\tcdsIcon=\"warning--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"cds--text-input__invalid-icon\">\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\t\tcdsIcon=\"warning--alt--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"cds--text-input__invalid-icon cds--text-input__invalid-icon--warning\">\n\t\t\t\t</svg>\n\t\t\t\t<ng-template *ngIf=\"textInputTemplate; else textInputContent\" [ngTemplateOutlet]=\"textInputTemplate\"></ng-template>\n\t\t\t\t<ng-template #textInputContent>\n\t\t\t\t\t<ng-content select=\"[cdsText],[ibmText],input[type=text],div\"></ng-content>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<ng-container *ngIf=\"fluid\">\n\t\t\t\t\t<hr class=\"cds--text-input__divider\" />\n\t\t\t\t\t<div *ngIf=\"invalid\" class=\"cds--form-requirement\">\n\t\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t</div>\n\t\t\t<ng-container *ngIf=\"!fluid\">\n\t\t\t\t<div\n\t\t\t\t\t*ngIf=\"helperText && !invalid && !warn\"\n\t\t\t\t\tclass=\"cds--form__helper-text\"\n\t\t\t\t\t[ngClass]=\"{'cds--form__helper-text--disabled': disabled}\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf=\"invalid\" class=\"cds--form-requirement\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</ng-container>\n\t\t</div>\n\t`\n})\nexport class TextInputLabelComponent implements AfterViewInit {\n\t/**\n\t * Used to build the id of the input item associated with the `Label`.\n\t */\n\tstatic labelCounter = 0;\n\t/**\n\t * The id of the input item associated with the `Label`. This value is also used to associate the `Label` with\n\t * its input counterpart through the 'for' attribute.\n\t*/\n\t@Input() labelInputID = \"ibm-text-input-\" + TextInputLabelComponent.labelCounter++;\n\n\t/**\n\t * Set to `true` for a disabled label.\n\t */\n\t@Input() disabled = false;\n\t/**\n\t * Set to `true` for a loading label.\n\t */\n\t@Input() skeleton = false;\n\n\t/**\n\t * Helper input property for ease of migration\n\t * Since we cannot pass ng-content down easily from label component, we will accept the templates\n\t */\n\t@Input() labelTemplate: TemplateRef<any>;\n\t@Input() textInputTemplate: TemplateRef<any>;\n\t/**\n\t * Optional helper text that appears under the label.\n\t */\n\t@Input() helperText: string | TemplateRef<any>;\n\t/**\n\t * Sets the invalid text.\n\t */\n\t@Input() invalidText: string | TemplateRef<any>;\n\t/**\n\t * Set to `true` for an invalid label component.\n\t */\n\t@Input() invalid = false;\n\t/**\n\t * Set to `true` to show a warning (contents set by warningText)\n\t */\n\t@Input() warn = false;\n\t/**\n\t * Sets the warning text\n\t */\n\t@Input() warnText: string | TemplateRef<any>;\n\t/**\n\t * Set the arialabel for label\n\t */\n\t@Input() ariaLabel: string;\n\n\t/**\n\t * Experimental: enable fluid state\n\t */\n\t@Input() fluid = false;\n\n\t// @ts-ignore\n\t@ViewChild(\"wrapper\", { static: false }) wrapper: ElementRef<HTMLDivElement>;\n\n\t@HostBinding(\"class.cds--form-item\") labelClass = true;\n\n\t@HostBinding(\"class.cds--text-input-wrapper\") textInputWrapper = true;\n\n\t@HostBinding(\"class.cds--text-input-wrapper--readonly\") get isReadonly() {\n\t\treturn this.wrapper?.nativeElement.querySelector(\"input\")?.readOnly ?? false;\n\t}\n\n\t@HostBinding(\"class.cds--text-input--fluid\") get fluidClass() {\n\t\treturn this.fluid && !this.skeleton;\n\t}\n\n\t@HostBinding(\"class.cds--text-input--fluid__skeleton\") get fluidSkeletonClass() {\n\t\treturn this.fluid && this.skeleton;\n\t}\n\n\t/**\n\t * Creates an instance of Label.\n\t */\n\tconstructor(protected changeDetectorRef: ChangeDetectorRef) {}\n\n\t/**\n\t * Sets the id on the input item associated with the `Label`.\n\t */\n\tngAfterViewInit() {\n\t\tif (this.wrapper) {\n\t\t\t// Prioritize setting id to `input` over div\n\t\t\tconst inputElement = this.wrapper.nativeElement.querySelector(\"input\");\n\t\t\tif (inputElement) {\n\t\t\t\t// avoid overriding ids already set by the user reuse it instead\n\t\t\t\tif (inputElement.id) {\n\t\t\t\t\tthis.labelInputID = inputElement.id;\n\t\t\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t\t\t}\n\t\t\t\tinputElement.setAttribute(\"id\", this.labelInputID);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst divElement = this.wrapper.nativeElement.querySelector(\"div\");\n\t\t\tif (divElement) {\n\t\t\t\tif (divElement.id) {\n\t\t\t\t\tthis.labelInputID = divElement.id;\n\t\t\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t\t\t}\n\t\t\t\tdivElement.setAttribute(\"id\", this.labelInputID);\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic isTemplate(value) {\n\t\treturn value instanceof TemplateRef;\n\t}\n}\n",
62114
62300
  "assetsDirs": [],
62115
62301
  "styleUrlsData": "",
62116
62302
  "stylesData": "",
@@ -62127,7 +62313,7 @@
62127
62313
  "deprecationMessage": ""
62128
62314
  }
62129
62315
  ],
62130
- "line": 143,
62316
+ "line": 178,
62131
62317
  "rawdescription": "\n\nCreates an instance of Label.\n",
62132
62318
  "jsdoctags": [
62133
62319
  {
@@ -62152,7 +62338,25 @@
62152
62338
  "name": "isReadonly",
62153
62339
  "type": "",
62154
62340
  "returnType": "",
62155
- "line": 141
62341
+ "line": 168
62342
+ }
62343
+ },
62344
+ "fluidClass": {
62345
+ "name": "fluidClass",
62346
+ "getSignature": {
62347
+ "name": "fluidClass",
62348
+ "type": "",
62349
+ "returnType": "",
62350
+ "line": 172
62351
+ }
62352
+ },
62353
+ "fluidSkeletonClass": {
62354
+ "name": "fluidSkeletonClass",
62355
+ "getSignature": {
62356
+ "name": "fluidSkeletonClass",
62357
+ "type": "",
62358
+ "returnType": "",
62359
+ "line": 176
62156
62360
  }
62157
62361
  }
62158
62362
  }
@@ -70181,13 +70385,13 @@
70181
70385
  },
70182
70386
  {
70183
70387
  "name": "LinkModule",
70184
- "id": "module-LinkModule-2790d06d16b68fa2edd457d5bc90e0eec459e8ef66bd88cca5e1d3d846e33a169e7a8a2f46388c57faa943000ce967b825cf52272ef0b8f716084b12c71cef1b",
70388
+ "id": "module-LinkModule-b6b59a7cd7c68cb547739f8b9a4d15159b95fd630a4aa00614eef2f1222d2e360c06d5fb54bf1631fb4dbe61491338320925febfff89723de1162e6c660215d0",
70185
70389
  "description": "",
70186
70390
  "deprecationMessage": "",
70187
70391
  "deprecated": false,
70188
70392
  "file": "src/link/link.module.ts",
70189
70393
  "methods": [],
70190
- "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",
70191
70395
  "children": [
70192
70396
  {
70193
70397
  "type": "providers",
@@ -70198,6 +70402,9 @@
70198
70402
  "elements": [
70199
70403
  {
70200
70404
  "name": "Link"
70405
+ },
70406
+ {
70407
+ "name": "LinkIconDirective"
70201
70408
  }
70202
70409
  ]
70203
70410
  },
@@ -70210,6 +70417,9 @@
70210
70417
  "elements": [
70211
70418
  {
70212
70419
  "name": "Link"
70420
+ },
70421
+ {
70422
+ "name": "LinkIconDirective"
70213
70423
  }
70214
70424
  ]
70215
70425
  },
@@ -72471,7 +72681,7 @@
72471
72681
  "name": "Basic",
72472
72682
  "ctype": "miscellaneous",
72473
72683
  "subtype": "variable",
72474
- "file": "src/breadcrumb/breadcrumb.stories.ts",
72684
+ "file": "src/button/button-set.stories.ts",
72475
72685
  "deprecated": false,
72476
72686
  "deprecationMessage": "",
72477
72687
  "type": "",
@@ -72481,7 +72691,7 @@
72481
72691
  "name": "Basic",
72482
72692
  "ctype": "miscellaneous",
72483
72693
  "subtype": "variable",
72484
- "file": "src/button/button-set.stories.ts",
72694
+ "file": "src/button/button.stories.ts",
72485
72695
  "deprecated": false,
72486
72696
  "deprecationMessage": "",
72487
72697
  "type": "",
@@ -72491,7 +72701,7 @@
72491
72701
  "name": "Basic",
72492
72702
  "ctype": "miscellaneous",
72493
72703
  "subtype": "variable",
72494
- "file": "src/button/button.stories.ts",
72704
+ "file": "src/button/icon-button.stories.ts",
72495
72705
  "deprecated": false,
72496
72706
  "deprecationMessage": "",
72497
72707
  "type": "",
@@ -72501,7 +72711,7 @@
72501
72711
  "name": "Basic",
72502
72712
  "ctype": "miscellaneous",
72503
72713
  "subtype": "variable",
72504
- "file": "src/button/icon-button.stories.ts",
72714
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
72505
72715
  "deprecated": false,
72506
72716
  "deprecationMessage": "",
72507
72717
  "type": "",
@@ -72841,7 +73051,7 @@
72841
73051
  "name": "Basic",
72842
73052
  "ctype": "miscellaneous",
72843
73053
  "subtype": "variable",
72844
- "file": "src/table/table.stories.ts",
73054
+ "file": "src/tabs/tabs.stories.ts",
72845
73055
  "deprecated": false,
72846
73056
  "deprecationMessage": "",
72847
73057
  "type": "",
@@ -72851,7 +73061,7 @@
72851
73061
  "name": "Basic",
72852
73062
  "ctype": "miscellaneous",
72853
73063
  "subtype": "variable",
72854
- "file": "src/tabs/tabs.stories.ts",
73064
+ "file": "src/tag/tag.stories.ts",
72855
73065
  "deprecated": false,
72856
73066
  "deprecationMessage": "",
72857
73067
  "type": "",
@@ -72861,7 +73071,7 @@
72861
73071
  "name": "Basic",
72862
73072
  "ctype": "miscellaneous",
72863
73073
  "subtype": "variable",
72864
- "file": "src/tag/tag.stories.ts",
73074
+ "file": "src/table/table.stories.ts",
72865
73075
  "deprecated": false,
72866
73076
  "deprecationMessage": "",
72867
73077
  "type": "",
@@ -73508,6 +73718,26 @@
73508
73718
  "type": "",
73509
73719
  "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})"
73510
73720
  },
73721
+ {
73722
+ "name": "Fluid",
73723
+ "ctype": "miscellaneous",
73724
+ "subtype": "variable",
73725
+ "file": "src/input/input.stories.ts",
73726
+ "deprecated": false,
73727
+ "deprecationMessage": "",
73728
+ "type": "",
73729
+ "defaultValue": "Template.bind({})"
73730
+ },
73731
+ {
73732
+ "name": "Fluid",
73733
+ "ctype": "miscellaneous",
73734
+ "subtype": "variable",
73735
+ "file": "src/input/password.stories.ts",
73736
+ "deprecated": false,
73737
+ "deprecationMessage": "",
73738
+ "type": "",
73739
+ "defaultValue": "Template.bind({})"
73740
+ },
73511
73741
  {
73512
73742
  "name": "Fluid",
73513
73743
  "ctype": "miscellaneous",
@@ -73758,6 +73988,16 @@
73758
73988
  "type": "",
73759
73989
  "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<app-treeview-icon-component></app-treeview-icon-component>\n\t`\n})"
73760
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
+ },
73761
74001
  {
73762
74002
  "name": "Indeterminate",
73763
74003
  "ctype": "miscellaneous",
@@ -74717,7 +74957,7 @@
74717
74957
  "deprecated": false,
74718
74958
  "deprecationMessage": "",
74719
74959
  "type": "",
74720
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-structured-list\n\t\t\t[border]=\"border\"\n\t\t\t[condensed]=\"condensed\"\n\t\t\t[nowrap]=\"nowrap\"\n\t\t\tselection=\"true\"\n\t\t\t[(ngModel)]=\"valueSelected\">\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 value=\"row1\">\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 value=\"row2\">\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\t<cds-list-row value=\"row3\">\n\t\t\t\t<cds-list-column>Row 3</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Three</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 value=\"row4\">\n\t\t\t\t<cds-list-column>Row 4</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Four</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\t<p>{{valueSelected}}</p>\n\t`\n})"
74960
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-structured-list\n\t\t\t[condensed]=\"condensed\"\n\t\t\t[selection]=\"true\"\n\t\t\t[(ngModel)]=\"valueSelected\">\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 value=\"row1\">\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 value=\"row2\">\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\t<cds-list-row value=\"row3\">\n\t\t\t\t<cds-list-column>Row 3</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Three</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 value=\"row4\">\n\t\t\t\t<cds-list-column>Row 4</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Four</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\t<p>{{valueSelected}}</p>\n\t`\n})"
74721
74961
  },
74722
74962
  {
74723
74963
  "name": "SideNavigation",
@@ -74993,7 +75233,7 @@
74993
75233
  "name": "Skeleton",
74994
75234
  "ctype": "miscellaneous",
74995
75235
  "subtype": "variable",
74996
- "file": "src/table/table.stories.ts",
75236
+ "file": "src/tabs/tabs.stories.ts",
74997
75237
  "deprecated": false,
74998
75238
  "deprecationMessage": "",
74999
75239
  "type": "",
@@ -75003,7 +75243,7 @@
75003
75243
  "name": "Skeleton",
75004
75244
  "ctype": "miscellaneous",
75005
75245
  "subtype": "variable",
75006
- "file": "src/tabs/tabs.stories.ts",
75246
+ "file": "src/table/table.stories.ts",
75007
75247
  "deprecated": false,
75008
75248
  "deprecationMessage": "",
75009
75249
  "type": "",
@@ -75113,21 +75353,21 @@
75113
75353
  "name": "SkeletonTemplate",
75114
75354
  "ctype": "miscellaneous",
75115
75355
  "subtype": "variable",
75116
- "file": "src/table/table.stories.ts",
75356
+ "file": "src/tabs/tabs.stories.ts",
75117
75357
  "deprecated": false,
75118
75358
  "deprecationMessage": "",
75119
75359
  "type": "",
75120
- "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})"
75121
75361
  },
75122
75362
  {
75123
75363
  "name": "SkeletonTemplate",
75124
75364
  "ctype": "miscellaneous",
75125
75365
  "subtype": "variable",
75126
- "file": "src/tabs/tabs.stories.ts",
75366
+ "file": "src/table/table.stories.ts",
75127
75367
  "deprecated": false,
75128
75368
  "deprecationMessage": "",
75129
75369
  "type": "",
75130
- "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})"
75131
75371
  },
75132
75372
  {
75133
75373
  "name": "SkeletonTemplate",
@@ -75223,41 +75463,41 @@
75223
75463
  "name": "Template",
75224
75464
  "ctype": "miscellaneous",
75225
75465
  "subtype": "variable",
75226
- "file": "src/breadcrumb/breadcrumb.stories.ts",
75466
+ "file": "src/button/button-set.stories.ts",
75227
75467
  "deprecated": false,
75228
75468
  "deprecationMessage": "",
75229
75469
  "type": "",
75230
- "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})"
75231
75471
  },
75232
75472
  {
75233
75473
  "name": "Template",
75234
75474
  "ctype": "miscellaneous",
75235
75475
  "subtype": "variable",
75236
- "file": "src/button/button-set.stories.ts",
75476
+ "file": "src/button/button.stories.ts",
75237
75477
  "deprecated": false,
75238
75478
  "deprecationMessage": "",
75239
75479
  "type": "",
75240
- "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})"
75241
75481
  },
75242
75482
  {
75243
75483
  "name": "Template",
75244
75484
  "ctype": "miscellaneous",
75245
75485
  "subtype": "variable",
75246
- "file": "src/button/button.stories.ts",
75486
+ "file": "src/button/icon-button.stories.ts",
75247
75487
  "deprecated": false,
75248
75488
  "deprecationMessage": "",
75249
75489
  "type": "",
75250
- "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})"
75251
75491
  },
75252
75492
  {
75253
75493
  "name": "Template",
75254
75494
  "ctype": "miscellaneous",
75255
75495
  "subtype": "variable",
75256
- "file": "src/button/icon-button.stories.ts",
75496
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
75257
75497
  "deprecated": false,
75258
75498
  "deprecationMessage": "",
75259
75499
  "type": "",
75260
- "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})"
75261
75501
  },
75262
75502
  {
75263
75503
  "name": "Template",
@@ -75387,7 +75627,7 @@
75387
75627
  "deprecated": false,
75388
75628
  "deprecationMessage": "",
75389
75629
  "type": "",
75390
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-text-label\n\t\t[helperText]=\"helperText\"\n\t\t[invalid]=\"invalid\"\n\t\t[invalidText]=\"invalidText\"\n\t\t[warn]=\"warn\"\n\t\t[disabled]=\"disabled\"\n\t\t[warnText]=\"warnText\">\n\t\t{{label}}\n\t\t<input\n\t\t\tcdsText\n\t\t\t[size]=\"size\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[theme]=\"theme\"\n\t\t\t[placeholder]=\"placeholder\"\n\t\t\t[readonly]=\"readonly\"\n\t\t\t[autocomplete]=\"autocomplete\">\n\t\t</cds-text-label>\n\t`\n})"
75630
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-text-label\n\t\t[helperText]=\"helperText\"\n\t\t[invalid]=\"invalid\"\n\t\t[invalidText]=\"invalidText\"\n\t\t[warn]=\"warn\"\n\t\t[disabled]=\"disabled\"\n\t\t[fluid]=\"fluid\"\n\t\t[skeleton]=\"skeleton\"\n\t\t[warnText]=\"warnText\">\n\t\t{{label}}\n\t\t<input\n\t\t\tcdsText\n\t\t\t[size]=\"size\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[theme]=\"theme\"\n\t\t\t[placeholder]=\"placeholder\"\n\t\t\t[readonly]=\"readonly\"\n\t\t\t[autocomplete]=\"autocomplete\">\n\t\t</cds-text-label>\n\t`\n})"
75391
75631
  },
75392
75632
  {
75393
75633
  "name": "Template",
@@ -75397,7 +75637,7 @@
75397
75637
  "deprecated": false,
75398
75638
  "deprecationMessage": "",
75399
75639
  "type": "",
75400
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-password-label\n\t\t\t[helperText]=\"helperText\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[invalidText]=\"invalidText\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[warnText]=\"warnText\">\n\t\t\t{{ label }}\n\t\t\t<input\n\t\t\t\tcdsPassword\n\t\t\t\ttype=\"password\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[invalid]=\"invalid\"\n\t\t\t\t[warn]=\"warn\"\n\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t[theme]=\"theme\"\n\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t[autocomplete]=\"autocomplete\"\n\t\t\t\t[readonly]=\"readonly\">\n\t\t</cds-password-label>\n\t`\n})"
75640
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-password-label\n\t\t\t[helperText]=\"helperText\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[invalidText]=\"invalidText\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[fluid]=\"fluid\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[warnText]=\"warnText\">\n\t\t\t{{ label }}\n\t\t\t<input\n\t\t\t\tcdsPassword\n\t\t\t\ttype=\"password\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[invalid]=\"invalid\"\n\t\t\t\t[warn]=\"warn\"\n\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t[theme]=\"theme\"\n\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t[autocomplete]=\"autocomplete\"\n\t\t\t\t[readonly]=\"readonly\">\n\t\t</cds-password-label>\n\t`\n})"
75401
75641
  },
75402
75642
  {
75403
75643
  "name": "Template",
@@ -75587,37 +75827,37 @@
75587
75827
  "deprecated": false,
75588
75828
  "deprecationMessage": "",
75589
75829
  "type": "",
75590
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-structured-list [border]=\"border\" [condensed]=\"condensed\" [nowrap]=\"nowrap\">\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})"
75830
+ "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})"
75591
75831
  },
75592
75832
  {
75593
75833
  "name": "Template",
75594
75834
  "ctype": "miscellaneous",
75595
75835
  "subtype": "variable",
75596
- "file": "src/table/table.stories.ts",
75836
+ "file": "src/tabs/tabs.stories.ts",
75597
75837
  "deprecated": false,
75598
75838
  "deprecationMessage": "",
75599
75839
  "type": "",
75600
- "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})"
75601
75841
  },
75602
75842
  {
75603
75843
  "name": "Template",
75604
75844
  "ctype": "miscellaneous",
75605
75845
  "subtype": "variable",
75606
- "file": "src/tabs/tabs.stories.ts",
75846
+ "file": "src/tag/tag.stories.ts",
75607
75847
  "deprecated": false,
75608
75848
  "deprecationMessage": "",
75609
75849
  "type": "",
75610
- "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})"
75611
75851
  },
75612
75852
  {
75613
75853
  "name": "Template",
75614
75854
  "ctype": "miscellaneous",
75615
75855
  "subtype": "variable",
75616
- "file": "src/tag/tag.stories.ts",
75856
+ "file": "src/table/table.stories.ts",
75617
75857
  "deprecated": false,
75618
75858
  "deprecationMessage": "",
75619
75859
  "type": "",
75620
- "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})"
75621
75861
  },
75622
75862
  {
75623
75863
  "name": "Template",
@@ -76091,6 +76331,16 @@
76091
76331
  "type": "",
76092
76332
  "defaultValue": "WithIconTemplate.bind({})"
76093
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
+ },
76094
76344
  {
76095
76345
  "name": "withIcons",
76096
76346
  "ctype": "miscellaneous",
@@ -79023,199 +79273,199 @@
79023
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})"
79024
79274
  }
79025
79275
  ],
79026
- "src/breadcrumb/breadcrumb.stories.ts": [
79276
+ "src/button/button-set.stories.ts": [
79027
79277
  {
79028
79278
  "name": "Basic",
79029
79279
  "ctype": "miscellaneous",
79030
79280
  "subtype": "variable",
79031
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79281
+ "file": "src/button/button-set.stories.ts",
79032
79282
  "deprecated": false,
79033
79283
  "deprecationMessage": "",
79034
79284
  "type": "",
79035
79285
  "defaultValue": "Template.bind({})"
79036
79286
  },
79037
79287
  {
79038
- "name": "breadcrumbItems",
79288
+ "name": "Template",
79039
79289
  "ctype": "miscellaneous",
79040
79290
  "subtype": "variable",
79041
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79291
+ "file": "src/button/button-set.stories.ts",
79042
79292
  "deprecated": false,
79043
79293
  "deprecationMessage": "",
79044
- "type": ""
79045
- },
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": [
79046
79299
  {
79047
- "name": "createBreadcrumbItems",
79300
+ "name": "Basic",
79048
79301
  "ctype": "miscellaneous",
79049
79302
  "subtype": "variable",
79050
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79303
+ "file": "src/button/button.stories.ts",
79051
79304
  "deprecated": false,
79052
79305
  "deprecationMessage": "",
79053
79306
  "type": "",
79054
- "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({})"
79055
79308
  },
79056
79309
  {
79057
- "name": "CurrentPage",
79310
+ "name": "Template",
79058
79311
  "ctype": "miscellaneous",
79059
79312
  "subtype": "variable",
79060
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79313
+ "file": "src/button/button.stories.ts",
79061
79314
  "deprecated": false,
79062
79315
  "deprecationMessage": "",
79063
79316
  "type": "",
79064
- "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})"
79065
79318
  },
79066
79319
  {
79067
- "name": "CurrentPageTemplate",
79320
+ "name": "WithIcon",
79068
79321
  "ctype": "miscellaneous",
79069
79322
  "subtype": "variable",
79070
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79323
+ "file": "src/button/button.stories.ts",
79071
79324
  "deprecated": false,
79072
79325
  "deprecationMessage": "",
79073
79326
  "type": "",
79074
- "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({})"
79075
79328
  },
79076
79329
  {
79077
- "name": "Model",
79330
+ "name": "WithIconTemplate",
79078
79331
  "ctype": "miscellaneous",
79079
79332
  "subtype": "variable",
79080
- "file": "src/breadcrumb/breadcrumb.stories.ts",
79333
+ "file": "src/button/button.stories.ts",
79081
79334
  "deprecated": false,
79082
79335
  "deprecationMessage": "",
79083
79336
  "type": "",
79084
- "defaultValue": "ModelTemplate.bind({})"
79085
- },
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": [
79086
79341
  {
79087
- "name": "ModelTemplate",
79342
+ "name": "Basic",
79088
79343
  "ctype": "miscellaneous",
79089
79344
  "subtype": "variable",
79090
79345
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79091
79346
  "deprecated": false,
79092
79347
  "deprecationMessage": "",
79093
79348
  "type": "",
79094
- "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({})"
79095
79350
  },
79096
79351
  {
79097
- "name": "ModelWithTemplate",
79352
+ "name": "breadcrumbItems",
79098
79353
  "ctype": "miscellaneous",
79099
79354
  "subtype": "variable",
79100
79355
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79101
79356
  "deprecated": false,
79102
79357
  "deprecationMessage": "",
79103
- "type": "",
79104
- "defaultValue": "ModelWTemplate.bind({})"
79358
+ "type": ""
79105
79359
  },
79106
79360
  {
79107
- "name": "ModelWTemplate",
79361
+ "name": "createBreadcrumbItems",
79108
79362
  "ctype": "miscellaneous",
79109
79363
  "subtype": "variable",
79110
79364
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79111
79365
  "deprecated": false,
79112
79366
  "deprecationMessage": "",
79113
79367
  "type": "",
79114
- "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}"
79115
79369
  },
79116
79370
  {
79117
- "name": "Skeleton",
79371
+ "name": "CurrentPage",
79118
79372
  "ctype": "miscellaneous",
79119
79373
  "subtype": "variable",
79120
79374
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79121
79375
  "deprecated": false,
79122
79376
  "deprecationMessage": "",
79123
79377
  "type": "",
79124
- "defaultValue": "WithSkeleton.bind({})"
79378
+ "defaultValue": "CurrentPageTemplate.bind({})"
79125
79379
  },
79126
79380
  {
79127
- "name": "Template",
79381
+ "name": "CurrentPageTemplate",
79128
79382
  "ctype": "miscellaneous",
79129
79383
  "subtype": "variable",
79130
79384
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79131
79385
  "deprecated": false,
79132
79386
  "deprecationMessage": "",
79133
79387
  "type": "",
79134
- "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})"
79135
79389
  },
79136
79390
  {
79137
- "name": "WithSkeleton",
79391
+ "name": "Model",
79138
79392
  "ctype": "miscellaneous",
79139
79393
  "subtype": "variable",
79140
79394
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79141
79395
  "deprecated": false,
79142
79396
  "deprecationMessage": "",
79143
79397
  "type": "",
79144
- "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({})"
79145
79399
  },
79146
79400
  {
79147
- "name": "withTemplate",
79401
+ "name": "ModelTemplate",
79148
79402
  "ctype": "miscellaneous",
79149
79403
  "subtype": "variable",
79150
79404
  "file": "src/breadcrumb/breadcrumb.stories.ts",
79151
79405
  "deprecated": false,
79152
79406
  "deprecationMessage": "",
79153
79407
  "type": "",
79154
- "defaultValue": "(templateRef, items) => items.map(item => Object.assign(item, { template: templateRef }))"
79155
- }
79156
- ],
79157
- "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
+ },
79158
79410
  {
79159
- "name": "Basic",
79411
+ "name": "ModelWithTemplate",
79160
79412
  "ctype": "miscellaneous",
79161
79413
  "subtype": "variable",
79162
- "file": "src/button/button-set.stories.ts",
79414
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79163
79415
  "deprecated": false,
79164
79416
  "deprecationMessage": "",
79165
79417
  "type": "",
79166
- "defaultValue": "Template.bind({})"
79418
+ "defaultValue": "ModelWTemplate.bind({})"
79167
79419
  },
79168
79420
  {
79169
- "name": "Template",
79421
+ "name": "ModelWTemplate",
79170
79422
  "ctype": "miscellaneous",
79171
79423
  "subtype": "variable",
79172
- "file": "src/button/button-set.stories.ts",
79424
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79173
79425
  "deprecated": false,
79174
79426
  "deprecationMessage": "",
79175
79427
  "type": "",
79176
- "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})"
79177
- }
79178
- ],
79179
- "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
+ },
79180
79430
  {
79181
- "name": "Basic",
79431
+ "name": "Skeleton",
79182
79432
  "ctype": "miscellaneous",
79183
79433
  "subtype": "variable",
79184
- "file": "src/button/button.stories.ts",
79434
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79185
79435
  "deprecated": false,
79186
79436
  "deprecationMessage": "",
79187
79437
  "type": "",
79188
- "defaultValue": "Template.bind({})"
79438
+ "defaultValue": "WithSkeleton.bind({})"
79189
79439
  },
79190
79440
  {
79191
79441
  "name": "Template",
79192
79442
  "ctype": "miscellaneous",
79193
79443
  "subtype": "variable",
79194
- "file": "src/button/button.stories.ts",
79444
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79195
79445
  "deprecated": false,
79196
79446
  "deprecationMessage": "",
79197
79447
  "type": "",
79198
- "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})"
79199
79449
  },
79200
79450
  {
79201
- "name": "WithIcon",
79451
+ "name": "WithSkeleton",
79202
79452
  "ctype": "miscellaneous",
79203
79453
  "subtype": "variable",
79204
- "file": "src/button/button.stories.ts",
79454
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79205
79455
  "deprecated": false,
79206
79456
  "deprecationMessage": "",
79207
79457
  "type": "",
79208
- "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})"
79209
79459
  },
79210
79460
  {
79211
- "name": "WithIconTemplate",
79461
+ "name": "withTemplate",
79212
79462
  "ctype": "miscellaneous",
79213
79463
  "subtype": "variable",
79214
- "file": "src/button/button.stories.ts",
79464
+ "file": "src/breadcrumb/breadcrumb.stories.ts",
79215
79465
  "deprecated": false,
79216
79466
  "deprecationMessage": "",
79217
79467
  "type": "",
79218
- "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 }))"
79219
79469
  }
79220
79470
  ],
79221
79471
  "src/checkbox/checkbox.stories.ts": [
@@ -80011,6 +80261,16 @@
80011
80261
  "type": "",
80012
80262
  "defaultValue": "Template.bind({})"
80013
80263
  },
80264
+ {
80265
+ "name": "Fluid",
80266
+ "ctype": "miscellaneous",
80267
+ "subtype": "variable",
80268
+ "file": "src/input/input.stories.ts",
80269
+ "deprecated": false,
80270
+ "deprecationMessage": "",
80271
+ "type": "",
80272
+ "defaultValue": "Template.bind({})"
80273
+ },
80014
80274
  {
80015
80275
  "name": "Skeleton",
80016
80276
  "ctype": "miscellaneous",
@@ -80039,7 +80299,7 @@
80039
80299
  "deprecated": false,
80040
80300
  "deprecationMessage": "",
80041
80301
  "type": "",
80042
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-text-label\n\t\t[helperText]=\"helperText\"\n\t\t[invalid]=\"invalid\"\n\t\t[invalidText]=\"invalidText\"\n\t\t[warn]=\"warn\"\n\t\t[disabled]=\"disabled\"\n\t\t[warnText]=\"warnText\">\n\t\t{{label}}\n\t\t<input\n\t\t\tcdsText\n\t\t\t[size]=\"size\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[theme]=\"theme\"\n\t\t\t[placeholder]=\"placeholder\"\n\t\t\t[readonly]=\"readonly\"\n\t\t\t[autocomplete]=\"autocomplete\">\n\t\t</cds-text-label>\n\t`\n})"
80302
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-text-label\n\t\t[helperText]=\"helperText\"\n\t\t[invalid]=\"invalid\"\n\t\t[invalidText]=\"invalidText\"\n\t\t[warn]=\"warn\"\n\t\t[disabled]=\"disabled\"\n\t\t[fluid]=\"fluid\"\n\t\t[skeleton]=\"skeleton\"\n\t\t[warnText]=\"warnText\">\n\t\t{{label}}\n\t\t<input\n\t\t\tcdsText\n\t\t\t[size]=\"size\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[theme]=\"theme\"\n\t\t\t[placeholder]=\"placeholder\"\n\t\t\t[readonly]=\"readonly\"\n\t\t\t[autocomplete]=\"autocomplete\">\n\t\t</cds-text-label>\n\t`\n})"
80043
80303
  }
80044
80304
  ],
80045
80305
  "src/input/password.stories.ts": [
@@ -80053,6 +80313,16 @@
80053
80313
  "type": "",
80054
80314
  "defaultValue": "Template.bind({})"
80055
80315
  },
80316
+ {
80317
+ "name": "Fluid",
80318
+ "ctype": "miscellaneous",
80319
+ "subtype": "variable",
80320
+ "file": "src/input/password.stories.ts",
80321
+ "deprecated": false,
80322
+ "deprecationMessage": "",
80323
+ "type": "",
80324
+ "defaultValue": "Template.bind({})"
80325
+ },
80056
80326
  {
80057
80327
  "name": "Skeleton",
80058
80328
  "ctype": "miscellaneous",
@@ -80081,7 +80351,7 @@
80081
80351
  "deprecated": false,
80082
80352
  "deprecationMessage": "",
80083
80353
  "type": "",
80084
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-password-label\n\t\t\t[helperText]=\"helperText\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[invalidText]=\"invalidText\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[warnText]=\"warnText\">\n\t\t\t{{ label }}\n\t\t\t<input\n\t\t\t\tcdsPassword\n\t\t\t\ttype=\"password\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[invalid]=\"invalid\"\n\t\t\t\t[warn]=\"warn\"\n\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t[theme]=\"theme\"\n\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t[autocomplete]=\"autocomplete\"\n\t\t\t\t[readonly]=\"readonly\">\n\t\t</cds-password-label>\n\t`\n})"
80354
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-password-label\n\t\t\t[helperText]=\"helperText\"\n\t\t\t[invalid]=\"invalid\"\n\t\t\t[invalidText]=\"invalidText\"\n\t\t\t[warn]=\"warn\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[fluid]=\"fluid\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[warnText]=\"warnText\">\n\t\t\t{{ label }}\n\t\t\t<input\n\t\t\t\tcdsPassword\n\t\t\t\ttype=\"password\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[invalid]=\"invalid\"\n\t\t\t\t[warn]=\"warn\"\n\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t[theme]=\"theme\"\n\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t[autocomplete]=\"autocomplete\"\n\t\t\t\t[readonly]=\"readonly\">\n\t\t</cds-password-label>\n\t`\n})"
80085
80355
  }
80086
80356
  ],
80087
80357
  "src/input/textarea.stories.ts": [
@@ -80211,6 +80481,16 @@
80211
80481
  "type": "",
80212
80482
  "defaultValue": "Template.bind({})"
80213
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
+ },
80214
80494
  {
80215
80495
  "name": "Template",
80216
80496
  "ctype": "miscellaneous",
@@ -80220,6 +80500,16 @@
80220
80500
  "deprecationMessage": "",
80221
80501
  "type": "",
80222
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({})"
80223
80513
  }
80224
80514
  ],
80225
80515
  "src/list/list.stories.ts": [
@@ -80887,7 +81177,7 @@
80887
81177
  "deprecated": false,
80888
81178
  "deprecationMessage": "",
80889
81179
  "type": "",
80890
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-structured-list\n\t\t\t[border]=\"border\"\n\t\t\t[condensed]=\"condensed\"\n\t\t\t[nowrap]=\"nowrap\"\n\t\t\tselection=\"true\"\n\t\t\t[(ngModel)]=\"valueSelected\">\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 value=\"row1\">\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 value=\"row2\">\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\t<cds-list-row value=\"row3\">\n\t\t\t\t<cds-list-column>Row 3</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Three</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 value=\"row4\">\n\t\t\t\t<cds-list-column>Row 4</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Four</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\t<p>{{valueSelected}}</p>\n\t`\n})"
81180
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-structured-list\n\t\t\t[condensed]=\"condensed\"\n\t\t\t[selection]=\"true\"\n\t\t\t[(ngModel)]=\"valueSelected\">\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 value=\"row1\">\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 value=\"row2\">\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\t<cds-list-row value=\"row3\">\n\t\t\t\t<cds-list-column>Row 3</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Three</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 value=\"row4\">\n\t\t\t\t<cds-list-column>Row 4</cds-list-column>\n\t\t\t\t<cds-list-column nowrap=\"true\">Row Four</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\t<p>{{valueSelected}}</p>\n\t`\n})"
80891
81181
  },
80892
81182
  {
80893
81183
  "name": "Skeleton",
@@ -80917,443 +81207,443 @@
80917
81207
  "deprecated": false,
80918
81208
  "deprecationMessage": "",
80919
81209
  "type": "",
80920
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-structured-list [border]=\"border\" [condensed]=\"condensed\" [nowrap]=\"nowrap\">\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})"
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})"
80921
81211
  }
80922
81212
  ],
80923
- "src/table/table.stories.ts": [
81213
+ "src/tabs/tabs.stories.ts": [
80924
81214
  {
80925
81215
  "name": "Basic",
80926
81216
  "ctype": "miscellaneous",
80927
81217
  "subtype": "variable",
80928
- "file": "src/table/table.stories.ts",
81218
+ "file": "src/tabs/tabs.stories.ts",
80929
81219
  "deprecated": false,
80930
81220
  "deprecationMessage": "",
80931
81221
  "type": "",
80932
81222
  "defaultValue": "Template.bind({})"
80933
81223
  },
80934
81224
  {
80935
- "name": "DisabledRowsTemplate",
81225
+ "name": "BeforeAndAfter",
80936
81226
  "ctype": "miscellaneous",
80937
81227
  "subtype": "variable",
80938
- "file": "src/table/table.stories.ts",
81228
+ "file": "src/tabs/tabs.stories.ts",
80939
81229
  "deprecated": false,
80940
81230
  "deprecationMessage": "",
80941
81231
  "type": "",
80942
- "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({})"
80943
81233
  },
80944
81234
  {
80945
- "name": "DyanmicContentTemplate",
81235
+ "name": "BeforeAndAfterTemplate",
80946
81236
  "ctype": "miscellaneous",
80947
81237
  "subtype": "variable",
80948
- "file": "src/table/table.stories.ts",
81238
+ "file": "src/tabs/tabs.stories.ts",
80949
81239
  "deprecated": false,
80950
81240
  "deprecationMessage": "",
80951
81241
  "type": "",
80952
- "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})"
80953
81243
  },
80954
81244
  {
80955
- "name": "emptyModel",
81245
+ "name": "Skeleton",
80956
81246
  "ctype": "miscellaneous",
80957
81247
  "subtype": "variable",
80958
- "file": "src/table/table.stories.ts",
81248
+ "file": "src/tabs/tabs.stories.ts",
80959
81249
  "deprecated": false,
80960
81250
  "deprecationMessage": "",
80961
81251
  "type": "",
80962
- "defaultValue": "new TableModel()"
81252
+ "defaultValue": "SkeletonTemplate.bind({})"
80963
81253
  },
80964
81254
  {
80965
- "name": "ExpansionTemplate",
81255
+ "name": "SkeletonTemplate",
80966
81256
  "ctype": "miscellaneous",
80967
81257
  "subtype": "variable",
80968
- "file": "src/table/table.stories.ts",
81258
+ "file": "src/tabs/tabs.stories.ts",
80969
81259
  "deprecated": false,
80970
81260
  "deprecationMessage": "",
80971
81261
  "type": "",
80972
- "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})"
80973
81263
  },
80974
81264
  {
80975
- "name": "Filtering",
81265
+ "name": "TabheaderGroup",
80976
81266
  "ctype": "miscellaneous",
80977
81267
  "subtype": "variable",
80978
- "file": "src/table/table.stories.ts",
81268
+ "file": "src/tabs/tabs.stories.ts",
80979
81269
  "deprecated": false,
80980
81270
  "deprecationMessage": "",
80981
81271
  "type": "",
80982
- "defaultValue": "FilteringTemplate.bind({})"
81272
+ "defaultValue": "TabHeaderGroupTemplate.bind({})"
80983
81273
  },
80984
81274
  {
80985
- "name": "FilteringOverriding",
81275
+ "name": "TabHeaderGroupTemplate",
80986
81276
  "ctype": "miscellaneous",
80987
81277
  "subtype": "variable",
80988
- "file": "src/table/table.stories.ts",
81278
+ "file": "src/tabs/tabs.stories.ts",
80989
81279
  "deprecated": false,
80990
81280
  "deprecationMessage": "",
80991
81281
  "type": "",
80992
- "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})"
80993
81283
  },
80994
81284
  {
80995
- "name": "FilteringOverridingTemplate",
81285
+ "name": "Template",
80996
81286
  "ctype": "miscellaneous",
80997
81287
  "subtype": "variable",
80998
- "file": "src/table/table.stories.ts",
81288
+ "file": "src/tabs/tabs.stories.ts",
80999
81289
  "deprecated": false,
81000
81290
  "deprecationMessage": "",
81001
81291
  "type": "",
81002
- "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})"
81003
81293
  },
81004
81294
  {
81005
- "name": "FilteringTemplate",
81295
+ "name": "With",
81006
81296
  "ctype": "miscellaneous",
81007
81297
  "subtype": "variable",
81008
- "file": "src/table/table.stories.ts",
81298
+ "file": "src/tabs/tabs.stories.ts",
81009
81299
  "deprecated": false,
81010
81300
  "deprecationMessage": "",
81011
81301
  "type": "",
81012
- "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({})"
81013
81303
  },
81014
81304
  {
81015
- "name": "FromComponents",
81305
+ "name": "WithTemplate",
81016
81306
  "ctype": "miscellaneous",
81017
81307
  "subtype": "variable",
81018
- "file": "src/table/table.stories.ts",
81308
+ "file": "src/tabs/tabs.stories.ts",
81019
81309
  "deprecated": false,
81020
81310
  "deprecationMessage": "",
81021
81311
  "type": "",
81022
- "defaultValue": "FromComponentsTemplate.bind({})"
81023
- },
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": [
81024
81316
  {
81025
- "name": "FromComponentsTemplate",
81317
+ "name": "Basic",
81026
81318
  "ctype": "miscellaneous",
81027
81319
  "subtype": "variable",
81028
- "file": "src/table/table.stories.ts",
81320
+ "file": "src/tag/tag.stories.ts",
81029
81321
  "deprecated": false,
81030
81322
  "deprecationMessage": "",
81031
81323
  "type": "",
81032
- "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({})"
81033
81325
  },
81034
81326
  {
81035
- "name": "getProps",
81327
+ "name": "Filter",
81036
81328
  "ctype": "miscellaneous",
81037
81329
  "subtype": "variable",
81038
- "file": "src/table/table.stories.ts",
81330
+ "file": "src/tag/tag.stories.ts",
81039
81331
  "deprecated": false,
81040
81332
  "deprecationMessage": "",
81041
81333
  "type": "",
81042
- "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({})"
81043
81335
  },
81044
81336
  {
81045
- "name": "NoDataTemplate",
81337
+ "name": "FilteredTemplate",
81046
81338
  "ctype": "miscellaneous",
81047
81339
  "subtype": "variable",
81048
- "file": "src/table/table.stories.ts",
81340
+ "file": "src/tag/tag.stories.ts",
81049
81341
  "deprecated": false,
81050
81342
  "deprecationMessage": "",
81051
81343
  "type": "",
81052
- "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})"
81053
81345
  },
81054
81346
  {
81055
- "name": "OverflowMenuTemplate",
81347
+ "name": "Template",
81056
81348
  "ctype": "miscellaneous",
81057
81349
  "subtype": "variable",
81058
- "file": "src/table/table.stories.ts",
81350
+ "file": "src/tag/tag.stories.ts",
81059
81351
  "deprecated": false,
81060
81352
  "deprecationMessage": "",
81061
81353
  "type": "",
81062
- "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})"
81063
- },
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": [
81064
81358
  {
81065
- "name": "PaginationTemplate",
81359
+ "name": "Basic",
81066
81360
  "ctype": "miscellaneous",
81067
81361
  "subtype": "variable",
81068
81362
  "file": "src/table/table.stories.ts",
81069
81363
  "deprecated": false,
81070
81364
  "deprecationMessage": "",
81071
81365
  "type": "",
81072
- "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({})"
81073
81367
  },
81074
81368
  {
81075
- "name": "simpleModel",
81369
+ "name": "DisabledRowsTemplate",
81076
81370
  "ctype": "miscellaneous",
81077
81371
  "subtype": "variable",
81078
81372
  "file": "src/table/table.stories.ts",
81079
81373
  "deprecated": false,
81080
81374
  "deprecationMessage": "",
81081
81375
  "type": "",
81082
- "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})"
81083
81377
  },
81084
81378
  {
81085
- "name": "Skeleton",
81379
+ "name": "DyanmicContentTemplate",
81086
81380
  "ctype": "miscellaneous",
81087
81381
  "subtype": "variable",
81088
81382
  "file": "src/table/table.stories.ts",
81089
81383
  "deprecated": false,
81090
81384
  "deprecationMessage": "",
81091
81385
  "type": "",
81092
- "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})"
81093
81387
  },
81094
81388
  {
81095
- "name": "SkeletonTemplate",
81389
+ "name": "emptyModel",
81096
81390
  "ctype": "miscellaneous",
81097
81391
  "subtype": "variable",
81098
81392
  "file": "src/table/table.stories.ts",
81099
81393
  "deprecated": false,
81100
81394
  "deprecationMessage": "",
81101
81395
  "type": "",
81102
- "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()"
81103
81397
  },
81104
81398
  {
81105
- "name": "Template",
81399
+ "name": "ExpansionTemplate",
81106
81400
  "ctype": "miscellaneous",
81107
81401
  "subtype": "variable",
81108
81402
  "file": "src/table/table.stories.ts",
81109
81403
  "deprecated": false,
81110
81404
  "deprecationMessage": "",
81111
81405
  "type": "",
81112
- "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})"
81113
81407
  },
81114
81408
  {
81115
- "name": "ToolbarTemplate",
81409
+ "name": "Filtering",
81116
81410
  "ctype": "miscellaneous",
81117
81411
  "subtype": "variable",
81118
81412
  "file": "src/table/table.stories.ts",
81119
81413
  "deprecated": false,
81120
81414
  "deprecationMessage": "",
81121
81415
  "type": "",
81122
- "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({})"
81123
81417
  },
81124
81418
  {
81125
- "name": "WithDisabledRows",
81419
+ "name": "FilteringOverriding",
81126
81420
  "ctype": "miscellaneous",
81127
81421
  "subtype": "variable",
81128
81422
  "file": "src/table/table.stories.ts",
81129
81423
  "deprecated": false,
81130
81424
  "deprecationMessage": "",
81131
81425
  "type": "",
81132
- "defaultValue": "DisabledRowsTemplate.bind({})"
81426
+ "defaultValue": "FilteringOverridingTemplate.bind({})"
81133
81427
  },
81134
81428
  {
81135
- "name": "WithDynamicContent",
81429
+ "name": "FilteringOverridingTemplate",
81136
81430
  "ctype": "miscellaneous",
81137
81431
  "subtype": "variable",
81138
81432
  "file": "src/table/table.stories.ts",
81139
81433
  "deprecated": false,
81140
81434
  "deprecationMessage": "",
81141
81435
  "type": "",
81142
- "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})"
81143
81437
  },
81144
81438
  {
81145
- "name": "WithExpansion",
81439
+ "name": "FilteringTemplate",
81146
81440
  "ctype": "miscellaneous",
81147
81441
  "subtype": "variable",
81148
81442
  "file": "src/table/table.stories.ts",
81149
81443
  "deprecated": false,
81150
81444
  "deprecationMessage": "",
81151
81445
  "type": "",
81152
- "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})"
81153
81447
  },
81154
81448
  {
81155
- "name": "WithoutActionTemplate",
81449
+ "name": "FromComponents",
81156
81450
  "ctype": "miscellaneous",
81157
81451
  "subtype": "variable",
81158
81452
  "file": "src/table/table.stories.ts",
81159
81453
  "deprecated": false,
81160
81454
  "deprecationMessage": "",
81161
81455
  "type": "",
81162
- "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({})"
81163
81457
  },
81164
81458
  {
81165
- "name": "WithoutData",
81459
+ "name": "FromComponentsTemplate",
81166
81460
  "ctype": "miscellaneous",
81167
81461
  "subtype": "variable",
81168
81462
  "file": "src/table/table.stories.ts",
81169
81463
  "deprecated": false,
81170
81464
  "deprecationMessage": "",
81171
81465
  "type": "",
81172
- "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})"
81173
81467
  },
81174
81468
  {
81175
- "name": "WithOverflowMenu",
81469
+ "name": "getProps",
81176
81470
  "ctype": "miscellaneous",
81177
81471
  "subtype": "variable",
81178
81472
  "file": "src/table/table.stories.ts",
81179
81473
  "deprecated": false,
81180
81474
  "deprecationMessage": "",
81181
81475
  "type": "",
81182
- "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}"
81183
81477
  },
81184
81478
  {
81185
- "name": "WithPagination",
81479
+ "name": "NoDataTemplate",
81186
81480
  "ctype": "miscellaneous",
81187
81481
  "subtype": "variable",
81188
81482
  "file": "src/table/table.stories.ts",
81189
81483
  "deprecated": false,
81190
81484
  "deprecationMessage": "",
81191
81485
  "type": "",
81192
- "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})"
81193
81487
  },
81194
81488
  {
81195
- "name": "WithToolbar",
81489
+ "name": "OverflowMenuTemplate",
81196
81490
  "ctype": "miscellaneous",
81197
81491
  "subtype": "variable",
81198
81492
  "file": "src/table/table.stories.ts",
81199
81493
  "deprecated": false,
81200
81494
  "deprecationMessage": "",
81201
81495
  "type": "",
81202
- "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})"
81203
81497
  },
81204
81498
  {
81205
- "name": "WithToolbarWithoutToolbarAction",
81499
+ "name": "PaginationTemplate",
81206
81500
  "ctype": "miscellaneous",
81207
81501
  "subtype": "variable",
81208
81502
  "file": "src/table/table.stories.ts",
81209
81503
  "deprecated": false,
81210
81504
  "deprecationMessage": "",
81211
81505
  "type": "",
81212
- "defaultValue": "WithoutActionTemplate.bind({})"
81213
- }
81214
- ],
81215
- "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
+ },
81216
81508
  {
81217
- "name": "Basic",
81509
+ "name": "simpleModel",
81218
81510
  "ctype": "miscellaneous",
81219
81511
  "subtype": "variable",
81220
- "file": "src/tabs/tabs.stories.ts",
81512
+ "file": "src/table/table.stories.ts",
81221
81513
  "deprecated": false,
81222
81514
  "deprecationMessage": "",
81223
81515
  "type": "",
81224
- "defaultValue": "Template.bind({})"
81516
+ "defaultValue": "new TableModel()"
81225
81517
  },
81226
81518
  {
81227
- "name": "BeforeAndAfter",
81519
+ "name": "Skeleton",
81228
81520
  "ctype": "miscellaneous",
81229
81521
  "subtype": "variable",
81230
- "file": "src/tabs/tabs.stories.ts",
81522
+ "file": "src/table/table.stories.ts",
81231
81523
  "deprecated": false,
81232
81524
  "deprecationMessage": "",
81233
81525
  "type": "",
81234
- "defaultValue": "BeforeAndAfterTemplate.bind({})"
81526
+ "defaultValue": "SkeletonTemplate.bind({})"
81235
81527
  },
81236
81528
  {
81237
- "name": "BeforeAndAfterTemplate",
81529
+ "name": "SkeletonTemplate",
81238
81530
  "ctype": "miscellaneous",
81239
81531
  "subtype": "variable",
81240
- "file": "src/tabs/tabs.stories.ts",
81532
+ "file": "src/table/table.stories.ts",
81241
81533
  "deprecated": false,
81242
81534
  "deprecationMessage": "",
81243
81535
  "type": "",
81244
- "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})"
81245
81537
  },
81246
81538
  {
81247
- "name": "Skeleton",
81539
+ "name": "Template",
81248
81540
  "ctype": "miscellaneous",
81249
81541
  "subtype": "variable",
81250
- "file": "src/tabs/tabs.stories.ts",
81542
+ "file": "src/table/table.stories.ts",
81251
81543
  "deprecated": false,
81252
81544
  "deprecationMessage": "",
81253
81545
  "type": "",
81254
- "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})"
81255
81547
  },
81256
81548
  {
81257
- "name": "SkeletonTemplate",
81549
+ "name": "ToolbarTemplate",
81258
81550
  "ctype": "miscellaneous",
81259
81551
  "subtype": "variable",
81260
- "file": "src/tabs/tabs.stories.ts",
81552
+ "file": "src/table/table.stories.ts",
81261
81553
  "deprecated": false,
81262
81554
  "deprecationMessage": "",
81263
81555
  "type": "",
81264
- "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})"
81265
81557
  },
81266
81558
  {
81267
- "name": "TabheaderGroup",
81559
+ "name": "WithDisabledRows",
81268
81560
  "ctype": "miscellaneous",
81269
81561
  "subtype": "variable",
81270
- "file": "src/tabs/tabs.stories.ts",
81562
+ "file": "src/table/table.stories.ts",
81271
81563
  "deprecated": false,
81272
81564
  "deprecationMessage": "",
81273
81565
  "type": "",
81274
- "defaultValue": "TabHeaderGroupTemplate.bind({})"
81566
+ "defaultValue": "DisabledRowsTemplate.bind({})"
81275
81567
  },
81276
81568
  {
81277
- "name": "TabHeaderGroupTemplate",
81569
+ "name": "WithDynamicContent",
81278
81570
  "ctype": "miscellaneous",
81279
81571
  "subtype": "variable",
81280
- "file": "src/tabs/tabs.stories.ts",
81572
+ "file": "src/table/table.stories.ts",
81281
81573
  "deprecated": false,
81282
81574
  "deprecationMessage": "",
81283
81575
  "type": "",
81284
- "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({})"
81285
81577
  },
81286
81578
  {
81287
- "name": "Template",
81579
+ "name": "WithExpansion",
81288
81580
  "ctype": "miscellaneous",
81289
81581
  "subtype": "variable",
81290
- "file": "src/tabs/tabs.stories.ts",
81582
+ "file": "src/table/table.stories.ts",
81291
81583
  "deprecated": false,
81292
81584
  "deprecationMessage": "",
81293
81585
  "type": "",
81294
- "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({})"
81295
81587
  },
81296
81588
  {
81297
- "name": "With",
81589
+ "name": "WithoutActionTemplate",
81298
81590
  "ctype": "miscellaneous",
81299
81591
  "subtype": "variable",
81300
- "file": "src/tabs/tabs.stories.ts",
81592
+ "file": "src/table/table.stories.ts",
81301
81593
  "deprecated": false,
81302
81594
  "deprecationMessage": "",
81303
81595
  "type": "",
81304
- "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})"
81305
81597
  },
81306
81598
  {
81307
- "name": "WithTemplate",
81599
+ "name": "WithoutData",
81308
81600
  "ctype": "miscellaneous",
81309
81601
  "subtype": "variable",
81310
- "file": "src/tabs/tabs.stories.ts",
81602
+ "file": "src/table/table.stories.ts",
81311
81603
  "deprecated": false,
81312
81604
  "deprecationMessage": "",
81313
81605
  "type": "",
81314
- "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})"
81315
- }
81316
- ],
81317
- "src/tag/tag.stories.ts": [
81606
+ "defaultValue": "NoDataTemplate.bind({})"
81607
+ },
81318
81608
  {
81319
- "name": "Basic",
81609
+ "name": "WithOverflowMenu",
81320
81610
  "ctype": "miscellaneous",
81321
81611
  "subtype": "variable",
81322
- "file": "src/tag/tag.stories.ts",
81612
+ "file": "src/table/table.stories.ts",
81323
81613
  "deprecated": false,
81324
81614
  "deprecationMessage": "",
81325
81615
  "type": "",
81326
- "defaultValue": "Template.bind({})"
81616
+ "defaultValue": "OverflowMenuTemplate.bind({})"
81327
81617
  },
81328
81618
  {
81329
- "name": "Filter",
81619
+ "name": "WithPagination",
81330
81620
  "ctype": "miscellaneous",
81331
81621
  "subtype": "variable",
81332
- "file": "src/tag/tag.stories.ts",
81622
+ "file": "src/table/table.stories.ts",
81333
81623
  "deprecated": false,
81334
81624
  "deprecationMessage": "",
81335
81625
  "type": "",
81336
- "defaultValue": "FilteredTemplate.bind({})"
81626
+ "defaultValue": "PaginationTemplate.bind({})"
81337
81627
  },
81338
81628
  {
81339
- "name": "FilteredTemplate",
81629
+ "name": "WithToolbar",
81340
81630
  "ctype": "miscellaneous",
81341
81631
  "subtype": "variable",
81342
- "file": "src/tag/tag.stories.ts",
81632
+ "file": "src/table/table.stories.ts",
81343
81633
  "deprecated": false,
81344
81634
  "deprecationMessage": "",
81345
81635
  "type": "",
81346
- "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({})"
81347
81637
  },
81348
81638
  {
81349
- "name": "Template",
81639
+ "name": "WithToolbarWithoutToolbarAction",
81350
81640
  "ctype": "miscellaneous",
81351
81641
  "subtype": "variable",
81352
- "file": "src/tag/tag.stories.ts",
81642
+ "file": "src/table/table.stories.ts",
81353
81643
  "deprecated": false,
81354
81644
  "deprecationMessage": "",
81355
81645
  "type": "",
81356
- "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({})"
81357
81647
  }
81358
81648
  ],
81359
81649
  "src/theme/theme.stories.ts": [
@@ -86425,8 +86715,8 @@
86425
86715
  "type": "directive",
86426
86716
  "linktype": "directive",
86427
86717
  "name": "TextInput",
86428
- "coveragePercent": 13,
86429
- "coverageCount": "2/15",
86718
+ "coveragePercent": 12,
86719
+ "coverageCount": "2/16",
86430
86720
  "status": "low"
86431
86721
  },
86432
86722
  {
@@ -86439,6 +86729,16 @@
86439
86729
  "coverageCount": "0/1",
86440
86730
  "status": "low"
86441
86731
  },
86732
+ {
86733
+ "filePath": "src/input/input.stories.ts",
86734
+ "type": "variable",
86735
+ "linktype": "miscellaneous",
86736
+ "linksubtype": "variable",
86737
+ "name": "Fluid",
86738
+ "coveragePercent": 0,
86739
+ "coverageCount": "0/1",
86740
+ "status": "low"
86741
+ },
86442
86742
  {
86443
86743
  "filePath": "src/input/input.stories.ts",
86444
86744
  "type": "variable",
@@ -86483,8 +86783,8 @@
86483
86783
  "type": "component",
86484
86784
  "linktype": "component",
86485
86785
  "name": "PasswordInputLabelComponent",
86486
- "coveragePercent": 83,
86487
- "coverageCount": "31/37",
86786
+ "coveragePercent": 80,
86787
+ "coverageCount": "32/40",
86488
86788
  "status": "very-good"
86489
86789
  },
86490
86790
  {
@@ -86493,7 +86793,7 @@
86493
86793
  "linktype": "directive",
86494
86794
  "name": "PasswordInput",
86495
86795
  "coveragePercent": 5,
86496
- "coverageCount": "1/19",
86796
+ "coverageCount": "1/20",
86497
86797
  "status": "low"
86498
86798
  },
86499
86799
  {
@@ -86506,6 +86806,16 @@
86506
86806
  "coverageCount": "0/1",
86507
86807
  "status": "low"
86508
86808
  },
86809
+ {
86810
+ "filePath": "src/input/password.stories.ts",
86811
+ "type": "variable",
86812
+ "linktype": "miscellaneous",
86813
+ "linksubtype": "variable",
86814
+ "name": "Fluid",
86815
+ "coveragePercent": 0,
86816
+ "coverageCount": "0/1",
86817
+ "status": "low"
86818
+ },
86509
86819
  {
86510
86820
  "filePath": "src/input/password.stories.ts",
86511
86821
  "type": "variable",
@@ -86550,8 +86860,8 @@
86550
86860
  "type": "component",
86551
86861
  "linktype": "component",
86552
86862
  "name": "TextInputLabelComponent",
86553
- "coveragePercent": 68,
86554
- "coverageCount": "13/19",
86863
+ "coveragePercent": 58,
86864
+ "coverageCount": "14/24",
86555
86865
  "status": "good"
86556
86866
  },
86557
86867
  {
@@ -86701,6 +87011,15 @@
86701
87011
  "coverageCount": "0/1",
86702
87012
  "status": "low"
86703
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
+ },
86704
87023
  {
86705
87024
  "filePath": "src/link/link.directive.ts",
86706
87025
  "type": "directive",
@@ -86720,6 +87039,16 @@
86720
87039
  "coverageCount": "0/1",
86721
87040
  "status": "low"
86722
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
+ },
86723
87052
  {
86724
87053
  "filePath": "src/link/link.stories.ts",
86725
87054
  "type": "variable",
@@ -86730,6 +87059,16 @@
86730
87059
  "coverageCount": "0/1",
86731
87060
  "status": "low"
86732
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
+ },
86733
87072
  {
86734
87073
  "filePath": "src/list/list-item.directive.ts",
86735
87074
  "type": "directive",