@carbon/web-components 2.61.0 → 2.62.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 (354) hide show
  1. package/custom-elements.json +455 -13
  2. package/es/components/accordion/accordion-item.d.ts +0 -4
  3. package/es/components/accordion/accordion-item.d.ts.map +1 -1
  4. package/es/components/accordion/accordion-item.js +2 -6
  5. package/es/components/accordion/accordion-item.js.map +1 -1
  6. package/es/components/action-set/action-set.d.ts +107 -0
  7. package/es/components/action-set/action-set.d.ts.map +1 -0
  8. package/es/components/action-set/action-set.js +269 -0
  9. package/es/components/action-set/action-set.js.map +1 -0
  10. package/es/components/action-set/action-set.scss.js +14 -0
  11. package/es/components/action-set/action-set.scss.js.map +1 -0
  12. package/es/components/action-set/index.d.ts +9 -0
  13. package/es/components/action-set/index.d.ts.map +1 -0
  14. package/es/components/action-set/index.js +8 -0
  15. package/es/components/ai-label/ai-label.scss.js +1 -1
  16. package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
  17. package/es/components/button/button.d.ts.map +1 -1
  18. package/es/components/button/button.js +7 -2
  19. package/es/components/button/button.js.map +1 -1
  20. package/es/components/button/button.scss.js +1 -1
  21. package/es/components/code-snippet/code-snippet.scss.js +1 -1
  22. package/es/components/combo-box/combo-box.scss.js +1 -1
  23. package/es/components/combo-button/combo-button.scss.js +1 -1
  24. package/es/components/contained-list/contained-list.scss.js +1 -1
  25. package/es/components/content-switcher/content-switcher.scss.js +1 -1
  26. package/es/components/copy-button/copy-button.scss.js +1 -1
  27. package/es/components/data-table/data-table.scss.js +1 -1
  28. package/es/components/date-picker/date-picker.scss.js +1 -1
  29. package/es/components/date-picker/date-picker.scss.js.map +1 -1
  30. package/es/components/date-picker/next/components/date-picker.scss.js +1 -1
  31. package/es/components/dialog/dialog.scss.js +1 -1
  32. package/es/components/dropdown/dropdown.scss.js +1 -1
  33. package/es/components/file-uploader/file-uploader.scss.js +1 -1
  34. package/es/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
  35. package/es/components/fluid-date-picker/fluid-date-picker.scss.js +1 -1
  36. package/es/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
  37. package/es/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
  38. package/es/components/fluid-number-input/fluid-number-input.scss.js +1 -1
  39. package/es/components/fluid-password-input/fluid-password-input.scss.js +1 -1
  40. package/es/components/fluid-search/fluid-search.scss.js +1 -1
  41. package/es/components/fluid-text-input/fluid-text-input.scss.js +1 -1
  42. package/es/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
  43. package/es/components/inline-loading/inline-loading.scss.js +1 -1
  44. package/es/components/loading/loading.scss.js +1 -1
  45. package/es/components/menu-button/menu-button.scss.js +1 -1
  46. package/es/components/modal/modal.scss.js +1 -1
  47. package/es/components/multi-select/multi-select.scss.js +1 -1
  48. package/es/components/notification/actionable-notification.scss.js +1 -1
  49. package/es/components/notification/inline-notification.scss.js +1 -1
  50. package/es/components/notification/toast-notification.scss.js +1 -1
  51. package/es/components/overflow-menu/overflow-menu.scss.js +1 -1
  52. package/es/components/overflow-menu/overflow-menu.scss.js.map +1 -1
  53. package/es/components/pagination/pagination.scss.js +1 -1
  54. package/es/components/pagination-nav/pagination-nav.scss.js +1 -1
  55. package/es/components/password-input/password-input.scss.js +1 -1
  56. package/es/components/progress-indicator/progress-indicator.scss.js +1 -1
  57. package/es/components/resizer/defs.d.ts +73 -0
  58. package/es/components/resizer/defs.d.ts.map +1 -0
  59. package/es/components/resizer/defs.js +97 -0
  60. package/es/components/resizer/defs.js.map +1 -0
  61. package/es/components/resizer/index.d.ts +11 -0
  62. package/es/components/resizer/index.d.ts.map +1 -0
  63. package/es/components/resizer/index.js +11 -0
  64. package/es/components/resizer/resizer-grid.d.ts +22 -0
  65. package/es/components/resizer/resizer-grid.d.ts.map +1 -0
  66. package/es/components/resizer/resizer-grid.js +44 -0
  67. package/es/components/resizer/resizer-grid.js.map +1 -0
  68. package/es/components/resizer/resizer-grid.scss.js +14 -0
  69. package/es/components/resizer/resizer-grid.scss.js.map +1 -0
  70. package/es/components/resizer/resizer-handle-pivot.d.ts +31 -0
  71. package/es/components/resizer/resizer-handle-pivot.d.ts.map +1 -0
  72. package/es/components/resizer/resizer-handle-pivot.js +93 -0
  73. package/es/components/resizer/resizer-handle-pivot.js.map +1 -0
  74. package/es/components/resizer/resizer-handle-pivot.scss.js +14 -0
  75. package/es/components/resizer/resizer-handle-pivot.scss.js.map +1 -0
  76. package/es/components/resizer/resizer-handle.d.ts +64 -0
  77. package/es/components/resizer/resizer-handle.d.ts.map +1 -0
  78. package/es/components/resizer/resizer-handle.js +350 -0
  79. package/es/components/resizer/resizer-handle.js.map +1 -0
  80. package/es/components/resizer/resizer-handle.scss.js +14 -0
  81. package/es/components/resizer/resizer-handle.scss.js.map +1 -0
  82. package/es/components/resizer/resizer-panel.d.ts +22 -0
  83. package/es/components/resizer/resizer-panel.d.ts.map +1 -0
  84. package/es/components/resizer/resizer-panel.js +37 -0
  85. package/es/components/resizer/resizer-panel.js.map +1 -0
  86. package/es/components/resizer/resizer-panel.scss.js +14 -0
  87. package/es/components/resizer/resizer-panel.scss.js.map +1 -0
  88. package/es/components/search/search.scss.js +1 -1
  89. package/es/components/side-panel/_story-assets/index.d.ts +9 -0
  90. package/es/components/side-panel/_story-assets/index.d.ts.map +1 -0
  91. package/es/components/side-panel/_story-assets/index.js +246 -0
  92. package/es/components/side-panel/_story-assets/index.js.map +1 -0
  93. package/es/components/side-panel/defs.d.ts +7 -1
  94. package/es/components/side-panel/defs.d.ts.map +1 -1
  95. package/es/components/side-panel/defs.js +7 -1
  96. package/es/components/side-panel/defs.js.map +1 -1
  97. package/es/components/side-panel/index.d.ts +3 -1
  98. package/es/components/side-panel/index.d.ts.map +1 -1
  99. package/es/components/side-panel/index.js +12 -0
  100. package/es/components/side-panel/index.js.map +1 -0
  101. package/es/components/side-panel/side-panel.d.ts +60 -22
  102. package/es/components/side-panel/side-panel.d.ts.map +1 -1
  103. package/es/components/side-panel/side-panel.js +268 -126
  104. package/es/components/side-panel/side-panel.js.map +1 -1
  105. package/es/components/side-panel/side-panel.scss.js +14 -0
  106. package/es/components/side-panel/side-panel.scss.js.map +1 -0
  107. package/es/components/side-panel/story-styles.scss.js +14 -0
  108. package/es/components/side-panel/story-styles.scss.js.map +1 -0
  109. package/es/components/skip-to-content/skip-to-content.scss.js +1 -1
  110. package/es/components/slider/slider.d.ts +14 -0
  111. package/es/components/slider/slider.d.ts.map +1 -1
  112. package/es/components/slider/slider.js +40 -5
  113. package/es/components/slider/slider.js.map +1 -1
  114. package/es/components/slider/slider.scss.js +1 -1
  115. package/es/components/slug/slug.scss.js +1 -1
  116. package/es/components/structured-list/structured-list.scss.js +1 -1
  117. package/es/components/structured-list/structured-list.scss.js.map +1 -1
  118. package/es/components/tabs/tab.d.ts.map +1 -1
  119. package/es/components/tabs/tab.js +4 -1
  120. package/es/components/tabs/tab.js.map +1 -1
  121. package/es/components/tabs/tabs.scss.js +1 -1
  122. package/es/components/tabs/tabs.scss.js.map +1 -1
  123. package/es/components/tag/tag.scss.js +1 -1
  124. package/es/components/tag/tag.scss.js.map +1 -1
  125. package/es/components/text-input/text-input.scss.js +1 -1
  126. package/es/components/textarea/textarea.scss.js +1 -1
  127. package/es/components/textarea/textarea.scss.js.map +1 -1
  128. package/es/components/time-picker/time-picker.scss.js +1 -1
  129. package/es/components/toggle-tip/toggletip.scss.js +1 -1
  130. package/es/components/tree-view/tree-view.scss.js +1 -1
  131. package/es/components/truncated-text/index.d.ts +8 -0
  132. package/es/components/truncated-text/index.d.ts.map +1 -0
  133. package/es/components/truncated-text/index.js +8 -0
  134. package/es/components/truncated-text/truncated-text.d.ts +77 -0
  135. package/es/components/truncated-text/truncated-text.d.ts.map +1 -0
  136. package/es/components/truncated-text/truncated-text.js +216 -0
  137. package/es/components/truncated-text/truncated-text.js.map +1 -0
  138. package/es/components/truncated-text/truncated-text.scss.js +14 -0
  139. package/es/components/truncated-text/truncated-text.scss.js.map +1 -0
  140. package/es/components/ui-shell/header.scss.js +1 -1
  141. package/es/components/ui-shell/side-nav.scss.js +1 -1
  142. package/es/components/ui-shell/side-nav.scss.js.map +1 -1
  143. package/es/globals/internal/icon-loader-utils.d.ts +2 -2
  144. package/es/globals/internal/icon-loader-utils.d.ts.map +1 -1
  145. package/es/globals/internal/icon-loader-utils.js +1 -1
  146. package/es/globals/internal/icon-loader-utils.js.map +1 -1
  147. package/es/index.d.ts.map +1 -1
  148. package/es-custom/components/accordion/accordion-item.d.ts +0 -4
  149. package/es-custom/components/accordion/accordion-item.d.ts.map +1 -1
  150. package/es-custom/components/accordion/accordion-item.js +2 -6
  151. package/es-custom/components/accordion/accordion-item.js.map +1 -1
  152. package/es-custom/components/action-set/action-set.d.ts +107 -0
  153. package/es-custom/components/action-set/action-set.d.ts.map +1 -0
  154. package/es-custom/components/action-set/action-set.js +269 -0
  155. package/es-custom/components/action-set/action-set.js.map +1 -0
  156. package/es-custom/components/action-set/action-set.scss.js +14 -0
  157. package/es-custom/components/action-set/action-set.scss.js.map +1 -0
  158. package/es-custom/components/action-set/index.d.ts +9 -0
  159. package/es-custom/components/action-set/index.d.ts.map +1 -0
  160. package/es-custom/components/action-set/index.js +8 -0
  161. package/es-custom/components/ai-label/ai-label.scss.js +1 -1
  162. package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
  163. package/es-custom/components/button/button.d.ts.map +1 -1
  164. package/es-custom/components/button/button.js +7 -2
  165. package/es-custom/components/button/button.js.map +1 -1
  166. package/es-custom/components/button/button.scss.js +1 -1
  167. package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
  168. package/es-custom/components/combo-box/combo-box.scss.js +1 -1
  169. package/es-custom/components/combo-button/combo-button.scss.js +1 -1
  170. package/es-custom/components/contained-list/contained-list.scss.js +1 -1
  171. package/es-custom/components/content-switcher/content-switcher.scss.js +1 -1
  172. package/es-custom/components/copy-button/copy-button.scss.js +1 -1
  173. package/es-custom/components/data-table/data-table.scss.js +1 -1
  174. package/es-custom/components/date-picker/date-picker.scss.js +1 -1
  175. package/es-custom/components/date-picker/date-picker.scss.js.map +1 -1
  176. package/es-custom/components/date-picker/next/components/date-picker.scss.js +1 -1
  177. package/es-custom/components/dialog/dialog.scss.js +1 -1
  178. package/es-custom/components/dropdown/dropdown.scss.js +1 -1
  179. package/es-custom/components/file-uploader/file-uploader.scss.js +1 -1
  180. package/es-custom/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
  181. package/es-custom/components/fluid-date-picker/fluid-date-picker.scss.js +1 -1
  182. package/es-custom/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
  183. package/es-custom/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
  184. package/es-custom/components/fluid-number-input/fluid-number-input.scss.js +1 -1
  185. package/es-custom/components/fluid-password-input/fluid-password-input.scss.js +1 -1
  186. package/es-custom/components/fluid-search/fluid-search.scss.js +1 -1
  187. package/es-custom/components/fluid-text-input/fluid-text-input.scss.js +1 -1
  188. package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
  189. package/es-custom/components/inline-loading/inline-loading.scss.js +1 -1
  190. package/es-custom/components/loading/loading.scss.js +1 -1
  191. package/es-custom/components/menu-button/menu-button.scss.js +1 -1
  192. package/es-custom/components/modal/modal.scss.js +1 -1
  193. package/es-custom/components/multi-select/multi-select.scss.js +1 -1
  194. package/es-custom/components/notification/actionable-notification.scss.js +1 -1
  195. package/es-custom/components/notification/inline-notification.scss.js +1 -1
  196. package/es-custom/components/notification/toast-notification.scss.js +1 -1
  197. package/es-custom/components/overflow-menu/overflow-menu.scss.js +1 -1
  198. package/es-custom/components/overflow-menu/overflow-menu.scss.js.map +1 -1
  199. package/es-custom/components/pagination/pagination.scss.js +1 -1
  200. package/es-custom/components/pagination-nav/pagination-nav.scss.js +1 -1
  201. package/es-custom/components/password-input/password-input.scss.js +1 -1
  202. package/es-custom/components/progress-indicator/progress-indicator.scss.js +1 -1
  203. package/es-custom/components/resizer/defs.d.ts +73 -0
  204. package/es-custom/components/resizer/defs.d.ts.map +1 -0
  205. package/es-custom/components/resizer/defs.js +97 -0
  206. package/es-custom/components/resizer/defs.js.map +1 -0
  207. package/es-custom/components/resizer/index.d.ts +11 -0
  208. package/es-custom/components/resizer/index.d.ts.map +1 -0
  209. package/es-custom/components/resizer/index.js +11 -0
  210. package/es-custom/components/resizer/resizer-grid.d.ts +22 -0
  211. package/es-custom/components/resizer/resizer-grid.d.ts.map +1 -0
  212. package/es-custom/components/resizer/resizer-grid.js +44 -0
  213. package/es-custom/components/resizer/resizer-grid.js.map +1 -0
  214. package/es-custom/components/resizer/resizer-grid.scss.js +14 -0
  215. package/es-custom/components/resizer/resizer-grid.scss.js.map +1 -0
  216. package/es-custom/components/resizer/resizer-handle-pivot.d.ts +31 -0
  217. package/es-custom/components/resizer/resizer-handle-pivot.d.ts.map +1 -0
  218. package/es-custom/components/resizer/resizer-handle-pivot.js +93 -0
  219. package/es-custom/components/resizer/resizer-handle-pivot.js.map +1 -0
  220. package/es-custom/components/resizer/resizer-handle-pivot.scss.js +14 -0
  221. package/es-custom/components/resizer/resizer-handle-pivot.scss.js.map +1 -0
  222. package/es-custom/components/resizer/resizer-handle.d.ts +64 -0
  223. package/es-custom/components/resizer/resizer-handle.d.ts.map +1 -0
  224. package/es-custom/components/resizer/resizer-handle.js +350 -0
  225. package/es-custom/components/resizer/resizer-handle.js.map +1 -0
  226. package/es-custom/components/resizer/resizer-handle.scss.js +14 -0
  227. package/es-custom/components/resizer/resizer-handle.scss.js.map +1 -0
  228. package/es-custom/components/resizer/resizer-panel.d.ts +22 -0
  229. package/es-custom/components/resizer/resizer-panel.d.ts.map +1 -0
  230. package/es-custom/components/resizer/resizer-panel.js +37 -0
  231. package/es-custom/components/resizer/resizer-panel.js.map +1 -0
  232. package/es-custom/components/resizer/resizer-panel.scss.js +14 -0
  233. package/es-custom/components/resizer/resizer-panel.scss.js.map +1 -0
  234. package/es-custom/components/search/search.scss.js +1 -1
  235. package/es-custom/components/side-panel/_story-assets/index.d.ts +9 -0
  236. package/es-custom/components/side-panel/_story-assets/index.d.ts.map +1 -0
  237. package/es-custom/components/side-panel/_story-assets/index.js +246 -0
  238. package/es-custom/components/side-panel/_story-assets/index.js.map +1 -0
  239. package/es-custom/components/side-panel/defs.d.ts +7 -1
  240. package/es-custom/components/side-panel/defs.d.ts.map +1 -1
  241. package/es-custom/components/side-panel/defs.js +7 -1
  242. package/es-custom/components/side-panel/defs.js.map +1 -1
  243. package/es-custom/components/side-panel/index.d.ts +3 -1
  244. package/es-custom/components/side-panel/index.d.ts.map +1 -1
  245. package/es-custom/components/side-panel/index.js +12 -0
  246. package/es-custom/components/side-panel/index.js.map +1 -0
  247. package/es-custom/components/side-panel/side-panel.d.ts +60 -22
  248. package/es-custom/components/side-panel/side-panel.d.ts.map +1 -1
  249. package/es-custom/components/side-panel/side-panel.js +268 -126
  250. package/es-custom/components/side-panel/side-panel.js.map +1 -1
  251. package/es-custom/components/side-panel/side-panel.scss.js +14 -0
  252. package/es-custom/components/side-panel/side-panel.scss.js.map +1 -0
  253. package/es-custom/components/side-panel/story-styles.scss.js +14 -0
  254. package/es-custom/components/side-panel/story-styles.scss.js.map +1 -0
  255. package/es-custom/components/skip-to-content/skip-to-content.scss.js +1 -1
  256. package/es-custom/components/slider/slider.d.ts +14 -0
  257. package/es-custom/components/slider/slider.d.ts.map +1 -1
  258. package/es-custom/components/slider/slider.js +40 -5
  259. package/es-custom/components/slider/slider.js.map +1 -1
  260. package/es-custom/components/slider/slider.scss.js +1 -1
  261. package/es-custom/components/slug/slug.scss.js +1 -1
  262. package/es-custom/components/structured-list/structured-list.scss.js +1 -1
  263. package/es-custom/components/structured-list/structured-list.scss.js.map +1 -1
  264. package/es-custom/components/tabs/tab.d.ts.map +1 -1
  265. package/es-custom/components/tabs/tab.js +4 -1
  266. package/es-custom/components/tabs/tab.js.map +1 -1
  267. package/es-custom/components/tabs/tabs.scss.js +1 -1
  268. package/es-custom/components/tabs/tabs.scss.js.map +1 -1
  269. package/es-custom/components/tag/tag.scss.js +1 -1
  270. package/es-custom/components/tag/tag.scss.js.map +1 -1
  271. package/es-custom/components/text-input/text-input.scss.js +1 -1
  272. package/es-custom/components/textarea/textarea.scss.js +1 -1
  273. package/es-custom/components/textarea/textarea.scss.js.map +1 -1
  274. package/es-custom/components/time-picker/time-picker.scss.js +1 -1
  275. package/es-custom/components/toggle-tip/toggletip.scss.js +1 -1
  276. package/es-custom/components/tree-view/tree-view.scss.js +1 -1
  277. package/es-custom/components/truncated-text/index.d.ts +8 -0
  278. package/es-custom/components/truncated-text/index.d.ts.map +1 -0
  279. package/es-custom/components/truncated-text/index.js +8 -0
  280. package/es-custom/components/truncated-text/truncated-text.d.ts +77 -0
  281. package/es-custom/components/truncated-text/truncated-text.d.ts.map +1 -0
  282. package/es-custom/components/truncated-text/truncated-text.js +216 -0
  283. package/es-custom/components/truncated-text/truncated-text.js.map +1 -0
  284. package/es-custom/components/truncated-text/truncated-text.scss.js +14 -0
  285. package/es-custom/components/truncated-text/truncated-text.scss.js.map +1 -0
  286. package/es-custom/components/ui-shell/header.scss.js +1 -1
  287. package/es-custom/components/ui-shell/side-nav.scss.js +1 -1
  288. package/es-custom/components/ui-shell/side-nav.scss.js.map +1 -1
  289. package/es-custom/globals/internal/icon-loader-utils.d.ts +2 -2
  290. package/es-custom/globals/internal/icon-loader-utils.d.ts.map +1 -1
  291. package/es-custom/globals/internal/icon-loader-utils.js +1 -1
  292. package/es-custom/globals/internal/icon-loader-utils.js.map +1 -1
  293. package/es-custom/index.d.ts.map +1 -1
  294. package/lib/components/accordion/accordion-item.d.ts +0 -4
  295. package/lib/components/accordion/accordion-item.d.ts.map +1 -1
  296. package/lib/components/action-set/action-set.d.ts +107 -0
  297. package/lib/components/action-set/action-set.d.ts.map +1 -0
  298. package/lib/components/action-set/index.d.ts +9 -0
  299. package/lib/components/action-set/index.d.ts.map +1 -0
  300. package/lib/components/button/button.d.ts.map +1 -1
  301. package/lib/components/resizer/defs.d.ts +73 -0
  302. package/lib/components/resizer/defs.d.ts.map +1 -0
  303. package/lib/components/resizer/defs.js +112 -0
  304. package/lib/components/resizer/defs.js.map +1 -0
  305. package/lib/components/resizer/index.d.ts +11 -0
  306. package/lib/components/resizer/index.d.ts.map +1 -0
  307. package/lib/components/resizer/resizer-grid.d.ts +22 -0
  308. package/lib/components/resizer/resizer-grid.d.ts.map +1 -0
  309. package/lib/components/resizer/resizer-handle-pivot.d.ts +31 -0
  310. package/lib/components/resizer/resizer-handle-pivot.d.ts.map +1 -0
  311. package/lib/components/resizer/resizer-handle.d.ts +64 -0
  312. package/lib/components/resizer/resizer-handle.d.ts.map +1 -0
  313. package/lib/components/resizer/resizer-panel.d.ts +22 -0
  314. package/lib/components/resizer/resizer-panel.d.ts.map +1 -0
  315. package/lib/components/side-panel/_story-assets/index.d.ts +9 -0
  316. package/lib/components/side-panel/_story-assets/index.d.ts.map +1 -0
  317. package/lib/components/side-panel/defs.d.ts +7 -1
  318. package/lib/components/side-panel/defs.d.ts.map +1 -1
  319. package/lib/components/side-panel/defs.js +7 -1
  320. package/lib/components/side-panel/defs.js.map +1 -1
  321. package/lib/components/side-panel/index.d.ts +3 -1
  322. package/lib/components/side-panel/index.d.ts.map +1 -1
  323. package/lib/components/side-panel/side-panel.d.ts +60 -22
  324. package/lib/components/side-panel/side-panel.d.ts.map +1 -1
  325. package/lib/components/slider/slider.d.ts +14 -0
  326. package/lib/components/slider/slider.d.ts.map +1 -1
  327. package/lib/components/tabs/tab.d.ts.map +1 -1
  328. package/lib/components/truncated-text/index.d.ts +8 -0
  329. package/lib/components/truncated-text/index.d.ts.map +1 -0
  330. package/lib/components/truncated-text/truncated-text.d.ts +77 -0
  331. package/lib/components/truncated-text/truncated-text.d.ts.map +1 -0
  332. package/lib/globals/internal/icon-loader-utils.d.ts +2 -2
  333. package/lib/globals/internal/icon-loader-utils.d.ts.map +1 -1
  334. package/lib/index.d.ts.map +1 -1
  335. package/package.json +7 -7
  336. package/scss/components/action-set/action-set.scss +93 -0
  337. package/scss/components/data-table/_table-core.scss +73 -20
  338. package/scss/components/data-table/_table-selection.scss +31 -14
  339. package/scss/components/date-picker/date-picker.scss +10 -6
  340. package/scss/components/overflow-menu/overflow-menu.scss +31 -11
  341. package/scss/components/resizer/resizer-grid.scss +34 -0
  342. package/scss/components/resizer/resizer-handle-pivot.scss +39 -0
  343. package/scss/components/resizer/resizer-handle.scss +127 -0
  344. package/scss/components/resizer/resizer-panel.scss +10 -0
  345. package/scss/components/side-panel/side-panel.scss +363 -0
  346. package/scss/components/side-panel/story-styles.scss +51 -0
  347. package/scss/components/structured-list/structured-list.scss +10 -8
  348. package/scss/components/tabs/tabs.scss +4 -0
  349. package/scss/components/tag/tag.scss +11 -7
  350. package/scss/components/textarea/textarea.scss +6 -0
  351. package/scss/components/truncated-text/truncated-text-story.scss +14 -0
  352. package/scss/components/truncated-text/truncated-text.scss +122 -0
  353. package/scss/components/ui-shell/side-nav.scss +9 -7
  354. package/telemetry.yml +26 -0
package/es/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,E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AE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC"}
@@ -44,10 +44,6 @@ declare class CDSAccordionItem extends CDSAccordionItem_base {
44
44
  * Handler for the `click` event on the expando button.
45
45
  */
46
46
  private _handleClickExpando;
47
- /**
48
- * Handler for the `keydown` event on the expando button.
49
- */
50
- private _handleKeydownExpando;
51
47
  /**
52
48
  * The `ResizeObserver` instance for observing element resizes for re-positioning floating menu position.
53
49
  */
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/accordion-item.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AAInD,OAAO,EAAE,yBAAyB,EAAE,CAAC;;;;AAqBrC;;;;;;;;;;GAUG;AACH,cACM,gBAAiB,SAAQ,qBAAsB;IACnD;;OAEG;IAEH,OAAO,CAAC,iBAAiB,CAAkB;IAE3C;;OAEG;IACH,OAAO,CAAC,kBAAkB,CAAC,CAA4B;IAEvD;;OAEG;IACH,OAAO,CAAC,eAAe,CAAuB;IAE9C;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;IAqClC;;OAEG;IACH,OAA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ACH,MAAM,KAAK,mBAAmB;;;MAK7B;IAED;;;;OAIG;IACH,MAAM,KAAK,iBAAiB;;;MAK3B;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC"}
@@ -52,9 +52,6 @@ let CDSAccordionItem = class CDSAccordionItem extends FocusMixin(LitElement) {
52
52
  constructor(..._args) {
53
53
  super(..._args);
54
54
  this._hObserveResize = null;
55
- this._handleKeydownExpando = ({ key }) => {
56
- if (this.open && (key === "Esc" || key === "Escape")) this._handleUserInitiatedToggle(false);
57
- };
58
55
  this._resizeObserver = new ResizeObserver((records) => {
59
56
  const { width } = records[records.length - 1].contentRect;
60
57
  const { _sizesBreakpoints: sizesBreakpoints } = this.constructor;
@@ -104,7 +101,7 @@ let CDSAccordionItem = class CDSAccordionItem extends FocusMixin(LitElement) {
104
101
  if (this._hObserveResize) this._hObserveResize = this._hObserveResize.release();
105
102
  }
106
103
  render() {
107
- const { disabled, title, open, _currentBreakpoint: currentBreakpoint, _handleClickExpando: handleClickExpando, _handleKeydownExpando: handleKeydownExpando } = this;
104
+ const { disabled, title, open, _currentBreakpoint: currentBreakpoint, _handleClickExpando: handleClickExpando } = this;
108
105
  const { _classesBreakpoints: classesBreakpoints } = this.constructor;
109
106
  const { [currentBreakpoint]: classBreakpoint } = classesBreakpoints;
110
107
  const contentClasses = classMap({
@@ -119,8 +116,7 @@ let CDSAccordionItem = class CDSAccordionItem extends FocusMixin(LitElement) {
119
116
  class="${"cds-custom"}--accordion__heading"
120
117
  aria-controls="content"
121
118
  aria-expanded="${open}"
122
- @click="${handleClickExpando}"
123
- @keydown="${handleKeydownExpando}">
119
+ @click="${handleClickExpando}">
124
120
  ${iconLoader(ChevronRight16, {
125
121
  part: "expando-icon",
126
122
  class: `cds-custom--accordion__arrow`
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.js","names":["styles","customElement"],"sources":["../../../src/components/accordion/accordion-item.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2019, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport ChevronRight16 from '@carbon/icons/es/chevron--right/16.js';\nimport { iconLoader } from '../../globals/internal/icon-loader';\nimport FocusMixin from '../../globals/mixins/focus';\nimport Handle from '../../globals/internal/handle';\nimport { ACCORDION_ITEM_BREAKPOINT } from './defs';\nimport styles from './accordion.scss?lit';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { ACCORDION_ITEM_BREAKPOINT };\n\n/**\n * Observes resize of the given element with the given resize observer.\n *\n * @param observer The resize observer.\n * @param elem The element to observe the resize.\n */\nconst observeResize = (observer: ResizeObserver, elem: Element) => {\n if (!elem) {\n return null;\n }\n observer.observe(elem);\n return {\n release() {\n observer.unobserve(elem);\n return null;\n },\n } as Handle;\n};\n\n/**\n * Accordion item.\n *\n * @element cds-custom-accordion-item\n * @fires cds-custom-accordion-item-beingtoggled\n * The custom event fired before this accordion item is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling this accordion item.\n * @fires cds-custom-accordion-item-toggled - The custom event fired after this accordion item is toggled upon a user gesture.\n * @csspart title The title.\n * @csspart content The content.\n */\n@customElement(`${prefix}-accordion-item`)\nclass CDSAccordionItem extends FocusMixin(LitElement) {\n /**\n * The accordion content container.\n */\n @query(`.${prefix}--accordion__content`)\n private _accordionContent!: HTMLDivElement;\n\n /**\n * The current breakpoint.\n */\n private _currentBreakpoint?: ACCORDION_ITEM_BREAKPOINT;\n\n /**\n * The handle for observing resize of the parent element of this element.\n */\n private _hObserveResize: Handle | null = null;\n\n /**\n * Handles user-initiated toggle request of this accordion item.\n *\n * @param open The new open state.\n */\n private _handleUserInitiatedToggle(open = !this.open) {\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n open,\n },\n };\n if (\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSAccordionItem).eventBeforeToggle,\n init\n )\n )\n ) {\n if (!this.open) {\n this.setAttribute('expanding', '');\n } else {\n this.setAttribute('collapsing', '');\n }\n this._accordionContent?.addEventListener('animationend', () => {\n this.removeAttribute('expanding');\n this.removeAttribute('collapsing');\n });\n\n this.open = open;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSAccordionItem).eventToggle,\n init\n )\n );\n }\n }\n\n /**\n * Handler for the `click` event on the expando button.\n */\n private _handleClickExpando() {\n this._handleUserInitiatedToggle();\n }\n\n /**\n * Handler for the `keydown` event on the expando button.\n */\n private _handleKeydownExpando = ({ key }: KeyboardEvent) => {\n if (this.open && (key === 'Esc' || key === 'Escape')) {\n this._handleUserInitiatedToggle(false);\n }\n };\n\n /**\n * The `ResizeObserver` instance for observing element resizes for re-positioning floating menu position.\n */\n // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452\n // @ts-ignore\n private _resizeObserver = new ResizeObserver(\n (records: ResizeObserverEntry[]) => {\n const { width } = records[records.length - 1].contentRect;\n const { _sizesBreakpoints: sizesBreakpoints } = this\n .constructor as typeof CDSAccordionItem;\n this._currentBreakpoint = Object.keys(sizesBreakpoints)\n .sort((lhs, rhs) => sizesBreakpoints[rhs] - sizesBreakpoints[lhs])\n .find(\n (size) => width >= sizesBreakpoints[size]\n ) as ACCORDION_ITEM_BREAKPOINT;\n this.requestUpdate();\n }\n );\n\n /**\n * `true` if the accordion item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the accordion item should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * The title text.\n */\n @property({ attribute: 'title' })\n title = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n this._hObserveResize = observeResize(this._resizeObserver, this);\n }\n\n disconnectedCallback() {\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n }\n\n render() {\n const {\n disabled,\n title,\n open,\n _currentBreakpoint: currentBreakpoint,\n _handleClickExpando: handleClickExpando,\n _handleKeydownExpando: handleKeydownExpando,\n } = this;\n const { _classesBreakpoints: classesBreakpoints } = this\n .constructor as typeof CDSAccordionItem;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452\n const { [currentBreakpoint!]: classBreakpoint } = classesBreakpoints;\n const contentClasses = classMap({\n [classBreakpoint]: classBreakpoint,\n [`${prefix}--accordion__content`]: true,\n });\n return html`\n <button\n ?disabled=\"${disabled}\"\n type=\"button\"\n part=\"expando\"\n class=\"${prefix}--accordion__heading\"\n aria-controls=\"content\"\n aria-expanded=\"${open}\"\n @click=\"${handleClickExpando}\"\n @keydown=\"${handleKeydownExpando}\">\n ${iconLoader(ChevronRight16, {\n part: 'expando-icon',\n class: `${prefix}--accordion__arrow`,\n })}\n <div part=\"title\" class=\"${prefix}--accordion__title\">\n <slot name=\"title\">${title}</slot>\n </div>\n </button>\n <div class=\"${prefix}--accordion__wrapper\" part=\"wrapper\">\n <div id=\"content\" part=\"content\" class=\"${contentClasses}\">\n <slot></slot>\n </div>\n </div>\n `;\n }\n\n /**\n * The CSS classes for breakpoints.\n *\n * @private\n */\n static get _classesBreakpoints() {\n return {\n [ACCORDION_ITEM_BREAKPOINT.SMALL]: `${prefix}-ce--accordion__content--${ACCORDION_ITEM_BREAKPOINT.SMALL}`,\n [ACCORDION_ITEM_BREAKPOINT.MEDIUM]: `${prefix}-ce--accordion__content--${ACCORDION_ITEM_BREAKPOINT.MEDIUM}`,\n };\n }\n\n /**\n * The breakpoints.\n *\n * @private\n */\n static get _sizesBreakpoints() {\n return {\n [ACCORDION_ITEM_BREAKPOINT.SMALL]: 480,\n [ACCORDION_ITEM_BREAKPOINT.MEDIUM]: 640,\n };\n }\n\n /**\n * The name of the custom event fired before this accordion item is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling this accordion item.\n */\n static get eventBeforeToggle() {\n return `${prefix}-accordion-item-beingtoggled`;\n }\n\n /**\n * The name of the custom event fired after this accordion item is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${prefix}-accordion-item-toggled`;\n }\n\n static styles = styles;\n}\n\nexport default CDSAccordionItem;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,MAAM,iBAAiB,UAA0B,SAAkB;CACjE,IAAI,CAAC,MACH,OAAO;CAET,SAAS,QAAQ,IAAI;CACrB,OAAO,EACL,UAAU;EACR,SAAS,UAAU,IAAI;EACvB,OAAO;CACT,EACF;AACF;;;;;;;;;;;;AAaA,IAAA,mBAAA,MACM,yBAAyB,WAAW,UAAU,CAAC,CAAC;;;yBAeX;gCAsDR,EAAE,UAAyB;GAC1D,IAAI,KAAK,SAAS,QAAQ,SAAS,QAAQ,WACzC,KAAK,2BAA2B,KAAK;EAEzC;yBAQ0B,IAAI,gBAC3B,YAAmC;GAClC,MAAM,EAAE,UAAU,QAAQ,QAAQ,SAAS,EAAE,CAAC;GAC9C,MAAM,EAAE,mBAAmB,qBAAqB,KAC7C;GACH,KAAK,qBAAqB,OAAO,KAAK,gBAAgB,CAAC,CACpD,MAAM,KAAK,QAAQ,iBAAiB,OAAO,iBAAiB,IAAI,CAAC,CACjE,MACE,SAAS,SAAS,iBAAiB,KACtC;GACF,KAAK,cAAc;EACrB,CACF;kBAMW;cAMJ;eAMC;;;;;;;CAzFR,2BAAmC,OAAO,CAAC,KAAK,MAAM;EACpD,MAAM,OAAO;GACX,SAAS;GACT,YAAY;GACZ,UAAU;GACV,QAA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EAC7B,OAAO;WAC8B;WACC;EACtC;CACF;;;;;CAMA,WAAW,oBAAoB;EAC7B,OAAO;CACT;;;;CAKA,WAAW,cAAc;EACvB,OAAO;CACT;;gBAEgBA;;AAClB;YAjNG,MAAM,0BAAgC,CAAA,GAAA,iBAAA,WAAA,qBAAA,KAAA,CAAA;YA8FtC,SAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAAA,GAAA,iBAAA,WAAA,YAAA,KAAA,CAAA;YAMzC,SAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAAA,GAAA,iBAAA,WAAA,QAAA,KAAA,CAAA;YAMzC,SAAS,EAAE,WAAW,QAAQ,CAAC,CAAA,GAAA,iBAAA,WAAA,SAAA,KAAA,CAAA;+BA/GjCC,cAAc,oBAA0B,CAAA,GAAA,gBAAA;AAwNzC,IAAA,yBAAe"}
1
+ {"version":3,"file":"accordion-item.js","names":["styles","customElement"],"sources":["../../../src/components/accordion/accordion-item.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2019, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport ChevronRight16 from '@carbon/icons/es/chevron--right/16.js';\nimport { iconLoader } from '../../globals/internal/icon-loader';\nimport FocusMixin from '../../globals/mixins/focus';\nimport Handle from '../../globals/internal/handle';\nimport { ACCORDION_ITEM_BREAKPOINT } from './defs';\nimport styles from './accordion.scss?lit';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { ACCORDION_ITEM_BREAKPOINT };\n\n/**\n * Observes resize of the given element with the given resize observer.\n *\n * @param observer The resize observer.\n * @param elem The element to observe the resize.\n */\nconst observeResize = (observer: ResizeObserver, elem: Element) => {\n if (!elem) {\n return null;\n }\n observer.observe(elem);\n return {\n release() {\n observer.unobserve(elem);\n return null;\n },\n } as Handle;\n};\n\n/**\n * Accordion item.\n *\n * @element cds-custom-accordion-item\n * @fires cds-custom-accordion-item-beingtoggled\n * The custom event fired before this accordion item is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling this accordion item.\n * @fires cds-custom-accordion-item-toggled - The custom event fired after this accordion item is toggled upon a user gesture.\n * @csspart title The title.\n * @csspart content The content.\n */\n@customElement(`${prefix}-accordion-item`)\nclass CDSAccordionItem extends FocusMixin(LitElement) {\n /**\n * The accordion content container.\n */\n @query(`.${prefix}--accordion__content`)\n private _accordionContent!: HTMLDivElement;\n\n /**\n * The current breakpoint.\n */\n private _currentBreakpoint?: ACCORDION_ITEM_BREAKPOINT;\n\n /**\n * The handle for observing resize of the parent element of this element.\n */\n private _hObserveResize: Handle | null = null;\n\n /**\n * Handles user-initiated toggle request of this accordion item.\n *\n * @param open The new open state.\n */\n private _handleUserInitiatedToggle(open = !this.open) {\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n open,\n },\n };\n if (\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSAccordionItem).eventBeforeToggle,\n init\n )\n )\n ) {\n if (!this.open) {\n this.setAttribute('expanding', '');\n } else {\n this.setAttribute('collapsing', '');\n }\n this._accordionContent?.addEventListener('animationend', () => {\n this.removeAttribute('expanding');\n this.removeAttribute('collapsing');\n });\n\n this.open = open;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSAccordionItem).eventToggle,\n init\n )\n );\n }\n }\n\n /**\n * Handler for the `click` event on the expando button.\n */\n private _handleClickExpando() {\n this._handleUserInitiatedToggle();\n }\n\n /**\n * The `ResizeObserver` instance for observing element resizes for re-positioning floating menu position.\n */\n // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452\n // @ts-ignore\n private _resizeObserver = new ResizeObserver(\n (records: ResizeObserverEntry[]) => {\n const { width } = records[records.length - 1].contentRect;\n const { _sizesBreakpoints: sizesBreakpoints } = this\n .constructor as typeof CDSAccordionItem;\n this._currentBreakpoint = Object.keys(sizesBreakpoints)\n .sort((lhs, rhs) => sizesBreakpoints[rhs] - sizesBreakpoints[lhs])\n .find(\n (size) => width >= sizesBreakpoints[size]\n ) as ACCORDION_ITEM_BREAKPOINT;\n this.requestUpdate();\n }\n );\n\n /**\n * `true` if the accordion item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the accordion item should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * The title text.\n */\n @property({ attribute: 'title' })\n title = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n this._hObserveResize = observeResize(this._resizeObserver, this);\n }\n\n disconnectedCallback() {\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n }\n\n render() {\n const {\n disabled,\n title,\n open,\n _currentBreakpoint: currentBreakpoint,\n _handleClickExpando: handleClickExpando,\n } = this;\n const { _classesBreakpoints: classesBreakpoints } = this\n .constructor as typeof CDSAccordionItem;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452\n const { [currentBreakpoint!]: classBreakpoint } = classesBreakpoints;\n const contentClasses = classMap({\n [classBreakpoint]: classBreakpoint,\n [`${prefix}--accordion__content`]: true,\n });\n return html`\n <button\n ?disabled=\"${disabled}\"\n type=\"button\"\n part=\"expando\"\n class=\"${prefix}--accordion__heading\"\n aria-controls=\"content\"\n aria-expanded=\"${open}\"\n @click=\"${handleClickExpando}\">\n ${iconLoader(ChevronRight16, {\n part: 'expando-icon',\n class: `${prefix}--accordion__arrow`,\n })}\n <div part=\"title\" class=\"${prefix}--accordion__title\">\n <slot name=\"title\">${title}</slot>\n </div>\n </button>\n <div class=\"${prefix}--accordion__wrapper\" part=\"wrapper\">\n <div id=\"content\" part=\"content\" class=\"${contentClasses}\">\n <slot></slot>\n </div>\n </div>\n `;\n }\n\n /**\n * The CSS classes for breakpoints.\n *\n * @private\n */\n static get _classesBreakpoints() {\n return {\n [ACCORDION_ITEM_BREAKPOINT.SMALL]: `${prefix}-ce--accordion__content--${ACCORDION_ITEM_BREAKPOINT.SMALL}`,\n [ACCORDION_ITEM_BREAKPOINT.MEDIUM]: `${prefix}-ce--accordion__content--${ACCORDION_ITEM_BREAKPOINT.MEDIUM}`,\n };\n }\n\n /**\n * The breakpoints.\n *\n * @private\n */\n static get _sizesBreakpoints() {\n return {\n [ACCORDION_ITEM_BREAKPOINT.SMALL]: 480,\n [ACCORDION_ITEM_BREAKPOINT.MEDIUM]: 640,\n };\n }\n\n /**\n * The name of the custom event fired before this accordion item is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling this accordion item.\n */\n static get eventBeforeToggle() {\n return `${prefix}-accordion-item-beingtoggled`;\n }\n\n /**\n * The name of the custom event fired after this accordion item is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${prefix}-accordion-item-toggled`;\n }\n\n static styles = styles;\n}\n\nexport default CDSAccordionItem;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,MAAM,iBAAiB,UAA0B,SAAkB;CACjE,IAAI,CAAC,MACH,OAAO;CAET,SAAS,QAAQ,IAAI;CACrB,OAAO,EACL,UAAU;EACR,SAAS,UAAU,IAAI;EACvB,OAAO;CACT,EACF;AACF;;;;;;;;;;;;AAaA,IAAA,mBAAA,MACM,yBAAyB,WAAW,UAAU,CAAC,CAAC;;;yBAeX;yBAyDf,IAAI,gBAC3B,YAAmC;GAClC,MAAM,EAAE,UAAU,QAAQ,QAAQ,SAAS,EAAE,CAAC;GAC9C,MAAM,EAAE,mBAAmB,qBAAqB,KAC7C;GACH,KAAK,qBAAqB,OAAO,KAAK,gBAA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C,KAAK;kBACZ,mBAAmB;UAC3B,WAAW,gBAAgB;GAC3B,MAAM;GACN,OAAO;EACT,CAAC,EAAE;yCAC+B;+BACX,MAAM;;;0BAGV;kDACuB,eAAe;;;;;CAK/D;;;;;;CAOA,WAAW,sBAAsB;EAC/B,OAAO;WAC8B;WACC;EACtC;CACF;;;;;;CAOA,WAAW,oBAAoB;EAC7B,OAAO;WAC8B;WACC;EACtC;CACF;;;;;CAMA,WAAW,oBAAoB;EAC7B,OAAO;CACT;;;;CAKA,WAAW,cAAc;EACvB,OAAO;CACT;;gBAEgBA;;AAClB;YAtMG,MAAM,0BAAgC,CAAA,GAAA,iBAAA,WAAA,qBAAA,KAAA,CAAA;YAqFtC,SAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAAA,GAAA,iBAAA,WAAA,YAAA,KAAA,CAAA;YAMzC,SAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAAA,GAAA,iBAAA,WAAA,QAAA,KAAA,CAAA;YAMzC,SAAS,EAAE,WAAW,QAAQ,CAAC,CAAA,GAAA,iBAAA,WAAA,SAAA,KAAA,CAAA;+BAtGjCC,cAAc,oBAA0B,CAAA,GAAA,gBAAA;AA6MzC,IAAA,yBAAe"}
@@ -0,0 +1,107 @@
1
+ /**
2
+ * Copyright IBM Corp. 2026, 2026
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { LitElement } from 'lit';
8
+ import CDSButton from '../button/button';
9
+ import '../button/index';
10
+ export declare const ButtonSizes: readonly ["sm", "md", "lg", "xl", "2xl"];
11
+ export type ButtonSize = (typeof ButtonSizes)[number];
12
+ export type ButtonKind = 'primary' | 'secondary' | 'tertiary' | 'danger' | 'ghost' | 'danger--ghost';
13
+ /**
14
+ * Action button configuration that extends CDSButton properties.
15
+ * Includes all standard button attributes plus custom action-specific properties.
16
+ */
17
+ export interface ActionButton extends Partial<Omit<CDSButton, 'kind'>> {
18
+ kind?: ButtonKind;
19
+ label?: string;
20
+ loading?: boolean;
21
+ onClick?: (event: Event) => void;
22
+ [key: string]: unknown;
23
+ }
24
+ /**
25
+ * Action Set component - A specialized button set with validation and ordering logic.
26
+ * Extends Carbon's button-set with additional features for action buttons.
27
+ *
28
+ * @element cds-custom-action-set
29
+ * @slot - Slot for cds-custom-button elements (used when actions prop is not provided)
30
+ */
31
+ export declare class CDSActionSet extends LitElement {
32
+ /**
33
+ * Number of slotted buttons (computed internally).
34
+ */
35
+ private _slottedButtonCount;
36
+ /**
37
+ * Computed property: `true` if the buttons are currently stacked.
38
+ * This is derived from size, disableStacking, and button count.
39
+ */
40
+ get stacked(): boolean;
41
+ /**
42
+ * The size of buttons to use for the actions.
43
+ */
44
+ buttonSize?: ButtonSize;
45
+ /**
46
+ * The size of the action set. Different button arrangements are used at
47
+ * different sizes, to make best use of the available space.
48
+ */
49
+ size: ButtonSize;
50
+ /**
51
+ * When true, prevents automatic stacking of buttons even when size would
52
+ * normally trigger stacking (e.g., 'sm' size or 'md' with 3+ actions).
53
+ * Buttons will remain in a horizontal layout.
54
+ */
55
+ disableStacking: boolean;
56
+ /**
57
+ * Array of action button configurations. When provided, buttons will be
58
+ * rendered internally instead of using slotted content.
59
+ */
60
+ actions: ActionButton[];
61
+ static styles: any;
62
+ /**
63
+ * Applies common button styling (size, classes, expressive attribute)
64
+ * @private
65
+ */
66
+ private _applyButtonStyles;
67
+ /**
68
+ * Processes actions: validates, determines stacking, and sorts
69
+ * @private
70
+ */
71
+ private _processActions;
72
+ /**
73
+ * Handler for @slotchange, processes and orders buttons based on ActionSet logic
74
+ *
75
+ * @private
76
+ */
77
+ protected _handleSlotChange(event: Event): void;
78
+ /**
79
+ * Reorders the button elements in the DOM based on the sorted actions
80
+ * and applies appropriate styling
81
+ *
82
+ * @private
83
+ */
84
+ private _reorderButtons;
85
+ /**
86
+ * When a button within the action-set is focused, hide the margin on both sides
87
+ * of the focused button, by applying the appropriate styles to its sibling
88
+ *
89
+ * @private
90
+ */
91
+ private _hideSiblingMargin;
92
+ connectedCallback(): void;
93
+ disconnectedCallback(): void;
94
+ /**
95
+ * Renders buttons from the actions prop
96
+ * @private
97
+ */
98
+ private _renderActionsFromProp;
99
+ render(): import("lit-html").TemplateResult<1>;
100
+ }
101
+ declare global {
102
+ interface HTMLElementTagNameMap {
103
+ 'cds-custom-action-set': CDSActionSet;
104
+ }
105
+ }
106
+ export default CDSActionSet;
107
+ //# sourceMappingURL=action-set.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-set.d.ts","sourceRoot":"","sources":["../../../src/components/action-set/action-set.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAMvC,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,iBAAiB,CAAC;AAKzB,eAAO,MAAM,WAAW,0CAA2C,CAAC;AACpE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,WAAW,GACX,UAAU,GACV,QAAQ,GACR,OAAO,GACP,eAAe,CAAC;AAEpB;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAEpE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAGjC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AA6GD;;;;;;GAMG;AACH,qBACa,YAAa,SAAQ,UAAU;IAC1C;;OAEG;IAEH,OAAO,CAAC,mBAAmB,CAAK;IAEhC;;;OAGG;IACH,IAAI,OAAO,IAAI,OAAO,CAGrB;IAED;;OAEG;IAEH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;OAGG;IAEH,IAAI,EAAE,UAAU,CAAQ;IAExB;;;;OAIG;IAEH,eAAe,EAAE,OAAO,CAAS;IAEjC;;;OAGG;IAEH,OAAO,EAAE,YAAY,EAAE,CAAM;IAE7B,MAAM,CAAC,MAAM,MAAU;IAEvB;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAc1B;;;OAGG;IACH,OAAO,CAAC,eAAe;IAmBvB;;;;OAIG;IACH,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,KAAK;IA6CxC;;;;;OAKG;IACH,OAAO,CAAC,eAAe;IAmBvB;;;;;OAKG;IACH,OAAO,CAAC,kBAAkB,CA+BxB;IAEF,iBAAiB;IAMjB,oBAAoB;IAMpB;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IA6D9B,MAAM;CAwCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,YAAY,CAAC;KAChC;CACF;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,269 @@
1
+ /**
2
+ * Copyright IBM Corp. 2026
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import "../../globals/settings.js";
9
+ import { carbonElement } from "../../globals/decorators/carbon-element.js";
10
+ import __decorate from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/decorate.js";
11
+ import "../button/index.js";
12
+ import action_set_default$1 from "./action-set.scss.js";
13
+ import { LitElement, html } from "lit";
14
+ import { property, state } from "lit/decorators.js";
15
+ import { classMap } from "lit/directives/class-map.js";
16
+ import { ref } from "lit/directives/ref.js";
17
+ //#region src/components/action-set/action-set.ts
18
+ /**
19
+ * Copyright IBM Corp. 2026, 2026
20
+ *
21
+ * This source code is licensed under the Apache-2.0 license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */
24
+ const blockClass = `cds-custom--action-set`;
25
+ const ButtonSizes = [
26
+ "sm",
27
+ "md",
28
+ "lg",
29
+ "xl",
30
+ "2xl"
31
+ ];
32
+ const defaultKind = "primary";
33
+ /**
34
+ * Determines if buttons should be stacked based on size and number of actions
35
+ */
36
+ const willStack = (size, numberOfActions) => size === "sm" || size === "md" && numberOfActions > 2;
37
+ /**
38
+ * Returns the order priority for a button kind
39
+ * Lower numbers appear first (or last when stacking)
40
+ */
41
+ const buttonOrder = (kind) => ({
42
+ ghost: 1,
43
+ "danger--ghost": 2,
44
+ tertiary: 3,
45
+ danger: 5,
46
+ primary: 6
47
+ })[kind] ?? 4;
48
+ /**
49
+ * Sorts actions based on button kind and stacking mode
50
+ * When not stacking: ghost first, primary last
51
+ * When stacking: primary first, ghost last
52
+ */
53
+ const sortActions = (actions, stacking) => {
54
+ const sortedActions = [...actions];
55
+ sortedActions.sort((action1, action2) => (buttonOrder(action1.kind || defaultKind) - buttonOrder(action2.kind || defaultKind)) * (stacking ? -1 : 1));
56
+ return sortedActions;
57
+ };
58
+ /**
59
+ * Validates action set configuration and returns problems
60
+ */
61
+ const validateActionSet = (actions, size) => {
62
+ if (!actions || actions.length === 0) return [];
63
+ const problems = [];
64
+ const stacking = willStack(size, actions.length);
65
+ const countActions = (kind) => actions.filter((action) => (action.kind || defaultKind) === kind).length;
66
+ const primaryActions = countActions("primary");
67
+ const secondaryActions = countActions("secondary");
68
+ const tertiaryActions = countActions("tertiary");
69
+ const dangerActions = countActions("danger");
70
+ const ghostActions = countActions("ghost") + countActions("danger--ghost");
71
+ if (stacking && actions.length > 3) problems.push("you cannot have more than three actions in this size of ActionSet");
72
+ if (actions.length > 4) problems.push("you cannot have more than four actions in an ActionSet");
73
+ if (primaryActions > 1) problems.push("you cannot have more than one 'primary' action in an ActionSet");
74
+ if (ghostActions > 1) problems.push("you cannot have more than one 'ghost' action in an ActionSet");
75
+ if (stacking && actions.length > 1 && ghostActions > 0) problems.push("you cannot have a 'ghost' button in conjunction with other action types in this size of ActionSet");
76
+ if (actions.length > primaryActions + secondaryActions + tertiaryActions + dangerActions + ghostActions) problems.push("you can only have 'primary', 'danger', 'secondary', 'tertiary', 'ghost' and 'danger--ghost' buttons in an ActionSet");
77
+ return problems;
78
+ };
79
+ let CDSActionSet = class CDSActionSet extends LitElement {
80
+ constructor(..._args) {
81
+ super(..._args);
82
+ this._slottedButtonCount = 0;
83
+ this.size = "md";
84
+ this.disableStacking = false;
85
+ this.actions = [];
86
+ this._hideSiblingMargin = () => {
87
+ let items = [];
88
+ const slot = this.shadowRoot?.querySelector("slot");
89
+ if (slot) items = slot.assignedElements().filter((el) => el.tagName.toLowerCase() === `cds-custom-button`);
90
+ if (items.length === 0 && this.shadowRoot) items = Array.from(this.shadowRoot.querySelectorAll(`cds-custom-button`));
91
+ if (items.length === 0) return;
92
+ const focusedIndex = items.findIndex((el) => el.matches(":focus-within"));
93
+ items.forEach((el, idx) => {
94
+ const shouldHide = focusedIndex >= 0 && (idx === focusedIndex || idx === focusedIndex + 1);
95
+ el.toggleAttribute("hide-margin", shouldHide);
96
+ });
97
+ };
98
+ }
99
+ /**
100
+ * Computed property: `true` if the buttons are currently stacked.
101
+ * This is derived from size, disableStacking, and button count.
102
+ */
103
+ get stacked() {
104
+ const buttonCount = this.actions?.length || this._slottedButtonCount;
105
+ return this.disableStacking ? false : willStack(this.size, buttonCount);
106
+ }
107
+ static {
108
+ this.styles = action_set_default$1;
109
+ }
110
+ /**
111
+ * Applies common button styling (size, classes, expressive attribute)
112
+ * @private
113
+ */
114
+ _applyButtonStyles(button, kind) {
115
+ if (this.buttonSize) button.setAttribute("size", this.buttonSize);
116
+ button.classList.add(`${blockClass}__action-button`);
117
+ if (kind === "ghost" || kind === "danger--ghost") button.classList.add(`${blockClass}__action-button--ghost`);
118
+ button.setAttribute("is-expressive", "true");
119
+ }
120
+ /**
121
+ * Processes actions: validates, determines stacking, and sorts
122
+ * @private
123
+ */
124
+ _processActions(actions) {
125
+ const problems = validateActionSet(actions, this.size);
126
+ const stacking = this.disableStacking ? false : willStack(this.size, actions.length);
127
+ const sortedActions = sortActions(actions, stacking);
128
+ if (problems.length > 0) console.warn(`Invalid actions in ActionSet: ${problems.join(", and ")}.`);
129
+ return {
130
+ sortedActions,
131
+ stacking,
132
+ problems
133
+ };
134
+ }
135
+ /**
136
+ * Handler for @slotchange, processes and orders buttons based on ActionSet logic
137
+ *
138
+ * @private
139
+ */
140
+ _handleSlotChange(event) {
141
+ const childItems = event.target.assignedNodes().filter((elem) => elem.matches !== void 0 ? elem.matches(`cds-custom-button`) : false);
142
+ if (childItems.length === 0) return;
143
+ const actions = childItems.map((button) => {
144
+ const kind = button.getAttribute("kind");
145
+ const disabled = button.hasAttribute("disabled");
146
+ const label = button.textContent?.trim() || "";
147
+ return {
148
+ kind: kind || "primary",
149
+ disabled,
150
+ label
151
+ };
152
+ });
153
+ const { sortedActions } = this._processActions(actions);
154
+ this._slottedButtonCount = childItems.length;
155
+ this._reorderButtons(childItems, sortedActions);
156
+ const update = new CustomEvent(`cds-custom-action-set-update`, {
157
+ bubbles: true,
158
+ cancelable: true,
159
+ composed: true
160
+ });
161
+ this.dispatchEvent(update);
162
+ }
163
+ /**
164
+ * Reorders the button elements in the DOM based on the sorted actions
165
+ * and applies appropriate styling
166
+ *
167
+ * @private
168
+ */
169
+ _reorderButtons(buttons, sortedActions) {
170
+ const buttonMap = /* @__PURE__ */ new Map();
171
+ buttons.forEach((button) => {
172
+ const label = button.textContent?.trim() || "";
173
+ buttonMap.set(label, button);
174
+ });
175
+ sortedActions.forEach((action) => {
176
+ const button = buttonMap.get(action.label || "");
177
+ if (button) this._applyButtonStyles(button, action.kind);
178
+ });
179
+ }
180
+ connectedCallback() {
181
+ super.connectedCallback();
182
+ this.addEventListener("focusin", this._hideSiblingMargin);
183
+ this.addEventListener("focusout", this._hideSiblingMargin);
184
+ }
185
+ disconnectedCallback() {
186
+ super.disconnectedCallback();
187
+ this.removeEventListener("focusin", this._hideSiblingMargin);
188
+ this.removeEventListener("focusout", this._hideSiblingMargin);
189
+ }
190
+ /**
191
+ * Renders buttons from the actions prop
192
+ * @private
193
+ */
194
+ _renderActionsFromProp() {
195
+ if (!this.actions || this.actions.length === 0) return null;
196
+ const { sortedActions } = this._processActions(this.actions);
197
+ return sortedActions.map((action) => {
198
+ const { kind = "primary", label = "", disabled = false, loading = false, onClick, class: customClass, ...rest } = action;
199
+ const buttonClasses = classMap({
200
+ [`${blockClass}__action-button`]: true,
201
+ [`${blockClass}__action-button--ghost`]: kind === "ghost" || kind === "danger--ghost",
202
+ ...customClass ? { [customClass]: true } : {}
203
+ });
204
+ const buttonRef = (el) => {
205
+ if (el && rest) Object.entries(rest).forEach(([key, value]) => {
206
+ if (value !== void 0 && value !== null) if (typeof value === "boolean") if (value) el.setAttribute(key, "");
207
+ else el.removeAttribute(key);
208
+ else el.setAttribute(key, String(value));
209
+ });
210
+ };
211
+ return html`
212
+ <cds-custom-button
213
+ ${ref(buttonRef)}
214
+ class="${buttonClasses}"
215
+ kind="${kind}"
216
+ size="${this.buttonSize}"
217
+ ?disabled="${disabled || loading}"
218
+ is-expressive="true"
219
+ @click="${typeof onClick === "function" ? onClick : () => {}}">
220
+ ${label}
221
+ </cds-custom-button>
222
+ `;
223
+ });
224
+ }
225
+ render() {
226
+ const { actions, _slottedButtonCount, stacked } = this;
227
+ const buttonCount = actions?.length || _slottedButtonCount;
228
+ const defaultClasses = {
229
+ [blockClass]: true,
230
+ [`${blockClass}--row-single`]: !stacked && buttonCount === 1,
231
+ [`${blockClass}--row-double`]: !stacked && buttonCount === 2,
232
+ [`${blockClass}--row-triple`]: !stacked && buttonCount === 3,
233
+ [`${blockClass}--row-quadruple`]: !stacked && buttonCount >= 4,
234
+ [`${blockClass}--stacking`]: stacked,
235
+ [`${blockClass}--${this.size}`]: true
236
+ };
237
+ if (actions && actions.length > 0) return html`<div
238
+ class="${classMap({
239
+ ...defaultClasses,
240
+ [`cds-custom--btn-set--stacked`]: stacked,
241
+ [`cds-custom--btn-set`]: true
242
+ })}"
243
+ part="action-set"
244
+ role="list">
245
+ ${this._renderActionsFromProp()}
246
+ </div>`;
247
+ return html`<div class="${classMap({
248
+ ...defaultClasses,
249
+ [`cds-custom--btn-set--stacked`]: stacked,
250
+ [`cds-custom--btn-set`]: true
251
+ })}" part="action-set" role="list">
252
+ <slot @slotchange="${this._handleSlotChange}"></slot>
253
+ </div>`;
254
+ }
255
+ };
256
+ __decorate([state()], CDSActionSet.prototype, "_slottedButtonCount", void 0);
257
+ __decorate([property({ attribute: "button-size" })], CDSActionSet.prototype, "buttonSize", void 0);
258
+ __decorate([property()], CDSActionSet.prototype, "size", void 0);
259
+ __decorate([property({
260
+ type: Boolean,
261
+ attribute: "disable-stacking"
262
+ })], CDSActionSet.prototype, "disableStacking", void 0);
263
+ __decorate([property({ type: Array })], CDSActionSet.prototype, "actions", void 0);
264
+ CDSActionSet = __decorate([carbonElement(`cds-custom-action-set`)], CDSActionSet);
265
+ var action_set_default = CDSActionSet;
266
+ //#endregion
267
+ export { ButtonSizes, CDSActionSet, action_set_default as default };
268
+
269
+ //# sourceMappingURL=action-set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-set.js","names":["styles","customElement"],"sources":["../../../src/components/action-set/action-set.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2026, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html, LitElement } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { ref } from 'lit/directives/ref.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './action-set.scss?lit';\nimport CDSButton from '../button/button';\nimport '../button/index';\n\nconst blockClass = `${prefix}--action-set`;\n\n// Type definitions\nexport const ButtonSizes = ['sm', 'md', 'lg', 'xl', '2xl'] as const;\nexport type ButtonSize = (typeof ButtonSizes)[number];\n\nexport type ButtonKind =\n | 'primary'\n | 'secondary'\n | 'tertiary'\n | 'danger'\n | 'ghost'\n | 'danger--ghost';\n\n/**\n * Action button configuration that extends CDSButton properties.\n * Includes all standard button attributes plus custom action-specific properties.\n */\nexport interface ActionButton extends Partial<Omit<CDSButton, 'kind'>> {\n // Action-specific properties (override CDSButton types where needed)\n kind?: ButtonKind;\n label?: string;\n loading?: boolean;\n onClick?: (event: Event) => void;\n\n // Allow any other HTML attributes or custom properties\n [key: string]: unknown;\n}\n\nconst defaultKind: ButtonKind = 'primary';\n\n/**\n * Determines if buttons should be stacked based on size and number of actions\n */\nconst willStack = (size: ButtonSize, numberOfActions: number): boolean =>\n size === 'sm' || (size === 'md' && numberOfActions > 2);\n\n/**\n * Returns the order priority for a button kind\n * Lower numbers appear first (or last when stacking)\n */\nconst buttonOrder = (kind: ButtonKind): number =>\n ({\n ghost: 1,\n 'danger--ghost': 2,\n tertiary: 3,\n danger: 5,\n primary: 6,\n })[kind] ?? 4;\n\n/**\n * Sorts actions based on button kind and stacking mode\n * When not stacking: ghost first, primary last\n * When stacking: primary first, ghost last\n */\nconst sortActions = (\n actions: ActionButton[],\n stacking: boolean\n): ActionButton[] => {\n const sortedActions = [...actions];\n sortedActions.sort(\n (action1, action2) =>\n (buttonOrder(action1.kind || defaultKind) -\n buttonOrder(action2.kind || defaultKind)) *\n (stacking ? -1 : 1)\n );\n return sortedActions;\n};\n\n/**\n * Validates action set configuration and returns problems\n */\nconst validateActionSet = (\n actions: ActionButton[],\n size: ButtonSize\n): string[] => {\n if (!actions || actions.length === 0) {\n return [];\n }\n\n const problems: string[] = [];\n const stacking = willStack(size, actions.length);\n\n const countActions = (kind: ButtonKind): number =>\n actions.filter((action) => (action.kind || defaultKind) === kind).length;\n\n const primaryActions = countActions('primary');\n const secondaryActions = countActions('secondary');\n const tertiaryActions = countActions('tertiary');\n const dangerActions = countActions('danger');\n const ghostActions = countActions('ghost') + countActions('danger--ghost');\n\n if (stacking && actions.length > 3) {\n problems.push(\n 'you cannot have more than three actions in this size of ActionSet'\n );\n }\n\n if (actions.length > 4) {\n problems.push('you cannot have more than four actions in an ActionSet');\n }\n\n if (primaryActions > 1) {\n problems.push(\n \"you cannot have more than one 'primary' action in an ActionSet\"\n );\n }\n\n if (ghostActions > 1) {\n problems.push(\n \"you cannot have more than one 'ghost' action in an ActionSet\"\n );\n }\n\n if (stacking && actions.length > 1 && ghostActions > 0) {\n problems.push(\n \"you cannot have a 'ghost' button in conjunction with other action types in this size of ActionSet\"\n );\n }\n\n if (\n actions.length >\n primaryActions +\n secondaryActions +\n tertiaryActions +\n dangerActions +\n ghostActions\n ) {\n problems.push(\n \"you can only have 'primary', 'danger', 'secondary', 'tertiary', 'ghost' and 'danger--ghost' buttons in an ActionSet\"\n );\n }\n\n return problems;\n};\n\n/**\n * Action Set component - A specialized button set with validation and ordering logic.\n * Extends Carbon's button-set with additional features for action buttons.\n *\n * @element cds-custom-action-set\n * @slot - Slot for cds-custom-button elements (used when actions prop is not provided)\n */\n@customElement(`${prefix}-action-set`)\nexport class CDSActionSet extends LitElement {\n /**\n * Number of slotted buttons (computed internally).\n */\n @state()\n private _slottedButtonCount = 0;\n\n /**\n * Computed property: `true` if the buttons are currently stacked.\n * This is derived from size, disableStacking, and button count.\n */\n get stacked(): boolean {\n const buttonCount = this.actions?.length || this._slottedButtonCount;\n return this.disableStacking ? false : willStack(this.size, buttonCount);\n }\n\n /**\n * The size of buttons to use for the actions.\n */\n @property({ attribute: 'button-size' })\n buttonSize?: ButtonSize;\n\n /**\n * The size of the action set. Different button arrangements are used at\n * different sizes, to make best use of the available space.\n */\n @property()\n size: ButtonSize = 'md';\n\n /**\n * When true, prevents automatic stacking of buttons even when size would\n * normally trigger stacking (e.g., 'sm' size or 'md' with 3+ actions).\n * Buttons will remain in a horizontal layout.\n */\n @property({ type: Boolean, attribute: 'disable-stacking' })\n disableStacking: boolean = false;\n\n /**\n * Array of action button configurations. When provided, buttons will be\n * rendered internally instead of using slotted content.\n */\n @property({ type: Array })\n actions: ActionButton[] = [];\n\n static styles = styles;\n\n /**\n * Applies common button styling (size, classes, expressive attribute)\n * @private\n */\n private _applyButtonStyles(button: HTMLElement, kind?: ButtonKind) {\n if (this.buttonSize) {\n button.setAttribute('size', this.buttonSize);\n }\n\n button.classList.add(`${blockClass}__action-button`);\n\n if (kind === 'ghost' || kind === 'danger--ghost') {\n button.classList.add(`${blockClass}__action-button--ghost`);\n }\n\n button.setAttribute('is-expressive', 'true');\n }\n\n /**\n * Processes actions: validates, determines stacking, and sorts\n * @private\n */\n private _processActions(actions: ActionButton[]): {\n sortedActions: ActionButton[];\n stacking: boolean;\n problems: string[];\n } {\n const problems = validateActionSet(actions, this.size);\n const stacking = this.disableStacking\n ? false\n : willStack(this.size, actions.length);\n const sortedActions = sortActions(actions, stacking);\n\n if (problems.length > 0) {\n // eslint-disable-next-line no-console\n console.warn(`Invalid actions in ActionSet: ${problems.join(', and ')}.`);\n }\n\n return { sortedActions, stacking, problems };\n }\n\n /**\n * Handler for @slotchange, processes and orders buttons based on ActionSet logic\n *\n * @private\n */\n protected _handleSlotChange(event: Event) {\n const childItems = (event.target as HTMLSlotElement)\n .assignedNodes()\n .filter((elem) =>\n (elem as HTMLElement).matches !== undefined\n ? (elem as HTMLElement).matches(`${prefix}-button`)\n : false\n ) as HTMLElement[];\n\n if (childItems.length === 0) {\n return;\n }\n\n // Extract button properties to create ActionButton objects\n const actions: ActionButton[] = childItems.map((button) => {\n const kind = button.getAttribute('kind') as ButtonKind;\n const disabled = button.hasAttribute('disabled');\n const label = button.textContent?.trim() || '';\n\n return {\n kind: kind || 'primary',\n disabled,\n label,\n };\n });\n\n // Process actions (validate, sort, determine stacking)\n const { sortedActions } = this._processActions(actions);\n\n // Update state\n this._slottedButtonCount = childItems.length;\n\n // Reorder and style the buttons\n this._reorderButtons(childItems, sortedActions);\n\n // Dispatch update event\n const update = new CustomEvent(`${prefix}-action-set-update`, {\n bubbles: true,\n cancelable: true,\n composed: true,\n });\n\n this.dispatchEvent(update);\n }\n\n /**\n * Reorders the button elements in the DOM based on the sorted actions\n * and applies appropriate styling\n *\n * @private\n */\n private _reorderButtons(\n buttons: HTMLElement[],\n sortedActions: ActionButton[]\n ) {\n // Create a map of button labels to elements for quick lookup\n const buttonMap = new Map<string, HTMLElement>();\n buttons.forEach((button) => {\n const label = button.textContent?.trim() || '';\n buttonMap.set(label, button);\n });\n // Apply styling to buttons based on sorted order\n sortedActions.forEach((action) => {\n const button = buttonMap.get(action.label || '');\n if (button) {\n this._applyButtonStyles(button, action.kind);\n }\n });\n }\n\n /**\n * When a button within the action-set is focused, hide the margin on both sides\n * of the focused button, by applying the appropriate styles to its sibling\n *\n * @private\n */\n private _hideSiblingMargin = () => {\n let items: HTMLElement[] = [];\n\n // Check if we have slotted content\n const slot = this.shadowRoot?.querySelector('slot');\n if (slot) {\n items = slot\n .assignedElements()\n .filter(\n (el) => el.tagName.toLowerCase() === `${prefix}-button`\n ) as HTMLElement[];\n }\n\n // If no slotted content, check for directly rendered buttons in shadow DOM\n if (items.length === 0 && this.shadowRoot) {\n items = Array.from(\n this.shadowRoot.querySelectorAll(`${prefix}-button`)\n ) as HTMLElement[];\n }\n\n if (items.length === 0) {\n return;\n }\n\n const focusedIndex = items.findIndex((el) => el.matches(':focus-within'));\n\n items.forEach((el, idx) => {\n const shouldHide =\n focusedIndex >= 0 && (idx === focusedIndex || idx === focusedIndex + 1);\n el.toggleAttribute('hide-margin', shouldHide);\n });\n };\n\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener('focusin', this._hideSiblingMargin);\n this.addEventListener('focusout', this._hideSiblingMargin);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('focusin', this._hideSiblingMargin);\n this.removeEventListener('focusout', this._hideSiblingMargin);\n }\n\n /**\n * Renders buttons from the actions prop\n * @private\n */\n private _renderActionsFromProp() {\n if (!this.actions || this.actions.length === 0) {\n return null;\n }\n\n // Process actions (validate, sort)\n const { sortedActions } = this._processActions(this.actions);\n\n return sortedActions.map((action) => {\n const {\n kind = 'primary',\n label = '',\n disabled = false,\n loading = false,\n onClick,\n class: customClass,\n ...rest\n } = action;\n\n // Merge custom class with action-set classes\n const buttonClasses = classMap({\n [`${blockClass}__action-button`]: true,\n [`${blockClass}__action-button--ghost`]:\n kind === 'ghost' || kind === 'danger--ghost',\n ...(customClass ? { [customClass as string]: true } : {}),\n });\n\n // Create a ref callback to apply rest properties (excluding class which is handled above)\n const buttonRef = (el: Element | undefined) => {\n if (el && rest) {\n Object.entries(rest).forEach(([key, value]) => {\n if (value !== undefined && value !== null) {\n if (typeof value === 'boolean') {\n if (value) {\n el.setAttribute(key, '');\n } else {\n el.removeAttribute(key);\n }\n } else {\n el.setAttribute(key, String(value));\n }\n }\n });\n }\n };\n\n return html`\n <cds-custom-button\n ${ref(buttonRef)}\n class=\"${buttonClasses}\"\n kind=\"${kind}\"\n size=\"${this.buttonSize}\"\n ?disabled=\"${disabled || loading}\"\n is-expressive=\"true\"\n @click=\"${typeof onClick === 'function' ? onClick : () => {}}\">\n ${label}\n </cds-custom-button>\n `;\n });\n }\n\n render() {\n const { actions, _slottedButtonCount, stacked } = this;\n const buttonCount = actions?.length || _slottedButtonCount;\n\n const defaultClasses = {\n [blockClass]: true,\n [`${blockClass}--row-single`]: !stacked && buttonCount === 1,\n [`${blockClass}--row-double`]: !stacked && buttonCount === 2,\n [`${blockClass}--row-triple`]: !stacked && buttonCount === 3,\n [`${blockClass}--row-quadruple`]: !stacked && buttonCount >= 4,\n [`${blockClass}--stacking`]: stacked,\n [`${blockClass}--${this.size}`]: true,\n };\n\n // If actions prop is provided, render buttons directly without cds-custom-button-set\n // to avoid button-set's automatic kind assignment\n if (actions && actions.length > 0) {\n const buttonSetClasses = classMap({\n ...defaultClasses,\n [`${prefix}--btn-set--stacked`]: stacked,\n [`${prefix}--btn-set`]: true,\n });\n\n return html`<div\n class=\"${buttonSetClasses}\"\n part=\"action-set\"\n role=\"list\">\n ${this._renderActionsFromProp()}\n </div>`;\n }\n\n const classes = classMap({\n ...defaultClasses,\n [`${prefix}--btn-set--stacked`]: stacked,\n [`${prefix}--btn-set`]: true,\n });\n return html`<div class=\"${classes}\" part=\"action-set\" role=\"list\">\n <slot @slotchange=\"${this._handleSlotChange}\"></slot>\n </div>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'cds-custom-action-set': CDSActionSet;\n }\n}\n\nexport default CDSActionSet;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,aAAa;AAGnB,MAAa,cAAc;CAAC;CAAM;CAAM;CAAM;CAAM;AAAK;AA0BzD,MAAM,cAA0B;;;;AAKhC,MAAM,aAAa,MAAkB,oBACnC,SAAS,QAAS,SAAS,QAAQ,kBAAkB;;;;;AAMvD,MAAM,eAAe,UAClB;CACC,OAAO;CACP,iBAAiB;CACjB,UAAU;CACV,QAAQ;CACR,SAAS;AACX,EAAA,CAAG,SAAS;;;;;;AAOd,MAAM,eACJ,SACA,aACmB;CACnB,MAAM,gBAAgB,CAAC,GAAG,OAAO;CACjC,cAAc,MACX,SAAS,aACP,YAAY,QAAQ,QAAQ,WAAW,IACtC,YAAY,QAAQ,QAAQ,WAAW,MACxC,WAAW,KAAK,EACrB;CACA,OAAO;AACT;;;;AAKA,MAAM,qBACJ,SACA,SACa;CACb,IAAI,CAAC,WAAW,QAAQ,WAAW,GACjC,OAAO,CAAC;CAGV,MAAM,WAAqB,CAAC;CAC5B,MAAM,WAAW,UAAU,MAAM,QAAQ,MAAM;CAE/C,MAAM,gBAAgB,SACpB,QAAQ,QAAQ,YAAY,OAAO,QAAQ,iBAAiB,IAAI,CAAC,CAAC;CAEpE,MAAM,iBAAiB,aAAa,SAAS;CAC7C,MAAM,mBAAmB,aAAa,WAAW;CACjD,MAAM,kBAAkB,aAAa,UAAU;CAC/C,MAAM,gBAAgB,aAAa,QAAQ;CAC3C,MAAM,eAAe,aAAa,OAAO,IAAI,aAAa,eAAe;C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