carbon-components-angular 5.53.0 → 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 (210) 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 +81 -67
  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 +46 -10
  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/miscellaneous/enumerations.html +8 -8
  126. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
  127. package/docs/documentation/modules/ComboBoxModule.html +4 -4
  128. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +4 -4
  129. package/docs/documentation/modules/DatePickerInputModule.html +4 -4
  130. package/docs/documentation/modules/DatePickerModule/dependencies.svg +39 -39
  131. package/docs/documentation/modules/DatePickerModule.html +39 -39
  132. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +34 -34
  133. package/docs/documentation/modules/FileUploaderModule.html +34 -34
  134. package/docs/documentation/modules/InlineLoadingModule/dependencies.svg +4 -4
  135. package/docs/documentation/modules/InlineLoadingModule.html +4 -4
  136. package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
  137. package/docs/documentation/modules/LoadingModule.html +4 -4
  138. package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
  139. package/docs/documentation/modules/NFormsModule.html +4 -4
  140. package/docs/documentation/modules/NumberModule/dependencies.svg +24 -24
  141. package/docs/documentation/modules/NumberModule.html +24 -24
  142. package/docs/documentation/modules/ProgressBarModule/dependencies.svg +4 -4
  143. package/docs/documentation/modules/ProgressBarModule.html +4 -4
  144. package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
  145. package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
  146. package/docs/documentation/modules/RadioModule/dependencies.svg +53 -49
  147. package/docs/documentation/modules/RadioModule.html +53 -49
  148. package/docs/documentation/modules/SearchModule/dependencies.svg +6 -6
  149. package/docs/documentation/modules/SearchModule.html +6 -6
  150. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  151. package/docs/documentation/modules/SliderModule.html +4 -4
  152. package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
  153. package/docs/documentation/modules/TabsModule.html +69 -69
  154. package/docs/documentation/modules/TagModule/dependencies.svg +123 -51
  155. package/docs/documentation/modules/TagModule.html +160 -55
  156. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  157. package/docs/documentation/modules/ThemeModule.html +4 -4
  158. package/docs/documentation/modules/TilesModule/dependencies.svg +101 -101
  159. package/docs/documentation/modules/TilesModule.html +101 -101
  160. package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
  161. package/docs/documentation/modules/TimePickerModule.html +4 -4
  162. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +49 -45
  163. package/docs/documentation/modules/TimePickerSelectModule.html +49 -45
  164. package/docs/documentation/modules/ToggleModule/dependencies.svg +4 -4
  165. package/docs/documentation/modules/ToggleModule.html +4 -4
  166. package/docs/documentation/modules/TreeviewModule/dependencies.svg +4 -4
  167. package/docs/documentation/modules/TreeviewModule.html +4 -4
  168. package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
  169. package/docs/documentation/modules/UIShellModule.html +4 -4
  170. package/docs/documentation/overview.html +1752 -1680
  171. package/docs/documentation.json +948 -89
  172. package/docs/storybook/{1895.0331c090.iframe.bundle.js → 1895.4ffc48da.iframe.bundle.js} +1 -1
  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.3d777cd5.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/docs/storybook/{toggle-toggle-stories.def6c644.iframe.bundle.js → toggle-toggle-stories.7832edbb.iframe.bundle.js} +1 -1
  183. package/esm2020/tag/index.mjs +4 -1
  184. package/esm2020/tag/tag-filter.component.mjs +47 -32
  185. package/esm2020/tag/tag-icon.directive.mjs +19 -0
  186. package/esm2020/tag/tag-operational.component.mjs +62 -0
  187. package/esm2020/tag/tag-selectable.component.mjs +89 -0
  188. package/esm2020/tag/tag.component.mjs +28 -4
  189. package/esm2020/tag/tag.module.mjs +27 -4
  190. package/esm2020/toggle/toggle.component.mjs +9 -4
  191. package/fesm2015/carbon-components-angular-tag.mjs +259 -40
  192. package/fesm2015/carbon-components-angular-tag.mjs.map +1 -1
  193. package/fesm2015/carbon-components-angular-toggle.mjs +8 -3
  194. package/fesm2015/carbon-components-angular-toggle.mjs.map +1 -1
  195. package/fesm2020/carbon-components-angular-tag.mjs +259 -40
  196. package/fesm2020/carbon-components-angular-tag.mjs.map +1 -1
  197. package/fesm2020/carbon-components-angular-toggle.mjs +8 -3
  198. package/fesm2020/carbon-components-angular-toggle.mjs.map +1 -1
  199. package/package.json +1 -1
  200. package/tag/index.d.ts +3 -0
  201. package/tag/tag-filter.component.d.ts +5 -1
  202. package/tag/tag-icon.directive.d.ts +26 -0
  203. package/tag/tag-operational.component.d.ts +35 -0
  204. package/tag/tag-selectable.component.d.ts +42 -0
  205. package/tag/tag.component.d.ts +7 -2
  206. package/tag/tag.module.d.ts +6 -3
  207. package/toggle/toggle.component.d.ts +6 -1
  208. package/docs/storybook/contained-list-contained-list-stories.3c337840.iframe.bundle.js +0 -1
  209. package/docs/storybook/main.a065377d.iframe.bundle.js +0 -1
  210. package/docs/storybook/tag-tag-stories.60e1dec6.iframe.bundle.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkcarbon_components_angular=self.webpackChunkcarbon_components_angular||[]).push([[3867],{"./src/icon/icon.directive.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{a:()=>IconDirective});var tslib__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/tslib/tslib.es6.js"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2020/core.mjs"),_icon_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/icon/icon.service.ts"),_carbon_icon_helpers__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@carbon/icon-helpers/es/index.js");let IconDirective=class IconDirective{constructor(elementRef,iconService){this.elementRef=elementRef,this.iconService=iconService,this.cdsIcon="",this.size="16",this.title="",this.ariaLabel="",this.ariaLabelledBy="",this.ariaHidden="",this.isFocusable=!1}set ibmIcon(iconName){this.cdsIcon=iconName}renderIcon(iconName){const root=this.elementRef.nativeElement;let icon;try{icon=this.iconService.get(iconName,this.size.toString())}catch(error){return void console.warn(error)}const domParser=new DOMParser,rawSVG=icon.svg,svgElement=domParser.parseFromString(rawSVG,"image/svg+xml").documentElement;let node="SVG"!==root.tagName.toUpperCase()?svgElement:svgElement.firstChild;for(root.innerHTML="";node;)root.appendChild(root.ownerDocument.importNode(node,!0)),node=node.nextSibling;const svg="SVG"!==root.tagName.toUpperCase()?svgElement:root;svg.setAttribute("xmlns","http://www.w3.org/2000/svg");const attributes=(0,_carbon_icon_helpers__WEBPACK_IMPORTED_MODULE_1__.u9)({width:icon.attrs.width,height:icon.attrs.height,viewBox:icon.attrs.viewBox,title:this.title,"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledBy,"aria-hidden":this.ariaHidden,focusable:this.isFocusable.toString(),fill:icon.attrs.fill}),attrKeys=Object.keys(attributes);for(let i=0;i<attrKeys.length;i++){const key=attrKeys[i],value=attributes[key];"title"!==key&&(value&&svg.setAttribute(key,value))}if(attributes.title){const title=document.createElement("title");title.textContent=attributes.title,IconDirective.titleIdCounter++,title.setAttribute("id",`${icon.name}-title-${IconDirective.titleIdCounter}`),svg.insertBefore(title,svg.firstElementChild),svg.setAttribute("aria-labelledby",`${icon.name}-title-${IconDirective.titleIdCounter}`)}}ngAfterViewInit(){this.renderIcon(this.cdsIcon)}ngOnChanges({cdsIcon}){cdsIcon&&!cdsIcon.isFirstChange()&&this.renderIcon(this.cdsIcon)}};IconDirective.titleIdCounter=0,IconDirective.ctorParameters=()=>[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef},{type:_icon_service__WEBPACK_IMPORTED_MODULE_0__.C6}],IconDirective.propDecorators={ibmIcon:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}],cdsIcon:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}],size:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}],title:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}],ariaLabel:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}],ariaLabelledBy:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}],ariaHidden:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}],isFocusable:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_2__.Input}]},IconDirective=(0,tslib__WEBPACK_IMPORTED_MODULE_3__.gn)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive)({selector:"[cdsIcon], [ibmIcon]"})],IconDirective)},"./src/icon/icon.module.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{QX:()=>IconModule});var tslib__WEBPACK_IMPORTED_MODULE_56__=__webpack_require__("./node_modules/tslib/tslib.es6.js"),_angular_core__WEBPACK_IMPORTED_MODULE_55__=__webpack_require__("./node_modules/@angular/core/fesm2020/core.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_57__=__webpack_require__("./node_modules/@angular/common/fesm2020/common.mjs"),_icon_directive__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/icon/icon.directive.ts"),_icon_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/icon/icon.service.ts"),_carbon_icons_es_add_16__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@carbon/icons/es/add/16.js"),_carbon_icons_es_add_20__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@carbon/icons/es/add/20.js"),_carbon_icons_es_bee_16__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@carbon/icons/es/bee/16.js"),_carbon_icons_es_bee_20__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@carbon/icons/es/bee/20.js"),_carbon_icons_es_calendar_16__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@carbon/icons/es/calendar/16.js"),_carbon_icons_es_carbon_16__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@carbon/icons/es/carbon/16.js"),_carbon_icons_es_carbon_20__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@carbon/icons/es/carbon/20.js"),_carbon_icons_es_caret_down_16__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@carbon/icons/es/caret--down/16.js"),_carbon_icons_es_caret_left_16__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@carbon/icons/es/caret--left/16.js"),_carbon_icons_es_caret_right_16__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/@carbon/icons/es/caret--right/16.js"),_carbon_icons_es_caret_up_16__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/@carbon/icons/es/caret--up/16.js"),_carbon_icons_es_checkmark_16__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/@carbon/icons/es/checkmark/16.js"),_carbon_icons_es_checkmark_filled_16__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/@carbon/icons/es/checkmark--filled/16.js"),_carbon_icons_es_checkmark_filled_20__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/@carbon/icons/es/checkmark--filled/20.js"),_carbon_icons_es_checkmark_outline_16__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/@carbon/icons/es/checkmark--outline/16.js"),_carbon_icons_es_chevron_down_16__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./node_modules/@carbon/icons/es/chevron--down/16.js"),_carbon_icons_es_chevron_right_16__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/@carbon/icons/es/chevron--right/16.js"),_carbon_icons_es_circle_dash_16__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("./node_modules/@carbon/icons/es/circle-dash/16.js"),_carbon_icons_es_close_16__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("./node_modules/@carbon/icons/es/close/16.js"),_carbon_icons_es_close_20__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("./node_modules/@carbon/icons/es/close/20.js"),_carbon_icons_es_copy_16__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("./node_modules/@carbon/icons/es/copy/16.js"),_carbon_icons_es_copy_20__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("./node_modules/@carbon/icons/es/copy/20.js"),_carbon_icons_es_data_2_16__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__("./node_modules/@carbon/icons/es/data--2/16.js"),_carbon_icons_es_data_2_20__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("./node_modules/@carbon/icons/es/data--2/20.js"),_carbon_icons_es_document_16__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("./node_modules/@carbon/icons/es/document/16.js"),_carbon_icons_es_document_20__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("./node_modules/@carbon/icons/es/document/20.js"),_carbon_icons_es_download_16__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("./node_modules/@carbon/icons/es/download/16.js"),_carbon_icons_es_error_filled_16__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__("./node_modules/@carbon/icons/es/error--filled/16.js"),_carbon_icons_es_error_filled_20__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("./node_modules/@carbon/icons/es/error--filled/20.js"),_carbon_icons_es_fade_16__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("./node_modules/@carbon/icons/es/fade/16.js"),_carbon_icons_es_fade_20__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__("./node_modules/@carbon/icons/es/fade/20.js"),_carbon_icons_es_folder_16__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__("./node_modules/@carbon/icons/es/folder/16.js"),_carbon_icons_es_incomplete_16__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("./node_modules/@carbon/icons/es/incomplete/16.js"),_carbon_icons_es_information_filled_16__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("./node_modules/@carbon/icons/es/information--filled/16.js"),_carbon_icons_es_information_filled_20__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("./node_modules/@carbon/icons/es/information--filled/20.js"),_carbon_icons_es_information_square_filled_20__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("./node_modules/@carbon/icons/es/information--square--filled/20.js"),_carbon_icons_es_menu_16__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__("./node_modules/@carbon/icons/es/menu/16.js"),_carbon_icons_es_menu_20__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__("./node_modules/@carbon/icons/es/menu/20.js"),_carbon_icons_es_overflow_menu_vertical_16__WEBPACK_IMPORTED_MODULE_40__=__webpack_require__("./node_modules/@carbon/icons/es/overflow-menu--vertical/16.js"),_carbon_icons_es_overflow_menu_horizontal_16__WEBPACK_IMPORTED_MODULE_41__=__webpack_require__("./node_modules/@carbon/icons/es/overflow-menu--horizontal/16.js"),_carbon_icons_es_save_16__WEBPACK_IMPORTED_MODULE_42__=__webpack_require__("./node_modules/@carbon/icons/es/save/16.js"),_carbon_icons_es_search_16__WEBPACK_IMPORTED_MODULE_43__=__webpack_require__("./node_modules/@carbon/icons/es/search/16.js"),_carbon_icons_es_settings_16__WEBPACK_IMPORTED_MODULE_44__=__webpack_require__("./node_modules/@carbon/icons/es/settings/16.js"),_carbon_icons_es_settings_adjust_16__WEBPACK_IMPORTED_MODULE_45__=__webpack_require__("./node_modules/@carbon/icons/es/settings--adjust/16.js"),_carbon_icons_es_subtract_16__WEBPACK_IMPORTED_MODULE_46__=__webpack_require__("./node_modules/@carbon/icons/es/subtract/16.js"),_carbon_icons_es_trash_can_16__WEBPACK_IMPORTED_MODULE_47__=__webpack_require__("./node_modules/@carbon/icons/es/trash-can/16.js"),_carbon_icons_es_warning_16__WEBPACK_IMPORTED_MODULE_48__=__webpack_require__("./node_modules/@carbon/icons/es/warning/16.js"),_carbon_icons_es_warning_filled_16__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__("./node_modules/@carbon/icons/es/warning--filled/16.js"),_carbon_icons_es_warning_filled_20__WEBPACK_IMPORTED_MODULE_50__=__webpack_require__("./node_modules/@carbon/icons/es/warning--filled/20.js"),_carbon_icons_es_warning_alt_filled_16__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__("./node_modules/@carbon/icons/es/warning--alt--filled/16.js"),_carbon_icons_es_warning_alt_filled_20__WEBPACK_IMPORTED_MODULE_52__=__webpack_require__("./node_modules/@carbon/icons/es/warning--alt--filled/20.js"),_carbon_icons_es_view_16__WEBPACK_IMPORTED_MODULE_53__=__webpack_require__("./node_modules/@carbon/icons/es/view/16.js"),_carbon_icons_es_view_off_16__WEBPACK_IMPORTED_MODULE_54__=__webpack_require__("./node_modules/@carbon/icons/es/view--off/16.js");const ICON_SERVICE_PROVIDER={provide:_icon_service__WEBPACK_IMPORTED_MODULE_1__.C6,deps:[[new _angular_core__WEBPACK_IMPORTED_MODULE_55__.Optional,new _angular_core__WEBPACK_IMPORTED_MODULE_55__.SkipSelf,_icon_service__WEBPACK_IMPORTED_MODULE_1__.C6]],useFactory:function ICON_SERVICE_PROVIDER_FACTORY(parentService){return parentService||new _icon_service__WEBPACK_IMPORTED_MODULE_1__.C6}};let IconModule=class IconModule{constructor(iconService){this.iconService=iconService,iconService.registerAll([_carbon_icons_es_add_16__WEBPACK_IMPORTED_MODULE_2__.Z,_carbon_icons_es_add_20__WEBPACK_IMPORTED_MODULE_3__.Z,_carbon_icons_es_bee_16__WEBPACK_IMPORTED_MODULE_4__.Z,_carbon_icons_es_bee_20__WEBPACK_IMPORTED_MODULE_5__.Z,_carbon_icons_es_calendar_16__WEBPACK_IMPORTED_MODULE_6__.Z,_carbon_icons_es_carbon_16__WEBPACK_IMPORTED_MODULE_7__.Z,_carbon_icons_es_carbon_20__WEBPACK_IMPORTED_MODULE_8__.Z,_carbon_icons_es_caret_down_16__WEBPACK_IMPORTED_MODULE_9__.Z,_carbon_icons_es_caret_left_16__WEBPACK_IMPORTED_MODULE_10__.Z,_carbon_icons_es_caret_right_16__WEBPACK_IMPORTED_MODULE_11__.Z,_carbon_icons_es_caret_up_16__WEBPACK_IMPORTED_MODULE_12__.Z,_carbon_icons_es_checkmark_16__WEBPACK_IMPORTED_MODULE_13__.Z,_carbon_icons_es_checkmark_filled_16__WEBPACK_IMPORTED_MODULE_14__.Z,_carbon_icons_es_checkmark_filled_20__WEBPACK_IMPORTED_MODULE_15__.Z,_carbon_icons_es_checkmark_outline_16__WEBPACK_IMPORTED_MODULE_16__.Z,_carbon_icons_es_chevron_down_16__WEBPACK_IMPORTED_MODULE_17__.Z,_carbon_icons_es_chevron_right_16__WEBPACK_IMPORTED_MODULE_18__.Z,_carbon_icons_es_circle_dash_16__WEBPACK_IMPORTED_MODULE_19__.Z,_carbon_icons_es_close_16__WEBPACK_IMPORTED_MODULE_20__.Z,_carbon_icons_es_close_20__WEBPACK_IMPORTED_MODULE_21__.Z,_carbon_icons_es_copy_16__WEBPACK_IMPORTED_MODULE_22__.Z,_carbon_icons_es_copy_20__WEBPACK_IMPORTED_MODULE_23__.Z,_carbon_icons_es_data_2_16__WEBPACK_IMPORTED_MODULE_24__.Z,_carbon_icons_es_data_2_20__WEBPACK_IMPORTED_MODULE_25__.Z,_carbon_icons_es_document_16__WEBPACK_IMPORTED_MODULE_26__.Z,_carbon_icons_es_document_20__WEBPACK_IMPORTED_MODULE_27__.Z,_carbon_icons_es_download_16__WEBPACK_IMPORTED_MODULE_28__.Z,_carbon_icons_es_error_filled_16__WEBPACK_IMPORTED_MODULE_29__.Z,_carbon_icons_es_error_filled_20__WEBPACK_IMPORTED_MODULE_30__.Z,_carbon_icons_es_fade_16__WEBPACK_IMPORTED_MODULE_31__.Z,_carbon_icons_es_fade_20__WEBPACK_IMPORTED_MODULE_32__.Z,_carbon_icons_es_folder_16__WEBPACK_IMPORTED_MODULE_33__.Z,_carbon_icons_es_incomplete_16__WEBPACK_IMPORTED_MODULE_34__.Z,_carbon_icons_es_information_filled_16__WEBPACK_IMPORTED_MODULE_35__.Z,_carbon_icons_es_information_filled_20__WEBPACK_IMPORTED_MODULE_36__.Z,_carbon_icons_es_information_square_filled_20__WEBPACK_IMPORTED_MODULE_37__.Z,_carbon_icons_es_menu_16__WEBPACK_IMPORTED_MODULE_38__.Z,_carbon_icons_es_menu_20__WEBPACK_IMPORTED_MODULE_39__.Z,_carbon_icons_es_overflow_menu_vertical_16__WEBPACK_IMPORTED_MODULE_40__.Z,_carbon_icons_es_overflow_menu_horizontal_16__WEBPACK_IMPORTED_MODULE_41__.Z,_carbon_icons_es_save_16__WEBPACK_IMPORTED_MODULE_42__.Z,_carbon_icons_es_search_16__WEBPACK_IMPORTED_MODULE_43__.Z,_carbon_icons_es_settings_16__WEBPACK_IMPORTED_MODULE_44__.Z,_carbon_icons_es_settings_adjust_16__WEBPACK_IMPORTED_MODULE_45__.Z,_carbon_icons_es_subtract_16__WEBPACK_IMPORTED_MODULE_46__.Z,_carbon_icons_es_trash_can_16__WEBPACK_IMPORTED_MODULE_47__.Z,_carbon_icons_es_view_16__WEBPACK_IMPORTED_MODULE_53__.Z,_carbon_icons_es_view_off_16__WEBPACK_IMPORTED_MODULE_54__.Z,_carbon_icons_es_warning_16__WEBPACK_IMPORTED_MODULE_48__.Z,_carbon_icons_es_warning_filled_16__WEBPACK_IMPORTED_MODULE_49__.Z,_carbon_icons_es_warning_filled_20__WEBPACK_IMPORTED_MODULE_50__.Z,_carbon_icons_es_warning_alt_filled_16__WEBPACK_IMPORTED_MODULE_51__.Z,_carbon_icons_es_warning_alt_filled_20__WEBPACK_IMPORTED_MODULE_52__.Z])}};IconModule.ctorParameters=()=>[{type:_icon_service__WEBPACK_IMPORTED_MODULE_1__.C6}],IconModule=(0,tslib__WEBPACK_IMPORTED_MODULE_56__.gn)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_55__.NgModule)({declarations:[_icon_directive__WEBPACK_IMPORTED_MODULE_0__.a],exports:[_icon_directive__WEBPACK_IMPORTED_MODULE_0__.a],imports:[_angular_common__WEBPACK_IMPORTED_MODULE_57__.CommonModule],providers:[ICON_SERVICE_PROVIDER]})],IconModule)},"./src/icon/icon.service.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{C6:()=>IconService});var tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/tslib/tslib.es6.js"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2020/core.mjs"),_carbon_icon_helpers__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@carbon/icon-helpers/es/index.js");class IconNameNotFoundError extends Error{constructor(name){super(`Icon ${name} not found`)}}class IconSizeNotFoundError extends Error{constructor(size,name){super("Size ${size} for ${name} not found")}}class IconMemoryCache extends class IconCache{}{constructor(){super(...arguments),this.iconMap=new Map}get(name,size){if(!this.iconMap.has(name))throw new IconNameNotFoundError(name);const sizeMap=this.iconMap.get(name);if(!sizeMap.has(size))throw new IconSizeNotFoundError(size,name);return sizeMap.get(size)}set(name,size,descriptor){this.iconMap.has(name)||this.iconMap.set(name,new Map);this.iconMap.get(name).set(size,descriptor)}}let IconService=class IconService{constructor(){this.iconCache=new IconMemoryCache}registerAll(descriptors){descriptors.forEach((icon=>this.register(icon)))}register(descriptor){const{name}=descriptor;this.registerAs(name,descriptor)}registerAs(name,descriptor){const{size}=descriptor;this.iconCache.set(name,size.toString(),descriptor)}get(name,size){try{const icon=this.iconCache.get(name,size.toString());return icon.svg||(icon.svg=(0,_carbon_icon_helpers__WEBPACK_IMPORTED_MODULE_0__.BB)(icon)),icon}catch(e){throw e}}configure(options){this.iconCache=options.cache}};IconService=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.gn)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable)()],IconService)},"./src/icon/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{ar:()=>icon_directive.a,QX:()=>icon_module.QX,C6:()=>icon_service.C6});var icon_directive=__webpack_require__("./src/icon/icon.directive.ts"),icon_module=__webpack_require__("./src/icon/icon.module.ts"),icon_service=__webpack_require__("./src/icon/icon.service.ts")},"./src/tag/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Vp:()=>Tag,Wh:()=>TagModule});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.js"),core=__webpack_require__("./node_modules/@angular/core/fesm2020/core.mjs");let Tag=class Tag{constructor(){this.type="gray",this.size="md",this.class=""}get attrClass(){return`cds--tag cds--tag--${this.type} cds--tag--${this.size} cds--layout--size-${this.size} ${this.class}`}};Tag.propDecorators={type:[{type:core.Input}],size:[{type:core.Input}],class:[{type:core.Input}],attrClass:[{type:core.HostBinding,args:["attr.class"]}]},Tag=(0,tslib_es6.gn)([(0,core.Component)({selector:"cds-tag, ibm-tag",template:"<ng-content></ng-content>"})],Tag);let TagFilter=class TagFilter extends Tag{constructor(){super(...arguments),this.closeButtonLabel="Clear Filter",this.close=new core.EventEmitter,this.click=new core.EventEmitter}onClick(event){event.stopImmediatePropagation(),this.disabled||this.click.emit({action:"click"})}onClose(event){event.stopImmediatePropagation(),this.click.emit({action:"close"}),this.close.emit()}get attrClass(){return`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":""}`}get attrAriaLabel(){return`${this.title||""} ${this.closeButtonLabel}`.trim()}};TagFilter.propDecorators={closeButtonLabel:[{type:core.Input}],disabled:[{type:core.Input}],title:[{type:core.Input}],close:[{type:core.Output}],click:[{type:core.Output}],attrClass:[{type:core.HostBinding,args:["attr.class"]}],attrAriaLabel:[{type:core.HostBinding,args:["attr.aria-label"]}]},TagFilter=(0,tslib_es6.gn)([(0,core.Component)({selector:"cds-tag-filter, ibm-tag-filter",template:'\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'})],TagFilter);var common=__webpack_require__("./node_modules/@angular/common/fesm2020/common.mjs"),icon=__webpack_require__("./src/icon/index.ts");let TagModule=class TagModule{};TagModule=(0,tslib_es6.gn)([(0,core.NgModule)({declarations:[Tag,TagFilter],exports:[Tag,TagFilter],imports:[common.CommonModule,icon.QX]})],TagModule)},"./src/tag/tag.stories.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Basic:()=>Basic,Filter:()=>Filter,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _storybook_angular__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/angular/dist/index.mjs"),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/tag/index.ts");const __WEBPACK_DEFAULT_EXPORT__={title:"Components/Tag",decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_0__.moduleMetadata)({imports:[___WEBPACK_IMPORTED_MODULE_1__.Wh]})],args:{type:"red"},argTypes:{type:{options:["warm-gray","red","magenta","purple","blue","cyan","teal","green","cool-gray","high-contrast","outline"],control:"select"}},component:___WEBPACK_IMPORTED_MODULE_1__.Vp},Basic=(args=>({props:args,template:'\n <cds-tag [type]="type" [size]="size">Tag</cds-tag>\n '})).bind({}),Filter=(args=>({props:args,template:'\n <cds-tag-filter\n [type]="type"\n [size]="size"\n title="Filter"\n closeButtonLabel="Clear">\n filter\n </cds-tag-filter>\n '})).bind({});Basic.parameters={...Basic.parameters,docs:{...Basic.parameters?.docs,source:{originalSource:'args => ({\n props: args,\n template: `\n <cds-tag [type]="type" [size]="size">Tag</cds-tag>\n `\n})',...Basic.parameters?.docs?.source}}},Filter.parameters={...Filter.parameters,docs:{...Filter.parameters?.docs,source:{originalSource:'args => ({\n props: args,\n template: `\n <cds-tag-filter\n [type]="type"\n [size]="size"\n title="Filter"\n closeButtonLabel="Clear">\n filter\n </cds-tag-filter>\n `\n})',...Filter.parameters?.docs?.source}}};const __namedExportsOrder=["Basic","Filter"]}}]);