@carbon/ibm-products-web-components 0.37.0 → 0.38.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 (275) hide show
  1. package/custom-elements.json +957 -4843
  2. package/es/components/about-modal/about-modal.d.ts +0 -350
  3. package/es/components/about-modal/about-modal.d.ts.map +1 -1
  4. package/es/components/about-modal/about-modal.scss.js +1 -1
  5. package/es/components/about-modal/about-modal.scss.js.map +1 -1
  6. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -350
  7. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -1
  8. package/es/components/coachmark/coachmark-body.d.ts +0 -350
  9. package/es/components/coachmark/coachmark-body.d.ts.map +1 -1
  10. package/es/components/coachmark/coachmark-header.d.ts +0 -350
  11. package/es/components/coachmark/coachmark-header.d.ts.map +1 -1
  12. package/es/components/coachmark/coachmark-header.js +11 -2
  13. package/es/components/coachmark/coachmark-header.js.map +1 -1
  14. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +0 -350
  15. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -1
  16. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -1
  17. package/es/components/coachmark/coachmark.d.ts +7 -350
  18. package/es/components/coachmark/coachmark.d.ts.map +1 -1
  19. package/es/components/coachmark/coachmark.js +10 -0
  20. package/es/components/coachmark/coachmark.js.map +1 -1
  21. package/es/components/guide-banner/guide-banner-element.d.ts +0 -350
  22. package/es/components/guide-banner/guide-banner-element.d.ts.map +1 -1
  23. package/es/components/guide-banner/guide-banner.d.ts +0 -350
  24. package/es/components/guide-banner/guide-banner.d.ts.map +1 -1
  25. package/es/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -350
  26. package/es/components/interstitial-screen/interstitial-screen-body-item.d.ts.map +1 -1
  27. package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js +1 -1
  28. package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +1 -1
  29. package/es/components/interstitial-screen/interstitial-screen-body.d.ts +0 -350
  30. package/es/components/interstitial-screen/interstitial-screen-body.d.ts.map +1 -1
  31. package/es/components/interstitial-screen/interstitial-screen-body.scss.js +1 -1
  32. package/es/components/interstitial-screen/interstitial-screen-body.scss.js.map +1 -1
  33. package/es/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -350
  34. package/es/components/interstitial-screen/interstitial-screen-footer.d.ts.map +1 -1
  35. package/es/components/interstitial-screen/interstitial-screen-header.d.ts +0 -350
  36. package/es/components/interstitial-screen/interstitial-screen-header.d.ts.map +1 -1
  37. package/es/components/interstitial-screen/interstitial-screen.d.ts +0 -350
  38. package/es/components/interstitial-screen/interstitial-screen.d.ts.map +1 -1
  39. package/es/components/notification-panel/notification-footer.d.ts +0 -350
  40. package/es/components/notification-panel/notification-footer.d.ts.map +1 -1
  41. package/es/components/notification-panel/notification-panel.d.ts +0 -350
  42. package/es/components/notification-panel/notification-panel.d.ts.map +1 -1
  43. package/es/components/notification-panel/notification.d.ts +0 -350
  44. package/es/components/notification-panel/notification.d.ts.map +1 -1
  45. package/es/components/options-tile/options-tile.d.ts +0 -350
  46. package/es/components/options-tile/options-tile.d.ts.map +1 -1
  47. package/es/components/page-header/_story-assets/overflowHandler.d.ts +99 -0
  48. package/es/components/page-header/_story-assets/overflowHandler.d.ts.map +1 -0
  49. package/es/components/page-header/_story-assets/overflowHandler.js +122 -0
  50. package/es/components/page-header/_story-assets/overflowHandler.js.map +1 -0
  51. package/es/components/page-header/index.d.ts +4 -1
  52. package/es/components/page-header/index.d.ts.map +1 -1
  53. package/es/components/page-header/index.js +3 -0
  54. package/es/components/page-header/page-header-actions-set/index.d.ts +10 -0
  55. package/es/components/page-header/page-header-actions-set/index.d.ts.map +1 -0
  56. package/es/components/page-header/page-header-actions-set/index.js +8 -0
  57. package/es/components/page-header/page-header-actions-set/page-header-actions-set.d.ts +50 -0
  58. package/es/components/page-header/page-header-actions-set/page-header-actions-set.d.ts.map +1 -0
  59. package/es/components/page-header/page-header-actions-set/page-header-actions-set.js +162 -0
  60. package/es/components/page-header/page-header-actions-set/page-header-actions-set.js.map +1 -0
  61. package/es/components/page-header/page-header-actions-set/page-header-actions-set.scss.js +15 -0
  62. package/es/components/page-header/page-header-actions-set/page-header-actions-set.scss.js.map +1 -0
  63. package/es/components/page-header/page-header-breadcrumbs-set/index.d.ts +10 -0
  64. package/es/components/page-header/page-header-breadcrumbs-set/index.d.ts.map +1 -0
  65. package/es/components/page-header/page-header-breadcrumbs-set/index.js +8 -0
  66. package/es/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.d.ts +48 -0
  67. package/es/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.d.ts.map +1 -0
  68. package/es/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.js +136 -0
  69. package/es/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.js.map +1 -0
  70. package/es/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.scss.js +15 -0
  71. package/es/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.scss.js.map +1 -0
  72. package/es/components/page-header/page-header-tags-set/index.d.ts +10 -0
  73. package/es/components/page-header/page-header-tags-set/index.d.ts.map +1 -0
  74. package/es/components/page-header/page-header-tags-set/index.js +8 -0
  75. package/es/components/page-header/page-header-tags-set/page-header-tags-set.d.ts +41 -0
  76. package/es/components/page-header/page-header-tags-set/page-header-tags-set.d.ts.map +1 -0
  77. package/es/components/page-header/page-header-tags-set/page-header-tags-set.js +210 -0
  78. package/es/components/page-header/page-header-tags-set/page-header-tags-set.js.map +1 -0
  79. package/es/components/page-header/page-header-tags-set/page-header-tags-set.scss.js +15 -0
  80. package/es/components/page-header/page-header-tags-set/page-header-tags-set.scss.js.map +1 -0
  81. package/es/components/page-header/page-header-tags-set/utils.d.ts +24 -0
  82. package/es/components/page-header/page-header-tags-set/utils.d.ts.map +1 -0
  83. package/es/components/page-header/page-header-tags-set/utils.js +42 -0
  84. package/es/components/page-header/page-header-tags-set/utils.js.map +1 -0
  85. package/es/components/page-header/page-header.scss.js +1 -1
  86. package/es/components/page-header/page-header.scss.js.map +1 -1
  87. package/es/components/page-header/utils.d.ts +9 -1
  88. package/es/components/page-header/utils.d.ts.map +1 -1
  89. package/es/components/page-header/utils.js +4 -2
  90. package/es/components/page-header/utils.js.map +1 -1
  91. package/es/components/side-panel/side-panel.d.ts +0 -350
  92. package/es/components/side-panel/side-panel.d.ts.map +1 -1
  93. package/es/components/tearsheet/tearsheet.d.ts +0 -370
  94. package/es/components/tearsheet/tearsheet.d.ts.map +1 -1
  95. package/es/components/tearsheet/tearsheet.scss.js +1 -1
  96. package/es/components/tearsheet-preview/index.d.ts +1 -0
  97. package/es/components/tearsheet-preview/index.d.ts.map +1 -1
  98. package/es/components/tearsheet-preview/index.js +1 -0
  99. package/es/components/tearsheet-preview/tearsheet-body.d.ts +0 -350
  100. package/es/components/tearsheet-preview/tearsheet-body.d.ts.map +1 -1
  101. package/es/components/tearsheet-preview/tearsheet-footer.d.ts +17 -351
  102. package/es/components/tearsheet-preview/tearsheet-footer.d.ts.map +1 -1
  103. package/es/components/tearsheet-preview/tearsheet-footer.js +31 -3
  104. package/es/components/tearsheet-preview/tearsheet-footer.js.map +1 -1
  105. package/es/components/tearsheet-preview/tearsheet-header-content.d.ts +0 -350
  106. package/es/components/tearsheet-preview/tearsheet-header-content.d.ts.map +1 -1
  107. package/es/components/tearsheet-preview/tearsheet-header-content.scss.js +1 -1
  108. package/es/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -1
  109. package/es/components/tearsheet-preview/tearsheet-header.d.ts +0 -350
  110. package/es/components/tearsheet-preview/tearsheet-header.d.ts.map +1 -1
  111. package/es/components/tearsheet-preview/tearsheet-header.scss.js +1 -1
  112. package/es/components/tearsheet-preview/tearsheet-header.scss.js.map +1 -1
  113. package/es/components/tearsheet-preview/tearsheet-influencer.d.ts +0 -350
  114. package/es/components/tearsheet-preview/tearsheet-influencer.d.ts.map +1 -1
  115. package/es/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +0 -350
  116. package/es/components/tearsheet-preview/tearsheet-navigation-bar.d.ts.map +1 -1
  117. package/es/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +1 -1
  118. package/es/components/tearsheet-preview/tearsheet-stack.d.ts +42 -0
  119. package/es/components/tearsheet-preview/tearsheet-stack.d.ts.map +1 -0
  120. package/es/components/tearsheet-preview/tearsheet-stack.js +83 -0
  121. package/es/components/tearsheet-preview/tearsheet-stack.js.map +1 -0
  122. package/es/components/tearsheet-preview/tearsheet-summary-content.d.ts +0 -350
  123. package/es/components/tearsheet-preview/tearsheet-summary-content.d.ts.map +1 -1
  124. package/es/components/tearsheet-preview/tearsheet.d.ts +16 -350
  125. package/es/components/tearsheet-preview/tearsheet.d.ts.map +1 -1
  126. package/es/components/tearsheet-preview/tearsheet.js +32 -3
  127. package/es/components/tearsheet-preview/tearsheet.js.map +1 -1
  128. package/es/components/tearsheet-preview/tearsheet.scss.js +1 -1
  129. package/es/components/tearsheet-preview/tearsheet.scss.js.map +1 -1
  130. package/es/components/user-avatar/user-avatar.d.ts +0 -350
  131. package/es/components/user-avatar/user-avatar.d.ts.map +1 -1
  132. package/es/package.js +1 -1
  133. package/es-custom/components/about-modal/about-modal.scss.js +1 -1
  134. package/es-custom/components/about-modal/about-modal.scss.js.map +1 -1
  135. package/es-custom/components/coachmark/coachmark-header.js +11 -2
  136. package/es-custom/components/coachmark/coachmark-header.js.map +1 -1
  137. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -1
  138. package/es-custom/components/coachmark/coachmark.js +10 -0
  139. package/es-custom/components/coachmark/coachmark.js.map +1 -1
  140. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js +1 -1
  141. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +1 -1
  142. package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js +1 -1
  143. package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js.map +1 -1
  144. package/es-custom/components/page-header/_story-assets/overflowHandler.js +122 -0
  145. package/es-custom/components/page-header/_story-assets/overflowHandler.js.map +1 -0
  146. package/es-custom/components/page-header/index.js +3 -0
  147. package/es-custom/components/page-header/page-header-actions-set/index.js +8 -0
  148. package/es-custom/components/page-header/page-header-actions-set/page-header-actions-set.js +162 -0
  149. package/es-custom/components/page-header/page-header-actions-set/page-header-actions-set.js.map +1 -0
  150. package/es-custom/components/page-header/page-header-actions-set/page-header-actions-set.scss.js +15 -0
  151. package/es-custom/components/page-header/page-header-actions-set/page-header-actions-set.scss.js.map +1 -0
  152. package/es-custom/components/page-header/page-header-breadcrumbs-set/index.js +8 -0
  153. package/es-custom/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.js +136 -0
  154. package/es-custom/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.js.map +1 -0
  155. package/es-custom/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.scss.js +15 -0
  156. package/es-custom/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.scss.js.map +1 -0
  157. package/es-custom/components/page-header/page-header-tags-set/index.js +8 -0
  158. package/es-custom/components/page-header/page-header-tags-set/page-header-tags-set.js +210 -0
  159. package/es-custom/components/page-header/page-header-tags-set/page-header-tags-set.js.map +1 -0
  160. package/es-custom/components/page-header/page-header-tags-set/page-header-tags-set.scss.js +15 -0
  161. package/es-custom/components/page-header/page-header-tags-set/page-header-tags-set.scss.js.map +1 -0
  162. package/es-custom/components/page-header/page-header-tags-set/utils.js +42 -0
  163. package/es-custom/components/page-header/page-header-tags-set/utils.js.map +1 -0
  164. package/es-custom/components/page-header/page-header.scss.js +1 -1
  165. package/es-custom/components/page-header/page-header.scss.js.map +1 -1
  166. package/es-custom/components/page-header/utils.js +4 -2
  167. package/es-custom/components/page-header/utils.js.map +1 -1
  168. package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
  169. package/es-custom/components/tearsheet-preview/index.js +1 -0
  170. package/es-custom/components/tearsheet-preview/tearsheet-footer.js +31 -3
  171. package/es-custom/components/tearsheet-preview/tearsheet-footer.js.map +1 -1
  172. package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js +1 -1
  173. package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -1
  174. package/es-custom/components/tearsheet-preview/tearsheet-header.scss.js +1 -1
  175. package/es-custom/components/tearsheet-preview/tearsheet-header.scss.js.map +1 -1
  176. package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +1 -1
  177. package/es-custom/components/tearsheet-preview/tearsheet-stack.js +83 -0
  178. package/es-custom/components/tearsheet-preview/tearsheet-stack.js.map +1 -0
  179. package/es-custom/components/tearsheet-preview/tearsheet.js +32 -3
  180. package/es-custom/components/tearsheet-preview/tearsheet.js.map +1 -1
  181. package/es-custom/components/tearsheet-preview/tearsheet.scss.js +1 -1
  182. package/es-custom/components/tearsheet-preview/tearsheet.scss.js.map +1 -1
  183. package/es-custom/package.js +1 -1
  184. package/lib/components/about-modal/about-modal.d.ts +0 -350
  185. package/lib/components/about-modal/about-modal.d.ts.map +1 -1
  186. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -350
  187. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -1
  188. package/lib/components/coachmark/coachmark-body.d.ts +0 -350
  189. package/lib/components/coachmark/coachmark-body.d.ts.map +1 -1
  190. package/lib/components/coachmark/coachmark-header.d.ts +0 -350
  191. package/lib/components/coachmark/coachmark-header.d.ts.map +1 -1
  192. package/lib/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +0 -350
  193. package/lib/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -1
  194. package/lib/components/coachmark/coachmark.d.ts +7 -350
  195. package/lib/components/coachmark/coachmark.d.ts.map +1 -1
  196. package/lib/components/guide-banner/guide-banner-element.d.ts +0 -350
  197. package/lib/components/guide-banner/guide-banner-element.d.ts.map +1 -1
  198. package/lib/components/guide-banner/guide-banner.d.ts +0 -350
  199. package/lib/components/guide-banner/guide-banner.d.ts.map +1 -1
  200. package/lib/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -350
  201. package/lib/components/interstitial-screen/interstitial-screen-body-item.d.ts.map +1 -1
  202. package/lib/components/interstitial-screen/interstitial-screen-body.d.ts +0 -350
  203. package/lib/components/interstitial-screen/interstitial-screen-body.d.ts.map +1 -1
  204. package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -350
  205. package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts.map +1 -1
  206. package/lib/components/interstitial-screen/interstitial-screen-header.d.ts +0 -350
  207. package/lib/components/interstitial-screen/interstitial-screen-header.d.ts.map +1 -1
  208. package/lib/components/interstitial-screen/interstitial-screen.d.ts +0 -350
  209. package/lib/components/interstitial-screen/interstitial-screen.d.ts.map +1 -1
  210. package/lib/components/notification-panel/notification-footer.d.ts +0 -350
  211. package/lib/components/notification-panel/notification-footer.d.ts.map +1 -1
  212. package/lib/components/notification-panel/notification-panel.d.ts +0 -350
  213. package/lib/components/notification-panel/notification-panel.d.ts.map +1 -1
  214. package/lib/components/notification-panel/notification.d.ts +0 -350
  215. package/lib/components/notification-panel/notification.d.ts.map +1 -1
  216. package/lib/components/options-tile/options-tile.d.ts +0 -350
  217. package/lib/components/options-tile/options-tile.d.ts.map +1 -1
  218. package/lib/components/page-header/_story-assets/overflowHandler.d.ts +99 -0
  219. package/lib/components/page-header/_story-assets/overflowHandler.d.ts.map +1 -0
  220. package/lib/components/page-header/index.d.ts +4 -1
  221. package/lib/components/page-header/index.d.ts.map +1 -1
  222. package/lib/components/page-header/page-header-actions-set/index.d.ts +10 -0
  223. package/lib/components/page-header/page-header-actions-set/index.d.ts.map +1 -0
  224. package/lib/components/page-header/page-header-actions-set/page-header-actions-set.d.ts +50 -0
  225. package/lib/components/page-header/page-header-actions-set/page-header-actions-set.d.ts.map +1 -0
  226. package/lib/components/page-header/page-header-breadcrumbs-set/index.d.ts +10 -0
  227. package/lib/components/page-header/page-header-breadcrumbs-set/index.d.ts.map +1 -0
  228. package/lib/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.d.ts +48 -0
  229. package/lib/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.d.ts.map +1 -0
  230. package/lib/components/page-header/page-header-tags-set/index.d.ts +10 -0
  231. package/lib/components/page-header/page-header-tags-set/index.d.ts.map +1 -0
  232. package/lib/components/page-header/page-header-tags-set/page-header-tags-set.d.ts +41 -0
  233. package/lib/components/page-header/page-header-tags-set/page-header-tags-set.d.ts.map +1 -0
  234. package/lib/components/page-header/page-header-tags-set/utils.d.ts +24 -0
  235. package/lib/components/page-header/page-header-tags-set/utils.d.ts.map +1 -0
  236. package/lib/components/page-header/utils.d.ts +9 -1
  237. package/lib/components/page-header/utils.d.ts.map +1 -1
  238. package/lib/components/side-panel/side-panel.d.ts +0 -350
  239. package/lib/components/side-panel/side-panel.d.ts.map +1 -1
  240. package/lib/components/tearsheet/tearsheet.d.ts +0 -370
  241. package/lib/components/tearsheet/tearsheet.d.ts.map +1 -1
  242. package/lib/components/tearsheet-preview/index.d.ts +1 -0
  243. package/lib/components/tearsheet-preview/index.d.ts.map +1 -1
  244. package/lib/components/tearsheet-preview/tearsheet-body.d.ts +0 -350
  245. package/lib/components/tearsheet-preview/tearsheet-body.d.ts.map +1 -1
  246. package/lib/components/tearsheet-preview/tearsheet-footer.d.ts +17 -351
  247. package/lib/components/tearsheet-preview/tearsheet-footer.d.ts.map +1 -1
  248. package/lib/components/tearsheet-preview/tearsheet-header-content.d.ts +0 -350
  249. package/lib/components/tearsheet-preview/tearsheet-header-content.d.ts.map +1 -1
  250. package/lib/components/tearsheet-preview/tearsheet-header.d.ts +0 -350
  251. package/lib/components/tearsheet-preview/tearsheet-header.d.ts.map +1 -1
  252. package/lib/components/tearsheet-preview/tearsheet-influencer.d.ts +0 -350
  253. package/lib/components/tearsheet-preview/tearsheet-influencer.d.ts.map +1 -1
  254. package/lib/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +0 -350
  255. package/lib/components/tearsheet-preview/tearsheet-navigation-bar.d.ts.map +1 -1
  256. package/lib/components/tearsheet-preview/tearsheet-stack.d.ts +42 -0
  257. package/lib/components/tearsheet-preview/tearsheet-stack.d.ts.map +1 -0
  258. package/lib/components/tearsheet-preview/tearsheet-summary-content.d.ts +0 -350
  259. package/lib/components/tearsheet-preview/tearsheet-summary-content.d.ts.map +1 -1
  260. package/lib/components/tearsheet-preview/tearsheet.d.ts +16 -350
  261. package/lib/components/tearsheet-preview/tearsheet.d.ts.map +1 -1
  262. package/lib/components/user-avatar/user-avatar.d.ts +0 -350
  263. package/lib/components/user-avatar/user-avatar.d.ts.map +1 -1
  264. package/package.json +11 -11
  265. package/scss/components/about-modal/about-modal.scss +0 -2
  266. package/scss/components/interstitial-screen/interstitial-screen-body-item.scss +1 -1
  267. package/scss/components/interstitial-screen/interstitial-screen-body.scss +1 -1
  268. package/scss/components/page-header/page-header-actions-set/page-header-actions-set.scss +82 -0
  269. package/scss/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.scss +41 -0
  270. package/scss/components/page-header/page-header-tags-set/page-header-tags-set.scss +96 -0
  271. package/scss/components/page-header/page-header.scss +35 -4
  272. package/scss/components/tearsheet-preview/tearsheet-header-content.scss +10 -0
  273. package/scss/components/tearsheet-preview/tearsheet-header.scss +15 -0
  274. package/scss/components/tearsheet-preview/tearsheet.scss +1 -3
  275. package/telemetry.yml +22 -13
@@ -7,361 +7,13 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
  import { LitElement } from 'lit';
10
+ import type { ActionButton, ButtonSize } from '../action-set/index.js';
11
+ import '../action-set/index.js';
10
12
  declare const CDSTearsheetFooter_base: {
11
13
  new (...args: any[]): {
12
14
  _handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
13
15
  connectedCallback(): void;
14
16
  disconnectedCallback(): void;
15
- accessKey: string;
16
- readonly accessKeyLabel: string;
17
- autocapitalize: string;
18
- autocorrect: boolean;
19
- dir: string;
20
- draggable: boolean;
21
- hidden: boolean;
22
- inert: boolean;
23
- innerText: string;
24
- lang: string;
25
- readonly offsetHeight: number;
26
- readonly offsetLeft: number;
27
- readonly offsetParent: Element | null;
28
- readonly offsetTop: number;
29
- readonly offsetWidth: number;
30
- outerText: string;
31
- popover: string | null;
32
- spellcheck: boolean;
33
- title: string;
34
- translate: boolean;
35
- writingSuggestions: string;
36
- attachInternals(): ElementInternals;
37
- click(): void;
38
- hidePopover(): void;
39
- showPopover(): void;
40
- togglePopover(options?: boolean): boolean;
41
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
42
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
43
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
44
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
45
- readonly attributes: NamedNodeMap;
46
- get classList(): DOMTokenList;
47
- set classList(value: string): any;
48
- className: string;
49
- readonly clientHeight: number;
50
- readonly clientLeft: number;
51
- readonly clientTop: number;
52
- readonly clientWidth: number;
53
- readonly currentCSSZoom: number;
54
- id: string;
55
- innerHTML: string;
56
- readonly localName: string;
57
- readonly namespaceURI: string | null;
58
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
59
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
60
- outerHTML: string;
61
- readonly ownerDocument: Document;
62
- get part(): DOMTokenList;
63
- set part(value: string): any;
64
- readonly prefix: string | null;
65
- readonly scrollHeight: number;
66
- scrollLeft: number;
67
- scrollTop: number;
68
- readonly scrollWidth: number;
69
- readonly shadowRoot: ShadowRoot | null;
70
- slot: string;
71
- readonly tagName: string;
72
- attachShadow(init: ShadowRootInit): ShadowRoot;
73
- checkVisibility(options?: CheckVisibilityOptions): boolean;
74
- closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
75
- closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
76
- closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
77
- closest<E extends Element = Element>(selectors: string): E | null;
78
- computedStyleMap(): StylePropertyMapReadOnly;
79
- getAttribute(qualifiedName: string): string | null;
80
- getAttributeNS(namespace: string | null, localName: string): string | null;
81
- getAttributeNames(): string[];
82
- getAttributeNode(qualifiedName: string): Attr | null;
83
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
84
- getBoundingClientRect(): DOMRect;
85
- getClientRects(): DOMRectList;
86
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
87
- getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
88
- getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
89
- getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
90
- getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
91
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
92
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
93
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
94
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
95
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
96
- getHTML(options?: GetHTMLOptions): string;
97
- hasAttribute(qualifiedName: string): boolean;
98
- hasAttributeNS(namespace: string | null, localName: string): boolean;
99
- hasAttributes(): boolean;
100
- hasPointerCapture(pointerId: number): boolean;
101
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
102
- insertAdjacentHTML(position: InsertPosition, string: string): void;
103
- insertAdjacentText(where: InsertPosition, data: string): void;
104
- matches(selectors: string): boolean;
105
- releasePointerCapture(pointerId: number): void;
106
- removeAttribute(qualifiedName: string): void;
107
- removeAttributeNS(namespace: string | null, localName: string): void;
108
- removeAttributeNode(attr: Attr): Attr;
109
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
110
- requestPointerLock(options?: PointerLockOptions): Promise<void>;
111
- scroll(options?: ScrollToOptions): void;
112
- scroll(x: number, y: number): void;
113
- scrollBy(options?: ScrollToOptions): void;
114
- scrollBy(x: number, y: number): void;
115
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
116
- scrollTo(options?: ScrollToOptions): void;
117
- scrollTo(x: number, y: number): void;
118
- setAttribute(qualifiedName: string, value: string): void;
119
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
120
- setAttributeNode(attr: Attr): Attr | null;
121
- setAttributeNodeNS(attr: Attr): Attr | null;
122
- setHTMLUnsafe(html: string): void;
123
- setPointerCapture(pointerId: number): void;
124
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
125
- webkitMatchesSelector(selectors: string): boolean;
126
- get textContent(): string;
127
- set textContent(value: string | null): any;
128
- readonly baseURI: string;
129
- readonly childNodes: NodeListOf<ChildNode>;
130
- readonly firstChild: ChildNode | null;
131
- readonly isConnected: boolean;
132
- readonly lastChild: ChildNode | null;
133
- readonly nextSibling: ChildNode | null;
134
- readonly nodeName: string;
135
- readonly nodeType: number;
136
- nodeValue: string | null;
137
- readonly parentElement: HTMLElement | null;
138
- readonly parentNode: ParentNode | null;
139
- readonly previousSibling: ChildNode | null;
140
- appendChild<T_1 extends Node>(node: T_1): T_1;
141
- cloneNode(subtree?: boolean): Node;
142
- compareDocumentPosition(other: Node): number;
143
- contains(other: Node | null): boolean;
144
- getRootNode(options?: GetRootNodeOptions): Node;
145
- hasChildNodes(): boolean;
146
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
147
- isDefaultNamespace(namespace: string | null): boolean;
148
- isEqualNode(otherNode: Node | null): boolean;
149
- isSameNode(otherNode: Node | null): boolean;
150
- lookupNamespaceURI(prefix: string | null): string | null;
151
- lookupPrefix(namespace: string | null): string | null;
152
- normalize(): void;
153
- removeChild<T_1 extends Node>(child: T_1): T_1;
154
- replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
155
- readonly ELEMENT_NODE: 1;
156
- readonly ATTRIBUTE_NODE: 2;
157
- readonly TEXT_NODE: 3;
158
- readonly CDATA_SECTION_NODE: 4;
159
- readonly ENTITY_REFERENCE_NODE: 5;
160
- readonly ENTITY_NODE: 6;
161
- readonly PROCESSING_INSTRUCTION_NODE: 7;
162
- readonly COMMENT_NODE: 8;
163
- readonly DOCUMENT_NODE: 9;
164
- readonly DOCUMENT_TYPE_NODE: 10;
165
- readonly DOCUMENT_FRAGMENT_NODE: 11;
166
- readonly NOTATION_NODE: 12;
167
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
168
- readonly DOCUMENT_POSITION_PRECEDING: 2;
169
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
170
- readonly DOCUMENT_POSITION_CONTAINS: 8;
171
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
172
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
173
- dispatchEvent(event: Event): boolean;
174
- ariaActiveDescendantElement: Element | null;
175
- ariaAtomic: string | null;
176
- ariaAutoComplete: string | null;
177
- ariaBrailleLabel: string | null;
178
- ariaBrailleRoleDescription: string | null;
179
- ariaBusy: string | null;
180
- ariaChecked: string | null;
181
- ariaColCount: string | null;
182
- ariaColIndex: string | null;
183
- ariaColIndexText: string | null;
184
- ariaColSpan: string | null;
185
- ariaControlsElements: ReadonlyArray<Element> | null;
186
- ariaCurrent: string | null;
187
- ariaDescribedByElements: ReadonlyArray<Element> | null;
188
- ariaDescription: string | null;
189
- ariaDetailsElements: ReadonlyArray<Element> | null;
190
- ariaDisabled: string | null;
191
- ariaErrorMessageElements: ReadonlyArray<Element> | null;
192
- ariaExpanded: string | null;
193
- ariaFlowToElements: ReadonlyArray<Element> | null;
194
- ariaHasPopup: string | null;
195
- ariaHidden: string | null;
196
- ariaInvalid: string | null;
197
- ariaKeyShortcuts: string | null;
198
- ariaLabel: string | null;
199
- ariaLabelledByElements: ReadonlyArray<Element> | null;
200
- ariaLevel: string | null;
201
- ariaLive: string | null;
202
- ariaModal: string | null;
203
- ariaMultiLine: string | null;
204
- ariaMultiSelectable: string | null;
205
- ariaOrientation: string | null;
206
- ariaOwnsElements: ReadonlyArray<Element> | null;
207
- ariaPlaceholder: string | null;
208
- ariaPosInSet: string | null;
209
- ariaPressed: string | null;
210
- ariaReadOnly: string | null;
211
- ariaRelevant: string | null;
212
- ariaRequired: string | null;
213
- ariaRoleDescription: string | null;
214
- ariaRowCount: string | null;
215
- ariaRowIndex: string | null;
216
- ariaRowIndexText: string | null;
217
- ariaRowSpan: string | null;
218
- ariaSelected: string | null;
219
- ariaSetSize: string | null;
220
- ariaSort: string | null;
221
- ariaValueMax: string | null;
222
- ariaValueMin: string | null;
223
- ariaValueNow: string | null;
224
- ariaValueText: string | null;
225
- role: string | null;
226
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
227
- getAnimations(options?: GetAnimationsOptions): Animation[];
228
- after(...nodes: (Node | string)[]): void;
229
- before(...nodes: (Node | string)[]): void;
230
- remove(): void;
231
- replaceWith(...nodes: (Node | string)[]): void;
232
- readonly nextElementSibling: Element | null;
233
- readonly previousElementSibling: Element | null;
234
- readonly childElementCount: number;
235
- readonly children: HTMLCollection;
236
- readonly firstElementChild: Element | null;
237
- readonly lastElementChild: Element | null;
238
- append(...nodes: (Node | string)[]): void;
239
- prepend(...nodes: (Node | string)[]): void;
240
- querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
241
- querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
242
- querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
243
- querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
244
- querySelector<E extends Element = Element>(selectors: string): E | null;
245
- querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
246
- querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
247
- querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
248
- querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
249
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
250
- replaceChildren(...nodes: (Node | string)[]): void;
251
- readonly assignedSlot: HTMLSlotElement | null;
252
- readonly attributeStyleMap: StylePropertyMap;
253
- get style(): CSSStyleDeclaration;
254
- set style(cssText: string): any;
255
- contentEditable: string;
256
- enterKeyHint: string;
257
- inputMode: string;
258
- readonly isContentEditable: boolean;
259
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
260
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
261
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
262
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
263
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
264
- onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
265
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
266
- onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
267
- onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
268
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
269
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
- onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
274
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
- oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
277
- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
279
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
281
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
282
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
283
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
284
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
285
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
286
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
287
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
288
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
290
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
- onerror: OnErrorEventHandler;
293
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
294
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
295
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
296
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
299
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
300
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
301
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
306
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
307
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
308
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
309
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
310
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
311
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
312
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
314
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
316
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
318
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
319
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
321
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
322
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
- onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
327
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
330
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
333
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
341
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
- ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
344
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
345
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
346
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
347
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
348
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
349
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
350
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
351
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
352
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
353
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
354
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
355
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
357
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
359
- autofocus: boolean;
360
- readonly dataset: DOMStringMap;
361
- nonce?: string;
362
- tabIndex: number;
363
- blur(): void;
364
- focus(options?: FocusOptions): void;
365
17
  };
366
18
  _hostListeners: {
367
19
  [listenerName: string]: {
@@ -375,10 +27,24 @@ declare const CDSTearsheetFooter_base: {
375
27
  * Tearsheet Footer component - Contains action buttons at the bottom of the tearsheet.
376
28
  *
377
29
  * @element c4p-tearsheet-footer
378
- * @slot actions - Action buttons (typically Cancel, Submit, etc.)
30
+ * @slot - Default slot for custom footer content (rendered before actions)
379
31
  */
380
32
  declare class CDSTearsheetFooter extends CDSTearsheetFooter_base {
381
33
  slot: string;
34
+ /**
35
+ * Array of action button configurations. Each action is an object with properties
36
+ * like 'kind', 'label', 'disabled', 'onClick', etc.
37
+ * These are passed directly to the action-set component which handles rendering.
38
+ */
39
+ actions: ActionButton[];
40
+ /**
41
+ * Optional button size override. If not provided, defaults based on tearsheet variant.
42
+ */
43
+ buttonSize?: ButtonSize;
44
+ /**
45
+ * Renders the action-set component with actions
46
+ */
47
+ private _renderActions;
382
48
  render(): import("lit-html").TemplateResult<1>;
383
49
  static styles: any;
384
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tearsheet-footer.d.ts","sourceRoot":"","sources":["../../../src/components/tearsheet-preview/tearsheet-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAiC8J,CAAC;gJAAqK,CAAC;4FAAwI,CAAC;mJAA+L,CAAC;+FAAwI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAA8nC,CAAC;;;;;;;;;;;;;;;;;;;;;;;uBAA0jE,CAAC;;;;;;;;;;;;;iCAA4xB,CAAC;kCAAuE,CAAC;sBAA4D,CAAC;;wBAA8F,CAAC;;0BAAkG,CAAC;wBAAkE,CAAC;;;;;;;;oDAAme,CAAC;;;;;;;;;;;;;;;;;yBAA4vB,CAAC;;;2BAAkJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gFAAiiH,CAAC;6BAA8E,CAAC;cAAoD,GAAG;eAAgD,GAAG;;oBAA6E,GAAG;;;;;;;eAA4V,GAAG;gBAAiD,GAAG;;;;;;;;;;;wBAAupC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAiiO,CAAC;kBAA6F,CAAC;mBAA8F,CAAC;oBAA+F,CAAC;;;;;;;;;;;;;;aAAulC,CAAC;;;qBAA+E,CAAC;;;;;uBAAqS,CAAC;;;;;AAvBxnpB;;;;;GAKG;AACH,cACM,kBAAmB,SAAQ,uBAA6B;IAE5D,IAAI,SAAY;IAEhB,MAAM;IASN,MAAM,CAAC,MAAM,MAAU;CACxB;AACD,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"tearsheet-footer.d.ts","sourceRoot":"","sources":["../../../src/components/tearsheet-preview/tearsheet-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGvE,OAAO,wBAAwB,CAAC;;;;;;;;;;uBAH6B,CAAC;;;;;AAO9D;;;;;GAKG;AACH,cACM,kBAAmB,SAAQ,uBAA4C;IAE3E,IAAI,SAAY;IAEhB;;;;OAIG;IAEH,OAAO,EAAE,YAAY,EAAE,CAAM;IAE7B;;OAEG;IAEH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,cAAc;IAoBtB,MAAM;IAcN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,kBAAkB,CAAC"}
@@ -8,11 +8,14 @@
8
8
  import { prefix } from "../../globals/settings.js";
9
9
  import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.js";
10
10
  import tearsheet_default from "./tearsheet.scss.js";
11
+ import { tearsheetSignal } from "./tearsheet-signal.js";
12
+ import "../action-set/index.js";
11
13
  import { LitElement, html } from "lit";
12
14
  import { property } from "lit/decorators.js";
13
15
  import HostListenerMixin from "@carbon/web-components/es/globals/mixins/host-listener.js";
14
16
  import { carbonElement } from "@carbon/web-components/es/globals/decorators/carbon-element.js";
15
17
  import { classMap } from "lit-html/directives/class-map.js";
18
+ import { SignalWatcher } from "@lit-labs/signals";
16
19
 
17
20
  //#region src/components/tearsheet-preview/tearsheet-footer.ts
18
21
  /**
@@ -28,16 +31,39 @@ const blockClass = `${prefix}--tearsheet__next`;
28
31
  * Tearsheet Footer component - Contains action buttons at the bottom of the tearsheet.
29
32
  *
30
33
  * @element c4p-tearsheet-footer
31
- * @slot actions - Action buttons (typically Cancel, Submit, etc.)
34
+ * @slot - Default slot for custom footer content (rendered before actions)
32
35
  */
33
- let CDSTearsheetFooter = class CDSTearsheetFooter extends HostListenerMixin(LitElement) {
36
+ let CDSTearsheetFooter = class CDSTearsheetFooter extends SignalWatcher(HostListenerMixin(LitElement)) {
34
37
  constructor(..._args) {
35
38
  super(..._args);
36
39
  this.slot = "footer";
40
+ this.actions = [];
41
+ }
42
+ /**
43
+ * Renders the action-set component with actions
44
+ */
45
+ _renderActions() {
46
+ if (!this.actions || this.actions.length === 0) return null;
47
+ const variant = tearsheetSignal.get().variant;
48
+ return html`
49
+ <c4p-action-set
50
+ size="${variant === "wide" ? "2xl" : "lg"}"
51
+ button-size="${this.buttonSize || (variant === "wide" ? "2xl" : "xl")}"
52
+ .actions="${this.actions}"
53
+ ?disable-stacking="${true}"
54
+ >
55
+ </c4p-action-set>
56
+ `;
37
57
  }
38
58
  render() {
39
- return html`<footer class="${classMap({ [`${blockClass}__footer`]: true })}" ref="{ref}">
59
+ const actionCount = this.actions?.length || 0;
60
+ return html`<footer class="${classMap({
61
+ [`${blockClass}__footer`]: true,
62
+ [`${blockClass}__footer--three-actions`]: actionCount === 3,
63
+ [`${blockClass}__footer--many-actions`]: actionCount > 3
64
+ })}">
40
65
  <slot></slot>
66
+ ${this._renderActions()}
41
67
  </footer>`;
42
68
  }
43
69
  static {
@@ -45,6 +71,8 @@ let CDSTearsheetFooter = class CDSTearsheetFooter extends HostListenerMixin(LitE
45
71
  }
46
72
  };
47
73
  __decorate([property({ reflect: true })], CDSTearsheetFooter.prototype, "slot", void 0);
74
+ __decorate([property({ type: Array })], CDSTearsheetFooter.prototype, "actions", void 0);
75
+ __decorate([property({ attribute: "button-size" })], CDSTearsheetFooter.prototype, "buttonSize", void 0);
48
76
  CDSTearsheetFooter = __decorate([carbonElement(`${prefix}-tearsheet-footer`)], CDSTearsheetFooter);
49
77
  var tearsheet_footer_default = CDSTearsheetFooter;
50
78
 
@@ -1 +1 @@
1
- {"version":3,"file":"tearsheet-footer.js","names":["styles","customElement"],"sources":["../../../src/components/tearsheet-preview/tearsheet-footer.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 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 { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';\nimport { carbonElement as customElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport styles from './tearsheet.scss?lit';\n\nconst blockClass = `${prefix}--tearsheet__next`;\n\n/**\n * Tearsheet Footer component - Contains action buttons at the bottom of the tearsheet.\n *\n * @element c4p-tearsheet-footer\n * @slot actions - Action buttons (typically Cancel, Submit, etc.)\n */\n@customElement(`${prefix}-tearsheet-footer`)\nclass CDSTearsheetFooter extends HostListenerMixin(LitElement) {\n @property({ reflect: true })\n slot = 'footer';\n\n render() {\n const classes = classMap({\n [`${blockClass}__footer`]: true,\n });\n return html`<footer class=\"${classes}\" ref=\"{ref}\">\n <slot></slot>\n </footer>`;\n }\n\n static styles = styles;\n}\nexport default CDSTearsheetFooter;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,aAAa,GAAG,OAAO;;;;;;;AAQ7B,+BACM,2BAA2B,kBAAkB,WAAW,CAAC;;;cAEtD;;CAEP,SAAS;AAIP,SAAO,IAAI,kBAHK,SAAS,GACtB,GAAG,WAAW,YAAY,MAC5B,CAAC,CACmC;;;;;gBAKvBA;;;YAZf,SAAS,EAAE,SAAS,MAAM,CAAC;iCAF7BC,cAAc,GAAG,OAAO,mBAAmB;AAgB5C,+BAAe"}
1
+ {"version":3,"file":"tearsheet-footer.js","names":["styles","customElement"],"sources":["../../../src/components/tearsheet-preview/tearsheet-footer.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 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 { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';\nimport { carbonElement as customElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport styles from './tearsheet.scss?lit';\nimport type { ActionButton, ButtonSize } from '../action-set/index.js';\nimport { tearsheetSignal } from './tearsheet-signal';\nimport { SignalWatcher } from '@lit-labs/signals';\nimport '../action-set/index.js';\n\nconst blockClass = `${prefix}--tearsheet__next`;\n\n/**\n * Tearsheet Footer component - Contains action buttons at the bottom of the tearsheet.\n *\n * @element c4p-tearsheet-footer\n * @slot - Default slot for custom footer content (rendered before actions)\n */\n@customElement(`${prefix}-tearsheet-footer`)\nclass CDSTearsheetFooter extends SignalWatcher(HostListenerMixin(LitElement)) {\n @property({ reflect: true })\n slot = 'footer';\n\n /**\n * Array of action button configurations. Each action is an object with properties\n * like 'kind', 'label', 'disabled', 'onClick', etc.\n * These are passed directly to the action-set component which handles rendering.\n */\n @property({ type: Array })\n actions: ActionButton[] = [];\n\n /**\n * Optional button size override. If not provided, defaults based on tearsheet variant.\n */\n @property({ attribute: 'button-size' })\n buttonSize?: ButtonSize;\n\n /**\n * Renders the action-set component with actions\n */\n private _renderActions() {\n if (!this.actions || this.actions.length === 0) {\n return null;\n }\n\n const variant = tearsheetSignal.get().variant;\n const actionSetSize = variant === 'wide' ? '2xl' : 'lg';\n const buttonSize = this.buttonSize || (variant === 'wide' ? '2xl' : 'xl');\n\n return html`\n <c4p-action-set\n size=\"${actionSetSize}\"\n button-size=\"${buttonSize}\"\n .actions=\"${this.actions}\"\n ?disable-stacking=\"${true}\"\n >\n </c4p-action-set>\n `;\n }\n\n render() {\n const actionCount = this.actions?.length || 0;\n const classes = classMap({\n [`${blockClass}__footer`]: true,\n [`${blockClass}__footer--three-actions`]: actionCount === 3,\n [`${blockClass}__footer--many-actions`]: actionCount > 3,\n });\n\n return html`<footer class=\"${classes}\">\n <slot></slot>\n ${this._renderActions()}\n </footer>`;\n }\n\n static styles = styles;\n}\n\nexport default CDSTearsheetFooter;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,aAAa,GAAG,OAAO;;;;;;;AAQ7B,+BACM,2BAA2B,cAAc,kBAAkB,WAAW,CAAC,CAAC;;;cAErE;iBAQmB,EAAE;;;;;CAW5B,AAAQ,iBAAiB;AACvB,MAAI,CAAC,KAAK,WAAW,KAAK,QAAQ,WAAW,EAC3C,QAAO;EAGT,MAAM,UAAU,gBAAgB,KAAK,CAAC;AAItC,SAAO,IAAI;;gBAHW,YAAY,SAAS,QAAQ,KAKzB;uBAJP,KAAK,eAAe,YAAY,SAAS,QAAQ,MAKtC;oBACd,KAAK,QAAQ;6BACJ,KAAK;;;;;CAMhC,SAAS;EACP,MAAM,cAAc,KAAK,SAAS,UAAU;AAO5C,SAAO,IAAI,kBANK,SAAS;IACtB,GAAG,WAAW,YAAY;IAC1B,GAAG,WAAW,2BAA2B,gBAAgB;IACzD,GAAG,WAAW,0BAA0B,cAAc;GACxD,CAAC,CAEmC;;QAEjC,KAAK,gBAAgB,CAAC;;;;gBAIZA;;;YAtDf,SAAS,EAAE,SAAS,MAAM,CAAC;YAQ3B,SAAS,EAAE,MAAM,OAAO,CAAC;YAMzB,SAAS,EAAE,WAAW,eAAe,CAAC;iCAhBxCC,cAAc,GAAG,OAAO,mBAAmB;AA2D5C,+BAAe"}