carbon-components-angular 5.53.1 → 5.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/docs/documentation/components/Accordion.html +2 -2
  2. package/docs/documentation/components/AccordionItem.html +2 -2
  3. package/docs/documentation/components/ActionableNotification.html +2 -2
  4. package/docs/documentation/components/AlertModal.html +2 -2
  5. package/docs/documentation/components/BaseIconButton.html +2 -2
  6. package/docs/documentation/components/BaseNotification.html +2 -2
  7. package/docs/documentation/components/BaseTabHeader.html +2 -2
  8. package/docs/documentation/components/Breadcrumb.html +2 -2
  9. package/docs/documentation/components/BreadcrumbItemComponent.html +2 -2
  10. package/docs/documentation/components/ButtonSet.html +2 -2
  11. package/docs/documentation/components/Checkbox.html +2 -2
  12. package/docs/documentation/components/ClickableTile.html +2 -2
  13. package/docs/documentation/components/CodeSnippet.html +2 -2
  14. package/docs/documentation/components/ComboBox.html +2 -2
  15. package/docs/documentation/components/ContainedList.html +2 -2
  16. package/docs/documentation/components/ContainedListItem.html +2 -2
  17. package/docs/documentation/components/ContentSwitcher.html +2 -2
  18. package/docs/documentation/components/ContextMenuComponent.html +2 -2
  19. package/docs/documentation/components/ContextMenuDividerComponent.html +2 -2
  20. package/docs/documentation/components/ContextMenuGroupComponent.html +2 -2
  21. package/docs/documentation/components/ContextMenuItemComponent.html +2 -2
  22. package/docs/documentation/components/DatePicker.html +2 -2
  23. package/docs/documentation/components/DatePickerInput.html +2 -2
  24. package/docs/documentation/components/Dialog.html +2 -2
  25. package/docs/documentation/components/Documentation.html +2 -2
  26. package/docs/documentation/components/Dropdown.html +2 -2
  27. package/docs/documentation/components/DropdownList.html +2 -2
  28. package/docs/documentation/components/ExpandableTile.html +2 -2
  29. package/docs/documentation/components/FileComponent.html +2 -2
  30. package/docs/documentation/components/FileUploader.html +2 -2
  31. package/docs/documentation/components/Hamburger.html +2 -2
  32. package/docs/documentation/components/Header.html +2 -2
  33. package/docs/documentation/components/HeaderAction.html +2 -2
  34. package/docs/documentation/components/HeaderGlobal.html +2 -2
  35. package/docs/documentation/components/HeaderItem.html +2 -2
  36. package/docs/documentation/components/HeaderMenu.html +2 -2
  37. package/docs/documentation/components/HeaderNavigation.html +2 -2
  38. package/docs/documentation/components/IconButton.html +2 -2
  39. package/docs/documentation/components/InlineLoading.html +2 -2
  40. package/docs/documentation/components/Label.html +2 -2
  41. package/docs/documentation/components/ListColumn.html +2 -2
  42. package/docs/documentation/components/ListHeader.html +2 -2
  43. package/docs/documentation/components/ListRow.html +2 -2
  44. package/docs/documentation/components/Loading.html +2 -2
  45. package/docs/documentation/components/Modal.html +2 -2
  46. package/docs/documentation/components/ModalFooter.html +2 -2
  47. package/docs/documentation/components/ModalHeader.html +2 -2
  48. package/docs/documentation/components/Notification.html +2 -2
  49. package/docs/documentation/components/NumberComponent.html +2 -2
  50. package/docs/documentation/components/OverflowMenu.html +2 -2
  51. package/docs/documentation/components/OverflowMenuCustomPane.html +2 -2
  52. package/docs/documentation/components/OverflowMenuOption.html +2 -2
  53. package/docs/documentation/components/OverflowMenuPane.html +2 -2
  54. package/docs/documentation/components/Overlay.html +2 -2
  55. package/docs/documentation/components/Pagination.html +2 -2
  56. package/docs/documentation/components/PaginationNav.html +2 -2
  57. package/docs/documentation/components/PaginationNavItem.html +2 -2
  58. package/docs/documentation/components/PaginationOverflow.html +2 -2
  59. package/docs/documentation/components/Panel.html +2 -2
  60. package/docs/documentation/components/PasswordInputLabelComponent.html +2 -2
  61. package/docs/documentation/components/Placeholder.html +2 -2
  62. package/docs/documentation/components/PopoverContent.html +2 -2
  63. package/docs/documentation/components/ProgressBar.html +2 -2
  64. package/docs/documentation/components/ProgressIndicator.html +2 -2
  65. package/docs/documentation/components/Radio.html +2 -2
  66. package/docs/documentation/components/RadioGroup.html +2 -2
  67. package/docs/documentation/components/Search.html +2 -2
  68. package/docs/documentation/components/Select.html +2 -2
  69. package/docs/documentation/components/SelectionTile.html +2 -2
  70. package/docs/documentation/components/SideNav.html +2 -2
  71. package/docs/documentation/components/SideNavItem.html +2 -2
  72. package/docs/documentation/components/SideNavMenu.html +2 -2
  73. package/docs/documentation/components/SkeletonPlaceholder.html +2 -2
  74. package/docs/documentation/components/SkeletonText.html +2 -2
  75. package/docs/documentation/components/Slider.html +2 -2
  76. package/docs/documentation/components/StructuredList.html +2 -2
  77. package/docs/documentation/components/SwitcherList.html +2 -2
  78. package/docs/documentation/components/SwitcherListItem.html +2 -2
  79. package/docs/documentation/components/Tab.html +2 -2
  80. package/docs/documentation/components/TabHeaderGroup.html +2 -2
  81. package/docs/documentation/components/TabHeaders.html +2 -2
  82. package/docs/documentation/components/TabSkeleton.html +2 -2
  83. package/docs/documentation/components/Table.html +2 -2
  84. package/docs/documentation/components/TableBody.html +2 -2
  85. package/docs/documentation/components/TableCheckbox.html +2 -2
  86. package/docs/documentation/components/TableContainer.html +2 -2
  87. package/docs/documentation/components/TableData.html +2 -2
  88. package/docs/documentation/components/TableExpandButton.html +2 -2
  89. package/docs/documentation/components/TableExpandedRow.html +2 -2
  90. package/docs/documentation/components/TableHead.html +2 -2
  91. package/docs/documentation/components/TableHeadCell.html +2 -2
  92. package/docs/documentation/components/TableHeadCheckbox.html +2 -2
  93. package/docs/documentation/components/TableHeadExpand.html +2 -2
  94. package/docs/documentation/components/TableHeader.html +2 -2
  95. package/docs/documentation/components/TableRadio.html +2 -2
  96. package/docs/documentation/components/TableRowComponent.html +2 -2
  97. package/docs/documentation/components/TableToolbar.html +2 -2
  98. package/docs/documentation/components/TableToolbarActions.html +2 -2
  99. package/docs/documentation/components/TableToolbarContent.html +2 -2
  100. package/docs/documentation/components/TableToolbarSearch.html +2 -2
  101. package/docs/documentation/components/Tabs.html +2 -2
  102. package/docs/documentation/components/Tag.html +73 -13
  103. package/docs/documentation/components/TagFilter.html +116 -51
  104. package/docs/documentation/components/TagOperationalComponent.html +920 -0
  105. package/docs/documentation/components/TagSelectableComponent.html +1085 -0
  106. package/docs/documentation/components/TextInputLabelComponent.html +2 -2
  107. package/docs/documentation/components/TextareaLabelComponent.html +2 -2
  108. package/docs/documentation/components/Tile.html +2 -2
  109. package/docs/documentation/components/TileGroup.html +2 -2
  110. package/docs/documentation/components/TimePicker.html +2 -2
  111. package/docs/documentation/components/TimePickerSelect.html +2 -2
  112. package/docs/documentation/components/Toast.html +2 -2
  113. package/docs/documentation/components/Toggle.html +2 -2
  114. package/docs/documentation/components/Toggletip.html +2 -2
  115. package/docs/documentation/components/Tooltip.html +2 -2
  116. package/docs/documentation/components/TooltipDefinition.html +2 -2
  117. package/docs/documentation/components/TreeNodeComponent.html +2 -2
  118. package/docs/documentation/components/TreeViewComponent.html +2 -2
  119. package/docs/documentation/coverage.html +43 -7
  120. package/docs/documentation/directives/TagIconDirective.html +368 -0
  121. package/docs/documentation/graph/dependencies.svg +1750 -1678
  122. package/docs/documentation/js/menu-wc.js +23 -3
  123. package/docs/documentation/js/menu-wc_es5.js +1 -1
  124. package/docs/documentation/js/search/search_index.js +2 -2
  125. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  126. package/docs/documentation/modules/ComboBoxModule.html +4 -4
  127. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +4 -4
  128. package/docs/documentation/modules/DatePickerInputModule.html +4 -4
  129. package/docs/documentation/modules/DatePickerModule/dependencies.svg +39 -39
  130. package/docs/documentation/modules/DatePickerModule.html +39 -39
  131. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +34 -34
  132. package/docs/documentation/modules/FileUploaderModule.html +34 -34
  133. package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
  134. package/docs/documentation/modules/InlineLoadingModule.html +4 -4
  135. package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
  136. package/docs/documentation/modules/LoadingModule.html +4 -4
  137. package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
  138. package/docs/documentation/modules/NFormsModule.html +4 -4
  139. package/docs/documentation/modules/NumberModule/dependencies.svg +24 -24
  140. package/docs/documentation/modules/NumberModule.html +24 -24
  141. package/docs/documentation/modules/ProgressBarModule/dependencies.svg +4 -4
  142. package/docs/documentation/modules/ProgressBarModule.html +4 -4
  143. package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
  144. package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
  145. package/docs/documentation/modules/RadioModule/dependencies.svg +53 -49
  146. package/docs/documentation/modules/RadioModule.html +53 -49
  147. package/docs/documentation/modules/SearchModule/dependencies.svg +6 -6
  148. package/docs/documentation/modules/SearchModule.html +6 -6
  149. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  150. package/docs/documentation/modules/SliderModule.html +4 -4
  151. package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
  152. package/docs/documentation/modules/TabsModule.html +69 -69
  153. package/docs/documentation/modules/TagModule/dependencies.svg +123 -51
  154. package/docs/documentation/modules/TagModule.html +160 -55
  155. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  156. package/docs/documentation/modules/ThemeModule.html +4 -4
  157. package/docs/documentation/modules/TilesModule/dependencies.svg +101 -101
  158. package/docs/documentation/modules/TilesModule.html +101 -101
  159. package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
  160. package/docs/documentation/modules/TimePickerModule.html +4 -4
  161. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +49 -45
  162. package/docs/documentation/modules/TimePickerSelectModule.html +49 -45
  163. package/docs/documentation/modules/ToggleModule/dependencies.svg +4 -4
  164. package/docs/documentation/modules/ToggleModule.html +4 -4
  165. package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
  166. package/docs/documentation/modules/ToggletipModule.html +4 -4
  167. package/docs/documentation/modules/TooltipModule/dependencies.svg +28 -28
  168. package/docs/documentation/modules/TooltipModule.html +28 -28
  169. package/docs/documentation/modules/TreeviewModule/dependencies.svg +35 -35
  170. package/docs/documentation/modules/TreeviewModule.html +35 -35
  171. package/docs/documentation/overview.html +1752 -1680
  172. package/docs/documentation.json +895 -38
  173. package/docs/storybook/contained-list-contained-list-stories.b87addfb.iframe.bundle.js +1 -0
  174. package/docs/storybook/iframe.html +2 -2
  175. package/docs/storybook/index.json +1 -1
  176. package/docs/storybook/main.4ed7d347.iframe.bundle.js +1 -0
  177. package/docs/storybook/{patterns-filtering-multiple-categories-stories.17085244.iframe.bundle.js → patterns-filtering-multiple-categories-stories.c7cc76c2.iframe.bundle.js} +1 -1
  178. package/docs/storybook/project.json +1 -1
  179. package/docs/storybook/{runtime~main.7aee42be.iframe.bundle.js → runtime~main.5af8858a.iframe.bundle.js} +1 -1
  180. package/docs/storybook/stories.json +1 -1
  181. package/docs/storybook/tag-tag-stories.8b0e9efc.iframe.bundle.js +1 -0
  182. package/esm2020/tag/index.mjs +4 -1
  183. package/esm2020/tag/tag-filter.component.mjs +47 -32
  184. package/esm2020/tag/tag-icon.directive.mjs +19 -0
  185. package/esm2020/tag/tag-operational.component.mjs +62 -0
  186. package/esm2020/tag/tag-selectable.component.mjs +89 -0
  187. package/esm2020/tag/tag.component.mjs +28 -4
  188. package/esm2020/tag/tag.module.mjs +27 -4
  189. package/fesm2015/carbon-components-angular-tag.mjs +259 -40
  190. package/fesm2015/carbon-components-angular-tag.mjs.map +1 -1
  191. package/fesm2020/carbon-components-angular-tag.mjs +259 -40
  192. package/fesm2020/carbon-components-angular-tag.mjs.map +1 -1
  193. package/package.json +1 -1
  194. package/tag/index.d.ts +3 -0
  195. package/tag/tag-filter.component.d.ts +5 -1
  196. package/tag/tag-icon.directive.d.ts +26 -0
  197. package/tag/tag-operational.component.d.ts +35 -0
  198. package/tag/tag-selectable.component.d.ts +42 -0
  199. package/tag/tag.component.d.ts +7 -2
  200. package/tag/tag.module.d.ts +6 -3
  201. package/docs/storybook/contained-list-contained-list-stories.3c337840.iframe.bundle.js +0 -1
  202. package/docs/storybook/main.0374ee2c.iframe.bundle.js +0 -1
  203. 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
  }
@@ -71962,13 +72654,13 @@
71962
72654
  },
71963
72655
  {
71964
72656
  "name": "TagModule",
71965
- "id": "module-TagModule-c290f8b002297d858541d2169824e0cea5fa3ca674d892c90222206c9af83bd591d7be4f181ae21c66ca7b5decb57c6489677a58d5d3212a0c096a5410b99392",
72657
+ "id": "module-TagModule-a12f7c1beadebb1231cfa39b78a4a3e27ac65cca69d8fec86df62e6c1ce237b841727ba69c33192f2692cd8259c9173a8b83c311a29bc821e3b0c2351ba75fa8",
71966
72658
  "description": "",
71967
72659
  "deprecationMessage": "",
71968
72660
  "deprecated": false,
71969
72661
  "file": "src/tag/tag.module.ts",
71970
72662
  "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",
72663
+ "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
72664
  "children": [
71973
72665
  {
71974
72666
  "type": "providers",
@@ -71982,6 +72674,15 @@
71982
72674
  },
71983
72675
  {
71984
72676
  "name": "TagFilter"
72677
+ },
72678
+ {
72679
+ "name": "TagIconDirective"
72680
+ },
72681
+ {
72682
+ "name": "TagOperationalComponent"
72683
+ },
72684
+ {
72685
+ "name": "TagSelectableComponent"
71985
72686
  }
71986
72687
  ]
71987
72688
  },
@@ -72001,6 +72702,15 @@
72001
72702
  },
72002
72703
  {
72003
72704
  "name": "TagFilter"
72705
+ },
72706
+ {
72707
+ "name": "TagIconDirective"
72708
+ },
72709
+ {
72710
+ "name": "TagOperationalComponent"
72711
+ },
72712
+ {
72713
+ "name": "TagSelectableComponent"
72004
72714
  }
72005
72715
  ]
72006
72716
  },
@@ -73748,7 +74458,7 @@
73748
74458
  "deprecated": false,
73749
74459
  "deprecationMessage": "",
73750
74460
  "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})"
74461
+ "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
74462
  },
73753
74463
  {
73754
74464
  "name": "Filtering",
@@ -74646,6 +75356,26 @@
74646
75356
  "type": "",
74647
75357
  "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
75358
  },
75359
+ {
75360
+ "name": "OperationalTag",
75361
+ "ctype": "miscellaneous",
75362
+ "subtype": "variable",
75363
+ "file": "src/tag/tag.stories.ts",
75364
+ "deprecated": false,
75365
+ "deprecationMessage": "",
75366
+ "type": "",
75367
+ "defaultValue": "OperationalTagTemplate.bind({})"
75368
+ },
75369
+ {
75370
+ "name": "OperationalTagTemplate",
75371
+ "ctype": "miscellaneous",
75372
+ "subtype": "variable",
75373
+ "file": "src/tag/tag.stories.ts",
75374
+ "deprecated": false,
75375
+ "deprecationMessage": "",
75376
+ "type": "",
75377
+ "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})"
75378
+ },
74649
75379
  {
74650
75380
  "name": "OptionsSelected",
74651
75381
  "ctype": "miscellaneous",
@@ -75011,6 +75741,26 @@
75011
75741
  "type": "",
75012
75742
  "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
75743
  },
75744
+ {
75745
+ "name": "SelectedTag",
75746
+ "ctype": "miscellaneous",
75747
+ "subtype": "variable",
75748
+ "file": "src/tag/tag.stories.ts",
75749
+ "deprecated": false,
75750
+ "deprecationMessage": "",
75751
+ "type": "",
75752
+ "defaultValue": "SelectedTagTemplate.bind({})"
75753
+ },
75754
+ {
75755
+ "name": "SelectedTagTemplate",
75756
+ "ctype": "miscellaneous",
75757
+ "subtype": "variable",
75758
+ "file": "src/tag/tag.stories.ts",
75759
+ "deprecated": false,
75760
+ "deprecationMessage": "",
75761
+ "type": "",
75762
+ "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})"
75763
+ },
75014
75764
  {
75015
75765
  "name": "Selection",
75016
75766
  "ctype": "miscellaneous",
@@ -75929,7 +76679,7 @@
75929
76679
  "deprecated": false,
75930
76680
  "deprecationMessage": "",
75931
76681
  "type": "",
75932
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
76682
+ "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
76683
  },
75934
76684
  {
75935
76685
  "name": "Template",
@@ -81705,7 +82455,47 @@
81705
82455
  "deprecated": false,
81706
82456
  "deprecationMessage": "",
81707
82457
  "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})"
82458
+ "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})"
82459
+ },
82460
+ {
82461
+ "name": "OperationalTag",
82462
+ "ctype": "miscellaneous",
82463
+ "subtype": "variable",
82464
+ "file": "src/tag/tag.stories.ts",
82465
+ "deprecated": false,
82466
+ "deprecationMessage": "",
82467
+ "type": "",
82468
+ "defaultValue": "OperationalTagTemplate.bind({})"
82469
+ },
82470
+ {
82471
+ "name": "OperationalTagTemplate",
82472
+ "ctype": "miscellaneous",
82473
+ "subtype": "variable",
82474
+ "file": "src/tag/tag.stories.ts",
82475
+ "deprecated": false,
82476
+ "deprecationMessage": "",
82477
+ "type": "",
82478
+ "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})"
82479
+ },
82480
+ {
82481
+ "name": "SelectedTag",
82482
+ "ctype": "miscellaneous",
82483
+ "subtype": "variable",
82484
+ "file": "src/tag/tag.stories.ts",
82485
+ "deprecated": false,
82486
+ "deprecationMessage": "",
82487
+ "type": "",
82488
+ "defaultValue": "SelectedTagTemplate.bind({})"
82489
+ },
82490
+ {
82491
+ "name": "SelectedTagTemplate",
82492
+ "ctype": "miscellaneous",
82493
+ "subtype": "variable",
82494
+ "file": "src/tag/tag.stories.ts",
82495
+ "deprecated": false,
82496
+ "deprecationMessage": "",
82497
+ "type": "",
82498
+ "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
82499
  },
81710
82500
  {
81711
82501
  "name": "Template",
@@ -81715,7 +82505,7 @@
81715
82505
  "deprecated": false,
81716
82506
  "deprecationMessage": "",
81717
82507
  "type": "",
81718
- "defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tag [type]=\"type\" [size]=\"size\">Tag</cds-tag>\n\t`\n})"
82508
+ "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
82509
  }
81720
82510
  ],
81721
82511
  "src/theme/theme.stories.ts": [
@@ -89807,18 +90597,45 @@
89807
90597
  "type": "component",
89808
90598
  "linktype": "component",
89809
90599
  "name": "TagFilter",
89810
- "coveragePercent": 30,
89811
- "coverageCount": "4/13",
90600
+ "coveragePercent": 28,
90601
+ "coverageCount": "4/14",
89812
90602
  "status": "medium"
89813
90603
  },
90604
+ {
90605
+ "filePath": "src/tag/tag-icon.directive.ts",
90606
+ "type": "directive",
90607
+ "linktype": "directive",
90608
+ "name": "TagIconDirective",
90609
+ "coveragePercent": 0,
90610
+ "coverageCount": "0/3",
90611
+ "status": "low"
90612
+ },
90613
+ {
90614
+ "filePath": "src/tag/tag-operational.component.ts",
90615
+ "type": "component",
90616
+ "linktype": "component",
90617
+ "name": "TagOperationalComponent",
90618
+ "coveragePercent": 15,
90619
+ "coverageCount": "2/13",
90620
+ "status": "low"
90621
+ },
90622
+ {
90623
+ "filePath": "src/tag/tag-selectable.component.ts",
90624
+ "type": "component",
90625
+ "linktype": "component",
90626
+ "name": "TagSelectableComponent",
90627
+ "coveragePercent": 0,
90628
+ "coverageCount": "0/17",
90629
+ "status": "low"
90630
+ },
89814
90631
  {
89815
90632
  "filePath": "src/tag/tag.component.ts",
89816
90633
  "type": "component",
89817
90634
  "linktype": "component",
89818
90635
  "name": "Tag",
89819
- "coveragePercent": 60,
89820
- "coverageCount": "3/5",
89821
- "status": "good"
90636
+ "coveragePercent": 50,
90637
+ "coverageCount": "3/6",
90638
+ "status": "medium"
89822
90639
  },
89823
90640
  {
89824
90641
  "filePath": "src/tag/tag.stories.ts",
@@ -89850,6 +90667,46 @@
89850
90667
  "coverageCount": "0/1",
89851
90668
  "status": "low"
89852
90669
  },
90670
+ {
90671
+ "filePath": "src/tag/tag.stories.ts",
90672
+ "type": "variable",
90673
+ "linktype": "miscellaneous",
90674
+ "linksubtype": "variable",
90675
+ "name": "OperationalTag",
90676
+ "coveragePercent": 0,
90677
+ "coverageCount": "0/1",
90678
+ "status": "low"
90679
+ },
90680
+ {
90681
+ "filePath": "src/tag/tag.stories.ts",
90682
+ "type": "variable",
90683
+ "linktype": "miscellaneous",
90684
+ "linksubtype": "variable",
90685
+ "name": "OperationalTagTemplate",
90686
+ "coveragePercent": 0,
90687
+ "coverageCount": "0/1",
90688
+ "status": "low"
90689
+ },
90690
+ {
90691
+ "filePath": "src/tag/tag.stories.ts",
90692
+ "type": "variable",
90693
+ "linktype": "miscellaneous",
90694
+ "linksubtype": "variable",
90695
+ "name": "SelectedTag",
90696
+ "coveragePercent": 0,
90697
+ "coverageCount": "0/1",
90698
+ "status": "low"
90699
+ },
90700
+ {
90701
+ "filePath": "src/tag/tag.stories.ts",
90702
+ "type": "variable",
90703
+ "linktype": "miscellaneous",
90704
+ "linksubtype": "variable",
90705
+ "name": "SelectedTagTemplate",
90706
+ "coveragePercent": 0,
90707
+ "coverageCount": "0/1",
90708
+ "status": "low"
90709
+ },
89853
90710
  {
89854
90711
  "filePath": "src/tag/tag.stories.ts",
89855
90712
  "type": "variable",