carbon-components-angular 6.0.0-rc.1 → 6.0.0-rc.3

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 (430) hide show
  1. package/README.md +1 -1
  2. package/button/icon-button.component.d.ts +5 -1
  3. package/combobox/combobox.component.d.ts +7 -2
  4. package/docs/documentation/components/Accordion.html +2 -2
  5. package/docs/documentation/components/AccordionItem.html +2 -2
  6. package/docs/documentation/components/ActionableNotification.html +2 -2
  7. package/docs/documentation/components/AlertModal.html +2 -2
  8. package/docs/documentation/components/BaseIconButton.html +2 -2
  9. package/docs/documentation/components/BaseNotification.html +2 -2
  10. package/docs/documentation/components/BaseTabHeader.html +2 -2
  11. package/docs/documentation/components/Breadcrumb.html +2 -2
  12. package/docs/documentation/components/BreadcrumbItemComponent.html +2 -2
  13. package/docs/documentation/components/ButtonSet.html +2 -2
  14. package/docs/documentation/components/Checkbox.html +2 -2
  15. package/docs/documentation/components/ClickableTile.html +2 -2
  16. package/docs/documentation/components/CodeSnippet.html +2 -2
  17. package/docs/documentation/components/ComboBox.html +306 -215
  18. package/docs/documentation/components/ContainedList.html +2 -2
  19. package/docs/documentation/components/ContainedListItem.html +2 -2
  20. package/docs/documentation/components/ContentSwitcher.html +2 -2
  21. package/docs/documentation/components/ContextMenuComponent.html +2 -2
  22. package/docs/documentation/components/ContextMenuDividerComponent.html +2 -2
  23. package/docs/documentation/components/ContextMenuGroupComponent.html +2 -2
  24. package/docs/documentation/components/ContextMenuItemComponent.html +2 -2
  25. package/docs/documentation/components/DatePicker.html +2 -2
  26. package/docs/documentation/components/DatePickerInput.html +2 -2
  27. package/docs/documentation/components/Dialog.html +2 -2
  28. package/docs/documentation/components/Documentation.html +2 -2
  29. package/docs/documentation/components/Dropdown.html +506 -154
  30. package/docs/documentation/components/DropdownList.html +2 -2
  31. package/docs/documentation/components/ExpandableTile.html +2 -2
  32. package/docs/documentation/components/FileComponent.html +2 -2
  33. package/docs/documentation/components/FileUploader.html +2 -2
  34. package/docs/documentation/components/Hamburger.html +2 -2
  35. package/docs/documentation/components/Header.html +2 -2
  36. package/docs/documentation/components/HeaderAction.html +2 -2
  37. package/docs/documentation/components/HeaderGlobal.html +2 -2
  38. package/docs/documentation/components/HeaderItem.html +2 -2
  39. package/docs/documentation/components/HeaderMenu.html +2 -2
  40. package/docs/documentation/components/HeaderNavigation.html +2 -2
  41. package/docs/documentation/components/IconButton.html +55 -16
  42. package/docs/documentation/components/InlineLoading.html +2 -2
  43. package/docs/documentation/components/Label.html +2 -2
  44. package/docs/documentation/components/ListColumn.html +2 -2
  45. package/docs/documentation/components/ListHeader.html +2 -2
  46. package/docs/documentation/components/ListRow.html +2 -2
  47. package/docs/documentation/components/Loading.html +2 -2
  48. package/docs/documentation/components/Modal.html +2 -2
  49. package/docs/documentation/components/ModalFooter.html +2 -2
  50. package/docs/documentation/components/ModalHeader.html +2 -2
  51. package/docs/documentation/components/Notification.html +2 -2
  52. package/docs/documentation/components/NumberComponent.html +2 -2
  53. package/docs/documentation/components/OverflowMenu.html +2 -2
  54. package/docs/documentation/components/OverflowMenuCustomPane.html +2 -2
  55. package/docs/documentation/components/OverflowMenuOption.html +2 -2
  56. package/docs/documentation/components/OverflowMenuPane.html +2 -2
  57. package/docs/documentation/components/Overlay.html +2 -2
  58. package/docs/documentation/components/Pagination.html +5 -5
  59. package/docs/documentation/components/PaginationNav.html +2 -2
  60. package/docs/documentation/components/PaginationNavItem.html +2 -2
  61. package/docs/documentation/components/PaginationOverflow.html +2 -2
  62. package/docs/documentation/components/Panel.html +2 -2
  63. package/docs/documentation/components/PasswordInputLabelComponent.html +2 -2
  64. package/docs/documentation/components/Placeholder.html +2 -2
  65. package/docs/documentation/components/PopoverContent.html +2 -2
  66. package/docs/documentation/components/ProgressBar.html +2 -2
  67. package/docs/documentation/components/ProgressIndicator.html +2 -2
  68. package/docs/documentation/components/Radio.html +2 -2
  69. package/docs/documentation/components/RadioGroup.html +2 -2
  70. package/docs/documentation/components/Search.html +2 -2
  71. package/docs/documentation/components/Select.html +2 -2
  72. package/docs/documentation/components/SelectionTile.html +2 -2
  73. package/docs/documentation/components/SideNav.html +2 -2
  74. package/docs/documentation/components/SideNavItem.html +2 -2
  75. package/docs/documentation/components/SideNavMenu.html +2 -2
  76. package/docs/documentation/components/SkeletonPlaceholder.html +2 -2
  77. package/docs/documentation/components/SkeletonText.html +2 -2
  78. package/docs/documentation/components/Slider.html +2 -2
  79. package/docs/documentation/components/StructuredList.html +2 -2
  80. package/docs/documentation/components/SwitcherList.html +2 -2
  81. package/docs/documentation/components/SwitcherListItem.html +2 -2
  82. package/docs/documentation/components/Tab.html +2 -2
  83. package/docs/documentation/components/TabHeaderGroup.html +2 -2
  84. package/docs/documentation/components/TabHeaders.html +2 -2
  85. package/docs/documentation/components/TabSkeleton.html +2 -2
  86. package/docs/documentation/components/Table.html +2 -2
  87. package/docs/documentation/components/TableBody.html +2 -2
  88. package/docs/documentation/components/TableCheckbox.html +2 -2
  89. package/docs/documentation/components/TableContainer.html +2 -2
  90. package/docs/documentation/components/TableData.html +2 -2
  91. package/docs/documentation/components/TableExpandButton.html +2 -2
  92. package/docs/documentation/components/TableExpandedRow.html +2 -2
  93. package/docs/documentation/components/TableHead.html +2 -2
  94. package/docs/documentation/components/TableHeadCell.html +2 -2
  95. package/docs/documentation/components/TableHeadCheckbox.html +2 -2
  96. package/docs/documentation/components/TableHeadExpand.html +2 -2
  97. package/docs/documentation/components/TableHeader.html +2 -2
  98. package/docs/documentation/components/TableRadio.html +2 -2
  99. package/docs/documentation/components/TableRowComponent.html +2 -2
  100. package/docs/documentation/components/TableToolbar.html +2 -2
  101. package/docs/documentation/components/TableToolbarActions.html +2 -2
  102. package/docs/documentation/components/TableToolbarContent.html +2 -2
  103. package/docs/documentation/components/TableToolbarSearch.html +2 -2
  104. package/docs/documentation/components/Tabs.html +2 -2
  105. package/docs/documentation/components/Tag.html +73 -13
  106. package/docs/documentation/components/TagFilter.html +116 -51
  107. package/docs/documentation/components/TagOperationalComponent.html +919 -0
  108. package/docs/documentation/components/TagSelectableComponent.html +1084 -0
  109. package/docs/documentation/components/TextInputLabelComponent.html +78 -32
  110. package/docs/documentation/components/TextareaLabelComponent.html +2 -2
  111. package/docs/documentation/components/Tile.html +2 -2
  112. package/docs/documentation/components/TileGroup.html +2 -2
  113. package/docs/documentation/components/TimePicker.html +2 -2
  114. package/docs/documentation/components/TimePickerSelect.html +2 -2
  115. package/docs/documentation/components/Toast.html +2 -2
  116. package/docs/documentation/components/Toggle.html +81 -67
  117. package/docs/documentation/components/Toggletip.html +2 -2
  118. package/docs/documentation/components/Tooltip.html +2 -2
  119. package/docs/documentation/components/TooltipDefinition.html +2 -2
  120. package/docs/documentation/components/TreeNodeComponent.html +2 -2
  121. package/docs/documentation/components/TreeViewComponent.html +2 -2
  122. package/docs/documentation/coverage.html +86 -26
  123. package/docs/documentation/directives/ClickableTileIconDirective.html +367 -0
  124. package/docs/documentation/directives/IconDirective.html +8 -6
  125. package/docs/documentation/directives/LinkIconDirective.html +367 -0
  126. package/docs/documentation/directives/List.html +66 -8
  127. package/docs/documentation/directives/TagIconDirective.html +367 -0
  128. package/docs/documentation/graph/dependencies.svg +2767 -2647
  129. package/docs/documentation/index.html +1 -1
  130. package/docs/documentation/interfaces/PaginationTranslations.html +1 -1
  131. package/docs/documentation/js/menu-wc.js +38 -12
  132. package/docs/documentation/js/menu-wc_es5.js +1 -1
  133. package/docs/documentation/js/search/search_index.js +2 -2
  134. package/docs/documentation/miscellaneous/enumerations.html +8 -8
  135. package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
  136. package/docs/documentation/modules/CodeSnippetModule.html +4 -4
  137. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +6 -6
  138. package/docs/documentation/modules/ComboBoxModule.html +6 -6
  139. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +8 -8
  140. package/docs/documentation/modules/DatePickerInputModule.html +8 -8
  141. package/docs/documentation/modules/DatePickerModule/dependencies.svg +49 -53
  142. package/docs/documentation/modules/DatePickerModule.html +49 -53
  143. package/docs/documentation/modules/FileUploaderModule/dependencies.svg +34 -34
  144. package/docs/documentation/modules/FileUploaderModule.html +34 -34
  145. package/docs/documentation/modules/GridModule/dependencies.svg +60 -60
  146. package/docs/documentation/modules/GridModule.html +60 -60
  147. package/docs/documentation/modules/LinkModule/dependencies.svg +41 -17
  148. package/docs/documentation/modules/LinkModule.html +52 -19
  149. package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
  150. package/docs/documentation/modules/LoadingModule.html +4 -4
  151. package/docs/documentation/modules/RadioModule/dependencies.svg +35 -35
  152. package/docs/documentation/modules/RadioModule.html +35 -35
  153. package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
  154. package/docs/documentation/modules/SliderModule.html +4 -4
  155. package/docs/documentation/modules/StructuredListModule/dependencies.svg +66 -66
  156. package/docs/documentation/modules/StructuredListModule.html +66 -66
  157. package/docs/documentation/modules/TableModule/dependencies.svg +4 -4
  158. package/docs/documentation/modules/TableModule.html +4 -4
  159. package/docs/documentation/modules/TabsModule/dependencies.svg +68 -68
  160. package/docs/documentation/modules/TabsModule.html +68 -68
  161. package/docs/documentation/modules/TagModule/dependencies.svg +123 -51
  162. package/docs/documentation/modules/TagModule.html +160 -55
  163. package/docs/documentation/modules/ThemeModule/dependencies.svg +4 -4
  164. package/docs/documentation/modules/ThemeModule.html +4 -4
  165. package/docs/documentation/modules/TilesModule/dependencies.svg +160 -136
  166. package/docs/documentation/modules/TilesModule.html +169 -136
  167. package/docs/documentation/modules/TimePickerModule/dependencies.svg +44 -40
  168. package/docs/documentation/modules/TimePickerModule.html +44 -40
  169. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +46 -42
  170. package/docs/documentation/modules/TimePickerSelectModule.html +46 -42
  171. package/docs/documentation/modules/ToggleModule/dependencies.svg +19 -19
  172. package/docs/documentation/modules/ToggleModule.html +19 -19
  173. package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
  174. package/docs/documentation/modules/ToggletipModule.html +37 -37
  175. package/docs/documentation/modules/TooltipModule/dependencies.svg +29 -29
  176. package/docs/documentation/modules/TooltipModule.html +29 -29
  177. package/docs/documentation/modules/TreeviewModule/dependencies.svg +28 -28
  178. package/docs/documentation/modules/TreeviewModule.html +28 -28
  179. package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
  180. package/docs/documentation/modules/UIShellModule.html +4 -4
  181. package/docs/documentation/overview.html +2769 -2649
  182. package/docs/documentation.json +1655 -387
  183. package/docs/storybook/117.d138a78b.iframe.bundle.js +1 -0
  184. package/docs/storybook/1490.92c45b08.iframe.bundle.js +1 -0
  185. package/docs/storybook/{1803.69020a1f.iframe.bundle.js → 1803.0a8c6ba0.iframe.bundle.js} +1 -1
  186. package/docs/storybook/3419.806be468.iframe.bundle.js +1 -0
  187. package/docs/storybook/{4333.3306b291.iframe.bundle.js → 4333.ee67f563.iframe.bundle.js} +1 -1
  188. package/docs/storybook/{4637.2867ca6f.iframe.bundle.js → 4637.1182aca8.iframe.bundle.js} +1 -1
  189. package/docs/storybook/5351.dfea6a5b.iframe.bundle.js +1 -0
  190. package/docs/storybook/8383.74dc30c9.iframe.bundle.js +1 -0
  191. package/docs/storybook/accordion-accordion-stories.92f0aea9.iframe.bundle.js +1 -0
  192. package/docs/storybook/button-button-set-stories.78832e6c.iframe.bundle.js +1 -0
  193. package/docs/storybook/button-button-stories.ea38b069.iframe.bundle.js +1 -0
  194. package/docs/storybook/button-icon-button-stories.e9bbdeae.iframe.bundle.js +1 -0
  195. package/docs/storybook/code-snippet-code-snippet-stories.845d66ed.iframe.bundle.js +1 -0
  196. package/docs/storybook/combobox-combobox-stories.59aec56d.iframe.bundle.js +1 -0
  197. package/docs/storybook/contained-list-contained-list-stories.92c680b8.iframe.bundle.js +1 -0
  198. package/docs/storybook/context-menu-context-menu-stories.59d5cac4.iframe.bundle.js +1 -0
  199. package/docs/storybook/datepicker-datepicker-stories.2de8c3b8.iframe.bundle.js +1 -0
  200. package/docs/storybook/dropdown-dropdown-stories.0d63845a.iframe.bundle.js +1 -0
  201. package/docs/storybook/icon-icon-stories.8d4654b2.iframe.bundle.js +1 -0
  202. package/docs/storybook/iframe.html +2 -2
  203. package/docs/storybook/index-stories.66f86530.iframe.bundle.js +1 -0
  204. package/docs/storybook/index.json +1 -1
  205. package/docs/storybook/inline-loading-inline-loading-stories.b3477958.iframe.bundle.js +1 -0
  206. package/docs/storybook/input-input-stories.6eca9c7d.iframe.bundle.js +1 -0
  207. package/docs/storybook/input-password-stories.2826ff49.iframe.bundle.js +1 -0
  208. package/docs/storybook/input-textarea-stories.4f5775b4.iframe.bundle.js +1 -0
  209. package/docs/storybook/link-link-stories.e07fa679.iframe.bundle.js +1 -0
  210. package/docs/storybook/{list-list-stories.56e9e562.iframe.bundle.js → list-list-stories.957efb51.iframe.bundle.js} +1 -1
  211. package/docs/storybook/main.46c96128.iframe.bundle.js +1 -0
  212. package/docs/storybook/main.css +912 -189
  213. package/docs/storybook/number-input-number-stories.c8a0e58c.iframe.bundle.js +1 -0
  214. package/docs/storybook/patterns-dialogs-modal-with-table-stories.44f68be6.iframe.bundle.js +1 -0
  215. package/docs/storybook/patterns-filtering-multiple-categories-stories.2f66407e.iframe.bundle.js +1 -0
  216. package/docs/storybook/patterns-loading-large-loading-stories.8333afb1.iframe.bundle.js +1 -0
  217. package/docs/storybook/progress-bar-progress-bar-stories.645f83b4.iframe.bundle.js +1 -0
  218. package/docs/storybook/progress-indicator-progress-indicator-stories.4205d95b.iframe.bundle.js +1 -0
  219. package/docs/storybook/project.json +1 -1
  220. package/docs/storybook/radio-radio-stories.5dc425e5.iframe.bundle.js +1 -0
  221. package/docs/storybook/{runtime~main.e516577a.iframe.bundle.js → runtime~main.e33e1492.iframe.bundle.js} +1 -1
  222. package/docs/storybook/search-search-stories.69ac59e9.iframe.bundle.js +1 -0
  223. package/docs/storybook/stories.json +1 -1
  224. package/docs/storybook/structured-list-structured-list-stories.8c6c973c.iframe.bundle.js +1 -0
  225. package/docs/storybook/tag-tag-stories.f8ad24e6.iframe.bundle.js +1 -0
  226. package/docs/storybook/tiles-clickable-tile-stories.c2639981.iframe.bundle.js +1 -0
  227. package/docs/storybook/tiles-expandable-tile-stories.9aefae5c.iframe.bundle.js +1 -0
  228. package/docs/storybook/{toggle-toggle-stories.d4666f95.iframe.bundle.js → toggle-toggle-stories.37f7153e.iframe.bundle.js} +1 -1
  229. package/docs/storybook/toggletip-toggletip-stories.895fd677.iframe.bundle.js +1 -0
  230. package/docs/storybook/treeview-treeview-stories.ac4bcee5.iframe.bundle.js +1 -0
  231. package/docs/storybook/ui-shell-ui-shell-stories.9b5a8c7f.iframe.bundle.js +1 -0
  232. package/dropdown/dropdown.component.d.ts +12 -3
  233. package/esm2022/button/icon-button.component.mjs +10 -4
  234. package/esm2022/code-snippet/code-snippet.component.mjs +1 -1
  235. package/esm2022/combobox/combobox.component.mjs +47 -16
  236. package/esm2022/dropdown/dropdown.component.mjs +79 -37
  237. package/esm2022/icon/icon.directive.mjs +5 -3
  238. package/esm2022/input/text-input-label.component.mjs +4 -1
  239. package/esm2022/link/index.mjs +2 -1
  240. package/esm2022/link/link-icon.directive.mjs +19 -0
  241. package/esm2022/link/link.module.mjs +9 -4
  242. package/esm2022/list/list.directive.mjs +12 -3
  243. package/esm2022/modal/modal-header.component.mjs +1 -1
  244. package/esm2022/pagination/pagination-nav/pagination-nav.component.mjs +1 -1
  245. package/esm2022/pagination/pagination.component.mjs +3 -3
  246. package/esm2022/tag/index.mjs +4 -1
  247. package/esm2022/tag/tag-filter.component.mjs +47 -32
  248. package/esm2022/tag/tag-icon.directive.mjs +19 -0
  249. package/esm2022/tag/tag-operational.component.mjs +62 -0
  250. package/esm2022/tag/tag-selectable.component.mjs +89 -0
  251. package/esm2022/tag/tag.component.mjs +28 -4
  252. package/esm2022/tag/tag.module.mjs +27 -4
  253. package/esm2022/tiles/clickable-tile-icon.directive.mjs +19 -0
  254. package/esm2022/tiles/index.mjs +2 -1
  255. package/esm2022/tiles/tiles.module.mjs +6 -1
  256. package/esm2022/toggle/toggle.component.mjs +9 -4
  257. package/esm2022/ui-shell/header/header-action.component.mjs +1 -1
  258. package/fesm2022/carbon-components-angular-button.mjs +9 -3
  259. package/fesm2022/carbon-components-angular-button.mjs.map +1 -1
  260. package/fesm2022/carbon-components-angular-code-snippet.mjs +1 -1
  261. package/fesm2022/carbon-components-angular-code-snippet.mjs.map +1 -1
  262. package/fesm2022/carbon-components-angular-combobox.mjs +46 -15
  263. package/fesm2022/carbon-components-angular-combobox.mjs.map +1 -1
  264. package/fesm2022/carbon-components-angular-dropdown.mjs +79 -37
  265. package/fesm2022/carbon-components-angular-dropdown.mjs.map +1 -1
  266. package/fesm2022/carbon-components-angular-icon.mjs +4 -2
  267. package/fesm2022/carbon-components-angular-icon.mjs.map +1 -1
  268. package/fesm2022/carbon-components-angular-input.mjs +3 -0
  269. package/fesm2022/carbon-components-angular-input.mjs.map +1 -1
  270. package/fesm2022/carbon-components-angular-link.mjs +25 -4
  271. package/fesm2022/carbon-components-angular-link.mjs.map +1 -1
  272. package/fesm2022/carbon-components-angular-list.mjs +11 -2
  273. package/fesm2022/carbon-components-angular-list.mjs.map +1 -1
  274. package/fesm2022/carbon-components-angular-modal.mjs +1 -1
  275. package/fesm2022/carbon-components-angular-modal.mjs.map +1 -1
  276. package/fesm2022/carbon-components-angular-pagination.mjs +3 -3
  277. package/fesm2022/carbon-components-angular-pagination.mjs.map +1 -1
  278. package/fesm2022/carbon-components-angular-tag.mjs +259 -40
  279. package/fesm2022/carbon-components-angular-tag.mjs.map +1 -1
  280. package/fesm2022/carbon-components-angular-tiles.mjs +23 -2
  281. package/fesm2022/carbon-components-angular-tiles.mjs.map +1 -1
  282. package/fesm2022/carbon-components-angular-toggle.mjs +8 -3
  283. package/fesm2022/carbon-components-angular-toggle.mjs.map +1 -1
  284. package/fesm2022/carbon-components-angular-ui-shell.mjs +1 -1
  285. package/fesm2022/carbon-components-angular-ui-shell.mjs.map +1 -1
  286. package/input/text-input-label.component.d.ts +3 -2
  287. package/link/index.d.ts +1 -0
  288. package/link/link-icon.directive.d.ts +26 -0
  289. package/link/link.module.d.ts +3 -2
  290. package/list/list.directive.d.ts +5 -1
  291. package/package.json +1 -1
  292. package/tag/index.d.ts +3 -0
  293. package/tag/tag-filter.component.d.ts +5 -1
  294. package/tag/tag-icon.directive.d.ts +26 -0
  295. package/tag/tag-operational.component.d.ts +35 -0
  296. package/tag/tag-selectable.component.d.ts +42 -0
  297. package/tag/tag.component.d.ts +7 -2
  298. package/tag/tag.module.d.ts +6 -3
  299. package/tiles/clickable-tile-icon.directive.d.ts +26 -0
  300. package/tiles/index.d.ts +1 -0
  301. package/tiles/tiles.module.d.ts +11 -10
  302. package/toggle/toggle.component.d.ts +6 -1
  303. package/docs/storybook/117.5d56f728.iframe.bundle.js +0 -1
  304. package/docs/storybook/1490.c09c967b.iframe.bundle.js +0 -1
  305. package/docs/storybook/2641.22111a5a.iframe.bundle.js +0 -1
  306. package/docs/storybook/5351.afa38aa0.iframe.bundle.js +0 -1
  307. package/docs/storybook/8383.348fbbdd.iframe.bundle.js +0 -1
  308. package/docs/storybook/IBMPlexMono-Italic-Cyrillic.woff +0 -0
  309. package/docs/storybook/IBMPlexMono-Italic-Latin1.woff +0 -0
  310. package/docs/storybook/IBMPlexMono-Italic-Latin2.woff +0 -0
  311. package/docs/storybook/IBMPlexMono-Italic-Latin3.woff +0 -0
  312. package/docs/storybook/IBMPlexMono-Italic-Pi.woff +0 -0
  313. package/docs/storybook/IBMPlexMono-Light-Cyrillic.woff +0 -0
  314. package/docs/storybook/IBMPlexMono-Light-Latin1.woff +0 -0
  315. package/docs/storybook/IBMPlexMono-Light-Latin2.woff +0 -0
  316. package/docs/storybook/IBMPlexMono-Light-Latin3.woff +0 -0
  317. package/docs/storybook/IBMPlexMono-Light-Pi.woff +0 -0
  318. package/docs/storybook/IBMPlexMono-LightItalic-Cyrillic.woff +0 -0
  319. package/docs/storybook/IBMPlexMono-LightItalic-Latin1.woff +0 -0
  320. package/docs/storybook/IBMPlexMono-LightItalic-Latin2.woff +0 -0
  321. package/docs/storybook/IBMPlexMono-LightItalic-Latin3.woff +0 -0
  322. package/docs/storybook/IBMPlexMono-LightItalic-Pi.woff +0 -0
  323. package/docs/storybook/IBMPlexMono-Regular-Cyrillic.woff +0 -0
  324. package/docs/storybook/IBMPlexMono-Regular-Latin1.woff +0 -0
  325. package/docs/storybook/IBMPlexMono-Regular-Latin2.woff +0 -0
  326. package/docs/storybook/IBMPlexMono-Regular-Latin3.woff +0 -0
  327. package/docs/storybook/IBMPlexMono-Regular-Pi.woff +0 -0
  328. package/docs/storybook/IBMPlexMono-SemiBold-Cyrillic.woff +0 -0
  329. package/docs/storybook/IBMPlexMono-SemiBold-Latin1.woff +0 -0
  330. package/docs/storybook/IBMPlexMono-SemiBold-Latin2.woff +0 -0
  331. package/docs/storybook/IBMPlexMono-SemiBold-Latin3.woff +0 -0
  332. package/docs/storybook/IBMPlexMono-SemiBold-Pi.woff +0 -0
  333. package/docs/storybook/IBMPlexMono-SemiBoldItalic-Cyrillic.woff +0 -0
  334. package/docs/storybook/IBMPlexMono-SemiBoldItalic-Latin1.woff +0 -0
  335. package/docs/storybook/IBMPlexMono-SemiBoldItalic-Latin2.woff +0 -0
  336. package/docs/storybook/IBMPlexMono-SemiBoldItalic-Latin3.woff +0 -0
  337. package/docs/storybook/IBMPlexMono-SemiBoldItalic-Pi.woff +0 -0
  338. package/docs/storybook/IBMPlexSans-Italic-Cyrillic.woff +0 -0
  339. package/docs/storybook/IBMPlexSans-Italic-Latin1.woff +0 -0
  340. package/docs/storybook/IBMPlexSans-Italic-Latin2.woff +0 -0
  341. package/docs/storybook/IBMPlexSans-Italic-Latin3.woff +0 -0
  342. package/docs/storybook/IBMPlexSans-Italic-Pi.woff +0 -0
  343. package/docs/storybook/IBMPlexSans-Light-Cyrillic.woff +0 -0
  344. package/docs/storybook/IBMPlexSans-Light-Latin1.woff +0 -0
  345. package/docs/storybook/IBMPlexSans-Light-Latin2.woff +0 -0
  346. package/docs/storybook/IBMPlexSans-Light-Latin3.woff +0 -0
  347. package/docs/storybook/IBMPlexSans-Light-Pi.woff +0 -0
  348. package/docs/storybook/IBMPlexSans-LightItalic-Cyrillic.woff +0 -0
  349. package/docs/storybook/IBMPlexSans-LightItalic-Latin1.woff +0 -0
  350. package/docs/storybook/IBMPlexSans-LightItalic-Latin2.woff +0 -0
  351. package/docs/storybook/IBMPlexSans-LightItalic-Latin3.woff +0 -0
  352. package/docs/storybook/IBMPlexSans-LightItalic-Pi.woff +0 -0
  353. package/docs/storybook/IBMPlexSans-Regular-Cyrillic.woff +0 -0
  354. package/docs/storybook/IBMPlexSans-Regular-Latin1.woff +0 -0
  355. package/docs/storybook/IBMPlexSans-Regular-Latin2.woff +0 -0
  356. package/docs/storybook/IBMPlexSans-Regular-Latin3.woff +0 -0
  357. package/docs/storybook/IBMPlexSans-Regular-Pi.woff +0 -0
  358. package/docs/storybook/IBMPlexSans-SemiBold-Cyrillic.woff +0 -0
  359. package/docs/storybook/IBMPlexSans-SemiBold-Latin1.woff +0 -0
  360. package/docs/storybook/IBMPlexSans-SemiBold-Latin2.woff +0 -0
  361. package/docs/storybook/IBMPlexSans-SemiBold-Latin3.woff +0 -0
  362. package/docs/storybook/IBMPlexSans-SemiBold-Pi.woff +0 -0
  363. package/docs/storybook/IBMPlexSans-SemiBoldItalic-Cyrillic.woff +0 -0
  364. package/docs/storybook/IBMPlexSans-SemiBoldItalic-Latin1.woff +0 -0
  365. package/docs/storybook/IBMPlexSans-SemiBoldItalic-Latin2.woff +0 -0
  366. package/docs/storybook/IBMPlexSans-SemiBoldItalic-Latin3.woff +0 -0
  367. package/docs/storybook/IBMPlexSans-SemiBoldItalic-Pi.woff +0 -0
  368. package/docs/storybook/IBMPlexSerif-Italic-Cyrillic.woff +0 -0
  369. package/docs/storybook/IBMPlexSerif-Italic-Latin1.woff +0 -0
  370. package/docs/storybook/IBMPlexSerif-Italic-Latin2.woff +0 -0
  371. package/docs/storybook/IBMPlexSerif-Italic-Latin3.woff +0 -0
  372. package/docs/storybook/IBMPlexSerif-Italic-Pi.woff +0 -0
  373. package/docs/storybook/IBMPlexSerif-Light-Cyrillic.woff +0 -0
  374. package/docs/storybook/IBMPlexSerif-Light-Latin1.woff +0 -0
  375. package/docs/storybook/IBMPlexSerif-Light-Latin2.woff +0 -0
  376. package/docs/storybook/IBMPlexSerif-Light-Latin3.woff +0 -0
  377. package/docs/storybook/IBMPlexSerif-Light-Pi.woff +0 -0
  378. package/docs/storybook/IBMPlexSerif-LightItalic-Cyrillic.woff +0 -0
  379. package/docs/storybook/IBMPlexSerif-LightItalic-Latin1.woff +0 -0
  380. package/docs/storybook/IBMPlexSerif-LightItalic-Latin2.woff +0 -0
  381. package/docs/storybook/IBMPlexSerif-LightItalic-Latin3.woff +0 -0
  382. package/docs/storybook/IBMPlexSerif-LightItalic-Pi.woff +0 -0
  383. package/docs/storybook/IBMPlexSerif-Regular-Cyrillic.woff +0 -0
  384. package/docs/storybook/IBMPlexSerif-Regular-Latin1.woff +0 -0
  385. package/docs/storybook/IBMPlexSerif-Regular-Latin2.woff +0 -0
  386. package/docs/storybook/IBMPlexSerif-Regular-Latin3.woff +0 -0
  387. package/docs/storybook/IBMPlexSerif-Regular-Pi.woff +0 -0
  388. package/docs/storybook/IBMPlexSerif-SemiBold-Cyrillic.woff +0 -0
  389. package/docs/storybook/IBMPlexSerif-SemiBold-Latin1.woff +0 -0
  390. package/docs/storybook/IBMPlexSerif-SemiBold-Latin2.woff +0 -0
  391. package/docs/storybook/IBMPlexSerif-SemiBold-Latin3.woff +0 -0
  392. package/docs/storybook/IBMPlexSerif-SemiBold-Pi.woff +0 -0
  393. package/docs/storybook/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff +0 -0
  394. package/docs/storybook/IBMPlexSerif-SemiBoldItalic-Latin1.woff +0 -0
  395. package/docs/storybook/IBMPlexSerif-SemiBoldItalic-Latin2.woff +0 -0
  396. package/docs/storybook/IBMPlexSerif-SemiBoldItalic-Latin3.woff +0 -0
  397. package/docs/storybook/IBMPlexSerif-SemiBoldItalic-Pi.woff +0 -0
  398. package/docs/storybook/accordion-accordion-stories.7468f099.iframe.bundle.js +0 -1
  399. package/docs/storybook/button-button-set-stories.c7adac6a.iframe.bundle.js +0 -1
  400. package/docs/storybook/button-button-stories.1c45cf01.iframe.bundle.js +0 -1
  401. package/docs/storybook/button-icon-button-stories.63c78bd5.iframe.bundle.js +0 -1
  402. package/docs/storybook/code-snippet-code-snippet-stories.e00add3a.iframe.bundle.js +0 -1
  403. package/docs/storybook/combobox-combobox-stories.216aef5a.iframe.bundle.js +0 -1
  404. package/docs/storybook/contained-list-contained-list-stories.69aa72f2.iframe.bundle.js +0 -1
  405. package/docs/storybook/context-menu-context-menu-stories.6d7f479b.iframe.bundle.js +0 -1
  406. package/docs/storybook/datepicker-datepicker-stories.3cd783d9.iframe.bundle.js +0 -1
  407. package/docs/storybook/dropdown-dropdown-stories.d648035e.iframe.bundle.js +0 -1
  408. package/docs/storybook/icon-icon-stories.2e2ba0d1.iframe.bundle.js +0 -1
  409. package/docs/storybook/index-stories.a7ef7d5f.iframe.bundle.js +0 -1
  410. package/docs/storybook/inline-loading-inline-loading-stories.524edaf4.iframe.bundle.js +0 -1
  411. package/docs/storybook/input-input-stories.ee8c4e49.iframe.bundle.js +0 -1
  412. package/docs/storybook/input-password-stories.6baa3dd4.iframe.bundle.js +0 -1
  413. package/docs/storybook/input-textarea-stories.fb36d3da.iframe.bundle.js +0 -1
  414. package/docs/storybook/link-link-stories.b5dd0484.iframe.bundle.js +0 -1
  415. package/docs/storybook/main.f0db303d.iframe.bundle.js +0 -1
  416. package/docs/storybook/number-input-number-stories.0b7dd344.iframe.bundle.js +0 -1
  417. package/docs/storybook/patterns-dialogs-modal-with-table-stories.692bd7e3.iframe.bundle.js +0 -1
  418. package/docs/storybook/patterns-filtering-multiple-categories-stories.d3558915.iframe.bundle.js +0 -1
  419. package/docs/storybook/patterns-loading-large-loading-stories.09691e11.iframe.bundle.js +0 -1
  420. package/docs/storybook/progress-bar-progress-bar-stories.6d536423.iframe.bundle.js +0 -1
  421. package/docs/storybook/progress-indicator-progress-indicator-stories.f3b0ece7.iframe.bundle.js +0 -1
  422. package/docs/storybook/radio-radio-stories.35ae8c9f.iframe.bundle.js +0 -1
  423. package/docs/storybook/search-search-stories.fecf118a.iframe.bundle.js +0 -1
  424. package/docs/storybook/structured-list-structured-list-stories.a118d424.iframe.bundle.js +0 -1
  425. package/docs/storybook/tag-tag-stories.102bd470.iframe.bundle.js +0 -1
  426. package/docs/storybook/tiles-clickable-tile-stories.e3639902.iframe.bundle.js +0 -1
  427. package/docs/storybook/tiles-expandable-tile-stories.b319601f.iframe.bundle.js +0 -1
  428. package/docs/storybook/toggletip-toggletip-stories.0e5e2d69.iframe.bundle.js +0 -1
  429. package/docs/storybook/treeview-treeview-stories.ec11e861.iframe.bundle.js +0 -1
  430. package/docs/storybook/ui-shell-ui-shell-stories.522593d6.iframe.bundle.js +0 -1
@@ -1,8 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, HostBinding, EventEmitter, Output, NgModule } from '@angular/core';
3
- import * as i1 from 'carbon-components-angular/icon';
4
- import { IconModule } from 'carbon-components-angular/icon';
2
+ import { Component, Input, HostBinding, EventEmitter, Output, Directive, ChangeDetectionStrategy, HostListener, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
5
4
  import { CommonModule } from '@angular/common';
5
+ import * as i2 from 'carbon-components-angular/icon';
6
+ import { IconModule } from 'carbon-components-angular/icon';
6
7
 
7
8
  /**
8
9
  * Component that represents a tag for labelling/categorizing using keywords. Get started with importing the module:
@@ -24,18 +25,39 @@ class Tag {
24
25
  */
25
26
  this.size = "md";
26
27
  this.class = "";
28
+ this.skeleton = false;
27
29
  }
30
+ /**
31
+ * @todo
32
+ * Remove `cds--tag--${this.size}` in v7
33
+ */
28
34
  get attrClass() {
29
- return `cds--tag cds--tag--${this.type} cds--tag--${this.size} cds--layout--size-${this.size} ${this.class}`;
35
+ const skeletonClass = this.skeleton ? "cds--skeleton" : "";
36
+ const sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;
37
+ return `cds--tag cds--tag--${this.type} ${sizeClass} ${skeletonClass} ${this.class}`;
30
38
  }
31
39
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: Tag, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: Tag, selector: "cds-tag, ibm-tag", inputs: { type: "type", size: "size", class: "class" }, host: { properties: { "attr.class": "this.attrClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
40
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: Tag, selector: "cds-tag, ibm-tag", inputs: { type: "type", size: "size", class: "class", skeleton: "skeleton" }, host: { properties: { "attr.class": "this.attrClass" } }, ngImport: i0, template: `
41
+ <ng-container *ngIf="!skeleton">
42
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
43
+ <span class="cds--tag__label">
44
+ <ng-content></ng-content>
45
+ </span>
46
+ </ng-container>
47
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
33
48
  }
34
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: Tag, decorators: [{
35
50
  type: Component,
36
51
  args: [{
37
52
  selector: "cds-tag, ibm-tag",
38
- template: `<ng-content></ng-content>`
53
+ template: `
54
+ <ng-container *ngIf="!skeleton">
55
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
56
+ <span class="cds--tag__label">
57
+ <ng-content></ng-content>
58
+ </span>
59
+ </ng-container>
60
+ `
39
61
  }]
40
62
  }], propDecorators: { type: [{
41
63
  type: Input
@@ -43,6 +65,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
43
65
  type: Input
44
66
  }], class: [{
45
67
  type: Input
68
+ }], skeleton: [{
69
+ type: Input
46
70
  }], attrClass: [{
47
71
  type: HostBinding,
48
72
  args: ["attr.class"]
@@ -52,6 +76,7 @@ class TagFilter extends Tag {
52
76
  constructor() {
53
77
  super(...arguments);
54
78
  this.closeButtonLabel = "Clear Filter";
79
+ this.disabled = false;
55
80
  /**
56
81
  * Function for close/delete the tag
57
82
  */
@@ -77,49 +102,62 @@ class TagFilter extends Tag {
77
102
  this.click.emit({ action: "close" });
78
103
  this.close.emit();
79
104
  }
105
+ /**
106
+ * @todo
107
+ * Remove `cds--tag--${this.size}` in v7
108
+ */
80
109
  get attrClass() {
81
- 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" : ""}`;
110
+ const disabledClass = this.disabled ? "cds--tag--disabled" : "";
111
+ const sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;
112
+ const skeletonClass = this.skeleton ? "cds--skeleton" : "";
113
+ return `cds--tag cds--tag--filter cds--tag--${this.type} ${disabledClass} ${sizeClass} ${skeletonClass} ${this.class}`;
82
114
  }
83
115
  get attrAriaLabel() {
84
116
  return `${this.title || ""} ${this.closeButtonLabel}`.trim();
85
117
  }
86
118
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagFilter, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
87
119
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: TagFilter, selector: "cds-tag-filter, ibm-tag-filter", inputs: { closeButtonLabel: "closeButtonLabel", disabled: "disabled", title: "title" }, outputs: { close: "close", click: "click" }, host: { properties: { "attr.class": "this.attrClass", "attr.aria-label": "this.attrAriaLabel" } }, usesInheritance: true, ngImport: i0, template: `
88
- <span
89
- class="cds--tag__label"
90
- [attr.title]="title ? title : null"
91
- (click)="onClick($event)">
92
- <ng-content></ng-content>
93
- </span>
94
- <button
95
- class="cds--tag__close-icon"
96
- (click)="onClose($event)"
97
- [disabled]="disabled"
98
- [title]="closeButtonLabel">
99
- <span class="cds--visually-hidden">{{closeButtonLabel}}</span>
100
- <svg cdsIcon="close" size="16"></svg>
101
- </button>
102
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }] }); }
120
+ <ng-container *ngIf="!skeleton">
121
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
122
+ <span
123
+ class="cds--tag__label"
124
+ [attr.title]="title ? title : null"
125
+ (click)="onClick($event)">
126
+ <ng-content></ng-content>
127
+ </span>
128
+ <button
129
+ class="cds--tag__close-icon"
130
+ (click)="onClose($event)"
131
+ [disabled]="disabled"
132
+ [title]="closeButtonLabel">
133
+ <span class="cds--visually-hidden">{{closeButtonLabel}}</span>
134
+ <svg cdsIcon="close" size="16"></svg>
135
+ </button>
136
+ </ng-container>
137
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }] }); }
103
138
  }
104
139
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagFilter, decorators: [{
105
140
  type: Component,
106
141
  args: [{
107
142
  selector: "cds-tag-filter, ibm-tag-filter",
108
143
  template: `
109
- <span
110
- class="cds--tag__label"
111
- [attr.title]="title ? title : null"
112
- (click)="onClick($event)">
113
- <ng-content></ng-content>
114
- </span>
115
- <button
116
- class="cds--tag__close-icon"
117
- (click)="onClose($event)"
118
- [disabled]="disabled"
119
- [title]="closeButtonLabel">
120
- <span class="cds--visually-hidden">{{closeButtonLabel}}</span>
121
- <svg cdsIcon="close" size="16"></svg>
122
- </button>
144
+ <ng-container *ngIf="!skeleton">
145
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
146
+ <span
147
+ class="cds--tag__label"
148
+ [attr.title]="title ? title : null"
149
+ (click)="onClick($event)">
150
+ <ng-content></ng-content>
151
+ </span>
152
+ <button
153
+ class="cds--tag__close-icon"
154
+ (click)="onClose($event)"
155
+ [disabled]="disabled"
156
+ [title]="closeButtonLabel">
157
+ <span class="cds--visually-hidden">{{closeButtonLabel}}</span>
158
+ <svg cdsIcon="close" size="16"></svg>
159
+ </button>
160
+ </ng-container>
123
161
  `
124
162
  }]
125
163
  }], propDecorators: { closeButtonLabel: [{
@@ -140,16 +178,197 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
140
178
  args: ["attr.aria-label"]
141
179
  }] } });
142
180
 
181
+ class TagIconDirective {
182
+ constructor() {
183
+ this.tagIcon = true;
184
+ }
185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
186
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: TagIconDirective, selector: "[cdsTagIcon], [ibmTagIcon]", host: { properties: { "class.cds--tag__custom-icon": "this.tagIcon" } }, ngImport: i0 }); }
187
+ }
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagIconDirective, decorators: [{
189
+ type: Directive,
190
+ args: [{
191
+ selector: "[cdsTagIcon], [ibmTagIcon]"
192
+ }]
193
+ }], propDecorators: { tagIcon: [{
194
+ type: HostBinding,
195
+ args: ["class.cds--tag__custom-icon"]
196
+ }] } });
197
+
198
+ class TagSelectableComponent {
199
+ constructor() {
200
+ this.role = "button";
201
+ this.buttonType = "button";
202
+ this.tabIndex = 0;
203
+ this.size = "md";
204
+ this.skeleton = false;
205
+ this.disabled = false;
206
+ this.class = "";
207
+ this.selected = false;
208
+ this.selectedChange = new EventEmitter();
209
+ }
210
+ get ariaPressed() {
211
+ return this.selected;
212
+ }
213
+ onClick() {
214
+ this.selected = !this.selected;
215
+ this.selectedChange.emit(this.selected);
216
+ }
217
+ /**
218
+ * @todo
219
+ * Remove `cds--tag--${this.size}` in v7
220
+ */
221
+ get attrClass() {
222
+ const disabledClass = this.disabled ? "cds--tag--disabled" : "";
223
+ const sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;
224
+ const skeletonClass = this.skeleton ? "cds--skeleton" : "";
225
+ const selectedClass = this.selected ? "cds--tag--selectable-selected" : "";
226
+ return `cds--tag cds--tag--selectable ${selectedClass} ${disabledClass} ${sizeClass} ${skeletonClass} ${this.class}`;
227
+ }
228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagSelectableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
229
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: TagSelectableComponent, selector: "cds-tag-selectable, ibm-tag-selectable", inputs: { size: "size", skeleton: "skeleton", disabled: "disabled", class: "class", selected: "selected" }, outputs: { selectedChange: "selectedChange" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.role": "this.role", "attr.type": "this.buttonType", "attr.tabindex": "this.tabIndex", "attr.aria-pressed": "this.ariaPressed", "attr.class": "this.attrClass" } }, ngImport: i0, template: `
230
+ <ng-container *ngIf="!skeleton">
231
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
232
+ <span class="cds--tag__label">
233
+ <ng-content></ng-content>
234
+ </span>
235
+ </ng-container>
236
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
237
+ }
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagSelectableComponent, decorators: [{
239
+ type: Component,
240
+ args: [{
241
+ selector: "cds-tag-selectable, ibm-tag-selectable",
242
+ template: `
243
+ <ng-container *ngIf="!skeleton">
244
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
245
+ <span class="cds--tag__label">
246
+ <ng-content></ng-content>
247
+ </span>
248
+ </ng-container>
249
+ `,
250
+ changeDetection: ChangeDetectionStrategy.OnPush
251
+ }]
252
+ }], propDecorators: { role: [{
253
+ type: HostBinding,
254
+ args: ["attr.role"]
255
+ }], buttonType: [{
256
+ type: HostBinding,
257
+ args: ["attr.type"]
258
+ }], tabIndex: [{
259
+ type: HostBinding,
260
+ args: ["attr.tabindex"]
261
+ }], ariaPressed: [{
262
+ type: HostBinding,
263
+ args: ["attr.aria-pressed"]
264
+ }], size: [{
265
+ type: Input
266
+ }], skeleton: [{
267
+ type: Input
268
+ }], disabled: [{
269
+ type: Input
270
+ }], class: [{
271
+ type: Input
272
+ }], selected: [{
273
+ type: Input
274
+ }], selectedChange: [{
275
+ type: Output
276
+ }], onClick: [{
277
+ type: HostListener,
278
+ args: ["click"]
279
+ }], attrClass: [{
280
+ type: HostBinding,
281
+ args: ["attr.class"]
282
+ }] } });
283
+
284
+ class TagOperationalComponent extends Tag {
285
+ constructor() {
286
+ super(...arguments);
287
+ this.role = "button";
288
+ this.buttonType = "button";
289
+ this.tabIndex = 0;
290
+ this.disabled = false;
291
+ }
292
+ /**
293
+ * @todo
294
+ * Remove `cds--tag--${this.size}` in v7
295
+ */
296
+ get attrClass() {
297
+ const disabledClass = this.disabled ? "cds--tag--disabled" : "";
298
+ const sizeClass = `cds--tag--${this.size} cds--layout--size-${this.size}`;
299
+ const skeletonClass = this.skeleton ? "cds--skeleton" : "";
300
+ return `cds--tag cds--tag--operational cds--tag--${this.type} ${disabledClass} ${sizeClass} ${skeletonClass} ${this.class}`;
301
+ }
302
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagOperationalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
303
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.12", type: TagOperationalComponent, selector: "cds-tag-operational, ibm-tag-operational", inputs: { disabled: "disabled" }, host: { properties: { "attr.role": "this.role", "attr.type": "this.buttonType", "attr.tabindex": "this.tabIndex", "attr.class": "this.attrClass" } }, usesInheritance: true, ngImport: i0, template: `
304
+ <ng-container *ngIf="!skeleton">
305
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
306
+ <span class="cds--tag__label">
307
+ <ng-content></ng-content>
308
+ </span>
309
+ </ng-container>
310
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
311
+ }
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagOperationalComponent, decorators: [{
313
+ type: Component,
314
+ args: [{
315
+ selector: "cds-tag-operational, ibm-tag-operational",
316
+ template: `
317
+ <ng-container *ngIf="!skeleton">
318
+ <ng-content select="[cdsTagIcon],[ibmTagIcon]"></ng-content>
319
+ <span class="cds--tag__label">
320
+ <ng-content></ng-content>
321
+ </span>
322
+ </ng-container>
323
+ `,
324
+ changeDetection: ChangeDetectionStrategy.OnPush
325
+ }]
326
+ }], propDecorators: { role: [{
327
+ type: HostBinding,
328
+ args: ["attr.role"]
329
+ }], buttonType: [{
330
+ type: HostBinding,
331
+ args: ["attr.type"]
332
+ }], tabIndex: [{
333
+ type: HostBinding,
334
+ args: ["attr.tabindex"]
335
+ }], disabled: [{
336
+ type: Input
337
+ }], attrClass: [{
338
+ type: HostBinding,
339
+ args: ["attr.class"]
340
+ }] } });
341
+
143
342
  class TagModule {
144
343
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
145
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.12", ngImport: i0, type: TagModule, declarations: [Tag, TagFilter], imports: [CommonModule, IconModule], exports: [Tag, TagFilter] }); }
344
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.12", ngImport: i0, type: TagModule, declarations: [Tag,
345
+ TagFilter,
346
+ TagIconDirective,
347
+ TagSelectableComponent,
348
+ TagOperationalComponent], imports: [CommonModule, IconModule], exports: [Tag,
349
+ TagFilter,
350
+ TagIconDirective,
351
+ TagSelectableComponent,
352
+ TagOperationalComponent] }); }
146
353
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagModule, imports: [CommonModule, IconModule] }); }
147
354
  }
148
355
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TagModule, decorators: [{
149
356
  type: NgModule,
150
357
  args: [{
151
- declarations: [Tag, TagFilter],
152
- exports: [Tag, TagFilter],
358
+ declarations: [
359
+ Tag,
360
+ TagFilter,
361
+ TagIconDirective,
362
+ TagSelectableComponent,
363
+ TagOperationalComponent
364
+ ],
365
+ exports: [
366
+ Tag,
367
+ TagFilter,
368
+ TagIconDirective,
369
+ TagSelectableComponent,
370
+ TagOperationalComponent
371
+ ],
153
372
  imports: [CommonModule, IconModule]
154
373
  }]
155
374
  }] });
@@ -158,5 +377,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
158
377
  * Generated bundle index. Do not edit.
159
378
  */
160
379
 
161
- export { Tag, TagFilter, TagModule };
380
+ export { Tag, TagFilter, TagIconDirective, TagModule, TagOperationalComponent, TagSelectableComponent };
162
381
  //# sourceMappingURL=carbon-components-angular-tag.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"carbon-components-angular-tag.mjs","sources":["../../src/tag/tag.component.ts","../../src/tag/tag-filter.component.ts","../../src/tag/tag.module.ts","../../src/tag/carbon-components-angular-tag.ts"],"sourcesContent":["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","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","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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAsBA;;;;;;;;AAQG;MAKU,GAAG,CAAA;AAJhB,IAAA,WAAA,GAAA;AAKC;;AAEG;QACM,IAAI,CAAA,IAAA,GAAY,MAAM,CAAC;AAEhC;;AAEG;QACM,IAAI,CAAA,IAAA,GAAgB,IAAI,CAAC;QAEzB,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;AAKpB,KAAA;AAHA,IAAA,IAA+B,SAAS,GAAA;AACvC,QAAA,OAAO,sBAAsB,IAAI,CAAC,IAAI,CAAA,WAAA,EAAc,IAAI,CAAC,IAAI,CAAsB,mBAAA,EAAA,IAAI,CAAC,IAAI,CAAA,CAAA,EAAI,IAAI,CAAC,KAAK,EAAE,CAAC;KAC7G;+GAfW,GAAG,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAH,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,GAAG,0KAFL,CAA2B,yBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAEzB,GAAG,EAAA,UAAA,EAAA,CAAA;kBAJf,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,QAAQ,EAAE,CAA2B,yBAAA,CAAA;AACrC,i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;;;;;;AAeT,CAAA,CAAA;AACD,iBAAA,CAAA;8BAES,gBAAgB,EAAA,CAAA;sBAAxB,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBAKI,KAAK,EAAA,CAAA;sBAAd,MAAM;gBAUG,KAAK,EAAA,CAAA;sBAAd,MAAM;gBAewB,SAAS,EAAA,CAAA;sBAAvC,WAAW;uBAAC,YAAY,CAAA;gBAIW,aAAa,EAAA,CAAA;sBAAhD,WAAW;uBAAC,iBAAiB,CAAA;;;MCrDlB,SAAS,CAAA;+GAAT,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;gHAAT,SAAS,EAAA,YAAA,EAAA,CAJL,GAAG,EAAE,SAAS,CAAA,EAAA,OAAA,EAAA,CAEnB,YAAY,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CADxB,GAAG,EAAE,SAAS,CAAA,EAAA,CAAA,CAAA,EAAA;gHAGb,SAAS,EAAA,OAAA,EAAA,CAFV,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAEvB,SAAS,EAAA,UAAA,EAAA,CAAA;kBALrB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,YAAY,EAAE,CAAE,GAAG,EAAE,SAAS,CAAE;AAChC,oBAAA,OAAO,EAAE,CAAE,GAAG,EAAE,SAAS,CAAE;AAC3B,oBAAA,OAAO,EAAE,CAAE,YAAY,EAAE,UAAU,CAAE;AACrC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"carbon-components-angular-tag.mjs","sources":["../../src/tag/tag.component.ts","../../src/tag/tag-filter.component.ts","../../src/tag/tag-icon.directive.ts","../../src/tag/tag-selectable.component.ts","../../src/tag/tag-operational.component.ts","../../src/tag/tag.module.ts","../../src/tag/carbon-components-angular-tag.ts"],"sourcesContent":["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","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","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","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","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","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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAsBA;;;;;;;;AAQG;MAYU,GAAG,CAAA;AAXhB,IAAA,WAAA,GAAA;AAYC;;AAEG;QACM,IAAI,CAAA,IAAA,GAAY,MAAM,CAAC;AAEhC;;AAEG;QACM,IAAI,CAAA,IAAA,GAAuB,IAAI,CAAC;QAEhC,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;QAEX,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAY1B,KAAA;AAVA;;;AAGG;AACH,IAAA,IAA+B,SAAS,GAAA;AACvC,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,EAAE,CAAC;QAC3D,MAAM,SAAS,GAAG,CAAA,UAAA,EAAa,IAAI,CAAC,IAAI,CAAA,mBAAA,EAAsB,IAAI,CAAC,IAAI,CAAA,CAAE,CAAC;AAE1E,QAAA,OAAO,CAAsB,mBAAA,EAAA,IAAI,CAAC,IAAI,CAAI,CAAA,EAAA,SAAS,CAAI,CAAA,EAAA,aAAa,CAAI,CAAA,EAAA,IAAI,CAAC,KAAK,EAAE,CAAC;KACrF;+GAxBW,GAAG,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAH,IAAA,SAAA,IAAA,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AAW;uBAAC,eAAe,CAAA;gBAEnB,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBAMyB,SAAS,EAAA,CAAA;sBAAvC,WAAW;uBAAC,YAAY,CAAA;;;MCJb,SAAS,CAAA;+GAAT,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,SAAS,iBAfpB,GAAG;YACH,SAAS;YACT,gBAAgB;YAChB,sBAAsB;AACtB,YAAA,uBAAuB,CASd,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,UAAU,aANjC,GAAG;YACH,SAAS;YACT,gBAAgB;YAChB,sBAAsB;YACtB,uBAAuB,CAAA,EAAA,CAAA,CAAA,EAAA;gHAIZ,SAAS,EAAA,OAAA,EAAA,CAFX,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAEtB,SAAS,EAAA,UAAA,EAAA,CAAA;kBAjBrB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,YAAY,EAAE;wBACb,GAAG;wBACH,SAAS;wBACT,gBAAgB;wBAChB,sBAAsB;wBACtB,uBAAuB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACR,GAAG;wBACH,SAAS;wBACT,gBAAgB;wBAChB,sBAAsB;wBACtB,uBAAuB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACnC,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Optional, Input, Output, ViewChild, Directive, HostBinding, HostListener, TemplateRef, ContentChildren, NgModule } from '@angular/core';
2
+ import { Directive, HostBinding, EventEmitter, Component, Optional, Input, Output, ViewChild, HostListener, TemplateRef, ContentChildren, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/router';
4
4
  import * as i2 from '@angular/common';
5
5
  import { CommonModule } from '@angular/common';
@@ -14,6 +14,23 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
14
14
  import { Subject } from 'rxjs';
15
15
  import { takeUntil } from 'rxjs/operators';
16
16
 
17
+ class ClickableTileIconDirective {
18
+ constructor() {
19
+ this.icon = true;
20
+ }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ClickableTileIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ClickableTileIconDirective, selector: "[cdsClickableTileIcon], [ibmClickableTileIcon]", host: { properties: { "class.cds--tile--icon": "this.icon" } }, ngImport: i0 }); }
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ClickableTileIconDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ selector: "[cdsClickableTileIcon], [ibmClickableTileIcon]"
28
+ }]
29
+ }], propDecorators: { icon: [{
30
+ type: HostBinding,
31
+ args: ["class.cds--tile--icon"]
32
+ }] } });
33
+
17
34
  /**
18
35
  * Build application's clickable tiles using this component. Get started with importing the module:
19
36
  *
@@ -701,6 +718,7 @@ class TilesModule {
701
718
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TilesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
702
719
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.12", ngImport: i0, type: TilesModule, declarations: [Tile,
703
720
  ClickableTile,
721
+ ClickableTileIconDirective,
704
722
  ExpandableTileAboveFoldDirective,
705
723
  ExpandableTileBelowFoldDirective,
706
724
  ExpandableTile,
@@ -710,6 +728,7 @@ class TilesModule {
710
728
  IconModule,
711
729
  LinkModule], exports: [Tile,
712
730
  ClickableTile,
731
+ ClickableTileIconDirective,
713
732
  ExpandableTileAboveFoldDirective,
714
733
  ExpandableTileBelowFoldDirective,
715
734
  ExpandableTile,
@@ -726,6 +745,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
726
745
  declarations: [
727
746
  Tile,
728
747
  ClickableTile,
748
+ ClickableTileIconDirective,
729
749
  ExpandableTileAboveFoldDirective,
730
750
  ExpandableTileBelowFoldDirective,
731
751
  ExpandableTile,
@@ -735,6 +755,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
735
755
  exports: [
736
756
  Tile,
737
757
  ClickableTile,
758
+ ClickableTileIconDirective,
738
759
  ExpandableTileAboveFoldDirective,
739
760
  ExpandableTileBelowFoldDirective,
740
761
  ExpandableTile,
@@ -754,5 +775,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
754
775
  * Generated bundle index. Do not edit.
755
776
  */
756
777
 
757
- export { ClickableTile, ExpandableTile, ExpandableTileAboveFoldDirective, ExpandableTileBelowFoldDirective, SelectionTile, Tile, TileGroup, TilesModule };
778
+ export { ClickableTile, ClickableTileIconDirective, ExpandableTile, ExpandableTileAboveFoldDirective, ExpandableTileBelowFoldDirective, SelectionTile, Tile, TileGroup, TilesModule };
758
779
  //# sourceMappingURL=carbon-components-angular-tiles.mjs.map