@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
@@ -14,356 +14,6 @@ declare const CDSCoachmark_base: {
14
14
  _handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
15
15
  connectedCallback(): void;
16
16
  disconnectedCallback(): void;
17
- accessKey: string;
18
- readonly accessKeyLabel: string;
19
- autocapitalize: string;
20
- autocorrect: boolean;
21
- dir: string;
22
- draggable: boolean;
23
- hidden: boolean;
24
- inert: boolean;
25
- innerText: string;
26
- lang: string;
27
- readonly offsetHeight: number;
28
- readonly offsetLeft: number;
29
- readonly offsetParent: Element | null;
30
- readonly offsetTop: number;
31
- readonly offsetWidth: number;
32
- outerText: string;
33
- popover: string | null;
34
- spellcheck: boolean;
35
- title: string;
36
- translate: boolean;
37
- writingSuggestions: string;
38
- attachInternals(): ElementInternals;
39
- click(): void;
40
- hidePopover(): void;
41
- showPopover(): void;
42
- togglePopover(options?: boolean): boolean;
43
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
44
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
45
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
46
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
47
- readonly attributes: NamedNodeMap;
48
- get classList(): DOMTokenList;
49
- set classList(value: string): any;
50
- className: string;
51
- readonly clientHeight: number;
52
- readonly clientLeft: number;
53
- readonly clientTop: number;
54
- readonly clientWidth: number;
55
- readonly currentCSSZoom: number;
56
- id: string;
57
- innerHTML: string;
58
- readonly localName: string;
59
- readonly namespaceURI: string | null;
60
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
61
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
62
- outerHTML: string;
63
- readonly ownerDocument: Document;
64
- get part(): DOMTokenList;
65
- set part(value: string): any;
66
- readonly prefix: string | null;
67
- readonly scrollHeight: number;
68
- scrollLeft: number;
69
- scrollTop: number;
70
- readonly scrollWidth: number;
71
- readonly shadowRoot: ShadowRoot | null;
72
- slot: string;
73
- readonly tagName: string;
74
- attachShadow(init: ShadowRootInit): ShadowRoot;
75
- checkVisibility(options?: CheckVisibilityOptions): boolean;
76
- closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
77
- closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
78
- closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
79
- closest<E extends Element = Element>(selectors: string): E | null;
80
- computedStyleMap(): StylePropertyMapReadOnly;
81
- getAttribute(qualifiedName: string): string | null;
82
- getAttributeNS(namespace: string | null, localName: string): string | null;
83
- getAttributeNames(): string[];
84
- getAttributeNode(qualifiedName: string): Attr | null;
85
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
86
- getBoundingClientRect(): DOMRect;
87
- getClientRects(): DOMRectList;
88
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
89
- getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
90
- getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
91
- getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
92
- getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
93
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
94
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
95
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
96
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
97
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
98
- getHTML(options?: GetHTMLOptions): string;
99
- hasAttribute(qualifiedName: string): boolean;
100
- hasAttributeNS(namespace: string | null, localName: string): boolean;
101
- hasAttributes(): boolean;
102
- hasPointerCapture(pointerId: number): boolean;
103
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
104
- insertAdjacentHTML(position: InsertPosition, string: string): void;
105
- insertAdjacentText(where: InsertPosition, data: string): void;
106
- matches(selectors: string): boolean;
107
- releasePointerCapture(pointerId: number): void;
108
- removeAttribute(qualifiedName: string): void;
109
- removeAttributeNS(namespace: string | null, localName: string): void;
110
- removeAttributeNode(attr: Attr): Attr;
111
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
112
- requestPointerLock(options?: PointerLockOptions): Promise<void>;
113
- scroll(options?: ScrollToOptions): void;
114
- scroll(x: number, y: number): void;
115
- scrollBy(options?: ScrollToOptions): void;
116
- scrollBy(x: number, y: number): void;
117
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
118
- scrollTo(options?: ScrollToOptions): void;
119
- scrollTo(x: number, y: number): void;
120
- setAttribute(qualifiedName: string, value: string): void;
121
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
122
- setAttributeNode(attr: Attr): Attr | null;
123
- setAttributeNodeNS(attr: Attr): Attr | null;
124
- setHTMLUnsafe(html: string): void;
125
- setPointerCapture(pointerId: number): void;
126
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
127
- webkitMatchesSelector(selectors: string): boolean;
128
- get textContent(): string;
129
- set textContent(value: string | null): any;
130
- readonly baseURI: string;
131
- readonly childNodes: NodeListOf<ChildNode>;
132
- readonly firstChild: ChildNode | null;
133
- readonly isConnected: boolean;
134
- readonly lastChild: ChildNode | null;
135
- readonly nextSibling: ChildNode | null;
136
- readonly nodeName: string;
137
- readonly nodeType: number;
138
- nodeValue: string | null;
139
- readonly parentElement: HTMLElement | null;
140
- readonly parentNode: ParentNode | null;
141
- readonly previousSibling: ChildNode | null;
142
- appendChild<T_1 extends Node>(node: T_1): T_1;
143
- cloneNode(subtree?: boolean): Node;
144
- compareDocumentPosition(other: Node): number;
145
- contains(other: Node | null): boolean;
146
- getRootNode(options?: GetRootNodeOptions): Node;
147
- hasChildNodes(): boolean;
148
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
149
- isDefaultNamespace(namespace: string | null): boolean;
150
- isEqualNode(otherNode: Node | null): boolean;
151
- isSameNode(otherNode: Node | null): boolean;
152
- lookupNamespaceURI(prefix: string | null): string | null;
153
- lookupPrefix(namespace: string | null): string | null;
154
- normalize(): void;
155
- removeChild<T_1 extends Node>(child: T_1): T_1;
156
- replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
157
- readonly ELEMENT_NODE: 1;
158
- readonly ATTRIBUTE_NODE: 2;
159
- readonly TEXT_NODE: 3;
160
- readonly CDATA_SECTION_NODE: 4;
161
- readonly ENTITY_REFERENCE_NODE: 5;
162
- readonly ENTITY_NODE: 6;
163
- readonly PROCESSING_INSTRUCTION_NODE: 7;
164
- readonly COMMENT_NODE: 8;
165
- readonly DOCUMENT_NODE: 9;
166
- readonly DOCUMENT_TYPE_NODE: 10;
167
- readonly DOCUMENT_FRAGMENT_NODE: 11;
168
- readonly NOTATION_NODE: 12;
169
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
170
- readonly DOCUMENT_POSITION_PRECEDING: 2;
171
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
172
- readonly DOCUMENT_POSITION_CONTAINS: 8;
173
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
174
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
175
- dispatchEvent(event: Event): boolean;
176
- ariaActiveDescendantElement: Element | null;
177
- ariaAtomic: string | null;
178
- ariaAutoComplete: string | null;
179
- ariaBrailleLabel: string | null;
180
- ariaBrailleRoleDescription: string | null;
181
- ariaBusy: string | null;
182
- ariaChecked: string | null;
183
- ariaColCount: string | null;
184
- ariaColIndex: string | null;
185
- ariaColIndexText: string | null;
186
- ariaColSpan: string | null;
187
- ariaControlsElements: ReadonlyArray<Element> | null;
188
- ariaCurrent: string | null;
189
- ariaDescribedByElements: ReadonlyArray<Element> | null;
190
- ariaDescription: string | null;
191
- ariaDetailsElements: ReadonlyArray<Element> | null;
192
- ariaDisabled: string | null;
193
- ariaErrorMessageElements: ReadonlyArray<Element> | null;
194
- ariaExpanded: string | null;
195
- ariaFlowToElements: ReadonlyArray<Element> | null;
196
- ariaHasPopup: string | null;
197
- ariaHidden: string | null;
198
- ariaInvalid: string | null;
199
- ariaKeyShortcuts: string | null;
200
- ariaLabel: string | null;
201
- ariaLabelledByElements: ReadonlyArray<Element> | null;
202
- ariaLevel: string | null;
203
- ariaLive: string | null;
204
- ariaModal: string | null;
205
- ariaMultiLine: string | null;
206
- ariaMultiSelectable: string | null;
207
- ariaOrientation: string | null;
208
- ariaOwnsElements: ReadonlyArray<Element> | null;
209
- ariaPlaceholder: string | null;
210
- ariaPosInSet: string | null;
211
- ariaPressed: string | null;
212
- ariaReadOnly: string | null;
213
- ariaRelevant: string | null;
214
- ariaRequired: string | null;
215
- ariaRoleDescription: string | null;
216
- ariaRowCount: string | null;
217
- ariaRowIndex: string | null;
218
- ariaRowIndexText: string | null;
219
- ariaRowSpan: string | null;
220
- ariaSelected: string | null;
221
- ariaSetSize: string | null;
222
- ariaSort: string | null;
223
- ariaValueMax: string | null;
224
- ariaValueMin: string | null;
225
- ariaValueNow: string | null;
226
- ariaValueText: string | null;
227
- role: string | null;
228
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
229
- getAnimations(options?: GetAnimationsOptions): Animation[];
230
- after(...nodes: (Node | string)[]): void;
231
- before(...nodes: (Node | string)[]): void;
232
- remove(): void;
233
- replaceWith(...nodes: (Node | string)[]): void;
234
- readonly nextElementSibling: Element | null;
235
- readonly previousElementSibling: Element | null;
236
- readonly childElementCount: number;
237
- readonly children: HTMLCollection;
238
- readonly firstElementChild: Element | null;
239
- readonly lastElementChild: Element | null;
240
- append(...nodes: (Node | string)[]): void;
241
- prepend(...nodes: (Node | string)[]): void;
242
- querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
243
- querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
244
- querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
245
- querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
246
- querySelector<E extends Element = Element>(selectors: string): E | null;
247
- querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
248
- querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
249
- querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
250
- querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
251
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
252
- replaceChildren(...nodes: (Node | string)[]): void;
253
- readonly assignedSlot: HTMLSlotElement | null;
254
- readonly attributeStyleMap: StylePropertyMap;
255
- get style(): CSSStyleDeclaration;
256
- set style(cssText: string): any;
257
- contentEditable: string;
258
- enterKeyHint: string;
259
- inputMode: string;
260
- readonly isContentEditable: boolean;
261
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
262
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
263
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
264
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
265
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
266
- onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
267
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
268
- onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
269
- onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
270
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
271
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
- onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
276
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
- oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
279
- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
281
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
283
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
284
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
285
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
286
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
287
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
288
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
291
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
293
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
- onerror: OnErrorEventHandler;
295
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
296
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
297
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
298
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
301
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
302
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
303
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
306
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
308
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
309
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
310
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
311
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
312
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
315
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
316
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
319
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
321
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
322
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
- onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
329
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
332
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
335
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
343
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
- ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
346
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
347
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
348
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
349
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
350
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
351
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
352
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
353
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
354
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
355
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
357
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
361
- autofocus: boolean;
362
- readonly dataset: DOMStringMap;
363
- nonce?: string;
364
- tabIndex: number;
365
- blur(): void;
366
- focus(options?: FocusOptions): void;
367
17
  };
368
18
  _hostListeners: {
369
19
  [listenerName: string]: {
@@ -379,6 +29,9 @@ declare const CDSCoachmark_base: {
379
29
  * @fires c4p-coachmark-opened
380
30
  * The custom event fired when the coachmark is opened.
381
31
  * This event can be used to perform actions such as focusing elements when the coachmark becomes visible.
32
+ * @fires c4p-coachmark-closed
33
+ * The custom event fired when the coachmark is closed.
34
+ * This event can be used to perform actions such as restoring focus when the coachmark is dismissed.
382
35
  */
383
36
  declare class CDSCoachmark extends CDSCoachmark_base {
384
37
  /**
@@ -423,6 +76,10 @@ declare class CDSCoachmark extends CDSCoachmark_base {
423
76
  * The name of the custom event fired when this coachmark is opened.
424
77
  */
425
78
  static get eventOpen(): string;
79
+ /**
80
+ * The name of the custom event fired when this coachmark is closed.
81
+ */
82
+ static get eventClose(): string;
426
83
  static styles: any;
427
84
  }
428
85
  export default CDSCoachmark;
@@ -1 +1 @@
1
- {"version":3,"file":"coachmark.d.ts","sourceRoot":"","sources":["../../../src/components/coachmark/coachmark.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,uDAAuD,CAAC;AAQ/D,eAAO,MAAM,UAAU,mBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAcL,CAAC;gJAMtB,CAAC;4FAKD,CAAC;mJAOC,CAAC;+FAKb,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAmCe,CAAA;;;;;;;;;;;;;;;;;;;;;;;uBA8EjB,CAAA;;;;;;;;;;;;;iCA4B8B,CAAC;kCACJ,CAAC;sBAG9B,CAAC;;wBAMwB,CAAC;;0BAGN,CAAC;wBAMT,CAAC;;;;;;;;oDACsc,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;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C,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACpC;;OAEG;IAEH,QAAQ,CAAC,EAAE,OAAO,CAAS;IAC3B;;OAEG;IAEH,YAAY,CAAC,EAAE,OAAO,CAAS;IAC/B;;OAEG;IAEH,UAAU,CAAC,EAAE,OAAO,CAAS;IAC7B;;OAEG;IAEH,KAAK,CAAC,EAAE,OAAO,CAAS;IAExB,OAAO,CAAC,WAAW,CAA6B;IAEhD,oBAAoB;IAQpB,OAAO,CAAC,cAAc;IAqDtB,YAAY;IAWZ,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAkC1C,OAAO,CAAC,mBAAmB,CAMzB;IAEF,MAAM;IA+BN;;OAEG;IACH,MAAM,KAAK,SAAS,WAEnB;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC"}
@@ -34,6 +34,9 @@ const blockClass = `${prefix}--coachmark`;
34
34
  * @fires c4p-coachmark-opened
35
35
  * The custom event fired when the coachmark is opened.
36
36
  * This event can be used to perform actions such as focusing elements when the coachmark becomes visible.
37
+ * @fires c4p-coachmark-closed
38
+ * The custom event fired when the coachmark is closed.
39
+ * This event can be used to perform actions such as restoring focus when the coachmark is dismissed.
37
40
  */
38
41
  let CDSCoachmark = class CDSCoachmark extends SignalWatcher(HostListenerMixin(LitElement)) {
39
42
  constructor(..._args) {
@@ -103,6 +106,7 @@ let CDSCoachmark = class CDSCoachmark extends SignalWatcher(HostListenerMixin(Li
103
106
  detail: { open: this.open }
104
107
  };
105
108
  if (this.open) this.dispatchEvent(new CustomEvent(this.constructor.eventOpen, init));
109
+ else this.dispatchEvent(new CustomEvent(this.constructor.eventClose, init));
106
110
  }
107
111
  }
108
112
  render() {
@@ -134,6 +138,12 @@ let CDSCoachmark = class CDSCoachmark extends SignalWatcher(HostListenerMixin(Li
134
138
  static get eventOpen() {
135
139
  return `${prefix}-coachmark-opened`;
136
140
  }
141
+ /**
142
+ * The name of the custom event fired when this coachmark is closed.
143
+ */
144
+ static get eventClose() {
145
+ return `${prefix}-coachmark-closed`;
146
+ }
137
147
  static {
138
148
  this.styles = coachmark_default$1;
139
149
  }
@@ -1 +1 @@
1
- {"version":3,"file":"coachmark.js","names":["styles","customElement"],"sources":["../../../src/components/coachmark/coachmark.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2025\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 { LitElement, html } 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 styles from './coachmark.scss?lit';\nimport { SignalWatcher } from '@lit-labs/signals';\nimport '@carbon/web-components/es/components/popover/index.js';\nimport { POPOVER_ALIGNMENT } from '@carbon/web-components/es/components/popover/defs.js';\nimport { makeDraggable } from '../../utilities/makeDraggable/makeDraggable';\nimport {\n resetCoachmarkDetailsSignal,\n updateCoachmarkDetailsSignal,\n} from './coachmark-context';\n\nexport const blockClass = `${prefix}--coachmark`;\n\n/**\n * coachmark main component\n * @element c4p-coachmark\n * @fires c4p-coachmark-opened\n * The custom event fired when the coachmark is opened.\n * This event can be used to perform actions such as focusing elements when the coachmark becomes visible.\n */\n@customElement(`${prefix}-coachmark`)\nclass CDSCoachmark extends SignalWatcher(HostListenerMixin(LitElement)) {\n /**\n * Specifies whether the component is currently open.\n */\n @property({ type: Boolean, reflect: true })\n open: boolean = false;\n /**\n * Where to render the Coachmark relative to its target.\n */\n @property({ reflect: true, type: String })\n align?: string = POPOVER_ALIGNMENT.TOP;\n /**\n * Fine tune the position of the target in pixels.\n */\n @property({ type: Object })\n position?: { x: number; y: number };\n /**\n * Specifies whether the component is floating or not.\n */\n @property({ type: Boolean, reflect: true })\n floating?: boolean = false;\n /**\n * Specify whether the component should be rendered on high-contrast.\n */\n @property({ reflect: true })\n highContrast?: boolean = false;\n /**\n * Specify whether a drop shadow should be rendered on the popover.\n */\n @property({ reflect: true })\n dropShadow?: boolean = false;\n /**\n * Specify whether a caret should be rendered on the popover. This is intended to use only for coachmark patterns.\n */\n @property({ reflect: true })\n caret?: boolean = false;\n\n private dragCleanup: (() => void) | null = null;\n\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this.dragCleanup) {\n this.dragCleanup();\n }\n resetCoachmarkDetailsSignal();\n }\n\n private setupDraggable() {\n const popover = this.shadowRoot?.querySelector(\n `.${blockClass}--popover`\n ) as HTMLElement;\n const popoverContent = popover.querySelector(\n 'cds-popover-content'\n ) as HTMLElement;\n const wrapper = popoverContent.querySelector(\n `.${blockClass}--wrapper`\n ) as HTMLElement;\n const slot = wrapper.querySelector('slot');\n const assignedElements = slot?.assignedElements({ flatten: true });\n const header = assignedElements?.find(\n (el) => el.tagName.toLowerCase() === `${prefix}-coachmark-header`\n ) as HTMLElement;\n requestAnimationFrame(() => {\n const dragHandle = header.shadowRoot?.querySelector(\n `.${prefix}--coachmark-header-drag-handle`\n ) as HTMLElement;\n\n const draggable = makeDraggable({\n el: popoverContent,\n dragHandle: header,\n focusableDragHandle: dragHandle,\n });\n\n const onDragStart = () => {\n popoverContent.classList.add('is-dragging');\n popoverContent.setAttribute(\n 'aria-label',\n 'Picked up the draggable popoverContent'\n );\n };\n const onDragEnd = () => {\n popoverContent.classList.remove('is-dragging');\n popoverContent.setAttribute(\n 'aria-label',\n 'Draggable popoverContent was dropped'\n );\n };\n\n popoverContent.addEventListener('dragstart', onDragStart);\n popoverContent.addEventListener('dragend', onDragEnd);\n\n // store cleanup\n this.dragCleanup = () => {\n popoverContent.removeEventListener('dragstart', onDragStart);\n popoverContent.removeEventListener('dragend', onDragEnd);\n draggable.cleanup?.();\n };\n });\n }\n\n firstUpdated() {\n if (this.floating) {\n this.classList.add(`${blockClass}--floating`);\n this.setupDraggable();\n updateCoachmarkDetailsSignal({\n name: 'floating',\n detail: this.floating,\n });\n }\n }\n\n updated(changedProps: Map<string, unknown>) {\n if (changedProps.has('position')) {\n const { x = 0, y = 0 } = this.position ?? {};\n if (x !== 0 || y !== 0) {\n this.style.transform = `translate(${x}px, ${y}px)`;\n }\n }\n\n // Dispatch custom events when coachmark opens or closes\n if (changedProps.has('open')) {\n const init = {\n bubbles: true,\n composed: true,\n detail: { open: this.open },\n };\n\n if (this.open) {\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSCoachmark).eventOpen,\n init\n )\n );\n }\n }\n }\n\n private handlePopoverClosed = () => {\n // Sync coachmark's open state when popover closes\n // This ensures the states stay in sync for outside clicks\n if (this.open) {\n this.open = false;\n }\n };\n\n render() {\n // Use explicit caret value if provided, otherwise derive from floating state\n const caretValue =\n this.caret !== undefined\n ? this.caret\n : this.floating === true\n ? false\n : true;\n\n return html`\n <cds-popover\n part=\"popover\"\n exportparts=\"popover-container\"\n class=\"${blockClass}--popover\"\n ?open=${this.open}\n .caret=${caretValue}\n ?highContrast=${this.highContrast}\n align=${this.align}\n ?dropShadow=${this.dropShadow}\n @cds-popover-closed=${this.handlePopoverClosed}\n >\n <slot name=\"trigger\"></slot>\n <cds-popover-content part=\"popover-content\" exportparts=\"content\">\n <div class=\"${blockClass}--wrapper\">\n <slot></slot>\n </div>\n </cds-popover-content>\n </cds-popover>\n `;\n }\n\n /**\n * The name of the custom event fired when this coachmark is opened.\n */\n static get eventOpen() {\n return `${prefix}-coachmark-opened`;\n }\n\n static styles = styles;\n}\n\nexport default CDSCoachmark;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAa,aAAa,GAAG,OAAO;;;;;;;;AASpC,yBACM,qBAAqB,cAAc,kBAAkB,WAAW,CAAC,CAAC;;;cAKtD;eAKC,kBAAkB;kBAUd;sBAKI;oBAKF;eAKL;qBAEyB;mCA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Aa,EAAE,MAAM,EAAE;;AAKlD,MAAI,aAAa,IAAI,OAAO,EAAE;GAC5B,MAAM,OAAO;IACX,SAAS;IACT,UAAU;IACV,QAAQ,EAAE,MAAM,KAAK,MAAM;IAC5B;AAED,OAAI,KAAK,KACP,MAAK,cACH,IAAI,YACD,KAAK,YAAoC,WAC1C,KACD,CACF;;;CAaP,SAAS;EAEP,MAAM,aACJ,KAAK,UAAU,SACX,KAAK,QACL,KAAK,aAAa,OAChB,QACA;AAER,SAAO,IAAI;;;;iBAIE,WAAW;gBACZ,KAAK,KAAK;iBACT,WAAW;wBACJ,KAAK,aAAa;gBAC1B,KAAK,MAAM;sBACL,KAAK,WAAW;8BACR,KAAK,oBAAoB;;;;wBAI/B,WAAW;;;;;;;;;;CAWjC,WAAW,YAAY;AACrB,SAAO,GAAG,OAAO;;;gBAGHA;;;YApLf,SAAS;CAAE,MAAM;CAAS,SAAS;CAAM,CAAC;YAK1C,SAAS;CAAE,SAAS;CAAM,MAAM;CAAQ,CAAC;YAKzC,SAAS,EAAE,MAAM,QAAQ,CAAC;YAK1B,SAAS;CAAE,MAAM;CAAS,SAAS;CAAM,CAAC;YAK1C,SAAS,EAAE,SAAS,MAAM,CAAC;YAK3B,SAAS,EAAE,SAAS,MAAM,CAAC;YAK3B,SAAS,EAAE,SAAS,MAAM,CAAC;2BAnC7BC,cAAc,GAAG,OAAO,YAAY;AA4LrC,wBAAe"}
1
+ {"version":3,"file":"coachmark.js","names":["styles","customElement"],"sources":["../../../src/components/coachmark/coachmark.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2025\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 { LitElement, html } 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 styles from './coachmark.scss?lit';\nimport { SignalWatcher } from '@lit-labs/signals';\nimport '@carbon/web-components/es/components/popover/index.js';\nimport { POPOVER_ALIGNMENT } from '@carbon/web-components/es/components/popover/defs.js';\nimport { makeDraggable } from '../../utilities/makeDraggable/makeDraggable';\nimport {\n resetCoachmarkDetailsSignal,\n updateCoachmarkDetailsSignal,\n} from './coachmark-context';\n\nexport const blockClass = `${prefix}--coachmark`;\n\n/**\n * coachmark main component\n * @element c4p-coachmark\n * @fires c4p-coachmark-opened\n * The custom event fired when the coachmark is opened.\n * This event can be used to perform actions such as focusing elements when the coachmark becomes visible.\n * @fires c4p-coachmark-closed\n * The custom event fired when the coachmark is closed.\n * This event can be used to perform actions such as restoring focus when the coachmark is dismissed.\n */\n@customElement(`${prefix}-coachmark`)\nclass CDSCoachmark extends SignalWatcher(HostListenerMixin(LitElement)) {\n /**\n * Specifies whether the component is currently open.\n */\n @property({ type: Boolean, reflect: true })\n open: boolean = false;\n /**\n * Where to render the Coachmark relative to its target.\n */\n @property({ reflect: true, type: String })\n align?: string = POPOVER_ALIGNMENT.TOP;\n /**\n * Fine tune the position of the target in pixels.\n */\n @property({ type: Object })\n position?: { x: number; y: number };\n /**\n * Specifies whether the component is floating or not.\n */\n @property({ type: Boolean, reflect: true })\n floating?: boolean = false;\n /**\n * Specify whether the component should be rendered on high-contrast.\n */\n @property({ reflect: true })\n highContrast?: boolean = false;\n /**\n * Specify whether a drop shadow should be rendered on the popover.\n */\n @property({ reflect: true })\n dropShadow?: boolean = false;\n /**\n * Specify whether a caret should be rendered on the popover. This is intended to use only for coachmark patterns.\n */\n @property({ reflect: true })\n caret?: boolean = false;\n\n private dragCleanup: (() => void) | null = null;\n\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this.dragCleanup) {\n this.dragCleanup();\n }\n resetCoachmarkDetailsSignal();\n }\n\n private setupDraggable() {\n const popover = this.shadowRoot?.querySelector(\n `.${blockClass}--popover`\n ) as HTMLElement;\n const popoverContent = popover.querySelector(\n 'cds-popover-content'\n ) as HTMLElement;\n const wrapper = popoverContent.querySelector(\n `.${blockClass}--wrapper`\n ) as HTMLElement;\n const slot = wrapper.querySelector('slot');\n const assignedElements = slot?.assignedElements({ flatten: true });\n const header = assignedElements?.find(\n (el) => el.tagName.toLowerCase() === `${prefix}-coachmark-header`\n ) as HTMLElement;\n requestAnimationFrame(() => {\n const dragHandle = header.shadowRoot?.querySelector(\n `.${prefix}--coachmark-header-drag-handle`\n ) as HTMLElement;\n\n const draggable = makeDraggable({\n el: popoverContent,\n dragHandle: header,\n focusableDragHandle: dragHandle,\n });\n\n const onDragStart = () => {\n popoverContent.classList.add('is-dragging');\n popoverContent.setAttribute(\n 'aria-label',\n 'Picked up the draggable popoverContent'\n );\n };\n const onDragEnd = () => {\n popoverContent.classList.remove('is-dragging');\n popoverContent.setAttribute(\n 'aria-label',\n 'Draggable popoverContent was dropped'\n );\n };\n\n popoverContent.addEventListener('dragstart', onDragStart);\n popoverContent.addEventListener('dragend', onDragEnd);\n\n // store cleanup\n this.dragCleanup = () => {\n popoverContent.removeEventListener('dragstart', onDragStart);\n popoverContent.removeEventListener('dragend', onDragEnd);\n draggable.cleanup?.();\n };\n });\n }\n\n firstUpdated() {\n if (this.floating) {\n this.classList.add(`${blockClass}--floating`);\n this.setupDraggable();\n updateCoachmarkDetailsSignal({\n name: 'floating',\n detail: this.floating,\n });\n }\n }\n\n updated(changedProps: Map<string, unknown>) {\n if (changedProps.has('position')) {\n const { x = 0, y = 0 } = this.position ?? {};\n if (x !== 0 || y !== 0) {\n this.style.transform = `translate(${x}px, ${y}px)`;\n }\n }\n\n // Dispatch custom events when coachmark opens or closes\n if (changedProps.has('open')) {\n const init = {\n bubbles: true,\n composed: true,\n detail: { open: this.open },\n };\n\n if (this.open) {\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSCoachmark).eventOpen,\n init\n )\n );\n } else {\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSCoachmark).eventClose,\n init\n )\n );\n }\n }\n }\n\n private handlePopoverClosed = () => {\n // Sync coachmark's open state when popover closes\n // This ensures the states stay in sync for outside clicks\n if (this.open) {\n this.open = false;\n }\n };\n\n render() {\n // Use explicit caret value if provided, otherwise derive from floating state\n const caretValue =\n this.caret !== undefined\n ? this.caret\n : this.floating === true\n ? false\n : true;\n\n return html`\n <cds-popover\n part=\"popover\"\n exportparts=\"popover-container\"\n class=\"${blockClass}--popover\"\n ?open=${this.open}\n .caret=${caretValue}\n ?highContrast=${this.highContrast}\n align=${this.align}\n ?dropShadow=${this.dropShadow}\n @cds-popover-closed=${this.handlePopoverClosed}\n >\n <slot name=\"trigger\"></slot>\n <cds-popover-content part=\"popover-content\" exportparts=\"content\">\n <div class=\"${blockClass}--wrapper\">\n <slot></slot>\n </div>\n </cds-popover-content>\n </cds-popover>\n `;\n }\n\n /**\n * The name of the custom event fired when this coachmark is opened.\n */\n static get eventOpen() {\n return `${prefix}-coachmark-opened`;\n }\n\n /**\n * The name of the custom event fired when this coachmark is closed.\n */\n static get eventClose() {\n return `${prefix}-coachmark-closed`;\n }\n\n static styles = styles;\n}\n\nexport default CDSCoachmark;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAa,aAAa,GAAG,OAAO;;;;;;;;;;;AAYpC,yBACM,qBAAqB,cAAc,kBAAkB,WAAW,CAAC,CAAC;;;cAKtD;eAKC,kBAAkB;kBAUd;sBAKI;oBAKF;eAKL;qBAEyB;mCA4GP;AAGlC,OAAI,KAAK,KACP,MAAK,OAAO;;;CA9GhB,uBAAuB;AACrB,QAAM,sBAAsB;AAC5B,MAAI,KAAK,YACP,MAAK,aAAa;AAEpB,+BAA6B;;CAG/B,AAAQ,iBAAiB;EAIvB,MAAM,kBAHU,KAAK,YAAY,cAC/B,IAAI,WAAW,WAChB,EAC8B,cAC7B,sBACD;EAMD,MAAM,UALU,eAAe,cAC7B,IAAI,WAAW,WAChB,CACoB,cAAc,OAAO,EACX,iBAA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