@carbon/web-components 2.46.0 → 2.47.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 (548) hide show
  1. package/custom-elements.json +89 -20
  2. package/es/components/ai-label/ai-label.d.ts +1 -1
  3. package/es/components/ai-label/ai-label.js +11 -2
  4. package/es/components/ai-label/ai-label.js.map +1 -1
  5. package/es/components/ai-label/ai-label.scss.js +1 -1
  6. package/es/components/ai-skeleton/ai-skeleton.scss.js +1 -1
  7. package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts +1 -1
  8. package/es/components/breadcrumb/breadcrumb-overflow-menu.js +7 -3
  9. package/es/components/breadcrumb/breadcrumb-overflow-menu.js.map +1 -1
  10. package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
  11. package/es/components/button/button.scss.js +1 -1
  12. package/es/components/chat-button/chat-button-skeleton.d.ts +1 -1
  13. package/es/components/chat-button/chat-button-skeleton.js +6 -2
  14. package/es/components/chat-button/chat-button-skeleton.js.map +1 -1
  15. package/es/components/chat-button/chat-button.d.ts +1 -1
  16. package/es/components/chat-button/chat-button.js +6 -2
  17. package/es/components/chat-button/chat-button.js.map +1 -1
  18. package/es/components/chat-button/chat-button.scss.js +1 -1
  19. package/es/components/code-snippet/code-snippet.scss.js +1 -1
  20. package/es/components/combo-box/combo-box.d.ts +5 -1
  21. package/es/components/combo-box/combo-box.js +27 -3
  22. package/es/components/combo-box/combo-box.js.map +1 -1
  23. package/es/components/combo-box/combo-box.scss.js +1 -1
  24. package/es/components/copy/copy.d.ts +1 -1
  25. package/es/components/copy/copy.js +1 -2
  26. package/es/components/copy/copy.js.map +1 -1
  27. package/es/components/copy-button/copy-button.scss.js +1 -1
  28. package/es/components/data-table/data-table.scss.js +1 -1
  29. package/es/components/date-picker/range-plugin.d.ts +1 -1
  30. package/es/components/date-picker/range-plugin.js +1 -3
  31. package/es/components/date-picker/range-plugin.js.map +1 -1
  32. package/es/components/dropdown/dropdown.d.ts +3 -3
  33. package/es/components/dropdown/dropdown.js +1 -3
  34. package/es/components/dropdown/dropdown.js.map +1 -1
  35. package/es/components/dropdown/dropdown.scss.js +1 -1
  36. package/es/components/fluid-number-input/fluid-number-input.scss.js +1 -1
  37. package/es/components/fluid-search/fluid-search.scss.js +1 -1
  38. package/es/components/fluid-text-input/fluid-text-input.scss.js +1 -1
  39. package/es/components/grid/column-hang.d.ts +0 -2
  40. package/es/components/grid/column-hang.js +0 -2
  41. package/es/components/grid/column-hang.js.map +1 -1
  42. package/es/components/grid/column.d.ts +0 -2
  43. package/es/components/grid/column.js +0 -2
  44. package/es/components/grid/column.js.map +1 -1
  45. package/es/components/grid/grid.d.ts +0 -2
  46. package/es/components/grid/grid.js +0 -2
  47. package/es/components/grid/grid.js.map +1 -1
  48. package/es/components/grid/index.d.ts +0 -2
  49. package/es/components/icon-button/icon-button.d.ts +1 -1
  50. package/es/components/icon-button/icon-button.js +12 -3
  51. package/es/components/icon-button/icon-button.js.map +1 -1
  52. package/es/components/icon-button/icon-button.scss.js +2 -2
  53. package/es/components/menu/menu-context.d.ts +3 -2
  54. package/es/components/menu/menu-context.js +1 -1
  55. package/es/components/menu/menu-context.js.map +1 -1
  56. package/es/components/menu/menu.d.ts +3 -2
  57. package/es/components/menu/menu.js +5 -4
  58. package/es/components/menu/menu.js.map +1 -1
  59. package/es/components/menu/menu.scss.js +1 -1
  60. package/es/components/modal/modal-body.d.ts +3 -1
  61. package/es/components/modal/modal-body.js +17 -1
  62. package/es/components/modal/modal-body.js.map +1 -1
  63. package/es/components/modal/modal-close-button.d.ts +2 -1
  64. package/es/components/modal/modal-close-button.js +11 -5
  65. package/es/components/modal/modal-close-button.js.map +1 -1
  66. package/es/components/modal/modal.d.ts +67 -2
  67. package/es/components/modal/modal.js +228 -8
  68. package/es/components/modal/modal.js.map +1 -1
  69. package/es/components/modal/modal.scss.js +1 -1
  70. package/es/components/multi-select/multi-select.d.ts +2 -2
  71. package/es/components/multi-select/multi-select.js +8 -4
  72. package/es/components/multi-select/multi-select.js.map +1 -1
  73. package/es/components/multi-select/multi-select.scss.js +1 -1
  74. package/es/components/notification/actionable-notification.js +8 -1
  75. package/es/components/notification/actionable-notification.js.map +1 -1
  76. package/es/components/notification/actionable-notification.scss.js +1 -1
  77. package/es/components/notification/inline-notification.scss.js +1 -1
  78. package/es/components/notification/toast-notification.scss.js +1 -1
  79. package/es/components/overflow-menu/overflow-menu.d.ts +0 -1
  80. package/es/components/overflow-menu/overflow-menu.js +3 -2
  81. package/es/components/overflow-menu/overflow-menu.js.map +1 -1
  82. package/es/components/page-header/index.d.ts +0 -2
  83. package/es/components/page-header/page-header-breadcrumb.d.ts +0 -2
  84. package/es/components/page-header/page-header-breadcrumb.js +0 -2
  85. package/es/components/page-header/page-header-breadcrumb.js.map +1 -1
  86. package/es/components/page-header/page-header-content-text.d.ts +0 -2
  87. package/es/components/page-header/page-header-content-text.js +0 -2
  88. package/es/components/page-header/page-header-content-text.js.map +1 -1
  89. package/es/components/page-header/page-header-content.d.ts +0 -2
  90. package/es/components/page-header/page-header-content.js +0 -2
  91. package/es/components/page-header/page-header-content.js.map +1 -1
  92. package/es/components/page-header/page-header-hero-image.d.ts +0 -2
  93. package/es/components/page-header/page-header-hero-image.js +0 -2
  94. package/es/components/page-header/page-header-hero-image.js.map +1 -1
  95. package/es/components/page-header/page-header-tabs.d.ts +0 -2
  96. package/es/components/page-header/page-header-tabs.js +0 -2
  97. package/es/components/page-header/page-header-tabs.js.map +1 -1
  98. package/es/components/page-header/page-header.d.ts +0 -2
  99. package/es/components/page-header/page-header.js +0 -2
  100. package/es/components/page-header/page-header.js.map +1 -1
  101. package/es/components/pagination/pagination.js +7 -4
  102. package/es/components/pagination/pagination.js.map +1 -1
  103. package/es/components/password-input/password-input.scss.js +1 -1
  104. package/es/components/popover/popover-content.js +2 -2
  105. package/es/components/popover/popover-content.js.map +1 -1
  106. package/es/components/popover/popover.d.ts +7 -1
  107. package/es/components/popover/popover.js +54 -3
  108. package/es/components/popover/popover.js.map +1 -1
  109. package/es/components/popover/popover.scss.js +2 -2
  110. package/es/components/search/search.scss.js +1 -1
  111. package/es/components/slider/slider.scss.js +1 -1
  112. package/es/components/slug/slug.d.ts +1 -1
  113. package/es/components/slug/slug.js +11 -2
  114. package/es/components/slug/slug.js.map +1 -1
  115. package/es/components/slug/slug.scss.js +1 -1
  116. package/es/components/tabs/defs.d.ts +4 -0
  117. package/es/components/tabs/defs.js +4 -0
  118. package/es/components/tabs/defs.js.map +1 -1
  119. package/es/components/tabs/tabs.d.ts +2 -4
  120. package/es/components/tabs/tabs.js +37 -8
  121. package/es/components/tabs/tabs.js.map +1 -1
  122. package/es/components/tabs/tabs.scss.js +1 -1
  123. package/es/components/tag/dismissible-tag.d.ts +0 -2
  124. package/es/components/tag/dismissible-tag.js +0 -2
  125. package/es/components/tag/dismissible-tag.js.map +1 -1
  126. package/es/components/tag/operational-tag.d.ts +0 -2
  127. package/es/components/tag/operational-tag.js +0 -2
  128. package/es/components/tag/operational-tag.js.map +1 -1
  129. package/es/components/tag/selectable-tag.d.ts +0 -2
  130. package/es/components/tag/selectable-tag.js +0 -2
  131. package/es/components/tag/selectable-tag.js.map +1 -1
  132. package/es/components/tag/tag-skeleton.d.ts +0 -2
  133. package/es/components/tag/tag-skeleton.js +0 -2
  134. package/es/components/tag/tag-skeleton.js.map +1 -1
  135. package/es/components/text-input/text-input.scss.js +1 -1
  136. package/es/components/tile/tile.scss.js +1 -1
  137. package/es/components/time-picker/time-picker.scss.js +1 -1
  138. package/es/components/toggle-tip/toggletip.d.ts +0 -1
  139. package/es/components/toggle-tip/toggletip.js +4 -3
  140. package/es/components/toggle-tip/toggletip.js.map +1 -1
  141. package/es/components/toggle-tip/toggletip.scss.js +2 -2
  142. package/es/components/tooltip/definition-tooltip.js +5 -3
  143. package/es/components/tooltip/definition-tooltip.js.map +1 -1
  144. package/es/components/tooltip/tooltip-content.d.ts +0 -7
  145. package/es/components/tooltip/tooltip-content.js +4 -8
  146. package/es/components/tooltip/tooltip-content.js.map +1 -1
  147. package/es/components/tooltip/tooltip.d.ts +0 -1
  148. package/es/components/tooltip/tooltip.js +4 -7
  149. package/es/components/tooltip/tooltip.js.map +1 -1
  150. package/es/components/tooltip/tooltip.scss.js +2 -2
  151. package/es/components/tree-view/defs.d.ts +0 -2
  152. package/es/components/tree-view/defs.js +0 -2
  153. package/es/components/tree-view/defs.js.map +1 -1
  154. package/es/components/tree-view/index.d.ts +0 -2
  155. package/es/components/tree-view/tree-node.d.ts +0 -2
  156. package/es/components/tree-view/tree-node.js +0 -2
  157. package/es/components/tree-view/tree-node.js.map +1 -1
  158. package/es/components/tree-view/tree-view.d.ts +0 -2
  159. package/es/components/tree-view/tree-view.js +0 -2
  160. package/es/components/tree-view/tree-view.js.map +1 -1
  161. package/es/components/tree-view/tree-view.scss.js +1 -1
  162. package/es/components/ui-shell/header-global-action.d.ts +1 -1
  163. package/es/components/ui-shell/header-global-action.js +16 -2
  164. package/es/components/ui-shell/header-global-action.js.map +1 -1
  165. package/es/components/ui-shell/header-name.js +1 -1
  166. package/es/components/ui-shell/header-name.js.map +1 -1
  167. package/es/components/ui-shell/side-nav-menu-item.d.ts +4 -0
  168. package/es/components/ui-shell/side-nav-menu-item.js +10 -2
  169. package/es/components/ui-shell/side-nav-menu-item.js.map +1 -1
  170. package/es/globals/controllers/floating-controller.d.ts +1 -1
  171. package/es/globals/controllers/floating-controller.js +34 -30
  172. package/es/globals/controllers/floating-controller.js.map +1 -1
  173. package/es/globals/decorators/carbon-element.d.ts +5 -4
  174. package/es/globals/decorators/carbon-element.js +1 -1
  175. package/es/globals/decorators/carbon-element.js.map +1 -1
  176. package/es-custom/components/ai-label/ai-label.d.ts +1 -1
  177. package/es-custom/components/ai-label/ai-label.js +11 -2
  178. package/es-custom/components/ai-label/ai-label.js.map +1 -1
  179. package/es-custom/components/ai-label/ai-label.scss.js +1 -1
  180. package/es-custom/components/ai-skeleton/ai-skeleton.scss.js +1 -1
  181. package/es-custom/components/breadcrumb/breadcrumb-overflow-menu.d.ts +1 -1
  182. package/es-custom/components/breadcrumb/breadcrumb-overflow-menu.js +7 -3
  183. package/es-custom/components/breadcrumb/breadcrumb-overflow-menu.js.map +1 -1
  184. package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
  185. package/es-custom/components/button/button.scss.js +1 -1
  186. package/es-custom/components/chat-button/chat-button-skeleton.d.ts +1 -1
  187. package/es-custom/components/chat-button/chat-button-skeleton.js +6 -2
  188. package/es-custom/components/chat-button/chat-button-skeleton.js.map +1 -1
  189. package/es-custom/components/chat-button/chat-button.d.ts +1 -1
  190. package/es-custom/components/chat-button/chat-button.js +6 -2
  191. package/es-custom/components/chat-button/chat-button.js.map +1 -1
  192. package/es-custom/components/chat-button/chat-button.scss.js +1 -1
  193. package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
  194. package/es-custom/components/combo-box/combo-box.d.ts +5 -1
  195. package/es-custom/components/combo-box/combo-box.js +27 -3
  196. package/es-custom/components/combo-box/combo-box.js.map +1 -1
  197. package/es-custom/components/combo-box/combo-box.scss.js +1 -1
  198. package/es-custom/components/copy/copy.d.ts +1 -1
  199. package/es-custom/components/copy/copy.js +1 -2
  200. package/es-custom/components/copy/copy.js.map +1 -1
  201. package/es-custom/components/copy-button/copy-button.scss.js +1 -1
  202. package/es-custom/components/data-table/data-table.scss.js +1 -1
  203. package/es-custom/components/date-picker/range-plugin.d.ts +1 -1
  204. package/es-custom/components/date-picker/range-plugin.js +1 -3
  205. package/es-custom/components/date-picker/range-plugin.js.map +1 -1
  206. package/es-custom/components/dropdown/dropdown.d.ts +3 -3
  207. package/es-custom/components/dropdown/dropdown.js +1 -3
  208. package/es-custom/components/dropdown/dropdown.js.map +1 -1
  209. package/es-custom/components/dropdown/dropdown.scss.js +1 -1
  210. package/es-custom/components/fluid-number-input/fluid-number-input.scss.js +1 -1
  211. package/es-custom/components/fluid-search/fluid-search.scss.js +1 -1
  212. package/es-custom/components/fluid-text-input/fluid-text-input.scss.js +1 -1
  213. package/es-custom/components/grid/column-hang.d.ts +0 -2
  214. package/es-custom/components/grid/column-hang.js +0 -2
  215. package/es-custom/components/grid/column-hang.js.map +1 -1
  216. package/es-custom/components/grid/column.d.ts +0 -2
  217. package/es-custom/components/grid/column.js +0 -2
  218. package/es-custom/components/grid/column.js.map +1 -1
  219. package/es-custom/components/grid/grid.d.ts +0 -2
  220. package/es-custom/components/grid/grid.js +0 -2
  221. package/es-custom/components/grid/grid.js.map +1 -1
  222. package/es-custom/components/grid/index.d.ts +0 -2
  223. package/es-custom/components/icon-button/icon-button.d.ts +1 -1
  224. package/es-custom/components/icon-button/icon-button.js +12 -3
  225. package/es-custom/components/icon-button/icon-button.js.map +1 -1
  226. package/es-custom/components/icon-button/icon-button.scss.js +2 -2
  227. package/es-custom/components/menu/menu-context.d.ts +3 -2
  228. package/es-custom/components/menu/menu-context.js +1 -1
  229. package/es-custom/components/menu/menu-context.js.map +1 -1
  230. package/es-custom/components/menu/menu.d.ts +3 -2
  231. package/es-custom/components/menu/menu.js +5 -4
  232. package/es-custom/components/menu/menu.js.map +1 -1
  233. package/es-custom/components/menu/menu.scss.js +1 -1
  234. package/es-custom/components/modal/modal-body.d.ts +3 -1
  235. package/es-custom/components/modal/modal-body.js +17 -1
  236. package/es-custom/components/modal/modal-body.js.map +1 -1
  237. package/es-custom/components/modal/modal-close-button.d.ts +2 -1
  238. package/es-custom/components/modal/modal-close-button.js +11 -5
  239. package/es-custom/components/modal/modal-close-button.js.map +1 -1
  240. package/es-custom/components/modal/modal.d.ts +67 -2
  241. package/es-custom/components/modal/modal.js +228 -8
  242. package/es-custom/components/modal/modal.js.map +1 -1
  243. package/es-custom/components/modal/modal.scss.js +1 -1
  244. package/es-custom/components/multi-select/multi-select.d.ts +2 -2
  245. package/es-custom/components/multi-select/multi-select.js +8 -4
  246. package/es-custom/components/multi-select/multi-select.js.map +1 -1
  247. package/es-custom/components/multi-select/multi-select.scss.js +1 -1
  248. package/es-custom/components/notification/actionable-notification.js +8 -1
  249. package/es-custom/components/notification/actionable-notification.js.map +1 -1
  250. package/es-custom/components/notification/actionable-notification.scss.js +1 -1
  251. package/es-custom/components/notification/inline-notification.scss.js +1 -1
  252. package/es-custom/components/notification/toast-notification.scss.js +1 -1
  253. package/es-custom/components/overflow-menu/overflow-menu.d.ts +0 -1
  254. package/es-custom/components/overflow-menu/overflow-menu.js +3 -2
  255. package/es-custom/components/overflow-menu/overflow-menu.js.map +1 -1
  256. package/es-custom/components/page-header/index.d.ts +0 -2
  257. package/es-custom/components/page-header/page-header-breadcrumb.d.ts +0 -2
  258. package/es-custom/components/page-header/page-header-breadcrumb.js +0 -2
  259. package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -1
  260. package/es-custom/components/page-header/page-header-content-text.d.ts +0 -2
  261. package/es-custom/components/page-header/page-header-content-text.js +0 -2
  262. package/es-custom/components/page-header/page-header-content-text.js.map +1 -1
  263. package/es-custom/components/page-header/page-header-content.d.ts +0 -2
  264. package/es-custom/components/page-header/page-header-content.js +0 -2
  265. package/es-custom/components/page-header/page-header-content.js.map +1 -1
  266. package/es-custom/components/page-header/page-header-hero-image.d.ts +0 -2
  267. package/es-custom/components/page-header/page-header-hero-image.js +0 -2
  268. package/es-custom/components/page-header/page-header-hero-image.js.map +1 -1
  269. package/es-custom/components/page-header/page-header-tabs.d.ts +0 -2
  270. package/es-custom/components/page-header/page-header-tabs.js +0 -2
  271. package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
  272. package/es-custom/components/page-header/page-header.d.ts +0 -2
  273. package/es-custom/components/page-header/page-header.js +0 -2
  274. package/es-custom/components/page-header/page-header.js.map +1 -1
  275. package/es-custom/components/pagination/pagination.js +7 -4
  276. package/es-custom/components/pagination/pagination.js.map +1 -1
  277. package/es-custom/components/password-input/password-input.scss.js +1 -1
  278. package/es-custom/components/popover/popover-content.js +2 -2
  279. package/es-custom/components/popover/popover-content.js.map +1 -1
  280. package/es-custom/components/popover/popover.d.ts +7 -1
  281. package/es-custom/components/popover/popover.js +54 -3
  282. package/es-custom/components/popover/popover.js.map +1 -1
  283. package/es-custom/components/popover/popover.scss.js +2 -2
  284. package/es-custom/components/search/search.scss.js +1 -1
  285. package/es-custom/components/slider/slider.scss.js +1 -1
  286. package/es-custom/components/slug/slug.d.ts +1 -1
  287. package/es-custom/components/slug/slug.js +11 -2
  288. package/es-custom/components/slug/slug.js.map +1 -1
  289. package/es-custom/components/slug/slug.scss.js +1 -1
  290. package/es-custom/components/tabs/defs.d.ts +4 -0
  291. package/es-custom/components/tabs/defs.js +4 -0
  292. package/es-custom/components/tabs/defs.js.map +1 -1
  293. package/es-custom/components/tabs/tabs.d.ts +2 -4
  294. package/es-custom/components/tabs/tabs.js +37 -8
  295. package/es-custom/components/tabs/tabs.js.map +1 -1
  296. package/es-custom/components/tabs/tabs.scss.js +1 -1
  297. package/es-custom/components/tag/dismissible-tag.d.ts +0 -2
  298. package/es-custom/components/tag/dismissible-tag.js +0 -2
  299. package/es-custom/components/tag/dismissible-tag.js.map +1 -1
  300. package/es-custom/components/tag/operational-tag.d.ts +0 -2
  301. package/es-custom/components/tag/operational-tag.js +0 -2
  302. package/es-custom/components/tag/operational-tag.js.map +1 -1
  303. package/es-custom/components/tag/selectable-tag.d.ts +0 -2
  304. package/es-custom/components/tag/selectable-tag.js +0 -2
  305. package/es-custom/components/tag/selectable-tag.js.map +1 -1
  306. package/es-custom/components/tag/tag-skeleton.d.ts +0 -2
  307. package/es-custom/components/tag/tag-skeleton.js +0 -2
  308. package/es-custom/components/tag/tag-skeleton.js.map +1 -1
  309. package/es-custom/components/text-input/text-input.scss.js +1 -1
  310. package/es-custom/components/tile/tile.scss.js +1 -1
  311. package/es-custom/components/time-picker/time-picker.scss.js +1 -1
  312. package/es-custom/components/toggle-tip/toggletip.d.ts +0 -1
  313. package/es-custom/components/toggle-tip/toggletip.js +4 -3
  314. package/es-custom/components/toggle-tip/toggletip.js.map +1 -1
  315. package/es-custom/components/toggle-tip/toggletip.scss.js +2 -2
  316. package/es-custom/components/tooltip/definition-tooltip.js +5 -3
  317. package/es-custom/components/tooltip/definition-tooltip.js.map +1 -1
  318. package/es-custom/components/tooltip/tooltip-content.d.ts +0 -7
  319. package/es-custom/components/tooltip/tooltip-content.js +4 -8
  320. package/es-custom/components/tooltip/tooltip-content.js.map +1 -1
  321. package/es-custom/components/tooltip/tooltip.d.ts +0 -1
  322. package/es-custom/components/tooltip/tooltip.js +4 -7
  323. package/es-custom/components/tooltip/tooltip.js.map +1 -1
  324. package/es-custom/components/tooltip/tooltip.scss.js +2 -2
  325. package/es-custom/components/tree-view/defs.d.ts +0 -2
  326. package/es-custom/components/tree-view/defs.js +0 -2
  327. package/es-custom/components/tree-view/defs.js.map +1 -1
  328. package/es-custom/components/tree-view/index.d.ts +0 -2
  329. package/es-custom/components/tree-view/tree-node.d.ts +0 -2
  330. package/es-custom/components/tree-view/tree-node.js +0 -2
  331. package/es-custom/components/tree-view/tree-node.js.map +1 -1
  332. package/es-custom/components/tree-view/tree-view.d.ts +0 -2
  333. package/es-custom/components/tree-view/tree-view.js +0 -2
  334. package/es-custom/components/tree-view/tree-view.js.map +1 -1
  335. package/es-custom/components/tree-view/tree-view.scss.js +1 -1
  336. package/es-custom/components/ui-shell/header-global-action.d.ts +1 -1
  337. package/es-custom/components/ui-shell/header-global-action.js +16 -2
  338. package/es-custom/components/ui-shell/header-global-action.js.map +1 -1
  339. package/es-custom/components/ui-shell/header-name.js +1 -1
  340. package/es-custom/components/ui-shell/header-name.js.map +1 -1
  341. package/es-custom/components/ui-shell/side-nav-menu-item.d.ts +4 -0
  342. package/es-custom/components/ui-shell/side-nav-menu-item.js +10 -2
  343. package/es-custom/components/ui-shell/side-nav-menu-item.js.map +1 -1
  344. package/es-custom/globals/controllers/floating-controller.d.ts +1 -1
  345. package/es-custom/globals/controllers/floating-controller.js +34 -30
  346. package/es-custom/globals/controllers/floating-controller.js.map +1 -1
  347. package/es-custom/globals/decorators/carbon-element.d.ts +5 -4
  348. package/es-custom/globals/decorators/carbon-element.js +1 -1
  349. package/es-custom/globals/decorators/carbon-element.js.map +1 -1
  350. package/lib/components/ai-label/ai-label.d.ts +1 -1
  351. package/lib/components/breadcrumb/breadcrumb-overflow-menu.d.ts +1 -1
  352. package/lib/components/chat-button/chat-button-skeleton.d.ts +1 -1
  353. package/lib/components/chat-button/chat-button.d.ts +1 -1
  354. package/lib/components/combo-box/combo-box.d.ts +5 -1
  355. package/lib/components/copy/copy.d.ts +1 -1
  356. package/lib/components/date-picker/range-plugin.d.ts +1 -1
  357. package/lib/components/dropdown/dropdown.d.ts +3 -3
  358. package/lib/components/grid/column-hang.d.ts +0 -2
  359. package/lib/components/grid/column.d.ts +0 -2
  360. package/lib/components/grid/grid.d.ts +0 -2
  361. package/lib/components/grid/index.d.ts +0 -2
  362. package/lib/components/icon-button/icon-button.d.ts +1 -1
  363. package/lib/components/menu/menu-context.d.ts +3 -2
  364. package/lib/components/menu/menu.d.ts +3 -2
  365. package/lib/components/modal/modal-body.d.ts +3 -1
  366. package/lib/components/modal/modal-close-button.d.ts +2 -1
  367. package/lib/components/modal/modal.d.ts +67 -2
  368. package/lib/components/multi-select/multi-select.d.ts +2 -2
  369. package/lib/components/overflow-menu/overflow-menu.d.ts +0 -1
  370. package/lib/components/page-header/index.d.ts +0 -2
  371. package/lib/components/page-header/page-header-breadcrumb.d.ts +0 -2
  372. package/lib/components/page-header/page-header-content-text.d.ts +0 -2
  373. package/lib/components/page-header/page-header-content.d.ts +0 -2
  374. package/lib/components/page-header/page-header-hero-image.d.ts +0 -2
  375. package/lib/components/page-header/page-header-tabs.d.ts +0 -2
  376. package/lib/components/page-header/page-header.d.ts +0 -2
  377. package/lib/components/popover/popover.d.ts +7 -1
  378. package/lib/components/slug/slug.d.ts +1 -1
  379. package/lib/components/tabs/defs.d.ts +4 -0
  380. package/lib/components/tabs/defs.js +4 -0
  381. package/lib/components/tabs/defs.js.map +1 -1
  382. package/lib/components/tabs/tabs.d.ts +2 -4
  383. package/lib/components/tag/dismissible-tag.d.ts +0 -2
  384. package/lib/components/tag/operational-tag.d.ts +0 -2
  385. package/lib/components/tag/selectable-tag.d.ts +0 -2
  386. package/lib/components/tag/tag-skeleton.d.ts +0 -2
  387. package/lib/components/toggle-tip/toggletip.d.ts +0 -1
  388. package/lib/components/tooltip/tooltip-content.d.ts +0 -7
  389. package/lib/components/tooltip/tooltip.d.ts +0 -1
  390. package/lib/components/tree-view/defs.d.ts +0 -2
  391. package/lib/components/tree-view/defs.js +0 -2
  392. package/lib/components/tree-view/defs.js.map +1 -1
  393. package/lib/components/tree-view/index.d.ts +0 -2
  394. package/lib/components/tree-view/tree-node.d.ts +0 -2
  395. package/lib/components/tree-view/tree-view.d.ts +0 -2
  396. package/lib/components/ui-shell/header-global-action.d.ts +1 -1
  397. package/lib/components/ui-shell/side-nav-menu-item.d.ts +4 -0
  398. package/lib/globals/controllers/floating-controller.d.ts +1 -1
  399. package/lib/globals/controllers/floating-controller.js +34 -30
  400. package/lib/globals/controllers/floating-controller.js.map +1 -1
  401. package/lib/globals/decorators/carbon-element.d.ts +5 -4
  402. package/package.json +7 -9
  403. package/scss/components/ai-label/ai-label.scss +11 -12
  404. package/scss/components/ai-skeleton/ai-skeleton.scss +1 -3
  405. package/scss/components/breadcrumb/breadcrumb.scss +0 -1
  406. package/scss/components/button/button.scss +0 -2
  407. package/scss/components/chat-button/chat-button.scss +0 -1
  408. package/scss/components/icon-button/icon-button.scss +0 -2
  409. package/scss/components/menu/menu.scss +11 -2
  410. package/scss/components/modal/modal.scss +27 -7
  411. package/scss/components/multi-select/multi-select.scss +2 -2
  412. package/scss/components/notification/actionable-notification.scss +42 -128
  413. package/scss/components/notification/inline-notification.scss +17 -69
  414. package/scss/components/notification/toast-notification.scss +16 -37
  415. package/scss/components/popover/popover.scss +4 -4
  416. package/scss/components/slug/slug.scss +11 -12
  417. package/scss/components/tabs/tabs.scss +7 -0
  418. package/scss/components/tile/tile.scss +1 -1
  419. package/scss/components/toggle-tip/toggletip.scss +0 -2
  420. package/scss/components/tooltip/tooltip.scss +0 -1
  421. package/telemetry.yml +11 -0
  422. package/dist/16-BXPirV4t.js +0 -28
  423. package/dist/16-BcPXq4VE.js +0 -28
  424. package/dist/16-BiojhJb6.js +0 -28
  425. package/dist/16-BirbARgt.js +0 -28
  426. package/dist/16-CCrV-EKs.js +0 -28
  427. package/dist/16-CNObEOvs.js +0 -28
  428. package/dist/16-CsHohlYG.js +0 -28
  429. package/dist/16-D9rqeJJl.js +0 -28
  430. package/dist/16-DEZ8LNs3.js +0 -28
  431. package/dist/16-DThcsE9v.js +0 -28
  432. package/dist/16-T0hLy__N.js +0 -28
  433. package/dist/16-mUGLFymm.js +0 -28
  434. package/dist/20-BSzLZNRY.js +0 -28
  435. package/dist/20-ZHgmfbqd.js +0 -28
  436. package/dist/accordion.min.js +0 -72
  437. package/dist/ai-label.min.js +0 -54
  438. package/dist/ai-skeleton.min.js +0 -37
  439. package/dist/badge-indicator.min.js +0 -28
  440. package/dist/breadcrumb.min.js +0 -46
  441. package/dist/button-3n7S6dfU.js +0 -94
  442. package/dist/button-skeleton-DE9AxBek.js +0 -48
  443. package/dist/button.min.js +0 -28
  444. package/dist/carbon-element-tFMTVffV.js +0 -28
  445. package/dist/chat-button.min.js +0 -40
  446. package/dist/checkbox-CFU6bnOa.js +0 -67
  447. package/dist/checkbox.min.js +0 -64
  448. package/dist/class-map-BLvVLLRH.js +0 -33
  449. package/dist/code-snippet.min.js +0 -85
  450. package/dist/collection-helpers-C8K_t6zj.js +0 -28
  451. package/dist/combo-box.min.js +0 -65
  452. package/dist/combo-button.min.js +0 -42
  453. package/dist/consume-DNv3sWri.js +0 -64
  454. package/dist/contained-list.min.js +0 -70
  455. package/dist/content-switcher-item-CXc-BbRX.js +0 -54
  456. package/dist/content-switcher.min.js +0 -28
  457. package/dist/copy-button.min.js +0 -44
  458. package/dist/data-table.min.js +0 -185
  459. package/dist/date-picker.min.js +0 -89
  460. package/dist/defs-CcLNpvSO.js +0 -28
  461. package/dist/directive-CwpJ03IP.js +0 -33
  462. package/dist/dropdown-item-CSXYY4Up.js +0 -100
  463. package/dist/dropdown.min.js +0 -31
  464. package/dist/feature-flags.min.js +0 -28
  465. package/dist/file-uploader.min.js +0 -106
  466. package/dist/floating-controller-ClaZwDaj.js +0 -28
  467. package/dist/floating-menu.min.js +0 -28
  468. package/dist/fluid-number-input.min.js +0 -28
  469. package/dist/fluid-search.min.js +0 -33
  470. package/dist/fluid-select.min.js +0 -30
  471. package/dist/fluid-text-input.min.js +0 -28
  472. package/dist/fluid-textarea.min.js +0 -36
  473. package/dist/focus-DCv16lgz.js +0 -28
  474. package/dist/form-D0wM2t2A.js +0 -28
  475. package/dist/form-group.min.js +0 -39
  476. package/dist/form.min.js +0 -30
  477. package/dist/grid.min.js +0 -60
  478. package/dist/heading.min.js +0 -33
  479. package/dist/host-listener-BFnrKETa.js +0 -28
  480. package/dist/host-listener-maKckXVl.js +0 -28
  481. package/dist/icon-button.min.js +0 -42
  482. package/dist/icon-indicator.min.js +0 -28
  483. package/dist/icon-loader-BiaaiIZd.js +0 -28
  484. package/dist/icon-loader-utils-Dw7YsY3n.js +0 -33
  485. package/dist/icon.min.js +0 -28
  486. package/dist/if-defined-B342gMhK.js +0 -33
  487. package/dist/if-non-empty-BXM4sQkm.js +0 -28
  488. package/dist/inline-loading.min.js +0 -39
  489. package/dist/layer.min.js +0 -28
  490. package/dist/link.min.js +0 -52
  491. package/dist/list.min.js +0 -39
  492. package/dist/lit-element-W7dQy3wx.js +0 -50
  493. package/dist/loading-icon-9dSwtpx9.js +0 -43
  494. package/dist/loading.min.js +0 -28
  495. package/dist/menu-button.min.js +0 -37
  496. package/dist/menu.min.js +0 -80
  497. package/dist/modal.min.js +0 -49
  498. package/dist/multi-select.min.js +0 -90
  499. package/dist/notification.min.js +0 -116
  500. package/dist/number-input.min.js +0 -103
  501. package/dist/on-Bh72-1o0.js +0 -28
  502. package/dist/overflow-menu.min.js +0 -49
  503. package/dist/page-header.min.js +0 -142
  504. package/dist/pagination.min.js +0 -104
  505. package/dist/password-input.min.js +0 -93
  506. package/dist/popover.min.js +0 -42
  507. package/dist/progress-bar.min.js +0 -49
  508. package/dist/progress-indicator.min.js +0 -62
  509. package/dist/property-D8KHfsO7.js +0 -33
  510. package/dist/query-DZZk85FD.js +0 -38
  511. package/dist/query-assigned-elements-CuK851Xm.js +0 -33
  512. package/dist/radio-button.min.js +0 -71
  513. package/dist/radio-group-manager-BbeUxJeN.js +0 -28
  514. package/dist/search-BpfBrZ_q.js +0 -58
  515. package/dist/search.min.js +0 -31
  516. package/dist/select-Bu-C3DEh.js +0 -109
  517. package/dist/select-item-CY7ZCgDO.js +0 -28
  518. package/dist/select-skeleton-Bj1W9rv-.js +0 -31
  519. package/dist/select.min.js +0 -28
  520. package/dist/settings-CVGvqY8T.js +0 -28
  521. package/dist/shape-indicator.min.js +0 -28
  522. package/dist/shared-enums-D2BNx9-N.js +0 -28
  523. package/dist/side-panel.min.js +0 -160
  524. package/dist/skeleton-icon.min.js +0 -28
  525. package/dist/skeleton-placeholder.min.js +0 -28
  526. package/dist/skeleton-text.min.js +0 -28
  527. package/dist/skip-to-content.min.js +0 -32
  528. package/dist/slider.min.js +0 -273
  529. package/dist/slug.min.js +0 -54
  530. package/dist/stack.min.js +0 -28
  531. package/dist/state-DVnprZ3A.js +0 -33
  532. package/dist/structured-list.min.js +0 -46
  533. package/dist/tabs.min.js +0 -85
  534. package/dist/tag.min.js +0 -155
  535. package/dist/tearsheet.min.js +0 -141
  536. package/dist/text-input-CMLDDQcE.js +0 -95
  537. package/dist/text-input.min.js +0 -31
  538. package/dist/textarea.min.js +0 -84
  539. package/dist/tile.min.js +0 -101
  540. package/dist/time-picker.min.js +0 -79
  541. package/dist/toggle-tip.min.js +0 -73
  542. package/dist/toggle.min.js +0 -63
  543. package/dist/tooltip-content-eYgOs_c2.js +0 -30
  544. package/dist/tooltip.min.js +0 -50
  545. package/dist/tree-view.min.js +0 -127
  546. package/dist/ui-shell.min.js +0 -156
  547. package/dist/unsafe-html-SGvBIOsG.js +0 -33
  548. package/dist/validity-CzCNnEZK.js +0 -28
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2019, 2024
2
+ // Copyright IBM Corp. 2019, 2026
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -16,6 +16,7 @@
16
16
  @use '@carbon/styles/scss/utilities/ai-gradient' as *;
17
17
  @use '@carbon/styles/scss/components/modal' as *;
18
18
  @use '@carbon/styles/scss/components/button' as *;
19
+ @use '@carbon/styles/scss/utilities/focus-outline' as *;
19
20
 
20
21
  :host(#{$prefix}-modal[open]) {
21
22
  @extend .#{$prefix}--modal;
@@ -53,11 +54,15 @@
53
54
  }
54
55
  }
55
56
 
56
- :host(#{$prefix}-modal[has-scrolling-content])
57
- ::slotted(#{$prefix}-modal-body) {
57
+ :host(#{$prefix}-modal[has-scrolling-content]) ::slotted(#{$prefix}-modal-body),
58
+ :host(#{$prefix}-modal) ::slotted(#{$prefix}-modal-body[is-scrollable]) {
58
59
  @extend .#{$prefix}--modal-scroll-content;
59
60
  }
60
61
 
62
+ :host(#{$prefix}-modal) ::slotted(#{$prefix}-modal-body[no-fade]) {
63
+ @extend .#{$prefix}--modal-scroll-content--no-fade;
64
+ }
65
+
61
66
  :host(#{$prefix}-modal-header) {
62
67
  @extend .#{$prefix}--modal-header;
63
68
  }
@@ -68,6 +73,10 @@
68
73
  outline: none;
69
74
  }
70
75
 
76
+ :host(#{$prefix}-modal-close-button) #{$prefix}-icon-button::part(button) {
77
+ border-width: 2px;
78
+ }
79
+
71
80
  :host(#{$prefix}-modal-heading),
72
81
  :host(#{$prefix}-modal-label) {
73
82
  display: block;
@@ -92,10 +101,10 @@
92
101
  ::slotted(#{$prefix}-select:last-of-type) {
93
102
  padding-block-end: 0;
94
103
  }
104
+ }
95
105
 
96
- ::slotted(*:last-child) {
97
- padding-block-end: $spacing-07;
98
- }
106
+ :host(#{$prefix}-modal-body:focus) {
107
+ @include focus-outline('outline');
99
108
  }
100
109
 
101
110
  :host(#{$prefix}-modal-body-content) {
@@ -119,6 +128,10 @@
119
128
  ::slotted(#{$prefix}-modal-footer-button) {
120
129
  flex: 0 1 25%;
121
130
  }
131
+
132
+ ::slotted(#{$prefix}-inline-loading) {
133
+ flex: 0 1 25%;
134
+ }
122
135
  }
123
136
 
124
137
  :host(#{$prefix}-modal-footer-button:first-of-type) .#{$prefix}--btn {
@@ -151,6 +164,13 @@
151
164
  max-inline-size: none;
152
165
  }
153
166
 
167
+ :host(#{$prefix}-modal-footer) ::slotted(#{$prefix}-inline-loading) {
168
+ flex: 0 1 50%;
169
+ cursor: not-allowed;
170
+ padding-block: $spacing-05 $spacing-07;
171
+ padding-inline-start: $spacing-05;
172
+ }
173
+
154
174
  // AI Label
155
175
 
156
176
  :host(#{$prefix}-modal[ai-label]) {
@@ -177,7 +197,7 @@
177
197
  }
178
198
 
179
199
  :host(#{$prefix}-modal[ai-label][has-scrolling-content]) {
180
- ::slotted(#{$prefix}-modal-body) {
200
+ ::slotted(#{$prefix}-modal-body:not([no-fade])) {
181
201
  mask-image: linear-gradient(
182
202
  to bottom,
183
203
  $layer calc(100% - 80px),
@@ -89,7 +89,7 @@ $css--plex: true !default;
89
89
  }
90
90
  }
91
91
 
92
- :host(#{$prefix}-multi-select[invalid]) {
92
+ :host(#{$prefix}-multi-select[invalid]:not([disabled]):not([read-only])) {
93
93
  .#{$prefix}--form__helper-text {
94
94
  color: $text-error;
95
95
  }
@@ -477,7 +477,7 @@ $css--plex: true !default;
477
477
  }
478
478
  }
479
479
 
480
- :host(#{$prefix}-multi-select[warn]) {
480
+ :host(#{$prefix}-multi-select[warn]:not([disabled]):not([read-only])) {
481
481
  .#{$prefix}--form__helper-text {
482
482
  color: $text-primary;
483
483
  }
@@ -12,7 +12,6 @@ $css--plex: true !default;
12
12
  @use '@carbon/styles/scss/theme' as *;
13
13
  @use '@carbon/styles/scss/spacing' as *;
14
14
  @use '@carbon/styles/scss/components/notification/index' as *;
15
- @use '@carbon/styles/scss/components/notification/mixins' as *;
16
15
  @use '@carbon/styles/scss/components/button';
17
16
  @use '@carbon/styles/scss/components/button/mixins' as button-mixins;
18
17
  @use '@carbon/styles/scss/components/button/vars' as button-vars;
@@ -21,7 +20,7 @@ $css--plex: true !default;
21
20
  @include actionable-notification;
22
21
 
23
22
  :host(#{$prefix}-actionable-notification) {
24
- @extend .#{$prefix}--actionable-notification;
23
+ @include actionable-notification-base;
25
24
  @include emit-layout-tokens();
26
25
 
27
26
  display: none;
@@ -90,75 +89,60 @@ $css--plex: true !default;
90
89
  }
91
90
 
92
91
  :host(#{$prefix}-actionable-notification:not([inline])) {
93
- @extend .#{$prefix}--actionable-notification--toast;
92
+ @include actionable-notification-toast-base;
93
+
94
+ .#{$prefix}--actionable-notification__content {
95
+ flex-direction: column;
96
+ }
94
97
  }
95
98
 
96
- :host(#{$prefix}-actionable-notification[inline][low-contrast])::before {
97
- position: absolute;
98
- box-sizing: border-box;
99
- border-width: 1px 1px 1px 0;
100
- border-style: solid;
101
- block-size: 100%;
102
- content: '';
103
- filter: opacity(0.4);
104
- inline-size: 100%;
105
- inset-block-start: 0;
106
- inset-inline-start: 0;
107
- pointer-events: none;
99
+ :host(#{$prefix}-actionable-notification[inline][low-contrast])::before,
100
+ :host(#{$prefix}-callout-notification[inline][low-contrast])::before {
101
+ @include actionable-notification-low-contrast-inline-before;
102
+ }
103
+
104
+ :host(#{$prefix}-actionable-notification[low-contrast]),
105
+ :host(#{$prefix}-callout-notification[low-contrast]) {
106
+ @include actionable-notification-low-contrast-base;
108
107
  }
109
108
 
110
109
  :host(#{$prefix}-actionable-notification[open]) {
111
110
  display: flex;
112
111
  }
113
112
 
113
+ :host(#{$prefix}-actionable-notification:not([inline]))
114
+ .#{$prefix}--actionable-notification__close-button {
115
+ position: absolute;
116
+ }
117
+
114
118
  :host(#{$prefix}-actionable-notification[hide-close-button])
115
119
  .#{$prefix}--actionable-notification__close-button {
116
120
  display: none;
117
121
  }
118
122
 
119
123
  :host(#{$prefix}-actionable-notification[kind='success']) {
120
- @extend .#{$prefix}--actionable-notification--success;
124
+ @include actionable-notification-success-base;
121
125
  }
122
126
 
123
127
  :host(#{$prefix}-actionable-notification[kind='success'][low-contrast]) {
124
- @extend .#{$prefix}--actionable-notification--low-contrast,
125
- .#{$prefix}--actionable-notification--success;
126
-
127
- @include notification--experimental(
128
- $support-success,
129
- $notification-background-success
130
- );
131
-
132
- &::before {
133
- border-color: $support-success;
134
- }
128
+ @include actionable-notification-low-contrast-success;
135
129
  }
136
130
 
137
131
  :host(#{$prefix}-actionable-notification[kind='info']) {
138
- @extend .#{$prefix}--actionable-notification--info;
132
+ @include actionable-notification-info-base;
139
133
  }
140
134
 
141
135
  :host(#{$prefix}-actionable-notification[kind='info-square']) {
142
- @extend .#{$prefix}--actionable-notification--info-square;
136
+ @include actionable-notification-info-base;
143
137
  }
144
138
 
145
139
  :host(#{$prefix}-actionable-notification[kind='info'][low-contrast]),
146
140
  :host(#{$prefix}-actionable-notification[kind='info-square'][low-contrast]) {
147
- @extend .#{$prefix}--actionable-notification--low-contrast,
148
- .#{$prefix}--actionable-notification--info;
149
-
150
- @include notification--experimental(
151
- $support-info,
152
- $notification-background-info
153
- );
154
-
155
- &::before {
156
- border-color: $support-info;
157
- }
141
+ @include actionable-notification-low-contrast-info;
158
142
  }
159
143
 
160
144
  :host(#{$prefix}-actionable-notification[kind='warning']) {
161
- @extend .#{$prefix}--actionable-notification--warning;
145
+ @include actionable-notification-warning-base;
162
146
 
163
147
  /* TODO: Remove this once the following issue with icon fill is resolved:
164
148
  ** https://github.com/carbon-design-system/carbon/issues/13616
@@ -170,7 +154,7 @@ $css--plex: true !default;
170
154
  }
171
155
 
172
156
  :host(#{$prefix}-actionable-notification[kind='warning-alt']) {
173
- @extend .#{$prefix}--actionable-notification--warning-alt;
157
+ @include actionable-notification-warning-base;
174
158
 
175
159
  /* TODO: Remove this once the following issue with icon fill is resolved:
176
160
  ** https://github.com/carbon-design-system/carbon/issues/13616
@@ -186,38 +170,18 @@ $css--plex: true !default;
186
170
 
187
171
  :host(#{$prefix}-actionable-notification[kind='warning'][low-contrast]),
188
172
  :host(#{$prefix}-actionable-notification[kind='warning-alt'][low-contrast]) {
189
- @extend .#{$prefix}--actionable-notification--low-contrast,
190
- .#{$prefix}--actionable-notification--warning;
191
-
192
- @include notification--experimental(
193
- $support-warning,
194
- $notification-background-warning
195
- );
196
-
197
- &::before {
198
- border-color: $support-warning;
199
- }
173
+ @include actionable-notification-low-contrast-warning;
200
174
  }
201
175
 
202
176
  :host(#{$prefix}-actionable-notification[kind='error']) {
203
- @extend .#{$prefix}--actionable-notification--error;
177
+ @include actionable-notification-error-base;
204
178
  }
205
179
 
206
180
  :host(#{$prefix}-actionable-notification[kind='error'][low-contrast]) {
207
- @extend .#{$prefix}--actionable-notification--low-contrast,
208
- .#{$prefix}--actionable-notification--error;
209
-
210
- @include notification--experimental(
211
- $support-error,
212
- $notification-background-error
213
- );
214
-
215
- &::before {
216
- border-color: $support-error;
217
- }
181
+ @include actionable-notification-low-contrast-error;
218
182
  }
219
183
  :host(#{$prefix}-callout-notification) {
220
- @extend .#{$prefix}--actionable-notification;
184
+ @include actionable-notification-base;
221
185
  @include emit-layout-tokens();
222
186
 
223
187
  display: flex;
@@ -229,63 +193,33 @@ $css--plex: true !default;
229
193
  display: none;
230
194
  }
231
195
 
232
- :host(#{$prefix}-callout-notification[low-contrast])::before {
233
- position: absolute;
234
- box-sizing: border-box;
235
- border-width: 1px 1px 1px 0;
236
- border-style: solid;
237
- block-size: 100%;
238
- content: '';
239
- filter: opacity(0.4);
240
- inline-size: 100%;
241
- inset-block-start: 0;
242
- inset-inline-start: 0;
243
- pointer-events: none;
196
+ :host(#{$prefix}-callout-notification[inline][low-contrast])::before {
197
+ @include actionable-notification-low-contrast-inline-before;
244
198
  }
245
199
 
246
200
  :host(#{$prefix}-callout-notification[kind='success']) {
247
- @extend .#{$prefix}--actionable-notification--success;
201
+ @include actionable-notification-success-base;
248
202
  }
249
203
 
250
204
  :host(#{$prefix}-callout-notification[kind='success'][low-contrast]) {
251
- @extend .#{$prefix}--actionable-notification--low-contrast,
252
- .#{$prefix}--actionable-notification--success;
253
-
254
- @include notification--experimental(
255
- $support-success,
256
- $notification-background-success
257
- );
258
-
259
- &::before {
260
- border-color: $support-success;
261
- }
205
+ @include actionable-notification-low-contrast-success;
262
206
  }
263
207
 
264
208
  :host(#{$prefix}-callout-notification[kind='info']) {
265
- @extend .#{$prefix}--actionable-notification--info;
209
+ @include actionable-notification-info-base;
266
210
  }
267
211
 
268
212
  :host(#{$prefix}-callout-notification[kind='info-square']) {
269
- @extend .#{$prefix}--actionable-notification--info-square;
213
+ @include actionable-notification-info-base;
270
214
  }
271
215
 
272
216
  :host(#{$prefix}-callout-notification[kind='info'][low-contrast]),
273
217
  :host(#{$prefix}-callout-notification[kind='info-square'][low-contrast]) {
274
- @extend .#{$prefix}--actionable-notification--low-contrast,
275
- .#{$prefix}--actionable-notification--info;
276
-
277
- @include notification--experimental(
278
- $support-info,
279
- $notification-background-info
280
- );
281
-
282
- &::before {
283
- border-color: $support-info;
284
- }
218
+ @include actionable-notification-low-contrast-info;
285
219
  }
286
220
 
287
221
  :host(#{$prefix}-callout-notification[kind='warning']) {
288
- @extend .#{$prefix}--actionable-notification--warning;
222
+ @include actionable-notification-warning-base;
289
223
 
290
224
  /* TODO: Remove this once the following issue with icon fill is resolved:
291
225
  ** https://github.com/carbon-design-system/carbon/issues/13616
@@ -297,7 +231,7 @@ $css--plex: true !default;
297
231
  }
298
232
 
299
233
  :host(#{$prefix}-callout-notification[kind='warning-alt']) {
300
- @extend .#{$prefix}--actionable-notification--warning-alt;
234
+ @include actionable-notification-warning-base;
301
235
 
302
236
  /* TODO: Remove this once the following issue with icon fill is resolved:
303
237
  ** https://github.com/carbon-design-system/carbon/issues/13616
@@ -310,35 +244,15 @@ $css--plex: true !default;
310
244
 
311
245
  :host(#{$prefix}-callout-notification[kind='warning'][low-contrast]),
312
246
  :host(#{$prefix}-callout-notification[kind='warning-alt'][low-contrast]) {
313
- @extend .#{$prefix}--actionable-notification--low-contrast,
314
- .#{$prefix}--actionable-notification--warning;
315
-
316
- @include notification--experimental(
317
- $support-warning,
318
- $notification-background-warning
319
- );
320
-
321
- &::before {
322
- border-color: $support-warning;
323
- }
247
+ @include actionable-notification-low-contrast-warning;
324
248
  }
325
249
 
326
250
  :host(#{$prefix}-callout-notification[kind='error']) {
327
- @extend .#{$prefix}--actionable-notification--error;
251
+ @include actionable-notification-error-base;
328
252
  }
329
253
 
330
254
  :host(#{$prefix}-callout-notification[kind='error'][low-contrast]) {
331
- @extend .#{$prefix}--actionable-notification--low-contrast,
332
- .#{$prefix}--actionable-notification--error;
333
-
334
- @include notification--experimental(
335
- $support-error,
336
- $notification-background-error
337
- );
338
-
339
- &::before {
340
- border-color: $support-error;
341
- }
255
+ @include actionable-notification-low-contrast-error;
342
256
  }
343
257
 
344
258
  :host(#{$prefix}-callout-notification)
@@ -12,7 +12,6 @@ $css--plex: true !default;
12
12
  @use '@carbon/styles/scss/theme' as *;
13
13
  @use '@carbon/styles/scss/utilities/focus-outline' as *;
14
14
  @use '@carbon/styles/scss/components/notification/index' as *;
15
- @use '@carbon/styles/scss/components/notification/mixins' as *;
16
15
  @use '@carbon/styles/scss/components/button';
17
16
  @use '@carbon/styles/scss/layout' as *;
18
17
 
@@ -20,7 +19,7 @@ $css--plex: true !default;
20
19
  @include inline-notification;
21
20
 
22
21
  :host(#{$prefix}-inline-notification) {
23
- @extend .#{$prefix}--inline-notification;
22
+ @include inline-notification-base;
24
23
  @include emit-layout-tokens();
25
24
 
26
25
  display: none;
@@ -35,20 +34,14 @@ $css--plex: true !default;
35
34
  }
36
35
  }
37
36
 
38
- :host(#{$prefix}-inline-notification[low-contrast])::before {
39
- position: absolute;
40
- box-sizing: border-box;
41
- border-width: 1px 1px 1px 0;
42
- border-style: solid;
43
- block-size: 100%;
44
- content: '';
45
- filter: opacity(0.4);
46
- inline-size: 100%;
47
- inset-block-start: 0;
48
- inset-inline-start: 0;
49
- pointer-events: none;
37
+ :host(#{$prefix}-inline-notification[low-contrast]) {
38
+ @include inline-notification-low-contrast-base;
50
39
  }
51
40
 
41
+ // :host(#{$prefix}-inline-notification[low-contrast])::before {
42
+ // @include inline-notification-low-contrast-before;
43
+ // }
44
+
52
45
  :host(#{$prefix}-inline-notification[open]) {
53
46
  display: flex;
54
47
  }
@@ -59,57 +52,32 @@ $css--plex: true !default;
59
52
  }
60
53
 
61
54
  :host(#{$prefix}-inline-notification[kind='success']) {
62
- @extend .#{$prefix}--inline-notification--success;
55
+ @include inline-notification-success-base;
63
56
  }
64
57
 
65
58
  :host(#{$prefix}-inline-notification[kind='success'][low-contrast]) {
66
- @extend .#{$prefix}--inline-notification--low-contrast,
67
- .#{$prefix}--inline-notification--success;
68
-
69
- @include notification--experimental(
70
- $support-success,
71
- $notification-background-success
72
- );
73
-
74
- &::before {
75
- border-color: $support-success;
76
- }
59
+ @include inline-notification-low-contrast-success;
77
60
  }
78
61
 
79
62
  :host(#{$prefix}-inline-notification[kind='info']) {
80
- @extend .#{$prefix}--inline-notification--info;
63
+ @include inline-notification-info-base;
81
64
  }
82
65
 
83
66
  :host(#{$prefix}-inline-notification[kind='info-square']) {
84
- @extend .#{$prefix}--inline-notification--info-square;
67
+ @include inline-notification-info-base;
85
68
  }
86
69
 
87
70
  :host(#{$prefix}-inline-notification[kind='info'][low-contrast]),
88
71
  :host(#{$prefix}-inline-notification[kind='info-square'][low-contrast]) {
89
- @extend .#{$prefix}--inline-notification--low-contrast,
90
- .#{$prefix}--inline-notification--info;
91
-
92
- @include notification--experimental(
93
- $support-info,
94
- $notification-background-info
95
- );
96
-
97
- &::before {
98
- border-color: $support-info;
99
- }
72
+ @include inline-notification-low-contrast-info;
100
73
  }
101
74
 
102
75
  :host(#{$prefix}-inline-notification[kind='warning']) {
103
- @extend .#{$prefix}--inline-notification--warning;
76
+ @include inline-notification-warning-base;
104
77
  }
105
78
 
106
79
  :host(#{$prefix}-inline-notification[kind='warning-alt']) {
107
- @extend .#{$prefix}--inline-notification--warning-alt;
108
-
109
- &[low-contrast] {
110
- @extend .#{$prefix}--inline-notification--low-contrast,
111
- .#{$prefix}--inline-notification--warning-alt;
112
- }
80
+ @include inline-notification-warning-base;
113
81
 
114
82
  /* TODO: Remove this once the following issue with icon fill is resolved:
115
83
  ** https://github.com/carbon-design-system/carbon/issues/13616
@@ -121,33 +89,13 @@ $css--plex: true !default;
121
89
 
122
90
  :host(#{$prefix}-inline-notification[kind='warning'][low-contrast]),
123
91
  :host(#{$prefix}-inline-notification[kind='warning-alt'][low-contrast]) {
124
- @extend .#{$prefix}--inline-notification--low-contrast,
125
- .#{$prefix}--inline-notification--warning;
126
-
127
- @include notification--experimental(
128
- $support-warning,
129
- $notification-background-warning
130
- );
131
-
132
- &::before {
133
- border-color: $support-warning;
134
- }
92
+ @include inline-notification-low-contrast-warning;
135
93
  }
136
94
 
137
95
  :host(#{$prefix}-inline-notification[kind='error']) {
138
- @extend .#{$prefix}--inline-notification--error;
96
+ @include inline-notification-error-base;
139
97
  }
140
98
 
141
99
  :host(#{$prefix}-inline-notification[kind='error'][low-contrast]) {
142
- @extend .#{$prefix}--inline-notification--low-contrast,
143
- .#{$prefix}--inline-notification--error;
144
-
145
- @include notification--experimental(
146
- $support-error,
147
- $notification-background-error
148
- );
149
-
150
- &::before {
151
- border-color: $support-error;
152
- }
100
+ @include inline-notification-low-contrast-error;
153
101
  }
@@ -10,7 +10,6 @@ $css--plex: true !default;
10
10
  @use '@carbon/styles/scss/config' as *;
11
11
  @use '@carbon/styles/scss/colors' as *;
12
12
  @use '@carbon/styles/scss/theme' as *;
13
- @use '@carbon/styles/scss/components/notification/mixins' as *;
14
13
  @use '@carbon/styles/scss/components/notification/index' as *;
15
14
  @use '@carbon/styles/scss/components/button';
16
15
  @use '@carbon/styles/scss/layout' as *;
@@ -19,7 +18,7 @@ $css--plex: true !default;
19
18
  @include toast-notification;
20
19
 
21
20
  :host(#{$prefix}-toast-notification) {
22
- @extend .#{$prefix}--toast-notification;
21
+ @include toast-notification-base;
23
22
  @include emit-layout-tokens();
24
23
 
25
24
  display: none;
@@ -36,46 +35,38 @@ $css--plex: true !default;
36
35
  }
37
36
 
38
37
  :host(#{$prefix}-toast-notification[kind='success']) {
39
- @extend .#{$prefix}--toast-notification--success;
38
+ @include toast-notification-success-base;
40
39
  }
41
40
 
42
- :host(#{$prefix}-toast-notification[kind='success'][low-contrast]) {
43
- @extend .#{$prefix}--toast-notification--low-contrast,
44
- .#{$prefix}--toast-notification--success;
41
+ :host(#{$prefix}-toast-notification[low-contrast]) {
42
+ @include toast-notification-low-contrast-base;
43
+ }
45
44
 
46
- @include notification--experimental(
47
- $support-success,
48
- $notification-background-success
49
- );
45
+ :host(#{$prefix}-toast-notification[kind='success'][low-contrast]) {
46
+ @include toast-notification-low-contrast-success;
50
47
  }
51
48
 
52
49
  :host(#{$prefix}-toast-notification[kind='info']) {
53
- @extend .#{$prefix}--toast-notification--info;
50
+ @include toast-notification-info-base;
54
51
  }
55
52
 
56
53
  :host(#{$prefix}-toast-notification[kind='info-square']) {
57
- @extend .#{$prefix}--toast-notification--info-square;
54
+ @include toast-notification-info-base;
58
55
  }
59
56
 
60
57
  :host(#{$prefix}-toast-notification[kind='info'][low-contrast]),
61
58
  :host(#{$prefix}-toast-notification[kind='info-square'][low-contrast]) {
62
- @extend .#{$prefix}--toast-notification--low-contrast,
63
- .#{$prefix}--toast-notification--info;
64
-
65
- @include notification--experimental(
66
- $support-info,
67
- $notification-background-info
68
- );
59
+ @include toast-notification-low-contrast-info;
69
60
  }
70
61
 
71
62
  :host(#{$prefix}-toast-notification[kind='warning']) {
72
- @extend .#{$prefix}--toast-notification--warning;
63
+ @include toast-notification-warning-base;
73
64
  }
74
65
 
75
66
  :host(#{$prefix}-toast-notification[kind='warning-alt']) {
76
- @extend .#{$prefix}--toast-notification--warning-alt;
67
+ @include toast-notification-warning-base;
77
68
 
78
- /* TODO: Remove this once the following issue with icon fill is resolved:
69
+ /* TODO: Remove this once the following issue with icon fill is resolved:
79
70
  ** https://github.com/carbon-design-system/carbon/issues/13616
80
71
  */
81
72
  .#{$prefix}--toast-notification__icon path[data-icon-path='inner-path'] {
@@ -85,25 +76,13 @@ $css--plex: true !default;
85
76
 
86
77
  :host(#{$prefix}-toast-notification[kind='warning'][low-contrast]),
87
78
  :host(#{$prefix}-toast-notification[kind='warning-alt'][low-contrast]) {
88
- @extend .#{$prefix}--toast-notification--low-contrast,
89
- .#{$prefix}--toast-notification--warning;
90
-
91
- @include notification--experimental(
92
- $support-warning,
93
- $notification-background-warning
94
- );
79
+ @include toast-notification-low-contrast-warning;
95
80
  }
96
81
 
97
82
  :host(#{$prefix}-toast-notification[kind='error']) {
98
- @extend .#{$prefix}--toast-notification--error;
83
+ @include toast-notification-error-base;
99
84
  }
100
85
 
101
86
  :host(#{$prefix}-toast-notification[kind='error'][low-contrast]) {
102
- @extend .#{$prefix}--toast-notification--low-contrast,
103
- .#{$prefix}--toast-notification--error;
104
-
105
- @include notification--experimental(
106
- $support-error,
107
- $notification-background-error
108
- );
87
+ @include toast-notification-low-contrast-error;
109
88
  }
@@ -13,7 +13,7 @@ $css--plex: true !default;
13
13
  @use '@carbon/styles/scss/spacing' as *;
14
14
  @use '@carbon/styles/scss/theme';
15
15
  @use '@carbon/styles/scss/breakpoint' as *;
16
- @use '@carbon/styles/scss/components/popover';
16
+ @use '@carbon/styles/scss/components/popover' as *;
17
17
 
18
18
  // The distance between the popover container and the triggering element
19
19
  // Specify the distance between the popover and the trigger. This value must
@@ -45,7 +45,7 @@ $popover-border-color: custom-property.get-var(
45
45
  :host(#{$prefix}-tooltip),
46
46
  :host(#{$prefix}-popover) {
47
47
  ::slotted(.#{$prefix}--popover--tab-tip__button) {
48
- @extend .#{$prefix}--popover--tab-tip__button;
48
+ @include popover-tab-tip-button;
49
49
  }
50
50
  }
51
51
 
@@ -53,7 +53,7 @@ $popover-border-color: custom-property.get-var(
53
53
  :host(#{$prefix}-popover[highContrast]) {
54
54
  ::slotted(#{$prefix}-tooltip-content),
55
55
  ::slotted(#{$prefix}-popover-content) {
56
- @extend .#{$prefix}--popover;
56
+ @include popover-highcontrast-base;
57
57
  }
58
58
  }
59
59
 
@@ -86,7 +86,7 @@ $popover-border-color: custom-property.get-var(
86
86
 
87
87
  :host(#{$prefix}-tooltip-content),
88
88
  :host(#{$prefix}-popover-content) {
89
- @extend .#{$prefix}--popover;
89
+ @include popover-base;
90
90
  }
91
91
 
92
92
  :host(#{$prefix}-tooltip-content[open]),