carbon-components-angular 5.53.1 → 5.54.1

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 (214) hide show
  1. package/README.md +1 -1
  2. package/docs/documentation/components/Accordion.html +2 -2
  3. package/docs/documentation/components/AccordionItem.html +2 -2
  4. package/docs/documentation/components/ActionableNotification.html +2 -2
  5. package/docs/documentation/components/AlertModal.html +2 -2
  6. package/docs/documentation/components/BaseIconButton.html +2 -2
  7. package/docs/documentation/components/BaseNotification.html +2 -2
  8. package/docs/documentation/components/BaseTabHeader.html +2 -2
  9. package/docs/documentation/components/Breadcrumb.html +2 -2
  10. package/docs/documentation/components/BreadcrumbItemComponent.html +2 -2
  11. package/docs/documentation/components/ButtonSet.html +2 -2
  12. package/docs/documentation/components/Checkbox.html +2 -2
  13. package/docs/documentation/components/ClickableTile.html +2 -2
  14. package/docs/documentation/components/CodeSnippet.html +2 -2
  15. package/docs/documentation/components/ComboBox.html +2 -2
  16. package/docs/documentation/components/ContainedList.html +2 -2
  17. package/docs/documentation/components/ContainedListItem.html +2 -2
  18. package/docs/documentation/components/ContentSwitcher.html +2 -2
  19. package/docs/documentation/components/ContextMenuComponent.html +2 -2
  20. package/docs/documentation/components/ContextMenuDividerComponent.html +2 -2
  21. package/docs/documentation/components/ContextMenuGroupComponent.html +2 -2
  22. package/docs/documentation/components/ContextMenuItemComponent.html +2 -2
  23. package/docs/documentation/components/DatePicker.html +2 -2
  24. package/docs/documentation/components/DatePickerInput.html +2 -2
  25. package/docs/documentation/components/Dialog.html +2 -2
  26. package/docs/documentation/components/Documentation.html +2 -2
  27. package/docs/documentation/components/Dropdown.html +2 -2
  28. package/docs/documentation/components/DropdownList.html +2 -2
  29. package/docs/documentation/components/ExpandableTile.html +2 -2
  30. package/docs/documentation/components/FileComponent.html +2 -2
  31. package/docs/documentation/components/FileUploader.html +2 -2
  32. package/docs/documentation/components/Hamburger.html +2 -2
  33. package/docs/documentation/components/Header.html +2 -2
  34. package/docs/documentation/components/HeaderAction.html +2 -2
  35. package/docs/documentation/components/HeaderGlobal.html +2 -2
  36. package/docs/documentation/components/HeaderItem.html +2 -2
  37. package/docs/documentation/components/HeaderMenu.html +2 -2
  38. package/docs/documentation/components/HeaderNavigation.html +2 -2
  39. package/docs/documentation/components/IconButton.html +2 -2
  40. package/docs/documentation/components/InlineLoading.html +2 -2
  41. package/docs/documentation/components/Label.html +2 -2
  42. package/docs/documentation/components/ListColumn.html +2 -2
  43. package/docs/documentation/components/ListHeader.html +2 -2
  44. package/docs/documentation/components/ListRow.html +2 -2
  45. package/docs/documentation/components/Loading.html +2 -2
  46. package/docs/documentation/components/Modal.html +2 -2
  47. package/docs/documentation/components/ModalFooter.html +2 -2
  48. package/docs/documentation/components/ModalHeader.html +2 -2
  49. package/docs/documentation/components/Notification.html +2 -2
  50. package/docs/documentation/components/NumberComponent.html +2 -2
  51. package/docs/documentation/components/OverflowMenu.html +2 -2
  52. package/docs/documentation/components/OverflowMenuCustomPane.html +2 -2
  53. package/docs/documentation/components/OverflowMenuOption.html +2 -2
  54. package/docs/documentation/components/OverflowMenuPane.html +2 -2
  55. package/docs/documentation/components/Overlay.html +2 -2
  56. package/docs/documentation/components/Pagination.html +2 -2
  57. package/docs/documentation/components/PaginationNav.html +2 -2
  58. package/docs/documentation/components/PaginationNavItem.html +2 -2
  59. package/docs/documentation/components/PaginationOverflow.html +2 -2
  60. package/docs/documentation/components/Panel.html +2 -2
  61. package/docs/documentation/components/PasswordInputLabelComponent.html +2 -2
  62. package/docs/documentation/components/Placeholder.html +2 -2
  63. package/docs/documentation/components/PopoverContent.html +2 -2
  64. package/docs/documentation/components/ProgressBar.html +2 -2
  65. package/docs/documentation/components/ProgressIndicator.html +2 -2
  66. package/docs/documentation/components/Radio.html +2 -2
  67. package/docs/documentation/components/RadioGroup.html +2 -2
  68. package/docs/documentation/components/Search.html +2 -2
  69. package/docs/documentation/components/Select.html +2 -2
  70. package/docs/documentation/components/SelectionTile.html +2 -2
  71. package/docs/documentation/components/SideNav.html +2 -2
  72. package/docs/documentation/components/SideNavItem.html +2 -2
  73. package/docs/documentation/components/SideNavMenu.html +2 -2
  74. package/docs/documentation/components/SkeletonPlaceholder.html +2 -2
  75. package/docs/documentation/components/SkeletonText.html +2 -2
  76. package/docs/documentation/components/Slider.html +2 -2
  77. package/docs/documentation/components/StructuredList.html +2 -2
  78. package/docs/documentation/components/SwitcherList.html +2 -2
  79. package/docs/documentation/components/SwitcherListItem.html +2 -2
  80. package/docs/documentation/components/Tab.html +2 -2
  81. package/docs/documentation/components/TabHeaderGroup.html +2 -2
  82. package/docs/documentation/components/TabHeaders.html +2 -2
  83. package/docs/documentation/components/TabSkeleton.html +2 -2
  84. package/docs/documentation/components/Table.html +2 -2
  85. package/docs/documentation/components/TableBody.html +2 -2
  86. package/docs/documentation/components/TableCheckbox.html +2 -2
  87. package/docs/documentation/components/TableContainer.html +2 -2
  88. package/docs/documentation/components/TableData.html +2 -2
  89. package/docs/documentation/components/TableExpandButton.html +2 -2
  90. package/docs/documentation/components/TableExpandedRow.html +2 -2
  91. package/docs/documentation/components/TableHead.html +2 -2
  92. package/docs/documentation/components/TableHeadCell.html +2 -2
  93. package/docs/documentation/components/TableHeadCheckbox.html +2 -2
  94. package/docs/documentation/components/TableHeadExpand.html +2 -2
  95. package/docs/documentation/components/TableHeader.html +2 -2
  96. package/docs/documentation/components/TableRadio.html +2 -2
  97. package/docs/documentation/components/TableRowComponent.html +2 -2
  98. package/docs/documentation/components/TableToolbar.html +2 -2
  99. package/docs/documentation/components/TableToolbarActions.html +2 -2
  100. package/docs/documentation/components/TableToolbarContent.html +2 -2
  101. package/docs/documentation/components/TableToolbarSearch.html +2 -2
  102. package/docs/documentation/components/Tabs.html +2 -2
  103. package/docs/documentation/components/Tag.html +73 -13
  104. package/docs/documentation/components/TagFilter.html +116 -51
  105. package/docs/documentation/components/TagOperationalComponent.html +920 -0
  106. package/docs/documentation/components/TagSelectableComponent.html +1085 -0
  107. package/docs/documentation/components/TextInputLabelComponent.html +78 -32
  108. package/docs/documentation/components/TextareaLabelComponent.html +2 -2
  109. package/docs/documentation/components/Tile.html +2 -2
  110. package/docs/documentation/components/TileGroup.html +2 -2
  111. package/docs/documentation/components/TimePicker.html +2 -2
  112. package/docs/documentation/components/TimePickerSelect.html +2 -2
  113. package/docs/documentation/components/Toast.html +2 -2
  114. package/docs/documentation/components/Toggle.html +2 -2
  115. package/docs/documentation/components/Toggletip.html +2 -2
  116. package/docs/documentation/components/Tooltip.html +2 -2
  117. package/docs/documentation/components/TooltipDefinition.html +2 -2
  118. package/docs/documentation/components/TreeNodeComponent.html +2 -2
  119. package/docs/documentation/components/TreeViewComponent.html +2 -2
  120. package/docs/documentation/coverage.html +46 -10
  121. package/docs/documentation/directives/TagIconDirective.html +368 -0
  122. package/docs/documentation/graph/dependencies.svg +1750 -1678
  123. package/docs/documentation/index.html +1 -1
  124. package/docs/documentation/js/menu-wc.js +23 -3
  125. package/docs/documentation/js/menu-wc_es5.js +1 -1
  126. package/docs/documentation/js/search/search_index.js +2 -2
  127. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  128. package/docs/documentation/modules/ComboBoxModule.html +4 -4
  129. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +4 -4
  130. package/docs/documentation/modules/DatePickerInputModule.html +4 -4
  131. package/docs/documentation/modules/DatePickerModule/dependencies.svg +39 -39
  132. package/docs/documentation/modules/DatePickerModule.html +39 -39
  133. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +34 -34
  134. package/docs/documentation/modules/FileUploaderModule.html +34 -34
  135. package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
  136. package/docs/documentation/modules/InlineLoadingModule.html +4 -4
  137. package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
  138. package/docs/documentation/modules/LoadingModule.html +4 -4
  139. package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
  140. package/docs/documentation/modules/NFormsModule.html +4 -4
  141. package/docs/documentation/modules/NumberModule/dependencies.svg +24 -24
  142. package/docs/documentation/modules/NumberModule.html +24 -24
  143. package/docs/documentation/modules/ProgressBarModule/dependencies.svg +4 -4
  144. package/docs/documentation/modules/ProgressBarModule.html +4 -4
  145. package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
  146. package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
  147. package/docs/documentation/modules/RadioModule/dependencies.svg +53 -49
  148. package/docs/documentation/modules/RadioModule.html +53 -49
  149. package/docs/documentation/modules/SearchModule/dependencies.svg +6 -6
  150. package/docs/documentation/modules/SearchModule.html +6 -6
  151. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  152. package/docs/documentation/modules/SliderModule.html +4 -4
  153. package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
  154. package/docs/documentation/modules/TabsModule.html +69 -69
  155. package/docs/documentation/modules/TagModule/dependencies.svg +123 -51
  156. package/docs/documentation/modules/TagModule.html +160 -55
  157. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  158. package/docs/documentation/modules/ThemeModule.html +4 -4
  159. package/docs/documentation/modules/TilesModule/dependencies.svg +108 -108
  160. package/docs/documentation/modules/TilesModule.html +108 -108
  161. package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
  162. package/docs/documentation/modules/TimePickerModule.html +4 -4
  163. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +46 -42
  164. package/docs/documentation/modules/TimePickerSelectModule.html +46 -42
  165. package/docs/documentation/modules/ToggleModule/dependencies.svg +20 -20
  166. package/docs/documentation/modules/ToggleModule.html +20 -20
  167. package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
  168. package/docs/documentation/modules/ToggletipModule.html +37 -37
  169. package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
  170. package/docs/documentation/modules/TooltipModule.html +28 -28
  171. package/docs/documentation/modules/TreeviewModule/dependencies.svg +36 -36
  172. package/docs/documentation/modules/TreeviewModule.html +36 -36
  173. package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
  174. package/docs/documentation/modules/UIShellModule.html +4 -4
  175. package/docs/documentation/overview.html +1752 -1680
  176. package/docs/documentation.json +925 -67
  177. package/docs/storybook/{1345.4ae7e616.iframe.bundle.js → 1345.d1a47622.iframe.bundle.js} +1 -1
  178. package/docs/storybook/contained-list-contained-list-stories.b87addfb.iframe.bundle.js +1 -0
  179. package/docs/storybook/iframe.html +2 -2
  180. package/docs/storybook/index.json +1 -1
  181. package/docs/storybook/main.41f2a733.iframe.bundle.js +1 -0
  182. package/docs/storybook/{patterns-filtering-multiple-categories-stories.17085244.iframe.bundle.js → patterns-filtering-multiple-categories-stories.c7cc76c2.iframe.bundle.js} +1 -1
  183. package/docs/storybook/project.json +1 -1
  184. package/docs/storybook/{runtime~main.7aee42be.iframe.bundle.js → runtime~main.ba940694.iframe.bundle.js} +1 -1
  185. package/docs/storybook/stories.json +1 -1
  186. package/docs/storybook/tag-tag-stories.8b0e9efc.iframe.bundle.js +1 -0
  187. package/esm2020/input/text-input-label.component.mjs +4 -1
  188. package/esm2020/tag/index.mjs +4 -1
  189. package/esm2020/tag/tag-filter.component.mjs +47 -32
  190. package/esm2020/tag/tag-icon.directive.mjs +19 -0
  191. package/esm2020/tag/tag-operational.component.mjs +62 -0
  192. package/esm2020/tag/tag-selectable.component.mjs +89 -0
  193. package/esm2020/tag/tag.component.mjs +28 -4
  194. package/esm2020/tag/tag.module.mjs +27 -4
  195. package/fesm2015/carbon-components-angular-input.mjs +3 -0
  196. package/fesm2015/carbon-components-angular-input.mjs.map +1 -1
  197. package/fesm2015/carbon-components-angular-tag.mjs +259 -40
  198. package/fesm2015/carbon-components-angular-tag.mjs.map +1 -1
  199. package/fesm2020/carbon-components-angular-input.mjs +3 -0
  200. package/fesm2020/carbon-components-angular-input.mjs.map +1 -1
  201. package/fesm2020/carbon-components-angular-tag.mjs +259 -40
  202. package/fesm2020/carbon-components-angular-tag.mjs.map +1 -1
  203. package/input/text-input-label.component.d.ts +3 -2
  204. package/package.json +1 -1
  205. package/tag/index.d.ts +3 -0
  206. package/tag/tag-filter.component.d.ts +5 -1
  207. package/tag/tag-icon.directive.d.ts +26 -0
  208. package/tag/tag-operational.component.d.ts +35 -0
  209. package/tag/tag-selectable.component.d.ts +42 -0
  210. package/tag/tag.component.d.ts +7 -2
  211. package/tag/tag.module.d.ts +6 -3
  212. package/docs/storybook/contained-list-contained-list-stories.3c337840.iframe.bundle.js +0 -1
  213. package/docs/storybook/main.0374ee2c.iframe.bundle.js +0 -1
  214. package/docs/storybook/tag-tag-stories.60e1dec6.iframe.bundle.js +0 -1
@@ -17511,6 +17511,58 @@
17511
17511
  "methodsClass": [],
17512
17512
  "extends": []
17513
17513
  },
17514
+ {
17515
+ "name": "TagIconDirective",
17516
+ "id": "directive-TagIconDirective-9dd312d1ac95dd89098a9bb1fa9378101eda24c999093b11785a6a111cec157212c04a44d712b4fc6b10d0466f646d9b4efaf571d8fd665ce55e774fbfc637ad",
17517
+ "file": "src/tag/tag-icon.directive.ts",
17518
+ "type": "directive",
17519
+ "description": "",
17520
+ "rawdescription": "\n",
17521
+ "sourceCode": "import { Directive, HostBinding } from \"@angular/core\";\n\n@Directive({\n\tselector: \"[cdsTagIcon], [ibmTagIcon]\"\n})\nexport class TagIconDirective {\n\t@HostBinding(\"class.cds--tag__custom-icon\") tagIcon = true;\n}\n",
17522
+ "selector": "[cdsTagIcon], [ibmTagIcon]",
17523
+ "providers": [],
17524
+ "hostDirectives": [],
17525
+ "standalone": false,
17526
+ "inputsClass": [],
17527
+ "outputsClass": [],
17528
+ "deprecated": false,
17529
+ "deprecationMessage": "",
17530
+ "hostBindings": [
17531
+ {
17532
+ "name": "class.cds--tag__custom-icon",
17533
+ "defaultValue": "true",
17534
+ "deprecated": false,
17535
+ "deprecationMessage": "",
17536
+ "line": 7,
17537
+ "type": "boolean",
17538
+ "decorators": []
17539
+ }
17540
+ ],
17541
+ "hostListeners": [],
17542
+ "propertiesClass": [
17543
+ {
17544
+ "name": "tagIcon",
17545
+ "defaultValue": "true",
17546
+ "deprecated": false,
17547
+ "deprecationMessage": "",
17548
+ "type": "",
17549
+ "optional": false,
17550
+ "description": "",
17551
+ "line": 7,
17552
+ "decorators": [
17553
+ {
17554
+ "name": "HostBinding",
17555
+ "stringifiedArguments": "'class.cds--tag__custom-icon'"
17556
+ }
17557
+ ],
17558
+ "modifierKind": [
17559
+ 170
17560
+ ]
17561
+ }
17562
+ ],
17563
+ "methodsClass": [],
17564
+ "extends": []
17565
+ },
17514
17566
  {
17515
17567
  "name": "TextArea",
17516
17568
  "id": "directive-TextArea-8d330b7a2bb57091bffb8b71f610d9f3f98049b5d8dfb70f002d482b00d7509202e1ed207dc3f39eb43e3501ef0eddbe53558b9d3882d3c690ad73e626db938f",
@@ -61399,7 +61451,7 @@
61399
61451
  },
61400
61452
  {
61401
61453
  "name": "Tag",
61402
- "id": "component-Tag-55f1cd7859c977c4d14ecf483d3b9c59bca8fd99161ad6142e3f1023e093c13da427591c7d445837a0d4417ea866a94c686b0aa054051b98832fa609bf9b4f55",
61454
+ "id": "component-Tag-c1aae23a3d592b407693ad02f2748e209315c9e57f5e91ae24409644c1f78ae8d82074448fa0892bc98e27280876ac99d33aa10b6af1e92a7bdf86f17ba39889",
61403
61455
  "file": "src/tag/tag.component.ts",
61404
61456
  "encapsulation": [],
61405
61457
  "entryComponents": [],
@@ -61409,7 +61461,7 @@
61409
61461
  "selector": "cds-tag, ibm-tag",
61410
61462
  "styleUrls": [],
61411
61463
  "styles": [],
61412
- "template": "<ng-content></ng-content>",
61464
+ "template": "<ng-container *ngIf=\"!skeleton\">\n\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t<span class=\"cds--tag__label\">\n\t\t<ng-content></ng-content>\n\t</span>\n</ng-container>\n\t",
61413
61465
  "templateUrl": [],
61414
61466
  "viewProviders": [],
61415
61467
  "hostDirectives": [],
@@ -61419,7 +61471,7 @@
61419
61471
  "defaultValue": "\"\"",
61420
61472
  "deprecated": false,
61421
61473
  "deprecationMessage": "",
61422
- "line": 47,
61474
+ "line": 54,
61423
61475
  "type": "string",
61424
61476
  "decorators": []
61425
61477
  },
@@ -61430,8 +61482,17 @@
61430
61482
  "deprecationMessage": "",
61431
61483
  "rawdescription": "\n\nTag render size\n",
61432
61484
  "description": "<p>Tag render size</p>\n",
61433
- "line": 45,
61434
- "type": "\"sm\" | \"md\"",
61485
+ "line": 52,
61486
+ "type": "\"sm\" | \"md\" | \"lg\"",
61487
+ "decorators": []
61488
+ },
61489
+ {
61490
+ "name": "skeleton",
61491
+ "defaultValue": "false",
61492
+ "deprecated": false,
61493
+ "deprecationMessage": "",
61494
+ "line": 56,
61495
+ "type": "boolean",
61435
61496
  "decorators": []
61436
61497
  },
61437
61498
  {
@@ -61441,7 +61502,7 @@
61441
61502
  "deprecationMessage": "",
61442
61503
  "rawdescription": "\n\nType of the tag determines the styling\n",
61443
61504
  "description": "<p>Type of the tag determines the styling</p>\n",
61444
- "line": 40,
61505
+ "line": 47,
61445
61506
  "type": "TagType",
61446
61507
  "decorators": []
61447
61508
  }
@@ -61456,7 +61517,27 @@
61456
61517
  "name": "attr.class",
61457
61518
  "deprecated": false,
61458
61519
  "deprecationMessage": "",
61459
- "line": 49,
61520
+ "jsdoctags": [
61521
+ {
61522
+ "pos": 1047,
61523
+ "end": 1097,
61524
+ "flags": 16842752,
61525
+ "modifierFlagsCache": 0,
61526
+ "transformFlags": 0,
61527
+ "kind": 334,
61528
+ "tagName": {
61529
+ "pos": 1048,
61530
+ "end": 1052,
61531
+ "flags": 16842752,
61532
+ "modifierFlagsCache": 0,
61533
+ "transformFlags": 0,
61534
+ "kind": 80,
61535
+ "escapedText": "todo"
61536
+ },
61537
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
61538
+ }
61539
+ ],
61540
+ "line": 62,
61460
61541
  "type": "string",
61461
61542
  "decorators": []
61462
61543
  }
@@ -61467,7 +61548,7 @@
61467
61548
  "description": "<p>Component that represents a tag for labelling/categorizing using keywords. Get started with importing the module:</p>\n<b>Example :</b><div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { TagModule } from &#39;carbon-components-angular&#39;;</code></pre></div><p><a href=\"../../?path=/story/components-tag--basic\">See demo</a></p>\n",
61468
61549
  "rawdescription": "\n\nComponent that represents a tag for labelling/categorizing using keywords. Get started with importing the module:\n\n```typescript\nimport { TagModule } from 'carbon-components-angular';\n```\n\n[See demo](../../?path=/story/components-tag--basic)\n",
61469
61550
  "type": "component",
61470
- "sourceCode": "import {\n\tComponent,\n\tInput,\n\tHostBinding\n} from \"@angular/core\";\n\n/**\n * Supported tag types for carbon v10\n */\nexport type TagType = \"red\" |\n\t\"magenta\" |\n\t\"purple\" |\n\t\"blue\" |\n\t\"cyan\" |\n\t\"teal\" |\n\t\"green\" |\n\t\"gray\" |\n\t\"cool-gray\" |\n\t\"warm-gray\" |\n\t\"high-contrast\" |\n\t\"outline\";\n\n/**\n * Component that represents a tag for labelling/categorizing using keywords. Get started with importing the module:\n *\n * ```typescript\n * import { TagModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-tag--basic)\n */\n@Component({\n\tselector: \"cds-tag, ibm-tag\",\n\ttemplate: `<ng-content></ng-content>`\n})\nexport class Tag {\n\t/**\n\t * Type of the tag determines the styling\n\t */\n\t@Input() type: TagType = \"gray\";\n\n\t/**\n\t * Tag render size\n\t */\n\t@Input() size: \"sm\" | \"md\" = \"md\";\n\n\t@Input() class = \"\";\n\n\t@HostBinding(\"attr.class\") get attrClass() {\n\t\treturn `cds--tag cds--tag--${this.type} cds--tag--${this.size} cds--layout--size-${this.size} ${this.class}`;\n\t}\n}\n",
61551
+ "sourceCode": "import {\n\tComponent,\n\tInput,\n\tHostBinding\n} from \"@angular/core\";\n\n/**\n * Supported tag types for carbon v10\n */\nexport type TagType = \"red\" |\n\t\"magenta\" |\n\t\"purple\" |\n\t\"blue\" |\n\t\"cyan\" |\n\t\"teal\" |\n\t\"green\" |\n\t\"gray\" |\n\t\"cool-gray\" |\n\t\"warm-gray\" |\n\t\"high-contrast\" |\n\t\"outline\";\n\n/**\n * Component that represents a tag for labelling/categorizing using keywords. Get started with importing the module:\n *\n * ```typescript\n * import { TagModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-tag--basic)\n */\n@Component({\n\tselector: \"cds-tag, ibm-tag\",\n\ttemplate: `\n\t\t<ng-container *ngIf=\"!skeleton\">\n\t\t\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t\t\t<span class=\"cds--tag__label\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</span>\n\t\t</ng-container>\n\t`\n})\nexport class Tag {\n\t/**\n\t * Type of the tag determines the styling\n\t */\n\t@Input() type: TagType = \"gray\";\n\n\t/**\n\t * Tag render size\n\t */\n\t@Input() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\n\t@Input() class = \"\";\n\n\t@Input() skeleton = false;\n\n\t/**\n\t * @todo\n\t * Remove `cds--tag--${this.size}` in v7\n\t */\n\t@HostBinding(\"attr.class\") get attrClass() {\n\t\tconst skeletonClass = this.skeleton ? \"cds--skeleton\" : \"\";\n\t\tconst sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;\n\n\t\treturn `cds--tag cds--tag--${this.type} ${sizeClass} ${skeletonClass} ${this.class}`;\n\t}\n}\n",
61471
61552
  "assetsDirs": [],
61472
61553
  "styleUrlsData": "",
61473
61554
  "stylesData": "",
@@ -61479,14 +61560,36 @@
61479
61560
  "name": "attrClass",
61480
61561
  "type": "",
61481
61562
  "returnType": "",
61482
- "line": 49
61563
+ "line": 62,
61564
+ "rawdescription": "\n\nRemove `cds--tag--${this.size}` in v7\n",
61565
+ "description": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n",
61566
+ "jsdoctags": [
61567
+ {
61568
+ "pos": 1047,
61569
+ "end": 1097,
61570
+ "flags": 16842752,
61571
+ "modifierFlagsCache": 0,
61572
+ "transformFlags": 0,
61573
+ "kind": 334,
61574
+ "tagName": {
61575
+ "pos": 1048,
61576
+ "end": 1052,
61577
+ "flags": 16842752,
61578
+ "modifierFlagsCache": 0,
61579
+ "transformFlags": 0,
61580
+ "kind": 80,
61581
+ "escapedText": "todo"
61582
+ },
61583
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
61584
+ }
61585
+ ]
61483
61586
  }
61484
61587
  }
61485
61588
  }
61486
61589
  },
61487
61590
  {
61488
61591
  "name": "TagFilter",
61489
- "id": "component-TagFilter-2fd52f7c7ac83ecea74676e707ea5de54c612ca1cb3cc457f01445d92a2fab1d347a8e9557eee18bca47267ae7a0aaf0c9f8f7ce4077090620b18d017c60fd57",
61592
+ "id": "component-TagFilter-798d22f3f19d7e6083cd447721b3260a2750650b5df1b41675b4179ac1e10fac49b974783e536111cdec5225f3597bf6de1ffe863b52a3fae3f51748f34528c3",
61490
61593
  "file": "src/tag/tag-filter.component.ts",
61491
61594
  "encapsulation": [],
61492
61595
  "entryComponents": [],
@@ -61496,7 +61599,7 @@
61496
61599
  "selector": "cds-tag-filter, ibm-tag-filter",
61497
61600
  "styleUrls": [],
61498
61601
  "styles": [],
61499
- "template": "<span\n\tclass=\"cds--tag__label\"\n\t[attr.title]=\"title ? title : null\"\n\t(click)=\"onClick($event)\">\n\t<ng-content></ng-content>\n</span>\n<button\n\tclass=\"cds--tag__close-icon\"\n\t(click)=\"onClose($event)\"\n\t[disabled]=\"disabled\"\n\t[title]=\"closeButtonLabel\">\n\t<span class=\"cds--visually-hidden\">{{closeButtonLabel}}</span>\n\t<svg cdsIcon=\"close\" size=\"16\"></svg>\n</button>\n\t",
61602
+ "template": "<ng-container *ngIf=\"!skeleton\">\n\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t<span\n\t\tclass=\"cds--tag__label\"\n\t\t[attr.title]=\"title ? title : null\"\n\t\t(click)=\"onClick($event)\">\n\t\t<ng-content></ng-content>\n\t</span>\n\t<button\n\t\tclass=\"cds--tag__close-icon\"\n\t\t(click)=\"onClose($event)\"\n\t\t[disabled]=\"disabled\"\n\t\t[title]=\"closeButtonLabel\">\n\t\t<span class=\"cds--visually-hidden\">{{closeButtonLabel}}</span>\n\t\t<svg cdsIcon=\"close\" size=\"16\"></svg>\n\t</button>\n</ng-container>\n\t",
61500
61603
  "templateUrl": [],
61501
61604
  "viewProviders": [],
61502
61605
  "hostDirectives": [],
@@ -61506,15 +61609,16 @@
61506
61609
  "defaultValue": "\"Clear Filter\"",
61507
61610
  "deprecated": false,
61508
61611
  "deprecationMessage": "",
61509
- "line": 30,
61612
+ "line": 34,
61510
61613
  "type": "string",
61511
61614
  "decorators": []
61512
61615
  },
61513
61616
  {
61514
61617
  "name": "disabled",
61618
+ "defaultValue": "false",
61515
61619
  "deprecated": false,
61516
61620
  "deprecationMessage": "",
61517
- "line": 31,
61621
+ "line": 35,
61518
61622
  "type": "boolean",
61519
61623
  "decorators": []
61520
61624
  },
@@ -61522,7 +61626,7 @@
61522
61626
  "name": "title",
61523
61627
  "deprecated": false,
61524
61628
  "deprecationMessage": "",
61525
- "line": 32,
61629
+ "line": 36,
61526
61630
  "type": "string",
61527
61631
  "decorators": []
61528
61632
  },
@@ -61531,7 +61635,7 @@
61531
61635
  "defaultValue": "\"\"",
61532
61636
  "deprecated": false,
61533
61637
  "deprecationMessage": "",
61534
- "line": 47,
61638
+ "line": 54,
61535
61639
  "type": "string",
61536
61640
  "decorators": [],
61537
61641
  "inheritance": {
@@ -61545,8 +61649,20 @@
61545
61649
  "deprecationMessage": "",
61546
61650
  "rawdescription": "\n\nTag render size\n",
61547
61651
  "description": "<p>Tag render size</p>\n",
61548
- "line": 45,
61549
- "type": "\"sm\" | \"md\"",
61652
+ "line": 52,
61653
+ "type": "\"sm\" | \"md\" | \"lg\"",
61654
+ "decorators": [],
61655
+ "inheritance": {
61656
+ "file": "Tag"
61657
+ }
61658
+ },
61659
+ {
61660
+ "name": "skeleton",
61661
+ "defaultValue": "false",
61662
+ "deprecated": false,
61663
+ "deprecationMessage": "",
61664
+ "line": 56,
61665
+ "type": "boolean",
61550
61666
  "decorators": [],
61551
61667
  "inheritance": {
61552
61668
  "file": "Tag"
@@ -61559,7 +61675,7 @@
61559
61675
  "deprecationMessage": "",
61560
61676
  "rawdescription": "\n\nType of the tag determines the styling\n",
61561
61677
  "description": "<p>Type of the tag determines the styling</p>\n",
61562
- "line": 40,
61678
+ "line": 47,
61563
61679
  "type": "TagType",
61564
61680
  "decorators": [],
61565
61681
  "inheritance": {
@@ -61575,7 +61691,7 @@
61575
61691
  "deprecationMessage": "",
61576
61692
  "rawdescription": "\n\nWe need to stop the immedate propagation of click on the close button\nto prevent undesired effects when used within dialogs.\n\nWe need to emit a click event on close to allow for clicks to be listened\nto on the immediate close button element. `action` distinguishes between clicks on\nthe tag vs. clicks on the close button.\n",
61577
61693
  "description": "<p>We need to stop the immedate propagation of click on the close button\nto prevent undesired effects when used within dialogs.</p>\n<p>We need to emit a click event on close to allow for clicks to be listened\nto on the immediate close button element. <code>action</code> distinguishes between clicks on\nthe tag vs. clicks on the close button.</p>\n",
61578
- "line": 47,
61694
+ "line": 51,
61579
61695
  "type": "EventEmitter"
61580
61696
  },
61581
61697
  {
@@ -61585,7 +61701,7 @@
61585
61701
  "deprecationMessage": "",
61586
61702
  "rawdescription": "\n\nFunction for close/delete the tag\n",
61587
61703
  "description": "<p>Function for close/delete the tag</p>\n",
61588
- "line": 37,
61704
+ "line": 41,
61589
61705
  "type": "EventEmitter"
61590
61706
  }
61591
61707
  ],
@@ -61604,7 +61720,7 @@
61604
61720
  "optional": false,
61605
61721
  "returnType": "void",
61606
61722
  "typeParameters": [],
61607
- "line": 49,
61723
+ "line": 53,
61608
61724
  "deprecated": false,
61609
61725
  "deprecationMessage": "",
61610
61726
  "jsdoctags": [
@@ -61632,7 +61748,7 @@
61632
61748
  "optional": false,
61633
61749
  "returnType": "void",
61634
61750
  "typeParameters": [],
61635
- "line": 56,
61751
+ "line": 60,
61636
61752
  "deprecated": false,
61637
61753
  "deprecationMessage": "",
61638
61754
  "jsdoctags": [
@@ -61655,7 +61771,7 @@
61655
61771
  "name": "attr.aria-label",
61656
61772
  "deprecated": false,
61657
61773
  "deprecationMessage": "",
61658
- "line": 66,
61774
+ "line": 78,
61659
61775
  "type": "any",
61660
61776
  "decorators": []
61661
61777
  },
@@ -61663,7 +61779,27 @@
61663
61779
  "name": "attr.class",
61664
61780
  "deprecated": false,
61665
61781
  "deprecationMessage": "",
61666
- "line": 62,
61782
+ "jsdoctags": [
61783
+ {
61784
+ "pos": 1662,
61785
+ "end": 1712,
61786
+ "flags": 16842752,
61787
+ "modifierFlagsCache": 0,
61788
+ "transformFlags": 0,
61789
+ "kind": 334,
61790
+ "tagName": {
61791
+ "pos": 1663,
61792
+ "end": 1667,
61793
+ "flags": 16842752,
61794
+ "modifierFlagsCache": 0,
61795
+ "transformFlags": 0,
61796
+ "kind": 80,
61797
+ "escapedText": "todo"
61798
+ },
61799
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
61800
+ }
61801
+ ],
61802
+ "line": 70,
61667
61803
  "type": "string",
61668
61804
  "decorators": [],
61669
61805
  "inheritance": {
@@ -61677,7 +61813,7 @@
61677
61813
  "description": "",
61678
61814
  "rawdescription": "\n",
61679
61815
  "type": "component",
61680
- "sourceCode": "import {\n\tComponent,\n\tOutput,\n\tEventEmitter,\n\tHostBinding,\n\tInput\n} from \"@angular/core\";\nimport { Tag } from \"./tag.component\";\n\n@Component({\n\tselector: \"cds-tag-filter, ibm-tag-filter\",\n\ttemplate: `\n\t\t<span\n\t\t\tclass=\"cds--tag__label\"\n\t\t\t[attr.title]=\"title ? title : null\"\n\t\t\t(click)=\"onClick($event)\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<button\n\t\t\tclass=\"cds--tag__close-icon\"\n\t\t\t(click)=\"onClose($event)\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[title]=\"closeButtonLabel\">\n\t\t\t<span class=\"cds--visually-hidden\">{{closeButtonLabel}}</span>\n\t\t\t<svg cdsIcon=\"close\" size=\"16\"></svg>\n\t\t</button>\n\t`\n})\nexport class TagFilter extends Tag {\n\t@Input() closeButtonLabel = \"Clear Filter\";\n\t@Input() disabled: boolean;\n\t@Input() title: string;\n\n\t/**\n\t * Function for close/delete the tag\n\t */\n\t@Output() close = new EventEmitter<any>();\n\n\t/**\n\t * We need to stop the immedate propagation of click on the close button\n\t * to prevent undesired effects when used within dialogs.\n\t *\n\t * We need to emit a click event on close to allow for clicks to be listened\n\t * to on the immediate close button element. `action` distinguishes between clicks on\n\t * the tag vs. clicks on the close button.\n\t */\n\t@Output() click = new EventEmitter<{ action: \"click\" | \"close\" }>();\n\n\tonClick(event: any) {\n\t\tevent.stopImmediatePropagation();\n\t\tif (!this.disabled) {\n\t\t\tthis.click.emit({ action: \"click\" });\n\t\t}\n\t}\n\n\tonClose(event: any) {\n\t\tevent.stopImmediatePropagation();\n\t\tthis.click.emit({ action: \"close\" });\n\t\tthis.close.emit();\n\t}\n\n\t@HostBinding(\"attr.class\") get attrClass() {\n\t\treturn `cds--tag cds--tag--filter cds--tag--${this.type} cds--tag--${this.size} cds--layout--size-${this.size} ${this.class}${this.disabled ? \" cds--tag--disabled\" : \"\"}`;\n\t}\n\n\t@HostBinding(\"attr.aria-label\") get attrAriaLabel() {\n\t\treturn `${this.title || \"\"} ${this.closeButtonLabel}`.trim();\n\t}\n}\n",
61816
+ "sourceCode": "import {\n\tComponent,\n\tOutput,\n\tEventEmitter,\n\tHostBinding,\n\tInput,\n\tTemplateRef\n} from \"@angular/core\";\nimport { Tag } from \"./tag.component\";\n\n@Component({\n\tselector: \"cds-tag-filter, ibm-tag-filter\",\n\ttemplate: `\n\t\t<ng-container *ngIf=\"!skeleton\">\n\t\t\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t\t\t<span\n\t\t\t\tclass=\"cds--tag__label\"\n\t\t\t\t[attr.title]=\"title ? title : null\"\n\t\t\t\t(click)=\"onClick($event)\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</span>\n\t\t\t<button\n\t\t\t\tclass=\"cds--tag__close-icon\"\n\t\t\t\t(click)=\"onClose($event)\"\n\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t[title]=\"closeButtonLabel\">\n\t\t\t\t<span class=\"cds--visually-hidden\">{{closeButtonLabel}}</span>\n\t\t\t\t<svg cdsIcon=\"close\" size=\"16\"></svg>\n\t\t\t</button>\n\t\t</ng-container>\n\t`\n})\nexport class TagFilter extends Tag {\n\t@Input() closeButtonLabel = \"Clear Filter\";\n\t@Input() disabled = false;\n\t@Input() title: string;\n\n\t/**\n\t * Function for close/delete the tag\n\t */\n\t@Output() close = new EventEmitter<any>();\n\n\t/**\n\t * We need to stop the immedate propagation of click on the close button\n\t * to prevent undesired effects when used within dialogs.\n\t *\n\t * We need to emit a click event on close to allow for clicks to be listened\n\t * to on the immediate close button element. `action` distinguishes between clicks on\n\t * the tag vs. clicks on the close button.\n\t */\n\t@Output() click = new EventEmitter<{ action: \"click\" | \"close\" }>();\n\n\tonClick(event: any) {\n\t\tevent.stopImmediatePropagation();\n\t\tif (!this.disabled) {\n\t\t\tthis.click.emit({ action: \"click\" });\n\t\t}\n\t}\n\n\tonClose(event: any) {\n\t\tevent.stopImmediatePropagation();\n\t\tthis.click.emit({ action: \"close\" });\n\t\tthis.close.emit();\n\t}\n\n\t/**\n\t * @todo\n\t * Remove `cds--tag--${this.size}` in v7\n\t */\n\t@HostBinding(\"attr.class\") get attrClass() {\n\t\tconst disabledClass = this.disabled ? \"cds--tag--disabled\" : \"\";\n\t\tconst sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;\n\t\tconst skeletonClass = this.skeleton ? \"cds--skeleton\" : \"\";\n\n\t\treturn `cds--tag cds--tag--filter cds--tag--${this.type} ${disabledClass} ${sizeClass} ${skeletonClass} ${this.class}`;\n\t}\n\n\t@HostBinding(\"attr.aria-label\") get attrAriaLabel() {\n\t\treturn `${this.title || \"\"} ${this.closeButtonLabel}`.trim();\n\t}\n}\n",
61681
61817
  "assetsDirs": [],
61682
61818
  "styleUrlsData": "",
61683
61819
  "stylesData": "",
@@ -61691,7 +61827,29 @@
61691
61827
  "name": "attrClass",
61692
61828
  "type": "",
61693
61829
  "returnType": "",
61694
- "line": 62
61830
+ "line": 70,
61831
+ "rawdescription": "\n\nRemove `cds--tag--${this.size}` in v7\n",
61832
+ "description": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n",
61833
+ "jsdoctags": [
61834
+ {
61835
+ "pos": 1662,
61836
+ "end": 1712,
61837
+ "flags": 16842752,
61838
+ "modifierFlagsCache": 0,
61839
+ "transformFlags": 0,
61840
+ "kind": 334,
61841
+ "tagName": {
61842
+ "pos": 1663,
61843
+ "end": 1667,
61844
+ "flags": 16842752,
61845
+ "modifierFlagsCache": 0,
61846
+ "transformFlags": 0,
61847
+ "kind": 80,
61848
+ "escapedText": "todo"
61849
+ },
61850
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
61851
+ }
61852
+ ]
61695
61853
  }
61696
61854
  },
61697
61855
  "attrAriaLabel": {
@@ -61700,7 +61858,541 @@
61700
61858
  "name": "attrAriaLabel",
61701
61859
  "type": "",
61702
61860
  "returnType": "",
61703
- "line": 66
61861
+ "line": 78
61862
+ }
61863
+ }
61864
+ }
61865
+ },
61866
+ {
61867
+ "name": "TagOperationalComponent",
61868
+ "id": "component-TagOperationalComponent-d2b919d83748916a545489466c570a5e13fe7e38e2667165259a99f41a09dc8c5f197d5bdd64e3842c6b5db96ba75dc2f78aec0fac73848d621496af5a51fe02",
61869
+ "file": "src/tag/tag-operational.component.ts",
61870
+ "changeDetection": "ChangeDetectionStrategy.OnPush",
61871
+ "encapsulation": [],
61872
+ "entryComponents": [],
61873
+ "inputs": [],
61874
+ "outputs": [],
61875
+ "providers": [],
61876
+ "selector": "cds-tag-operational, ibm-tag-operational",
61877
+ "styleUrls": [],
61878
+ "styles": [],
61879
+ "template": "<ng-container *ngIf=\"!skeleton\">\n\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t<span class=\"cds--tag__label\">\n\t\t<ng-content></ng-content>\n\t</span>\n</ng-container>\n\t",
61880
+ "templateUrl": [],
61881
+ "viewProviders": [],
61882
+ "hostDirectives": [],
61883
+ "inputsClass": [
61884
+ {
61885
+ "name": "disabled",
61886
+ "defaultValue": "false",
61887
+ "deprecated": false,
61888
+ "deprecationMessage": "",
61889
+ "line": 26,
61890
+ "type": "boolean",
61891
+ "decorators": []
61892
+ },
61893
+ {
61894
+ "name": "class",
61895
+ "defaultValue": "\"\"",
61896
+ "deprecated": false,
61897
+ "deprecationMessage": "",
61898
+ "line": 54,
61899
+ "type": "string",
61900
+ "decorators": [],
61901
+ "inheritance": {
61902
+ "file": "Tag"
61903
+ }
61904
+ },
61905
+ {
61906
+ "name": "size",
61907
+ "defaultValue": "\"md\"",
61908
+ "deprecated": false,
61909
+ "deprecationMessage": "",
61910
+ "rawdescription": "\n\nTag render size\n",
61911
+ "description": "<p>Tag render size</p>\n",
61912
+ "line": 52,
61913
+ "type": "\"sm\" | \"md\" | \"lg\"",
61914
+ "decorators": [],
61915
+ "inheritance": {
61916
+ "file": "Tag"
61917
+ }
61918
+ },
61919
+ {
61920
+ "name": "skeleton",
61921
+ "defaultValue": "false",
61922
+ "deprecated": false,
61923
+ "deprecationMessage": "",
61924
+ "line": 56,
61925
+ "type": "boolean",
61926
+ "decorators": [],
61927
+ "inheritance": {
61928
+ "file": "Tag"
61929
+ }
61930
+ },
61931
+ {
61932
+ "name": "type",
61933
+ "defaultValue": "\"gray\"",
61934
+ "deprecated": false,
61935
+ "deprecationMessage": "",
61936
+ "rawdescription": "\n\nType of the tag determines the styling\n",
61937
+ "description": "<p>Type of the tag determines the styling</p>\n",
61938
+ "line": 47,
61939
+ "type": "TagType",
61940
+ "decorators": [],
61941
+ "inheritance": {
61942
+ "file": "Tag"
61943
+ }
61944
+ }
61945
+ ],
61946
+ "outputsClass": [],
61947
+ "propertiesClass": [
61948
+ {
61949
+ "name": "buttonType",
61950
+ "defaultValue": "\"button\"",
61951
+ "deprecated": false,
61952
+ "deprecationMessage": "",
61953
+ "type": "string",
61954
+ "optional": false,
61955
+ "description": "",
61956
+ "line": 23,
61957
+ "decorators": [
61958
+ {
61959
+ "name": "HostBinding",
61960
+ "stringifiedArguments": "'attr.type'"
61961
+ }
61962
+ ],
61963
+ "modifierKind": [
61964
+ 170
61965
+ ]
61966
+ },
61967
+ {
61968
+ "name": "role",
61969
+ "defaultValue": "\"button\"",
61970
+ "deprecated": false,
61971
+ "deprecationMessage": "",
61972
+ "type": "string",
61973
+ "optional": false,
61974
+ "description": "",
61975
+ "line": 22,
61976
+ "decorators": [
61977
+ {
61978
+ "name": "HostBinding",
61979
+ "stringifiedArguments": "'attr.role'"
61980
+ }
61981
+ ],
61982
+ "modifierKind": [
61983
+ 170
61984
+ ]
61985
+ },
61986
+ {
61987
+ "name": "tabIndex",
61988
+ "defaultValue": "0",
61989
+ "deprecated": false,
61990
+ "deprecationMessage": "",
61991
+ "type": "number",
61992
+ "optional": false,
61993
+ "description": "",
61994
+ "line": 24,
61995
+ "decorators": [
61996
+ {
61997
+ "name": "HostBinding",
61998
+ "stringifiedArguments": "'attr.tabindex'"
61999
+ }
62000
+ ],
62001
+ "modifierKind": [
62002
+ 170
62003
+ ]
62004
+ }
62005
+ ],
62006
+ "methodsClass": [],
62007
+ "deprecated": false,
62008
+ "deprecationMessage": "",
62009
+ "hostBindings": [
62010
+ {
62011
+ "name": "attr.class",
62012
+ "deprecated": false,
62013
+ "deprecationMessage": "",
62014
+ "jsdoctags": [
62015
+ {
62016
+ "pos": 690,
62017
+ "end": 740,
62018
+ "flags": 16842752,
62019
+ "modifierFlagsCache": 0,
62020
+ "transformFlags": 0,
62021
+ "kind": 334,
62022
+ "tagName": {
62023
+ "pos": 691,
62024
+ "end": 695,
62025
+ "flags": 16842752,
62026
+ "modifierFlagsCache": 0,
62027
+ "transformFlags": 0,
62028
+ "kind": 80,
62029
+ "escapedText": "todo"
62030
+ },
62031
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
62032
+ }
62033
+ ],
62034
+ "line": 32,
62035
+ "type": "string",
62036
+ "decorators": [],
62037
+ "inheritance": {
62038
+ "file": "Tag"
62039
+ }
62040
+ },
62041
+ {
62042
+ "name": "attr.role",
62043
+ "defaultValue": "\"button\"",
62044
+ "deprecated": false,
62045
+ "deprecationMessage": "",
62046
+ "line": 22,
62047
+ "type": "string",
62048
+ "decorators": []
62049
+ },
62050
+ {
62051
+ "name": "attr.tabindex",
62052
+ "defaultValue": "0",
62053
+ "deprecated": false,
62054
+ "deprecationMessage": "",
62055
+ "line": 24,
62056
+ "type": "number",
62057
+ "decorators": []
62058
+ },
62059
+ {
62060
+ "name": "attr.type",
62061
+ "defaultValue": "\"button\"",
62062
+ "deprecated": false,
62063
+ "deprecationMessage": "",
62064
+ "line": 23,
62065
+ "type": "string",
62066
+ "decorators": []
62067
+ }
62068
+ ],
62069
+ "hostListeners": [],
62070
+ "standalone": false,
62071
+ "imports": [],
62072
+ "description": "",
62073
+ "rawdescription": "\n",
62074
+ "type": "component",
62075
+ "sourceCode": "import {\n\tChangeDetectionStrategy,\n\tComponent,\n\tHostBinding,\n\tInput\n} from \"@angular/core\";\nimport { Tag } from \"./tag.component\";\n\n@Component({\n\tselector: \"cds-tag-operational, ibm-tag-operational\",\n\ttemplate: `\n\t\t<ng-container *ngIf=\"!skeleton\">\n\t\t\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t\t\t<span class=\"cds--tag__label\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</span>\n\t\t</ng-container>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TagOperationalComponent extends Tag {\n\t@HostBinding(\"attr.role\") role = \"button\";\n\t@HostBinding(\"attr.type\") buttonType = \"button\";\n\t@HostBinding(\"attr.tabindex\") tabIndex = 0;\n\n\t@Input() disabled = false;\n\n\t/**\n\t * @todo\n\t * Remove `cds--tag--${this.size}` in v7\n\t */\n\t@HostBinding(\"attr.class\") get attrClass() {\n\t\tconst disabledClass = this.disabled ? \"cds--tag--disabled\" : \"\";\n\t\tconst sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;\n\t\tconst skeletonClass = this.skeleton ? \"cds--skeleton\" : \"\";\n\n\t\treturn `cds--tag cds--tag--operational cds--tag--${this.type} ${disabledClass} ${sizeClass} ${skeletonClass} ${this.class}`;\n\t}\n}\n",
62076
+ "assetsDirs": [],
62077
+ "styleUrlsData": "",
62078
+ "stylesData": "",
62079
+ "extends": [
62080
+ "Tag"
62081
+ ],
62082
+ "accessors": {
62083
+ "attrClass": {
62084
+ "name": "attrClass",
62085
+ "getSignature": {
62086
+ "name": "attrClass",
62087
+ "type": "",
62088
+ "returnType": "",
62089
+ "line": 32,
62090
+ "rawdescription": "\n\nRemove `cds--tag--${this.size}` in v7\n",
62091
+ "description": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n",
62092
+ "jsdoctags": [
62093
+ {
62094
+ "pos": 690,
62095
+ "end": 740,
62096
+ "flags": 16842752,
62097
+ "modifierFlagsCache": 0,
62098
+ "transformFlags": 0,
62099
+ "kind": 334,
62100
+ "tagName": {
62101
+ "pos": 691,
62102
+ "end": 695,
62103
+ "flags": 16842752,
62104
+ "modifierFlagsCache": 0,
62105
+ "transformFlags": 0,
62106
+ "kind": 80,
62107
+ "escapedText": "todo"
62108
+ },
62109
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
62110
+ }
62111
+ ]
62112
+ }
62113
+ }
62114
+ }
62115
+ },
62116
+ {
62117
+ "name": "TagSelectableComponent",
62118
+ "id": "component-TagSelectableComponent-a65ac3aa63090d3652d72b074395f65256cdd474553539598bb9b655a9656f2fb566bb43b9bffdcf608acf7c5ab167a062977311511e9ecb06f404b8051acf7e",
62119
+ "file": "src/tag/tag-selectable.component.ts",
62120
+ "changeDetection": "ChangeDetectionStrategy.OnPush",
62121
+ "encapsulation": [],
62122
+ "entryComponents": [],
62123
+ "inputs": [],
62124
+ "outputs": [],
62125
+ "providers": [],
62126
+ "selector": "cds-tag-selectable, ibm-tag-selectable",
62127
+ "styleUrls": [],
62128
+ "styles": [],
62129
+ "template": "<ng-container *ngIf=\"!skeleton\">\n\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t<span class=\"cds--tag__label\">\n\t\t<ng-content></ng-content>\n\t</span>\n</ng-container>\n\t",
62130
+ "templateUrl": [],
62131
+ "viewProviders": [],
62132
+ "hostDirectives": [],
62133
+ "inputsClass": [
62134
+ {
62135
+ "name": "class",
62136
+ "defaultValue": "\"\"",
62137
+ "deprecated": false,
62138
+ "deprecationMessage": "",
62139
+ "line": 34,
62140
+ "type": "string",
62141
+ "decorators": []
62142
+ },
62143
+ {
62144
+ "name": "disabled",
62145
+ "defaultValue": "false",
62146
+ "deprecated": false,
62147
+ "deprecationMessage": "",
62148
+ "line": 33,
62149
+ "type": "boolean",
62150
+ "decorators": []
62151
+ },
62152
+ {
62153
+ "name": "selected",
62154
+ "defaultValue": "false",
62155
+ "deprecated": false,
62156
+ "deprecationMessage": "",
62157
+ "line": 35,
62158
+ "type": "boolean",
62159
+ "decorators": []
62160
+ },
62161
+ {
62162
+ "name": "size",
62163
+ "defaultValue": "\"md\"",
62164
+ "deprecated": false,
62165
+ "deprecationMessage": "",
62166
+ "line": 31,
62167
+ "type": "\"sm\" | \"md\" | \"lg\"",
62168
+ "decorators": []
62169
+ },
62170
+ {
62171
+ "name": "skeleton",
62172
+ "defaultValue": "false",
62173
+ "deprecated": false,
62174
+ "deprecationMessage": "",
62175
+ "line": 32,
62176
+ "type": "boolean",
62177
+ "decorators": []
62178
+ }
62179
+ ],
62180
+ "outputsClass": [
62181
+ {
62182
+ "name": "selectedChange",
62183
+ "defaultValue": "new EventEmitter<boolean>()",
62184
+ "deprecated": false,
62185
+ "deprecationMessage": "",
62186
+ "line": 37,
62187
+ "type": "EventEmitter"
62188
+ }
62189
+ ],
62190
+ "propertiesClass": [
62191
+ {
62192
+ "name": "buttonType",
62193
+ "defaultValue": "\"button\"",
62194
+ "deprecated": false,
62195
+ "deprecationMessage": "",
62196
+ "type": "string",
62197
+ "optional": false,
62198
+ "description": "",
62199
+ "line": 25,
62200
+ "decorators": [
62201
+ {
62202
+ "name": "HostBinding",
62203
+ "stringifiedArguments": "'attr.type'"
62204
+ }
62205
+ ],
62206
+ "modifierKind": [
62207
+ 170
62208
+ ]
62209
+ },
62210
+ {
62211
+ "name": "role",
62212
+ "defaultValue": "\"button\"",
62213
+ "deprecated": false,
62214
+ "deprecationMessage": "",
62215
+ "type": "string",
62216
+ "optional": false,
62217
+ "description": "",
62218
+ "line": 24,
62219
+ "decorators": [
62220
+ {
62221
+ "name": "HostBinding",
62222
+ "stringifiedArguments": "'attr.role'"
62223
+ }
62224
+ ],
62225
+ "modifierKind": [
62226
+ 170
62227
+ ]
62228
+ },
62229
+ {
62230
+ "name": "tabIndex",
62231
+ "defaultValue": "0",
62232
+ "deprecated": false,
62233
+ "deprecationMessage": "",
62234
+ "type": "number",
62235
+ "optional": false,
62236
+ "description": "",
62237
+ "line": 26,
62238
+ "decorators": [
62239
+ {
62240
+ "name": "HostBinding",
62241
+ "stringifiedArguments": "'attr.tabindex'"
62242
+ }
62243
+ ],
62244
+ "modifierKind": [
62245
+ 170
62246
+ ]
62247
+ }
62248
+ ],
62249
+ "methodsClass": [
62250
+ {
62251
+ "name": "onClick",
62252
+ "args": [],
62253
+ "optional": false,
62254
+ "returnType": "void",
62255
+ "typeParameters": [],
62256
+ "line": 40,
62257
+ "deprecated": false,
62258
+ "deprecationMessage": "",
62259
+ "decorators": [
62260
+ {
62261
+ "name": "HostListener",
62262
+ "stringifiedArguments": "'click'"
62263
+ }
62264
+ ],
62265
+ "modifierKind": [
62266
+ 170
62267
+ ]
62268
+ }
62269
+ ],
62270
+ "deprecated": false,
62271
+ "deprecationMessage": "",
62272
+ "hostBindings": [
62273
+ {
62274
+ "name": "attr.aria-pressed",
62275
+ "deprecated": false,
62276
+ "deprecationMessage": "",
62277
+ "line": 27,
62278
+ "type": "boolean",
62279
+ "decorators": []
62280
+ },
62281
+ {
62282
+ "name": "attr.class",
62283
+ "deprecated": false,
62284
+ "deprecationMessage": "",
62285
+ "jsdoctags": [
62286
+ {
62287
+ "pos": 1054,
62288
+ "end": 1104,
62289
+ "flags": 16842752,
62290
+ "modifierFlagsCache": 0,
62291
+ "transformFlags": 0,
62292
+ "kind": 334,
62293
+ "tagName": {
62294
+ "pos": 1055,
62295
+ "end": 1059,
62296
+ "flags": 16842752,
62297
+ "modifierFlagsCache": 0,
62298
+ "transformFlags": 0,
62299
+ "kind": 80,
62300
+ "escapedText": "todo"
62301
+ },
62302
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
62303
+ }
62304
+ ],
62305
+ "line": 49,
62306
+ "type": "string",
62307
+ "decorators": []
62308
+ },
62309
+ {
62310
+ "name": "attr.role",
62311
+ "defaultValue": "\"button\"",
62312
+ "deprecated": false,
62313
+ "deprecationMessage": "",
62314
+ "line": 24,
62315
+ "type": "string",
62316
+ "decorators": []
62317
+ },
62318
+ {
62319
+ "name": "attr.tabindex",
62320
+ "defaultValue": "0",
62321
+ "deprecated": false,
62322
+ "deprecationMessage": "",
62323
+ "line": 26,
62324
+ "type": "number",
62325
+ "decorators": []
62326
+ },
62327
+ {
62328
+ "name": "attr.type",
62329
+ "defaultValue": "\"button\"",
62330
+ "deprecated": false,
62331
+ "deprecationMessage": "",
62332
+ "line": 25,
62333
+ "type": "string",
62334
+ "decorators": []
62335
+ }
62336
+ ],
62337
+ "hostListeners": [
62338
+ {
62339
+ "name": "click",
62340
+ "args": [],
62341
+ "argsDecorator": [],
62342
+ "deprecated": false,
62343
+ "deprecationMessage": "",
62344
+ "line": 40
62345
+ }
62346
+ ],
62347
+ "standalone": false,
62348
+ "imports": [],
62349
+ "description": "",
62350
+ "rawdescription": "\n",
62351
+ "type": "component",
62352
+ "sourceCode": "import {\n\tChangeDetectionStrategy,\n\tComponent,\n\tEventEmitter,\n\tHostBinding,\n\tHostListener,\n\tInput,\n\tOutput\n} from \"@angular/core\";\n\n@Component({\n\tselector: \"cds-tag-selectable, ibm-tag-selectable\",\n\ttemplate: `\n\t\t<ng-container *ngIf=\"!skeleton\">\n\t\t\t<ng-content select=\"[cdsTagIcon],[ibmTagIcon]\"></ng-content>\n\t\t\t<span class=\"cds--tag__label\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</span>\n\t\t</ng-container>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TagSelectableComponent {\n\t@HostBinding(\"attr.role\") role = \"button\";\n\t@HostBinding(\"attr.type\") buttonType = \"button\";\n\t@HostBinding(\"attr.tabindex\") tabIndex = 0;\n\t@HostBinding(\"attr.aria-pressed\") get ariaPressed() {\n\t\treturn this.selected;\n\t}\n\n\t@Input() size: \"sm\" | \"md\" | \"lg\" = \"md\";\n\t@Input() skeleton = false;\n\t@Input() disabled = false;\n\t@Input() class = \"\";\n\t@Input() selected = false;\n\n\t@Output() selectedChange = new EventEmitter<boolean>();\n\n\t@HostListener(\"click\")\n\tonClick() {\n\t\tthis.selected = !this.selected;\n\t\tthis.selectedChange.emit(this.selected);\n\t}\n\n\t/**\n\t * @todo\n\t * Remove `cds--tag--${this.size}` in v7\n\t */\n\t@HostBinding(\"attr.class\") get attrClass() {\n\t\tconst disabledClass = this.disabled ? \"cds--tag--disabled\" : \"\";\n\t\tconst sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;\n\t\tconst skeletonClass = this.skeleton ? \"cds--skeleton\" : \"\";\n\t\tconst selectedClass = this.selected ? \"cds--tag--selectable-selected\" : \"\";\n\n\t\treturn `cds--tag cds--tag--selectable ${selectedClass} ${disabledClass} ${sizeClass} ${skeletonClass} ${this.class}`;\n\t}\n}\n",
62353
+ "assetsDirs": [],
62354
+ "styleUrlsData": "",
62355
+ "stylesData": "",
62356
+ "extends": [],
62357
+ "accessors": {
62358
+ "ariaPressed": {
62359
+ "name": "ariaPressed",
62360
+ "getSignature": {
62361
+ "name": "ariaPressed",
62362
+ "type": "",
62363
+ "returnType": "",
62364
+ "line": 27
62365
+ }
62366
+ },
62367
+ "attrClass": {
62368
+ "name": "attrClass",
62369
+ "getSignature": {
62370
+ "name": "attrClass",
62371
+ "type": "",
62372
+ "returnType": "",
62373
+ "line": 49,
62374
+ "rawdescription": "\n\nRemove `cds--tag--${this.size}` in v7\n",
62375
+ "description": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n",
62376
+ "jsdoctags": [
62377
+ {
62378
+ "pos": 1054,
62379
+ "end": 1104,
62380
+ "flags": 16842752,
62381
+ "modifierFlagsCache": 0,
62382
+ "transformFlags": 0,
62383
+ "kind": 334,
62384
+ "tagName": {
62385
+ "pos": 1055,
62386
+ "end": 1059,
62387
+ "flags": 16842752,
62388
+ "modifierFlagsCache": 0,
62389
+ "transformFlags": 0,
62390
+ "kind": 80,
62391
+ "escapedText": "todo"
62392
+ },
62393
+ "comment": "<p>Remove <code>cds--tag--${this.size}</code> in v7</p>\n"
62394
+ }
62395
+ ]
61704
62396
  }
61705
62397
  }
61706
62398
  }
@@ -62062,7 +62754,7 @@
62062
62754
  },
62063
62755
  {
62064
62756
  "name": "TextInputLabelComponent",
62065
- "id": "component-TextInputLabelComponent-f14584fce8ba15041c0135a0a64c5baa5afb8391618e7ef829969d866a2a97415598f29236a4b0a802d28233400d80b76e8a4865f168ffa1e26c3e267ce8b538",
62757
+ "id": "component-TextInputLabelComponent-85c449c6e838da15776375a01fe857a981d585c39dad57825ec5a9c8adf2ccfc4959b452d9c0a1d8fb0d5e6954baa2865b2fd30545e13219070b8217db715e09",
62066
62758
  "file": "src/input/text-input-label.component.ts",
62067
62759
  "encapsulation": [],
62068
62760
  "entryComponents": [],
@@ -62083,7 +62775,7 @@
62083
62775
  "deprecationMessage": "",
62084
62776
  "rawdescription": "\n\nSet the arialabel for label\n",
62085
62777
  "description": "<p>Set the arialabel for label</p>\n",
62086
- "line": 154,
62778
+ "line": 155,
62087
62779
  "type": "string",
62088
62780
  "decorators": []
62089
62781
  },
@@ -62094,7 +62786,7 @@
62094
62786
  "deprecationMessage": "",
62095
62787
  "rawdescription": "\n\nSet to `true` for a disabled label.\n",
62096
62788
  "description": "<p>Set to <code>true</code> for a disabled label.</p>\n",
62097
- "line": 119,
62789
+ "line": 120,
62098
62790
  "type": "boolean",
62099
62791
  "decorators": []
62100
62792
  },
@@ -62105,7 +62797,7 @@
62105
62797
  "deprecationMessage": "",
62106
62798
  "rawdescription": "\n\nExperimental: enable fluid state\n",
62107
62799
  "description": "<p>Experimental: enable fluid state</p>\n",
62108
- "line": 159,
62800
+ "line": 160,
62109
62801
  "type": "boolean",
62110
62802
  "decorators": []
62111
62803
  },
@@ -62115,7 +62807,7 @@
62115
62807
  "deprecationMessage": "",
62116
62808
  "rawdescription": "\n\nOptional helper text that appears under the label.\n",
62117
62809
  "description": "<p>Optional helper text that appears under the label.</p>\n",
62118
- "line": 134,
62810
+ "line": 135,
62119
62811
  "type": "string | TemplateRef<any>",
62120
62812
  "decorators": []
62121
62813
  },
@@ -62126,7 +62818,7 @@
62126
62818
  "deprecationMessage": "",
62127
62819
  "rawdescription": "\n\nSet to `true` for an invalid label component.\n",
62128
62820
  "description": "<p>Set to <code>true</code> for an invalid label component.</p>\n",
62129
- "line": 142,
62821
+ "line": 143,
62130
62822
  "type": "boolean",
62131
62823
  "decorators": []
62132
62824
  },
@@ -62136,7 +62828,7 @@
62136
62828
  "deprecationMessage": "",
62137
62829
  "rawdescription": "\n\nSets the invalid text.\n",
62138
62830
  "description": "<p>Sets the invalid text.</p>\n",
62139
- "line": 138,
62831
+ "line": 139,
62140
62832
  "type": "string | TemplateRef<any>",
62141
62833
  "decorators": []
62142
62834
  },
@@ -62147,7 +62839,7 @@
62147
62839
  "deprecationMessage": "",
62148
62840
  "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",
62149
62841
  "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",
62150
- "line": 114,
62842
+ "line": 115,
62151
62843
  "type": "string",
62152
62844
  "decorators": []
62153
62845
  },
@@ -62157,7 +62849,7 @@
62157
62849
  "deprecationMessage": "",
62158
62850
  "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",
62159
62851
  "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",
62160
- "line": 129,
62852
+ "line": 130,
62161
62853
  "type": "TemplateRef<any>",
62162
62854
  "decorators": []
62163
62855
  },
@@ -62168,7 +62860,7 @@
62168
62860
  "deprecationMessage": "",
62169
62861
  "rawdescription": "\n\nSet to `true` for a loading label.\n",
62170
62862
  "description": "<p>Set to <code>true</code> for a loading label.</p>\n",
62171
- "line": 123,
62863
+ "line": 124,
62172
62864
  "type": "boolean",
62173
62865
  "decorators": []
62174
62866
  },
@@ -62176,7 +62868,7 @@
62176
62868
  "name": "textInputTemplate",
62177
62869
  "deprecated": false,
62178
62870
  "deprecationMessage": "",
62179
- "line": 130,
62871
+ "line": 131,
62180
62872
  "type": "TemplateRef<any>",
62181
62873
  "decorators": []
62182
62874
  },
@@ -62187,7 +62879,7 @@
62187
62879
  "deprecationMessage": "",
62188
62880
  "rawdescription": "\n\nSet to `true` to show a warning (contents set by warningText)\n",
62189
62881
  "description": "<p>Set to <code>true</code> to show a warning (contents set by warningText)</p>\n",
62190
- "line": 146,
62882
+ "line": 147,
62191
62883
  "type": "boolean",
62192
62884
  "decorators": []
62193
62885
  },
@@ -62197,7 +62889,7 @@
62197
62889
  "deprecationMessage": "",
62198
62890
  "rawdescription": "\n\nSets the warning text\n",
62199
62891
  "description": "<p>Sets the warning text</p>\n",
62200
- "line": 150,
62892
+ "line": 151,
62201
62893
  "type": "string | TemplateRef<any>",
62202
62894
  "decorators": []
62203
62895
  }
@@ -62212,7 +62904,7 @@
62212
62904
  "type": "",
62213
62905
  "optional": false,
62214
62906
  "description": "",
62215
- "line": 164,
62907
+ "line": 165,
62216
62908
  "decorators": [
62217
62909
  {
62218
62910
  "name": "HostBinding",
@@ -62231,7 +62923,7 @@
62231
62923
  "type": "number",
62232
62924
  "optional": false,
62233
62925
  "description": "<p>Used to build the id of the input item associated with the <code>Label</code>.</p>\n",
62234
- "line": 109,
62926
+ "line": 110,
62235
62927
  "rawdescription": "\n\nUsed to build the id of the input item associated with the `Label`.\n",
62236
62928
  "modifierKind": [
62237
62929
  126
@@ -62245,7 +62937,7 @@
62245
62937
  "type": "",
62246
62938
  "optional": false,
62247
62939
  "description": "",
62248
- "line": 166,
62940
+ "line": 167,
62249
62941
  "decorators": [
62250
62942
  {
62251
62943
  "name": "HostBinding",
@@ -62263,7 +62955,7 @@
62263
62955
  "type": "ElementRef<HTMLDivElement>",
62264
62956
  "optional": false,
62265
62957
  "description": "",
62266
- "line": 162,
62958
+ "line": 163,
62267
62959
  "decorators": [
62268
62960
  {
62269
62961
  "name": "ViewChild",
@@ -62289,7 +62981,7 @@
62289
62981
  "optional": false,
62290
62982
  "returnType": "boolean",
62291
62983
  "typeParameters": [],
62292
- "line": 213,
62984
+ "line": 218,
62293
62985
  "deprecated": false,
62294
62986
  "deprecationMessage": "",
62295
62987
  "modifierKind": [
@@ -62316,7 +63008,7 @@
62316
63008
  "defaultValue": "true",
62317
63009
  "deprecated": false,
62318
63010
  "deprecationMessage": "",
62319
- "line": 164,
63011
+ "line": 165,
62320
63012
  "type": "boolean",
62321
63013
  "decorators": []
62322
63014
  },
@@ -62324,7 +63016,7 @@
62324
63016
  "name": "class.cds--text-input--fluid",
62325
63017
  "deprecated": false,
62326
63018
  "deprecationMessage": "",
62327
- "line": 172,
63019
+ "line": 173,
62328
63020
  "type": "boolean",
62329
63021
  "decorators": []
62330
63022
  },
@@ -62332,7 +63024,7 @@
62332
63024
  "name": "class.cds--text-input--fluid__skeleton",
62333
63025
  "deprecated": false,
62334
63026
  "deprecationMessage": "",
62335
- "line": 176,
63027
+ "line": 177,
62336
63028
  "type": "boolean",
62337
63029
  "decorators": []
62338
63030
  },
@@ -62341,7 +63033,7 @@
62341
63033
  "defaultValue": "true",
62342
63034
  "deprecated": false,
62343
63035
  "deprecationMessage": "",
62344
- "line": 166,
63036
+ "line": 167,
62345
63037
  "type": "boolean",
62346
63038
  "decorators": []
62347
63039
  },
@@ -62349,7 +63041,7 @@
62349
63041
  "name": "class.cds--text-input-wrapper--readonly",
62350
63042
  "deprecated": false,
62351
63043
  "deprecationMessage": "",
62352
- "line": 168,
63044
+ "line": 169,
62353
63045
  "type": "any",
62354
63046
  "decorators": []
62355
63047
  }
@@ -62360,7 +63052,7 @@
62360
63052
  "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",
62361
63053
  "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",
62362
63054
  "type": "component",
62363
- "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",
63055
+ "sourceCode": "import {\n\tAfterContentInit,\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, AfterContentInit {\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\tngAfterContentInit() {\n\t\tthis.changeDetectorRef.detectChanges();\n\t}\n\n\tpublic isTemplate(value) {\n\t\treturn value instanceof TemplateRef;\n\t}\n}\n",
62364
63056
  "assetsDirs": [],
62365
63057
  "styleUrlsData": "",
62366
63058
  "stylesData": "",
@@ -62377,7 +63069,7 @@
62377
63069
  "deprecationMessage": ""
62378
63070
  }
62379
63071
  ],
62380
- "line": 178,
63072
+ "line": 179,
62381
63073
  "rawdescription": "\n\nCreates an instance of Label.\n",
62382
63074
  "jsdoctags": [
62383
63075
  {
@@ -62393,7 +63085,8 @@
62393
63085
  },
62394
63086
  "extends": [],
62395
63087
  "implements": [
62396
- "AfterViewInit"
63088
+ "AfterViewInit",
63089
+ "AfterContentInit"
62397
63090
  ],
62398
63091
  "accessors": {
62399
63092
  "isReadonly": {
@@ -62402,7 +63095,7 @@
62402
63095
  "name": "isReadonly",
62403
63096
  "type": "",
62404
63097
  "returnType": "",
62405
- "line": 168
63098
+ "line": 169
62406
63099
  }
62407
63100
  },
62408
63101
  "fluidClass": {
@@ -62411,7 +63104,7 @@
62411
63104
  "name": "fluidClass",
62412
63105
  "type": "",
62413
63106
  "returnType": "",
62414
- "line": 172
63107
+ "line": 173
62415
63108
  }
62416
63109
  },
62417
63110
  "fluidSkeletonClass": {
@@ -62420,7 +63113,7 @@
62420
63113
  "name": "fluidSkeletonClass",
62421
63114
  "type": "",
62422
63115
  "returnType": "",
62423
- "line": 176
63116
+ "line": 177
62424
63117
  }
62425
63118
  }
62426
63119
  }
@@ -71962,13 +72655,13 @@
71962
72655
  },
71963
72656
  {
71964
72657
  "name": "TagModule",
71965
- "id": "module-TagModule-c290f8b002297d858541d2169824e0cea5fa3ca674d892c90222206c9af83bd591d7be4f181ae21c66ca7b5decb57c6489677a58d5d3212a0c096a5410b99392",
72658
+ "id": "module-TagModule-a12f7c1beadebb1231cfa39b78a4a3e27ac65cca69d8fec86df62e6c1ce237b841727ba69c33192f2692cd8259c9173a8b83c311a29bc821e3b0c2351ba75fa8",
71966
72659
  "description": "",
71967
72660
  "deprecationMessage": "",
71968
72661
  "deprecated": false,
71969
72662
  "file": "src/tag/tag.module.ts",
71970
72663
  "methods": [],
71971
- "sourceCode": "import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { Tag } from \"./tag.component\";\nimport { TagFilter } from \"./tag-filter.component\";\nimport { IconModule } from \"carbon-components-angular/icon\";\n\n@NgModule({\n\tdeclarations: [ Tag, TagFilter ],\n\texports: [ Tag, TagFilter ],\n\timports: [ CommonModule, IconModule ]\n})\nexport class TagModule { }\n",
72664
+ "sourceCode": "import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { Tag } from \"./tag.component\";\nimport { TagFilter } from \"./tag-filter.component\";\nimport { IconModule } from \"carbon-components-angular/icon\";\nimport { TagIconDirective } from \"./tag-icon.directive\";\nimport { TagSelectableComponent } from \"./tag-selectable.component\";\nimport { TagOperationalComponent } from \"./tag-operational.component\";\n\n@NgModule({\n\tdeclarations: [\n\t\tTag,\n\t\tTagFilter,\n\t\tTagIconDirective,\n\t\tTagSelectableComponent,\n\t\tTagOperationalComponent\n\t],\n\texports: [\n\t\tTag,\n\t\tTagFilter,\n\t\tTagIconDirective,\n\t\tTagSelectableComponent,\n\t\tTagOperationalComponent\n\t],\n\timports: [CommonModule, IconModule]\n})\nexport class TagModule {}\n",
71972
72665
  "children": [
71973
72666
  {
71974
72667
  "type": "providers",
@@ -71982,6 +72675,15 @@
71982
72675
  },
71983
72676
  {
71984
72677
  "name": "TagFilter"
72678
+ },
72679
+ {
72680
+ "name": "TagIconDirective"
72681
+ },
72682
+ {
72683
+ "name": "TagOperationalComponent"
72684
+ },
72685
+ {
72686
+ "name": "TagSelectableComponent"
71985
72687
  }
71986
72688
  ]
71987
72689
  },
@@ -72001,6 +72703,15 @@
72001
72703
  },
72002
72704
  {
72003
72705
  "name": "TagFilter"
72706
+ },
72707
+ {
72708
+ "name": "TagIconDirective"
72709
+ },
72710
+ {
72711
+ "name": "TagOperationalComponent"
72712
+ },
72713
+ {
72714
+ "name": "TagSelectableComponent"
72004
72715
  }
72005
72716
  ]
72006
72717
  },
@@ -73748,7 +74459,7 @@
73748
74459
  "deprecated": false,
73749
74460
  "deprecationMessage": "",
73750
74461
  "type": "",
73751
- "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})"
74462
+ "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\t[skeleton]=\"skeleton\"\n\t\t\ttitle=\"Filter\"\n\t\t\tcloseButtonLabel=\"Clear\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tFiltered\n\t\t</cds-tag-filter>\n\t`\n})"
73752
74463
  },
73753
74464
  {
73754
74465
  "name": "Filtering",
@@ -74646,6 +75357,26 @@
74646
75357
  "type": "",
74647
75358
  "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div\n\t\t\tcdsGrid\n\t\t\t[condensed]=\"condensed\"\n\t\t\t[fullWidth]=\"fullWidth\"\n\t\t\t[narrow]=\"narrow\">\n\t\t\t<div cdsRow>\n\t\t\t\t<div cdsCol class=\"custom-class-example\" [columnNumbers]=\"{sm: 1}\" [offsets]=\"{sm: 3}\">\n\t\t\t\t\t<div class=\"inside\">Small: Offset 3</div>\n\t\t\t\t</div>\n\t\t\t\t<div cdsCol class=\"custom-class-example\" [columnNumbers]=\"{sm: 2}\" [offsets]=\"{sm: 2}\">\n\t\t\t\t\t<div class=\"inside\">Small: Offset 2</div>\n\t\t\t\t</div>\n\t\t\t\t<div cdsCol class=\"custom-class-example\" [columnNumbers]=\"{sm: 3}\" [offsets]=\"{sm: 1}\">\n\t\t\t\t\t<div class=\"inside\">Small: Offset 1</div>\n\t\t\t\t</div>\n\t\t\t\t<div cdsCol class=\"custom-class-example\" [columnNumbers]=\"{sm: 4}\" [offsets]=\"{sm: 0}\">\n\t\t\t\t\t<div class=\"inside\">Small: Offset -</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t`\n})"
74648
75359
  },
75360
+ {
75361
+ "name": "OperationalTag",
75362
+ "ctype": "miscellaneous",
75363
+ "subtype": "variable",
75364
+ "file": "src/tag/tag.stories.ts",
75365
+ "deprecated": false,
75366
+ "deprecationMessage": "",
75367
+ "type": "",
75368
+ "defaultValue": "OperationalTagTemplate.bind({})"
75369
+ },
75370
+ {
75371
+ "name": "OperationalTagTemplate",
75372
+ "ctype": "miscellaneous",
75373
+ "subtype": "variable",
75374
+ "file": "src/tag/tag.stories.ts",
75375
+ "deprecated": false,
75376
+ "deprecationMessage": "",
75377
+ "type": "",
75378
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag-operational\n\t\t\ttype=\"cyan\"\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t(click)=\"onClick($event)\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tOperational\n\t\t</cds-tag-operational>\n\n\n\t\t<div\n\t\t\tcdsPopover\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[highContrast]=\"true\">\n\t\t\t<cds-tag-operational\n\t\t\t\t[type]=\"type\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t(click)=\"isOpen = !isOpen\">\n\t\t\t\t<div cdsTagIcon>\n\t\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t\t</div>\n\t\t\t\tOperational w/ popover\n\t\t\t</cds-tag-operational>\n\t\t\t<cds-popover-content>\n\t\t\t\t<div class=\"popover-content\">\n\t\t\t\t\tTag 1 name <br>\n\t\t\t\t\tTag 2 name <br>\n\t\t\t\t\tTag 3 name <br>\n\t\t\t\t\tTag 4 name <br>\n\t\t\t\t\t<cds-tag type=\"green\">Tag 5 name</cds-tag>\n\t\t\t\t</div>\n\t\t\t</cds-popover-content>\n\t\t</div>\n\t`,\n\tstyles: [\n\t\t`.popover-content {\n\t\t\tline-height: 1.5;\n\t\t\tpadding: 1rem;\n\t\t\tfont-size: 14px;\n\t\t}`\n\t]\n})"
75379
+ },
74649
75380
  {
74650
75381
  "name": "OptionsSelected",
74651
75382
  "ctype": "miscellaneous",
@@ -75011,6 +75742,26 @@
75011
75742
  "type": "",
75012
75743
  "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tile-group (selected)=\"selected($event)\" [multiple]=\"false\">\n\t\t\t<cds-selection-tile value=\"tile1\" [selected]=\"true\">Selectable Tile</cds-selection-tile>\n\t\t\t<cds-selection-tile value=\"tile2\">Selectable Tile</cds-selection-tile>\n\t\t\t<cds-selection-tile value=\"tile3\">Selectable Tile</cds-selection-tile>\n\t\t</cds-tile-group>\n\t`\n})"
75013
75744
  },
75745
+ {
75746
+ "name": "SelectedTag",
75747
+ "ctype": "miscellaneous",
75748
+ "subtype": "variable",
75749
+ "file": "src/tag/tag.stories.ts",
75750
+ "deprecated": false,
75751
+ "deprecationMessage": "",
75752
+ "type": "",
75753
+ "defaultValue": "SelectedTagTemplate.bind({})"
75754
+ },
75755
+ {
75756
+ "name": "SelectedTagTemplate",
75757
+ "ctype": "miscellaneous",
75758
+ "subtype": "variable",
75759
+ "file": "src/tag/tag.stories.ts",
75760
+ "deprecated": false,
75761
+ "deprecationMessage": "",
75762
+ "type": "",
75763
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag-selectable\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[selected]=\"selected\"\n\t\t\t(selectedChange)=\"selectedChange($event)\"\n\t\t\t(click)=\"onClick($event)\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tSelectable\n\t\t</cds-tag-selectable>\n\t`\n})"
75764
+ },
75014
75765
  {
75015
75766
  "name": "Selection",
75016
75767
  "ctype": "miscellaneous",
@@ -75929,7 +76680,7 @@
75929
76680
  "deprecated": false,
75930
76681
  "deprecationMessage": "",
75931
76682
  "type": "",
75932
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
76683
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag\n\t\t\t[type]=\"type\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[size]=\"size\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tRead only\n\t\t</cds-tag>\n\t`\n})"
75933
76684
  },
75934
76685
  {
75935
76686
  "name": "Template",
@@ -81705,7 +82456,47 @@
81705
82456
  "deprecated": false,
81706
82457
  "deprecationMessage": "",
81707
82458
  "type": "",
81708
- "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})"
82459
+ "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\t[skeleton]=\"skeleton\"\n\t\t\ttitle=\"Filter\"\n\t\t\tcloseButtonLabel=\"Clear\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tFiltered\n\t\t</cds-tag-filter>\n\t`\n})"
82460
+ },
82461
+ {
82462
+ "name": "OperationalTag",
82463
+ "ctype": "miscellaneous",
82464
+ "subtype": "variable",
82465
+ "file": "src/tag/tag.stories.ts",
82466
+ "deprecated": false,
82467
+ "deprecationMessage": "",
82468
+ "type": "",
82469
+ "defaultValue": "OperationalTagTemplate.bind({})"
82470
+ },
82471
+ {
82472
+ "name": "OperationalTagTemplate",
82473
+ "ctype": "miscellaneous",
82474
+ "subtype": "variable",
82475
+ "file": "src/tag/tag.stories.ts",
82476
+ "deprecated": false,
82477
+ "deprecationMessage": "",
82478
+ "type": "",
82479
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag-operational\n\t\t\ttype=\"cyan\"\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t(click)=\"onClick($event)\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tOperational\n\t\t</cds-tag-operational>\n\n\n\t\t<div\n\t\t\tcdsPopover\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[highContrast]=\"true\">\n\t\t\t<cds-tag-operational\n\t\t\t\t[type]=\"type\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t(click)=\"isOpen = !isOpen\">\n\t\t\t\t<div cdsTagIcon>\n\t\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t\t</div>\n\t\t\t\tOperational w/ popover\n\t\t\t</cds-tag-operational>\n\t\t\t<cds-popover-content>\n\t\t\t\t<div class=\"popover-content\">\n\t\t\t\t\tTag 1 name <br>\n\t\t\t\t\tTag 2 name <br>\n\t\t\t\t\tTag 3 name <br>\n\t\t\t\t\tTag 4 name <br>\n\t\t\t\t\t<cds-tag type=\"green\">Tag 5 name</cds-tag>\n\t\t\t\t</div>\n\t\t\t</cds-popover-content>\n\t\t</div>\n\t`,\n\tstyles: [\n\t\t`.popover-content {\n\t\t\tline-height: 1.5;\n\t\t\tpadding: 1rem;\n\t\t\tfont-size: 14px;\n\t\t}`\n\t]\n})"
82480
+ },
82481
+ {
82482
+ "name": "SelectedTag",
82483
+ "ctype": "miscellaneous",
82484
+ "subtype": "variable",
82485
+ "file": "src/tag/tag.stories.ts",
82486
+ "deprecated": false,
82487
+ "deprecationMessage": "",
82488
+ "type": "",
82489
+ "defaultValue": "SelectedTagTemplate.bind({})"
82490
+ },
82491
+ {
82492
+ "name": "SelectedTagTemplate",
82493
+ "ctype": "miscellaneous",
82494
+ "subtype": "variable",
82495
+ "file": "src/tag/tag.stories.ts",
82496
+ "deprecated": false,
82497
+ "deprecationMessage": "",
82498
+ "type": "",
82499
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag-selectable\n\t\t\t[size]=\"size\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[selected]=\"selected\"\n\t\t\t(selectedChange)=\"selectedChange($event)\"\n\t\t\t(click)=\"onClick($event)\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tSelectable\n\t\t</cds-tag-selectable>\n\t`\n})"
81709
82500
  },
81710
82501
  {
81711
82502
  "name": "Template",
@@ -81715,7 +82506,7 @@
81715
82506
  "deprecated": false,
81716
82507
  "deprecationMessage": "",
81717
82508
  "type": "",
81718
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
82509
+ "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag\n\t\t\t[type]=\"type\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[size]=\"size\">\n\t\t\t<div cdsTagIcon>\n\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\"></svg>\n\t\t\t</div>\n\t\t\tRead only\n\t\t</cds-tag>\n\t`\n})"
81719
82510
  }
81720
82511
  ],
81721
82512
  "src/theme/theme.stories.ts": [
@@ -89807,18 +90598,45 @@
89807
90598
  "type": "component",
89808
90599
  "linktype": "component",
89809
90600
  "name": "TagFilter",
89810
- "coveragePercent": 30,
89811
- "coverageCount": "4/13",
90601
+ "coveragePercent": 28,
90602
+ "coverageCount": "4/14",
89812
90603
  "status": "medium"
89813
90604
  },
90605
+ {
90606
+ "filePath": "src/tag/tag-icon.directive.ts",
90607
+ "type": "directive",
90608
+ "linktype": "directive",
90609
+ "name": "TagIconDirective",
90610
+ "coveragePercent": 0,
90611
+ "coverageCount": "0/3",
90612
+ "status": "low"
90613
+ },
90614
+ {
90615
+ "filePath": "src/tag/tag-operational.component.ts",
90616
+ "type": "component",
90617
+ "linktype": "component",
90618
+ "name": "TagOperationalComponent",
90619
+ "coveragePercent": 15,
90620
+ "coverageCount": "2/13",
90621
+ "status": "low"
90622
+ },
90623
+ {
90624
+ "filePath": "src/tag/tag-selectable.component.ts",
90625
+ "type": "component",
90626
+ "linktype": "component",
90627
+ "name": "TagSelectableComponent",
90628
+ "coveragePercent": 0,
90629
+ "coverageCount": "0/17",
90630
+ "status": "low"
90631
+ },
89814
90632
  {
89815
90633
  "filePath": "src/tag/tag.component.ts",
89816
90634
  "type": "component",
89817
90635
  "linktype": "component",
89818
90636
  "name": "Tag",
89819
- "coveragePercent": 60,
89820
- "coverageCount": "3/5",
89821
- "status": "good"
90637
+ "coveragePercent": 50,
90638
+ "coverageCount": "3/6",
90639
+ "status": "medium"
89822
90640
  },
89823
90641
  {
89824
90642
  "filePath": "src/tag/tag.stories.ts",
@@ -89850,6 +90668,46 @@
89850
90668
  "coverageCount": "0/1",
89851
90669
  "status": "low"
89852
90670
  },
90671
+ {
90672
+ "filePath": "src/tag/tag.stories.ts",
90673
+ "type": "variable",
90674
+ "linktype": "miscellaneous",
90675
+ "linksubtype": "variable",
90676
+ "name": "OperationalTag",
90677
+ "coveragePercent": 0,
90678
+ "coverageCount": "0/1",
90679
+ "status": "low"
90680
+ },
90681
+ {
90682
+ "filePath": "src/tag/tag.stories.ts",
90683
+ "type": "variable",
90684
+ "linktype": "miscellaneous",
90685
+ "linksubtype": "variable",
90686
+ "name": "OperationalTagTemplate",
90687
+ "coveragePercent": 0,
90688
+ "coverageCount": "0/1",
90689
+ "status": "low"
90690
+ },
90691
+ {
90692
+ "filePath": "src/tag/tag.stories.ts",
90693
+ "type": "variable",
90694
+ "linktype": "miscellaneous",
90695
+ "linksubtype": "variable",
90696
+ "name": "SelectedTag",
90697
+ "coveragePercent": 0,
90698
+ "coverageCount": "0/1",
90699
+ "status": "low"
90700
+ },
90701
+ {
90702
+ "filePath": "src/tag/tag.stories.ts",
90703
+ "type": "variable",
90704
+ "linktype": "miscellaneous",
90705
+ "linksubtype": "variable",
90706
+ "name": "SelectedTagTemplate",
90707
+ "coveragePercent": 0,
90708
+ "coverageCount": "0/1",
90709
+ "status": "low"
90710
+ },
89853
90711
  {
89854
90712
  "filePath": "src/tag/tag.stories.ts",
89855
90713
  "type": "variable",