@carbon/ibm-products-web-components 0.29.0 → 0.30.0-rc.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 (827) hide show
  1. package/package.json +8 -8
  2. package/telemetry.yml +14 -3
  3. package/custom-elements.json +0 -4446
  4. package/es/components/about-modal/about-modal.d.ts +0 -458
  5. package/es/components/about-modal/about-modal.figma.js +0 -59
  6. package/es/components/about-modal/about-modal.figma.js.map +0 -1
  7. package/es/components/about-modal/about-modal.js +0 -203
  8. package/es/components/about-modal/about-modal.js.map +0 -1
  9. package/es/components/about-modal/about-modal.scss.js +0 -13
  10. package/es/components/about-modal/about-modal.scss.js.map +0 -1
  11. package/es/components/about-modal/about-modal.test.d.ts +0 -7
  12. package/es/components/about-modal/about-modal.test.js +0 -208
  13. package/es/components/about-modal/about-modal.test.js.map +0 -1
  14. package/es/components/about-modal/index.d.ts +0 -9
  15. package/es/components/about-modal/index.js +0 -9
  16. package/es/components/about-modal/index.js.map +0 -1
  17. package/es/components/checklist/checklist-chart.d.ts +0 -25
  18. package/es/components/checklist/checklist-chart.js +0 -81
  19. package/es/components/checklist/checklist-chart.js.map +0 -1
  20. package/es/components/checklist/checklist-group.d.ts +0 -25
  21. package/es/components/checklist/checklist-group.js +0 -58
  22. package/es/components/checklist/checklist-group.js.map +0 -1
  23. package/es/components/checklist/checklist-icon.d.ts +0 -26
  24. package/es/components/checklist/checklist-icon.js +0 -72
  25. package/es/components/checklist/checklist-icon.js.map +0 -1
  26. package/es/components/checklist/checklist-item.d.ts +0 -41
  27. package/es/components/checklist/checklist-item.figma.js +0 -49
  28. package/es/components/checklist/checklist-item.figma.js.map +0 -1
  29. package/es/components/checklist/checklist-item.js +0 -128
  30. package/es/components/checklist/checklist-item.js.map +0 -1
  31. package/es/components/checklist/checklist.d.ts +0 -73
  32. package/es/components/checklist/checklist.figma.js +0 -87
  33. package/es/components/checklist/checklist.figma.js.map +0 -1
  34. package/es/components/checklist/checklist.js +0 -198
  35. package/es/components/checklist/checklist.js.map +0 -1
  36. package/es/components/checklist/checklist.scss.js +0 -13
  37. package/es/components/checklist/checklist.scss.js.map +0 -1
  38. package/es/components/checklist/checklist.test.d.ts +0 -7
  39. package/es/components/checklist/checklist.test.js +0 -172
  40. package/es/components/checklist/checklist.test.js.map +0 -1
  41. package/es/components/checklist/checklist.types.d.ts +0 -22
  42. package/es/components/checklist/checklist.types.js +0 -32
  43. package/es/components/checklist/checklist.types.js.map +0 -1
  44. package/es/components/checklist/index.d.ts +0 -13
  45. package/es/components/checklist/index.js +0 -13
  46. package/es/components/checklist/index.js.map +0 -1
  47. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -413
  48. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +0 -126
  49. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +0 -1
  50. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +0 -13
  51. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +0 -1
  52. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +0 -9
  53. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +0 -70
  54. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +0 -1
  55. package/es/components/coachmark/coachmark-beacon/defs.d.ts +0 -14
  56. package/es/components/coachmark/coachmark-beacon/defs.js +0 -25
  57. package/es/components/coachmark/coachmark-beacon/defs.js.map +0 -1
  58. package/es/components/coachmark/coachmark-beacon/index.d.ts +0 -9
  59. package/es/components/coachmark/coachmark-beacon/index.js +0 -9
  60. package/es/components/coachmark/coachmark-beacon/index.js.map +0 -1
  61. package/es/components/full-page-error/assets/error403SVG.js +0 -831
  62. package/es/components/full-page-error/assets/error403SVG.js.map +0 -1
  63. package/es/components/full-page-error/assets/error404SVG.js +0 -735
  64. package/es/components/full-page-error/assets/error404SVG.js.map +0 -1
  65. package/es/components/full-page-error/assets/errorGenericSVG.js +0 -830
  66. package/es/components/full-page-error/assets/errorGenericSVG.js.map +0 -1
  67. package/es/components/full-page-error/full-page-error.d.ts +0 -43
  68. package/es/components/full-page-error/full-page-error.figma.js +0 -81
  69. package/es/components/full-page-error/full-page-error.figma.js.map +0 -1
  70. package/es/components/full-page-error/full-page-error.js +0 -102
  71. package/es/components/full-page-error/full-page-error.js.map +0 -1
  72. package/es/components/full-page-error/full-page-error.scss.js +0 -13
  73. package/es/components/full-page-error/full-page-error.scss.js.map +0 -1
  74. package/es/components/full-page-error/full-page-error.test.d.ts +0 -7
  75. package/es/components/full-page-error/full-page-error.test.js +0 -102
  76. package/es/components/full-page-error/full-page-error.test.js.map +0 -1
  77. package/es/components/full-page-error/index.d.ts +0 -9
  78. package/es/components/full-page-error/index.js +0 -9
  79. package/es/components/full-page-error/index.js.map +0 -1
  80. package/es/components/full-page-error/types.d.ts +0 -13
  81. package/es/components/full-page-error/types.js +0 -24
  82. package/es/components/full-page-error/types.js.map +0 -1
  83. package/es/components/interstitial-screen/index.d.ts +0 -13
  84. package/es/components/interstitial-screen/index.js +0 -13
  85. package/es/components/interstitial-screen/index.js.map +0 -1
  86. package/es/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -388
  87. package/es/components/interstitial-screen/interstitial-screen-body-item.js +0 -71
  88. package/es/components/interstitial-screen/interstitial-screen-body-item.js.map +0 -1
  89. package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js +0 -13
  90. package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +0 -1
  91. package/es/components/interstitial-screen/interstitial-screen-body.d.ts +0 -402
  92. package/es/components/interstitial-screen/interstitial-screen-body.js +0 -152
  93. package/es/components/interstitial-screen/interstitial-screen-body.js.map +0 -1
  94. package/es/components/interstitial-screen/interstitial-screen-body.scss.js +0 -13
  95. package/es/components/interstitial-screen/interstitial-screen-body.scss.js.map +0 -1
  96. package/es/components/interstitial-screen/interstitial-screen-context.d.ts +0 -18
  97. package/es/components/interstitial-screen/interstitial-screen-context.js +0 -48
  98. package/es/components/interstitial-screen/interstitial-screen-context.js.map +0 -1
  99. package/es/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -429
  100. package/es/components/interstitial-screen/interstitial-screen-footer.js +0 -263
  101. package/es/components/interstitial-screen/interstitial-screen-footer.js.map +0 -1
  102. package/es/components/interstitial-screen/interstitial-screen-footer.scss.js +0 -13
  103. package/es/components/interstitial-screen/interstitial-screen-footer.scss.js.map +0 -1
  104. package/es/components/interstitial-screen/interstitial-screen-header.d.ts +0 -413
  105. package/es/components/interstitial-screen/interstitial-screen-header.js +0 -177
  106. package/es/components/interstitial-screen/interstitial-screen-header.js.map +0 -1
  107. package/es/components/interstitial-screen/interstitial-screen-header.scss.js +0 -13
  108. package/es/components/interstitial-screen/interstitial-screen-header.scss.js.map +0 -1
  109. package/es/components/interstitial-screen/interstitial-screen.d.ts +0 -441
  110. package/es/components/interstitial-screen/interstitial-screen.js +0 -217
  111. package/es/components/interstitial-screen/interstitial-screen.js.map +0 -1
  112. package/es/components/interstitial-screen/interstitial-screen.scss.js +0 -13
  113. package/es/components/interstitial-screen/interstitial-screen.scss.js.map +0 -1
  114. package/es/components/interstitial-screen/interstitial-screen.test.d.ts +0 -1
  115. package/es/components/interstitial-screen/interstitial-screen.test.js +0 -329
  116. package/es/components/interstitial-screen/interstitial-screen.test.js.map +0 -1
  117. package/es/components/notification-panel/_story-assets/unread-notification-bell.d.ts +0 -3
  118. package/es/components/notification-panel/_story-assets/unread-notification-bell.js +0 -45
  119. package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +0 -1
  120. package/es/components/notification-panel/date-time-context.d.ts +0 -9
  121. package/es/components/notification-panel/date-time-context.js +0 -19
  122. package/es/components/notification-panel/date-time-context.js.map +0 -1
  123. package/es/components/notification-panel/defs.d.ts +0 -8
  124. package/es/components/notification-panel/defs.js +0 -8
  125. package/es/components/notification-panel/defs.js.map +0 -1
  126. package/es/components/notification-panel/index.d.ts +0 -11
  127. package/es/components/notification-panel/index.js +0 -11
  128. package/es/components/notification-panel/index.js.map +0 -1
  129. package/es/components/notification-panel/notification-footer.d.ts +0 -405
  130. package/es/components/notification-panel/notification-footer.js +0 -120
  131. package/es/components/notification-panel/notification-footer.js.map +0 -1
  132. package/es/components/notification-panel/notification-footer.scss.js +0 -13
  133. package/es/components/notification-panel/notification-footer.scss.js.map +0 -1
  134. package/es/components/notification-panel/notification-footer.test.d.ts +0 -7
  135. package/es/components/notification-panel/notification-footer.test.js +0 -65
  136. package/es/components/notification-panel/notification-footer.test.js.map +0 -1
  137. package/es/components/notification-panel/notification-panel.d.ts +0 -479
  138. package/es/components/notification-panel/notification-panel.js +0 -439
  139. package/es/components/notification-panel/notification-panel.js.map +0 -1
  140. package/es/components/notification-panel/notification-panel.scss.js +0 -13
  141. package/es/components/notification-panel/notification-panel.scss.js.map +0 -1
  142. package/es/components/notification-panel/notification-panel.test.d.ts +0 -7
  143. package/es/components/notification-panel/notification-panel.test.js +0 -340
  144. package/es/components/notification-panel/notification-panel.test.js.map +0 -1
  145. package/es/components/notification-panel/notification.d.ts +0 -415
  146. package/es/components/notification-panel/notification.js +0 -179
  147. package/es/components/notification-panel/notification.js.map +0 -1
  148. package/es/components/notification-panel/notification.scss.js +0 -13
  149. package/es/components/notification-panel/notification.scss.js.map +0 -1
  150. package/es/components/notification-panel/notification.test.d.ts +0 -7
  151. package/es/components/notification-panel/notification.test.js +0 -152
  152. package/es/components/notification-panel/notification.test.js.map +0 -1
  153. package/es/components/options-tile/index.d.ts +0 -9
  154. package/es/components/options-tile/index.js +0 -9
  155. package/es/components/options-tile/index.js.map +0 -1
  156. package/es/components/options-tile/options-file.figma.js +0 -96
  157. package/es/components/options-tile/options-file.figma.js.map +0 -1
  158. package/es/components/options-tile/options-tile.d.ts +0 -416
  159. package/es/components/options-tile/options-tile.js +0 -158
  160. package/es/components/options-tile/options-tile.js.map +0 -1
  161. package/es/components/options-tile/options-tile.scss.js +0 -13
  162. package/es/components/options-tile/options-tile.scss.js.map +0 -1
  163. package/es/components/options-tile/options-tile.test.d.ts +0 -1
  164. package/es/components/options-tile/options-tile.test.js +0 -129
  165. package/es/components/options-tile/options-tile.test.js.map +0 -1
  166. package/es/components/page-header/_story-assets/2x1.jpg.js +0 -11
  167. package/es/components/page-header/_story-assets/2x1.jpg.js.map +0 -1
  168. package/es/components/page-header/_story-assets/3x2.jpg.js +0 -11
  169. package/es/components/page-header/_story-assets/3x2.jpg.js.map +0 -1
  170. package/es/components/page-header/_story-assets/overflowHandler.d.ts +0 -98
  171. package/es/components/page-header/_story-assets/overflowHandler.js +0 -156
  172. package/es/components/page-header/_story-assets/overflowHandler.js.map +0 -1
  173. package/es/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +0 -43
  174. package/es/components/page-header/_story-assets/set-of-breadcrumbs.js +0 -154
  175. package/es/components/page-header/_story-assets/set-of-breadcrumbs.js.map +0 -1
  176. package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +0 -13
  177. package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +0 -1
  178. package/es/components/page-header/_story-assets/set-of-tags/index.d.ts +0 -9
  179. package/es/components/page-header/_story-assets/set-of-tags/index.js +0 -9
  180. package/es/components/page-header/_story-assets/set-of-tags/index.js.map +0 -1
  181. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +0 -40
  182. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js +0 -260
  183. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +0 -1
  184. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +0 -13
  185. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js.map +0 -1
  186. package/es/components/page-header/_story-assets/set-of-tags/utils.d.ts +0 -23
  187. package/es/components/page-header/_story-assets/set-of-tags/utils.js +0 -44
  188. package/es/components/page-header/_story-assets/set-of-tags/utils.js.map +0 -1
  189. package/es/components/page-header/context.d.ts +0 -15
  190. package/es/components/page-header/context.js +0 -27
  191. package/es/components/page-header/context.js.map +0 -1
  192. package/es/components/page-header/index.d.ts +0 -16
  193. package/es/components/page-header/index.js +0 -16
  194. package/es/components/page-header/index.js.map +0 -1
  195. package/es/components/page-header/page-header-breadcrumb.d.ts +0 -36
  196. package/es/components/page-header/page-header-breadcrumb.js +0 -106
  197. package/es/components/page-header/page-header-breadcrumb.js.map +0 -1
  198. package/es/components/page-header/page-header-content-text.d.ts +0 -22
  199. package/es/components/page-header/page-header-content-text.js +0 -56
  200. package/es/components/page-header/page-header-content-text.js.map +0 -1
  201. package/es/components/page-header/page-header-content.d.ts +0 -42
  202. package/es/components/page-header/page-header-content.js +0 -141
  203. package/es/components/page-header/page-header-content.js.map +0 -1
  204. package/es/components/page-header/page-header-hero-image.d.ts +0 -18
  205. package/es/components/page-header/page-header-hero-image.js +0 -38
  206. package/es/components/page-header/page-header-hero-image.js.map +0 -1
  207. package/es/components/page-header/page-header-scroller.d.ts +0 -56
  208. package/es/components/page-header/page-header-scroller.js +0 -166
  209. package/es/components/page-header/page-header-scroller.js.map +0 -1
  210. package/es/components/page-header/page-header-tabs.d.ts +0 -18
  211. package/es/components/page-header/page-header-tabs.js +0 -48
  212. package/es/components/page-header/page-header-tabs.js.map +0 -1
  213. package/es/components/page-header/page-header-title-breadcrumb.d.ts +0 -20
  214. package/es/components/page-header/page-header-title-breadcrumb.js +0 -71
  215. package/es/components/page-header/page-header-title-breadcrumb.js.map +0 -1
  216. package/es/components/page-header/page-header.d.ts +0 -31
  217. package/es/components/page-header/page-header.js +0 -128
  218. package/es/components/page-header/page-header.js.map +0 -1
  219. package/es/components/page-header/page-header.scss.js +0 -13
  220. package/es/components/page-header/page-header.scss.js.map +0 -1
  221. package/es/components/page-header/page-header.test.d.ts +0 -1
  222. package/es/components/page-header/page-header.test.js +0 -349
  223. package/es/components/page-header/page-header.test.js.map +0 -1
  224. package/es/components/page-header/utils.d.ts +0 -32
  225. package/es/components/page-header/utils.js +0 -76
  226. package/es/components/page-header/utils.js.map +0 -1
  227. package/es/components/side-panel/_story-assets/index.d.ts +0 -8
  228. package/es/components/side-panel/_story-assets/index.js +0 -275
  229. package/es/components/side-panel/_story-assets/index.js.map +0 -1
  230. package/es/components/side-panel/defs.d.ts +0 -39
  231. package/es/components/side-panel/defs.js +0 -51
  232. package/es/components/side-panel/defs.js.map +0 -1
  233. package/es/components/side-panel/index.d.ts +0 -9
  234. package/es/components/side-panel/index.js +0 -9
  235. package/es/components/side-panel/index.js.map +0 -1
  236. package/es/components/side-panel/side-panel.d.ts +0 -571
  237. package/es/components/side-panel/side-panel.js +0 -859
  238. package/es/components/side-panel/side-panel.js.map +0 -1
  239. package/es/components/side-panel/side-panel.scss.js +0 -13
  240. package/es/components/side-panel/side-panel.scss.js.map +0 -1
  241. package/es/components/side-panel/side-panel.test.d.ts +0 -3
  242. package/es/components/side-panel/side-panel.test.js +0 -273
  243. package/es/components/side-panel/side-panel.test.js.map +0 -1
  244. package/es/components/side-panel/story-styles.scss.js +0 -13
  245. package/es/components/side-panel/story-styles.scss.js.map +0 -1
  246. package/es/components/tearsheet/defs.d.ts +0 -26
  247. package/es/components/tearsheet/defs.js +0 -39
  248. package/es/components/tearsheet/defs.js.map +0 -1
  249. package/es/components/tearsheet/index.d.ts +0 -9
  250. package/es/components/tearsheet/index.js +0 -9
  251. package/es/components/tearsheet/index.js.map +0 -1
  252. package/es/components/tearsheet/story-styles.scss.js +0 -13
  253. package/es/components/tearsheet/story-styles.scss.js.map +0 -1
  254. package/es/components/tearsheet/tearsheet.d.ts +0 -535
  255. package/es/components/tearsheet/tearsheet.js +0 -721
  256. package/es/components/tearsheet/tearsheet.js.map +0 -1
  257. package/es/components/tearsheet/tearsheet.scss.js +0 -13
  258. package/es/components/tearsheet/tearsheet.scss.js.map +0 -1
  259. package/es/components/tearsheet/tearsheet.test.d.ts +0 -14
  260. package/es/components/tearsheet/tearsheet.test.js +0 -305
  261. package/es/components/tearsheet/tearsheet.test.js.map +0 -1
  262. package/es/components/tearsheet/utils.d.ts +0 -34
  263. package/es/components/tearsheet/utils.js +0 -370
  264. package/es/components/tearsheet/utils.js.map +0 -1
  265. package/es/components/truncated-text/index.d.ts +0 -9
  266. package/es/components/truncated-text/index.js +0 -9
  267. package/es/components/truncated-text/index.js.map +0 -1
  268. package/es/components/truncated-text/truncated-text.d.ts +0 -78
  269. package/es/components/truncated-text/truncated-text.js +0 -257
  270. package/es/components/truncated-text/truncated-text.js.map +0 -1
  271. package/es/components/truncated-text/truncated-text.scss.js +0 -13
  272. package/es/components/truncated-text/truncated-text.scss.js.map +0 -1
  273. package/es/components/truncated-text/truncated-text.test.d.ts +0 -7
  274. package/es/components/truncated-text/truncated-text.test.js +0 -77
  275. package/es/components/truncated-text/truncated-text.test.js.map +0 -1
  276. package/es/components/user-avatar/index.d.ts +0 -9
  277. package/es/components/user-avatar/index.js +0 -9
  278. package/es/components/user-avatar/index.js.map +0 -1
  279. package/es/components/user-avatar/user-avatar.d.ts +0 -425
  280. package/es/components/user-avatar/user-avatar.figma.js +0 -161
  281. package/es/components/user-avatar/user-avatar.figma.js.map +0 -1
  282. package/es/components/user-avatar/user-avatar.js +0 -141
  283. package/es/components/user-avatar/user-avatar.js.map +0 -1
  284. package/es/components/user-avatar/user-avatar.scss.js +0 -13
  285. package/es/components/user-avatar/user-avatar.scss.js.map +0 -1
  286. package/es/components/user-avatar/user-avatar.test.d.ts +0 -1
  287. package/es/components/user-avatar/user-avatar.test.js +0 -128
  288. package/es/components/user-avatar/user-avatar.test.js.map +0 -1
  289. package/es/globals/internal/handle.d.ts +0 -18
  290. package/es/globals/internal/handle.js +0 -8
  291. package/es/globals/internal/handle.js.map +0 -1
  292. package/es/globals/internal/pconsole.d.ts +0 -15
  293. package/es/globals/internal/pconsole.js +0 -30
  294. package/es/globals/internal/pconsole.js.map +0 -1
  295. package/es/globals/internal/storybook-cdn.js +0 -78
  296. package/es/globals/internal/storybook-cdn.js.map +0 -1
  297. package/es/globals/js/utils/getSupportedLocale.d.ts +0 -12
  298. package/es/globals/js/utils/getSupportedLocale.js +0 -35
  299. package/es/globals/js/utils/getSupportedLocale.js.map +0 -1
  300. package/es/globals/settings.d.ts +0 -15
  301. package/es/globals/settings.js +0 -28
  302. package/es/globals/settings.js.map +0 -1
  303. package/es/index.d.ts +0 -21
  304. package/es/index.js +0 -21
  305. package/es/index.js.map +0 -1
  306. package/es/node_modules/@carbon/layout/es/index.js +0 -44
  307. package/es/node_modules/@carbon/layout/es/index.js.map +0 -1
  308. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +0 -13
  309. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +0 -1
  310. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +0 -11
  311. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +0 -1
  312. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +0 -9
  313. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
  314. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
  315. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
  316. package/es/packages/ibm-products-web-components/package.json.js +0 -13
  317. package/es/packages/ibm-products-web-components/package.json.js.map +0 -1
  318. package/es/patterns/step-flow/_story-assets/step-full-page.d.ts +0 -41
  319. package/es/patterns/step-flow/_story-assets/step-full-page.js +0 -257
  320. package/es/patterns/step-flow/_story-assets/step-full-page.js.map +0 -1
  321. package/es/patterns/step-flow/_story-assets/step-full-page.scss.js +0 -13
  322. package/es/patterns/step-flow/_story-assets/step-full-page.scss.js.map +0 -1
  323. package/es/patterns/step-flow/_story-assets/step-tearsheet.d.ts +0 -41
  324. package/es/patterns/step-flow/_story-assets/step-tearsheet.js +0 -255
  325. package/es/patterns/step-flow/_story-assets/step-tearsheet.js.map +0 -1
  326. package/es/patterns/step-flow/index.d.ts +0 -10
  327. package/es/patterns/step-flow/index.js +0 -10
  328. package/es/patterns/step-flow/index.js.map +0 -1
  329. package/es/patterns/step-flow/step-flow-signal.d.ts +0 -24
  330. package/es/patterns/step-flow/step-flow-signal.js +0 -54
  331. package/es/patterns/step-flow/step-flow-signal.js.map +0 -1
  332. package/es/patterns/step-flow/step-flow-signal.test.d.ts +0 -7
  333. package/es/patterns/step-flow/step-flow-signal.test.js +0 -88
  334. package/es/patterns/step-flow/step-flow-signal.test.js.map +0 -1
  335. package/es/patterns/step-flow/step-group.d.ts +0 -15
  336. package/es/patterns/step-flow/step-group.js +0 -28
  337. package/es/patterns/step-flow/step-group.js.map +0 -1
  338. package/es/patterns/step-flow/story-styles.scss.js +0 -13
  339. package/es/patterns/step-flow/story-styles.scss.js.map +0 -1
  340. package/es/utilities/carousel/carousel.d.ts +0 -14
  341. package/es/utilities/carousel/carousel.js +0 -341
  342. package/es/utilities/carousel/carousel.js.map +0 -1
  343. package/es/utilities/carousel/index.d.ts +0 -8
  344. package/es/utilities/carousel/index.js +0 -9
  345. package/es/utilities/carousel/index.js.map +0 -1
  346. package/es/utilities/carousel/swipeEvents.d.ts +0 -7
  347. package/es/utilities/carousel/swipeEvents.js +0 -109
  348. package/es/utilities/carousel/swipeEvents.js.map +0 -1
  349. package/es/utilities/carousel/types.d.ts +0 -37
  350. package/es/utilities/carousel/types.js +0 -8
  351. package/es/utilities/carousel/types.js.map +0 -1
  352. package/es/utilities/manageFocusTrap/manageFocusTrap.d.ts +0 -13
  353. package/es/utilities/manageFocusTrap/manageFocusTrap.js +0 -138
  354. package/es/utilities/manageFocusTrap/manageFocusTrap.js.map +0 -1
  355. package/es-custom/components/about-modal/about-modal.d.ts +0 -458
  356. package/es-custom/components/about-modal/about-modal.figma.js +0 -59
  357. package/es-custom/components/about-modal/about-modal.figma.js.map +0 -1
  358. package/es-custom/components/about-modal/about-modal.js +0 -203
  359. package/es-custom/components/about-modal/about-modal.js.map +0 -1
  360. package/es-custom/components/about-modal/about-modal.scss.js +0 -13
  361. package/es-custom/components/about-modal/about-modal.scss.js.map +0 -1
  362. package/es-custom/components/about-modal/about-modal.test.d.ts +0 -7
  363. package/es-custom/components/about-modal/about-modal.test.js +0 -208
  364. package/es-custom/components/about-modal/about-modal.test.js.map +0 -1
  365. package/es-custom/components/about-modal/index.d.ts +0 -9
  366. package/es-custom/components/about-modal/index.js +0 -9
  367. package/es-custom/components/about-modal/index.js.map +0 -1
  368. package/es-custom/components/checklist/checklist-chart.d.ts +0 -25
  369. package/es-custom/components/checklist/checklist-chart.js +0 -81
  370. package/es-custom/components/checklist/checklist-chart.js.map +0 -1
  371. package/es-custom/components/checklist/checklist-group.d.ts +0 -25
  372. package/es-custom/components/checklist/checklist-group.js +0 -58
  373. package/es-custom/components/checklist/checklist-group.js.map +0 -1
  374. package/es-custom/components/checklist/checklist-icon.d.ts +0 -26
  375. package/es-custom/components/checklist/checklist-icon.js +0 -72
  376. package/es-custom/components/checklist/checklist-icon.js.map +0 -1
  377. package/es-custom/components/checklist/checklist-item.d.ts +0 -41
  378. package/es-custom/components/checklist/checklist-item.figma.js +0 -49
  379. package/es-custom/components/checklist/checklist-item.figma.js.map +0 -1
  380. package/es-custom/components/checklist/checklist-item.js +0 -128
  381. package/es-custom/components/checklist/checklist-item.js.map +0 -1
  382. package/es-custom/components/checklist/checklist.d.ts +0 -73
  383. package/es-custom/components/checklist/checklist.figma.js +0 -87
  384. package/es-custom/components/checklist/checklist.figma.js.map +0 -1
  385. package/es-custom/components/checklist/checklist.js +0 -198
  386. package/es-custom/components/checklist/checklist.js.map +0 -1
  387. package/es-custom/components/checklist/checklist.scss.js +0 -13
  388. package/es-custom/components/checklist/checklist.scss.js.map +0 -1
  389. package/es-custom/components/checklist/checklist.test.d.ts +0 -7
  390. package/es-custom/components/checklist/checklist.test.js +0 -172
  391. package/es-custom/components/checklist/checklist.test.js.map +0 -1
  392. package/es-custom/components/checklist/checklist.types.d.ts +0 -22
  393. package/es-custom/components/checklist/checklist.types.js +0 -32
  394. package/es-custom/components/checklist/checklist.types.js.map +0 -1
  395. package/es-custom/components/checklist/index.d.ts +0 -13
  396. package/es-custom/components/checklist/index.js +0 -13
  397. package/es-custom/components/checklist/index.js.map +0 -1
  398. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -413
  399. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +0 -126
  400. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +0 -1
  401. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +0 -13
  402. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +0 -1
  403. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +0 -9
  404. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +0 -70
  405. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +0 -1
  406. package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts +0 -14
  407. package/es-custom/components/coachmark/coachmark-beacon/defs.js +0 -25
  408. package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +0 -1
  409. package/es-custom/components/coachmark/coachmark-beacon/index.d.ts +0 -9
  410. package/es-custom/components/coachmark/coachmark-beacon/index.js +0 -9
  411. package/es-custom/components/coachmark/coachmark-beacon/index.js.map +0 -1
  412. package/es-custom/components/full-page-error/assets/error403SVG.js +0 -831
  413. package/es-custom/components/full-page-error/assets/error403SVG.js.map +0 -1
  414. package/es-custom/components/full-page-error/assets/error404SVG.js +0 -735
  415. package/es-custom/components/full-page-error/assets/error404SVG.js.map +0 -1
  416. package/es-custom/components/full-page-error/assets/errorGenericSVG.js +0 -830
  417. package/es-custom/components/full-page-error/assets/errorGenericSVG.js.map +0 -1
  418. package/es-custom/components/full-page-error/full-page-error.d.ts +0 -43
  419. package/es-custom/components/full-page-error/full-page-error.figma.js +0 -81
  420. package/es-custom/components/full-page-error/full-page-error.figma.js.map +0 -1
  421. package/es-custom/components/full-page-error/full-page-error.js +0 -102
  422. package/es-custom/components/full-page-error/full-page-error.js.map +0 -1
  423. package/es-custom/components/full-page-error/full-page-error.scss.js +0 -13
  424. package/es-custom/components/full-page-error/full-page-error.scss.js.map +0 -1
  425. package/es-custom/components/full-page-error/full-page-error.test.d.ts +0 -7
  426. package/es-custom/components/full-page-error/full-page-error.test.js +0 -102
  427. package/es-custom/components/full-page-error/full-page-error.test.js.map +0 -1
  428. package/es-custom/components/full-page-error/index.d.ts +0 -9
  429. package/es-custom/components/full-page-error/index.js +0 -9
  430. package/es-custom/components/full-page-error/index.js.map +0 -1
  431. package/es-custom/components/full-page-error/types.d.ts +0 -13
  432. package/es-custom/components/full-page-error/types.js +0 -24
  433. package/es-custom/components/full-page-error/types.js.map +0 -1
  434. package/es-custom/components/interstitial-screen/index.d.ts +0 -13
  435. package/es-custom/components/interstitial-screen/index.js +0 -13
  436. package/es-custom/components/interstitial-screen/index.js.map +0 -1
  437. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -388
  438. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js +0 -71
  439. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js.map +0 -1
  440. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js +0 -13
  441. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +0 -1
  442. package/es-custom/components/interstitial-screen/interstitial-screen-body.d.ts +0 -402
  443. package/es-custom/components/interstitial-screen/interstitial-screen-body.js +0 -152
  444. package/es-custom/components/interstitial-screen/interstitial-screen-body.js.map +0 -1
  445. package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js +0 -13
  446. package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js.map +0 -1
  447. package/es-custom/components/interstitial-screen/interstitial-screen-context.d.ts +0 -18
  448. package/es-custom/components/interstitial-screen/interstitial-screen-context.js +0 -48
  449. package/es-custom/components/interstitial-screen/interstitial-screen-context.js.map +0 -1
  450. package/es-custom/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -429
  451. package/es-custom/components/interstitial-screen/interstitial-screen-footer.js +0 -263
  452. package/es-custom/components/interstitial-screen/interstitial-screen-footer.js.map +0 -1
  453. package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js +0 -13
  454. package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js.map +0 -1
  455. package/es-custom/components/interstitial-screen/interstitial-screen-header.d.ts +0 -413
  456. package/es-custom/components/interstitial-screen/interstitial-screen-header.js +0 -177
  457. package/es-custom/components/interstitial-screen/interstitial-screen-header.js.map +0 -1
  458. package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js +0 -13
  459. package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js.map +0 -1
  460. package/es-custom/components/interstitial-screen/interstitial-screen.d.ts +0 -441
  461. package/es-custom/components/interstitial-screen/interstitial-screen.js +0 -217
  462. package/es-custom/components/interstitial-screen/interstitial-screen.js.map +0 -1
  463. package/es-custom/components/interstitial-screen/interstitial-screen.scss.js +0 -13
  464. package/es-custom/components/interstitial-screen/interstitial-screen.scss.js.map +0 -1
  465. package/es-custom/components/interstitial-screen/interstitial-screen.test.d.ts +0 -1
  466. package/es-custom/components/interstitial-screen/interstitial-screen.test.js +0 -329
  467. package/es-custom/components/interstitial-screen/interstitial-screen.test.js.map +0 -1
  468. package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.d.ts +0 -3
  469. package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js +0 -45
  470. package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +0 -1
  471. package/es-custom/components/notification-panel/date-time-context.d.ts +0 -9
  472. package/es-custom/components/notification-panel/date-time-context.js +0 -19
  473. package/es-custom/components/notification-panel/date-time-context.js.map +0 -1
  474. package/es-custom/components/notification-panel/defs.d.ts +0 -8
  475. package/es-custom/components/notification-panel/defs.js +0 -8
  476. package/es-custom/components/notification-panel/defs.js.map +0 -1
  477. package/es-custom/components/notification-panel/index.d.ts +0 -11
  478. package/es-custom/components/notification-panel/index.js +0 -11
  479. package/es-custom/components/notification-panel/index.js.map +0 -1
  480. package/es-custom/components/notification-panel/notification-footer.d.ts +0 -405
  481. package/es-custom/components/notification-panel/notification-footer.js +0 -120
  482. package/es-custom/components/notification-panel/notification-footer.js.map +0 -1
  483. package/es-custom/components/notification-panel/notification-footer.scss.js +0 -13
  484. package/es-custom/components/notification-panel/notification-footer.scss.js.map +0 -1
  485. package/es-custom/components/notification-panel/notification-footer.test.d.ts +0 -7
  486. package/es-custom/components/notification-panel/notification-footer.test.js +0 -65
  487. package/es-custom/components/notification-panel/notification-footer.test.js.map +0 -1
  488. package/es-custom/components/notification-panel/notification-panel.d.ts +0 -479
  489. package/es-custom/components/notification-panel/notification-panel.js +0 -439
  490. package/es-custom/components/notification-panel/notification-panel.js.map +0 -1
  491. package/es-custom/components/notification-panel/notification-panel.scss.js +0 -13
  492. package/es-custom/components/notification-panel/notification-panel.scss.js.map +0 -1
  493. package/es-custom/components/notification-panel/notification-panel.test.d.ts +0 -7
  494. package/es-custom/components/notification-panel/notification-panel.test.js +0 -340
  495. package/es-custom/components/notification-panel/notification-panel.test.js.map +0 -1
  496. package/es-custom/components/notification-panel/notification.d.ts +0 -415
  497. package/es-custom/components/notification-panel/notification.js +0 -179
  498. package/es-custom/components/notification-panel/notification.js.map +0 -1
  499. package/es-custom/components/notification-panel/notification.scss.js +0 -13
  500. package/es-custom/components/notification-panel/notification.scss.js.map +0 -1
  501. package/es-custom/components/notification-panel/notification.test.d.ts +0 -7
  502. package/es-custom/components/notification-panel/notification.test.js +0 -152
  503. package/es-custom/components/notification-panel/notification.test.js.map +0 -1
  504. package/es-custom/components/options-tile/index.d.ts +0 -9
  505. package/es-custom/components/options-tile/index.js +0 -9
  506. package/es-custom/components/options-tile/index.js.map +0 -1
  507. package/es-custom/components/options-tile/options-file.figma.js +0 -96
  508. package/es-custom/components/options-tile/options-file.figma.js.map +0 -1
  509. package/es-custom/components/options-tile/options-tile.d.ts +0 -416
  510. package/es-custom/components/options-tile/options-tile.js +0 -158
  511. package/es-custom/components/options-tile/options-tile.js.map +0 -1
  512. package/es-custom/components/options-tile/options-tile.scss.js +0 -13
  513. package/es-custom/components/options-tile/options-tile.scss.js.map +0 -1
  514. package/es-custom/components/options-tile/options-tile.test.d.ts +0 -1
  515. package/es-custom/components/options-tile/options-tile.test.js +0 -129
  516. package/es-custom/components/options-tile/options-tile.test.js.map +0 -1
  517. package/es-custom/components/page-header/_story-assets/2x1.jpg.js +0 -11
  518. package/es-custom/components/page-header/_story-assets/2x1.jpg.js.map +0 -1
  519. package/es-custom/components/page-header/_story-assets/3x2.jpg.js +0 -11
  520. package/es-custom/components/page-header/_story-assets/3x2.jpg.js.map +0 -1
  521. package/es-custom/components/page-header/_story-assets/overflowHandler.d.ts +0 -98
  522. package/es-custom/components/page-header/_story-assets/overflowHandler.js +0 -156
  523. package/es-custom/components/page-header/_story-assets/overflowHandler.js.map +0 -1
  524. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +0 -43
  525. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js +0 -154
  526. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js.map +0 -1
  527. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +0 -13
  528. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +0 -1
  529. package/es-custom/components/page-header/_story-assets/set-of-tags/index.d.ts +0 -9
  530. package/es-custom/components/page-header/_story-assets/set-of-tags/index.js +0 -9
  531. package/es-custom/components/page-header/_story-assets/set-of-tags/index.js.map +0 -1
  532. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +0 -40
  533. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js +0 -260
  534. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +0 -1
  535. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +0 -13
  536. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js.map +0 -1
  537. package/es-custom/components/page-header/_story-assets/set-of-tags/utils.d.ts +0 -23
  538. package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js +0 -44
  539. package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js.map +0 -1
  540. package/es-custom/components/page-header/context.d.ts +0 -15
  541. package/es-custom/components/page-header/context.js +0 -27
  542. package/es-custom/components/page-header/context.js.map +0 -1
  543. package/es-custom/components/page-header/index.d.ts +0 -16
  544. package/es-custom/components/page-header/index.js +0 -16
  545. package/es-custom/components/page-header/index.js.map +0 -1
  546. package/es-custom/components/page-header/page-header-breadcrumb.d.ts +0 -36
  547. package/es-custom/components/page-header/page-header-breadcrumb.js +0 -106
  548. package/es-custom/components/page-header/page-header-breadcrumb.js.map +0 -1
  549. package/es-custom/components/page-header/page-header-content-text.d.ts +0 -22
  550. package/es-custom/components/page-header/page-header-content-text.js +0 -56
  551. package/es-custom/components/page-header/page-header-content-text.js.map +0 -1
  552. package/es-custom/components/page-header/page-header-content.d.ts +0 -42
  553. package/es-custom/components/page-header/page-header-content.js +0 -141
  554. package/es-custom/components/page-header/page-header-content.js.map +0 -1
  555. package/es-custom/components/page-header/page-header-hero-image.d.ts +0 -18
  556. package/es-custom/components/page-header/page-header-hero-image.js +0 -38
  557. package/es-custom/components/page-header/page-header-hero-image.js.map +0 -1
  558. package/es-custom/components/page-header/page-header-scroller.d.ts +0 -56
  559. package/es-custom/components/page-header/page-header-scroller.js +0 -166
  560. package/es-custom/components/page-header/page-header-scroller.js.map +0 -1
  561. package/es-custom/components/page-header/page-header-tabs.d.ts +0 -18
  562. package/es-custom/components/page-header/page-header-tabs.js +0 -48
  563. package/es-custom/components/page-header/page-header-tabs.js.map +0 -1
  564. package/es-custom/components/page-header/page-header-title-breadcrumb.d.ts +0 -20
  565. package/es-custom/components/page-header/page-header-title-breadcrumb.js +0 -71
  566. package/es-custom/components/page-header/page-header-title-breadcrumb.js.map +0 -1
  567. package/es-custom/components/page-header/page-header.d.ts +0 -31
  568. package/es-custom/components/page-header/page-header.js +0 -128
  569. package/es-custom/components/page-header/page-header.js.map +0 -1
  570. package/es-custom/components/page-header/page-header.scss.js +0 -13
  571. package/es-custom/components/page-header/page-header.scss.js.map +0 -1
  572. package/es-custom/components/page-header/page-header.test.d.ts +0 -1
  573. package/es-custom/components/page-header/page-header.test.js +0 -349
  574. package/es-custom/components/page-header/page-header.test.js.map +0 -1
  575. package/es-custom/components/page-header/utils.d.ts +0 -32
  576. package/es-custom/components/page-header/utils.js +0 -76
  577. package/es-custom/components/page-header/utils.js.map +0 -1
  578. package/es-custom/components/side-panel/_story-assets/index.d.ts +0 -8
  579. package/es-custom/components/side-panel/_story-assets/index.js +0 -275
  580. package/es-custom/components/side-panel/_story-assets/index.js.map +0 -1
  581. package/es-custom/components/side-panel/defs.d.ts +0 -39
  582. package/es-custom/components/side-panel/defs.js +0 -51
  583. package/es-custom/components/side-panel/defs.js.map +0 -1
  584. package/es-custom/components/side-panel/index.d.ts +0 -9
  585. package/es-custom/components/side-panel/index.js +0 -9
  586. package/es-custom/components/side-panel/index.js.map +0 -1
  587. package/es-custom/components/side-panel/side-panel.d.ts +0 -571
  588. package/es-custom/components/side-panel/side-panel.js +0 -859
  589. package/es-custom/components/side-panel/side-panel.js.map +0 -1
  590. package/es-custom/components/side-panel/side-panel.scss.js +0 -13
  591. package/es-custom/components/side-panel/side-panel.scss.js.map +0 -1
  592. package/es-custom/components/side-panel/side-panel.test.d.ts +0 -3
  593. package/es-custom/components/side-panel/side-panel.test.js +0 -273
  594. package/es-custom/components/side-panel/side-panel.test.js.map +0 -1
  595. package/es-custom/components/side-panel/story-styles.scss.js +0 -13
  596. package/es-custom/components/side-panel/story-styles.scss.js.map +0 -1
  597. package/es-custom/components/tearsheet/defs.d.ts +0 -26
  598. package/es-custom/components/tearsheet/defs.js +0 -39
  599. package/es-custom/components/tearsheet/defs.js.map +0 -1
  600. package/es-custom/components/tearsheet/index.d.ts +0 -9
  601. package/es-custom/components/tearsheet/index.js +0 -9
  602. package/es-custom/components/tearsheet/index.js.map +0 -1
  603. package/es-custom/components/tearsheet/story-styles.scss.js +0 -13
  604. package/es-custom/components/tearsheet/story-styles.scss.js.map +0 -1
  605. package/es-custom/components/tearsheet/tearsheet.d.ts +0 -535
  606. package/es-custom/components/tearsheet/tearsheet.js +0 -721
  607. package/es-custom/components/tearsheet/tearsheet.js.map +0 -1
  608. package/es-custom/components/tearsheet/tearsheet.scss.js +0 -13
  609. package/es-custom/components/tearsheet/tearsheet.scss.js.map +0 -1
  610. package/es-custom/components/tearsheet/tearsheet.test.d.ts +0 -14
  611. package/es-custom/components/tearsheet/tearsheet.test.js +0 -305
  612. package/es-custom/components/tearsheet/tearsheet.test.js.map +0 -1
  613. package/es-custom/components/tearsheet/utils.d.ts +0 -34
  614. package/es-custom/components/tearsheet/utils.js +0 -370
  615. package/es-custom/components/tearsheet/utils.js.map +0 -1
  616. package/es-custom/components/truncated-text/index.d.ts +0 -9
  617. package/es-custom/components/truncated-text/index.js +0 -9
  618. package/es-custom/components/truncated-text/index.js.map +0 -1
  619. package/es-custom/components/truncated-text/truncated-text.d.ts +0 -78
  620. package/es-custom/components/truncated-text/truncated-text.js +0 -257
  621. package/es-custom/components/truncated-text/truncated-text.js.map +0 -1
  622. package/es-custom/components/truncated-text/truncated-text.scss.js +0 -13
  623. package/es-custom/components/truncated-text/truncated-text.scss.js.map +0 -1
  624. package/es-custom/components/truncated-text/truncated-text.test.d.ts +0 -7
  625. package/es-custom/components/truncated-text/truncated-text.test.js +0 -77
  626. package/es-custom/components/truncated-text/truncated-text.test.js.map +0 -1
  627. package/es-custom/components/user-avatar/index.d.ts +0 -9
  628. package/es-custom/components/user-avatar/index.js +0 -9
  629. package/es-custom/components/user-avatar/index.js.map +0 -1
  630. package/es-custom/components/user-avatar/user-avatar.d.ts +0 -425
  631. package/es-custom/components/user-avatar/user-avatar.figma.js +0 -161
  632. package/es-custom/components/user-avatar/user-avatar.figma.js.map +0 -1
  633. package/es-custom/components/user-avatar/user-avatar.js +0 -141
  634. package/es-custom/components/user-avatar/user-avatar.js.map +0 -1
  635. package/es-custom/components/user-avatar/user-avatar.scss.js +0 -13
  636. package/es-custom/components/user-avatar/user-avatar.scss.js.map +0 -1
  637. package/es-custom/components/user-avatar/user-avatar.test.d.ts +0 -1
  638. package/es-custom/components/user-avatar/user-avatar.test.js +0 -128
  639. package/es-custom/components/user-avatar/user-avatar.test.js.map +0 -1
  640. package/es-custom/globals/internal/handle.d.ts +0 -18
  641. package/es-custom/globals/internal/handle.js +0 -8
  642. package/es-custom/globals/internal/handle.js.map +0 -1
  643. package/es-custom/globals/internal/pconsole.d.ts +0 -15
  644. package/es-custom/globals/internal/pconsole.js +0 -30
  645. package/es-custom/globals/internal/pconsole.js.map +0 -1
  646. package/es-custom/globals/internal/storybook-cdn.js +0 -78
  647. package/es-custom/globals/internal/storybook-cdn.js.map +0 -1
  648. package/es-custom/globals/js/utils/getSupportedLocale.d.ts +0 -12
  649. package/es-custom/globals/js/utils/getSupportedLocale.js +0 -35
  650. package/es-custom/globals/js/utils/getSupportedLocale.js.map +0 -1
  651. package/es-custom/globals/settings.d.ts +0 -15
  652. package/es-custom/globals/settings.js +0 -28
  653. package/es-custom/globals/settings.js.map +0 -1
  654. package/es-custom/index.d.ts +0 -21
  655. package/es-custom/index.js +0 -21
  656. package/es-custom/index.js.map +0 -1
  657. package/es-custom/node_modules/@carbon/layout/es/index.js +0 -44
  658. package/es-custom/node_modules/@carbon/layout/es/index.js.map +0 -1
  659. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +0 -13
  660. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +0 -1
  661. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +0 -11
  662. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +0 -1
  663. package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +0 -9
  664. package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
  665. package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
  666. package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
  667. package/es-custom/packages/ibm-products-web-components/package.json.js +0 -13
  668. package/es-custom/packages/ibm-products-web-components/package.json.js.map +0 -1
  669. package/es-custom/patterns/step-flow/_story-assets/step-full-page.d.ts +0 -41
  670. package/es-custom/patterns/step-flow/_story-assets/step-full-page.js +0 -257
  671. package/es-custom/patterns/step-flow/_story-assets/step-full-page.js.map +0 -1
  672. package/es-custom/patterns/step-flow/_story-assets/step-full-page.scss.js +0 -13
  673. package/es-custom/patterns/step-flow/_story-assets/step-full-page.scss.js.map +0 -1
  674. package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.d.ts +0 -41
  675. package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js +0 -255
  676. package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js.map +0 -1
  677. package/es-custom/patterns/step-flow/index.d.ts +0 -10
  678. package/es-custom/patterns/step-flow/index.js +0 -10
  679. package/es-custom/patterns/step-flow/index.js.map +0 -1
  680. package/es-custom/patterns/step-flow/step-flow-signal.d.ts +0 -24
  681. package/es-custom/patterns/step-flow/step-flow-signal.js +0 -54
  682. package/es-custom/patterns/step-flow/step-flow-signal.js.map +0 -1
  683. package/es-custom/patterns/step-flow/step-flow-signal.test.d.ts +0 -7
  684. package/es-custom/patterns/step-flow/step-flow-signal.test.js +0 -88
  685. package/es-custom/patterns/step-flow/step-flow-signal.test.js.map +0 -1
  686. package/es-custom/patterns/step-flow/step-group.d.ts +0 -15
  687. package/es-custom/patterns/step-flow/step-group.js +0 -28
  688. package/es-custom/patterns/step-flow/step-group.js.map +0 -1
  689. package/es-custom/patterns/step-flow/story-styles.scss.js +0 -13
  690. package/es-custom/patterns/step-flow/story-styles.scss.js.map +0 -1
  691. package/es-custom/utilities/carousel/carousel.d.ts +0 -14
  692. package/es-custom/utilities/carousel/carousel.js +0 -341
  693. package/es-custom/utilities/carousel/carousel.js.map +0 -1
  694. package/es-custom/utilities/carousel/index.d.ts +0 -8
  695. package/es-custom/utilities/carousel/index.js +0 -9
  696. package/es-custom/utilities/carousel/index.js.map +0 -1
  697. package/es-custom/utilities/carousel/swipeEvents.d.ts +0 -7
  698. package/es-custom/utilities/carousel/swipeEvents.js +0 -109
  699. package/es-custom/utilities/carousel/swipeEvents.js.map +0 -1
  700. package/es-custom/utilities/carousel/types.d.ts +0 -37
  701. package/es-custom/utilities/carousel/types.js +0 -8
  702. package/es-custom/utilities/carousel/types.js.map +0 -1
  703. package/es-custom/utilities/manageFocusTrap/manageFocusTrap.d.ts +0 -13
  704. package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js +0 -138
  705. package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js.map +0 -1
  706. package/lib/components/about-modal/about-modal.d.ts +0 -458
  707. package/lib/components/about-modal/about-modal.test.d.ts +0 -7
  708. package/lib/components/about-modal/index.d.ts +0 -9
  709. package/lib/components/checklist/checklist-chart.d.ts +0 -25
  710. package/lib/components/checklist/checklist-group.d.ts +0 -25
  711. package/lib/components/checklist/checklist-icon.d.ts +0 -26
  712. package/lib/components/checklist/checklist-item.d.ts +0 -41
  713. package/lib/components/checklist/checklist.d.ts +0 -73
  714. package/lib/components/checklist/checklist.test.d.ts +0 -7
  715. package/lib/components/checklist/checklist.types.d.ts +0 -22
  716. package/lib/components/checklist/index.d.ts +0 -13
  717. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -413
  718. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +0 -9
  719. package/lib/components/coachmark/coachmark-beacon/defs.d.ts +0 -14
  720. package/lib/components/coachmark/coachmark-beacon/defs.js +0 -25
  721. package/lib/components/coachmark/coachmark-beacon/defs.js.map +0 -1
  722. package/lib/components/coachmark/coachmark-beacon/index.d.ts +0 -9
  723. package/lib/components/full-page-error/full-page-error.d.ts +0 -43
  724. package/lib/components/full-page-error/full-page-error.test.d.ts +0 -7
  725. package/lib/components/full-page-error/index.d.ts +0 -9
  726. package/lib/components/full-page-error/types.d.ts +0 -13
  727. package/lib/components/interstitial-screen/index.d.ts +0 -13
  728. package/lib/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -388
  729. package/lib/components/interstitial-screen/interstitial-screen-body.d.ts +0 -402
  730. package/lib/components/interstitial-screen/interstitial-screen-context.d.ts +0 -18
  731. package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -429
  732. package/lib/components/interstitial-screen/interstitial-screen-header.d.ts +0 -413
  733. package/lib/components/interstitial-screen/interstitial-screen.d.ts +0 -441
  734. package/lib/components/interstitial-screen/interstitial-screen.test.d.ts +0 -1
  735. package/lib/components/notification-panel/_story-assets/unread-notification-bell.d.ts +0 -3
  736. package/lib/components/notification-panel/date-time-context.d.ts +0 -9
  737. package/lib/components/notification-panel/defs.d.ts +0 -8
  738. package/lib/components/notification-panel/defs.js +0 -10
  739. package/lib/components/notification-panel/defs.js.map +0 -1
  740. package/lib/components/notification-panel/index.d.ts +0 -11
  741. package/lib/components/notification-panel/notification-footer.d.ts +0 -405
  742. package/lib/components/notification-panel/notification-footer.test.d.ts +0 -7
  743. package/lib/components/notification-panel/notification-panel.d.ts +0 -479
  744. package/lib/components/notification-panel/notification-panel.test.d.ts +0 -7
  745. package/lib/components/notification-panel/notification.d.ts +0 -415
  746. package/lib/components/notification-panel/notification.test.d.ts +0 -7
  747. package/lib/components/options-tile/index.d.ts +0 -9
  748. package/lib/components/options-tile/options-tile.d.ts +0 -416
  749. package/lib/components/options-tile/options-tile.test.d.ts +0 -1
  750. package/lib/components/page-header/_story-assets/overflowHandler.d.ts +0 -98
  751. package/lib/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +0 -43
  752. package/lib/components/page-header/_story-assets/set-of-tags/index.d.ts +0 -9
  753. package/lib/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +0 -40
  754. package/lib/components/page-header/_story-assets/set-of-tags/utils.d.ts +0 -23
  755. package/lib/components/page-header/context.d.ts +0 -15
  756. package/lib/components/page-header/index.d.ts +0 -16
  757. package/lib/components/page-header/page-header-breadcrumb.d.ts +0 -36
  758. package/lib/components/page-header/page-header-content-text.d.ts +0 -22
  759. package/lib/components/page-header/page-header-content.d.ts +0 -42
  760. package/lib/components/page-header/page-header-hero-image.d.ts +0 -18
  761. package/lib/components/page-header/page-header-scroller.d.ts +0 -56
  762. package/lib/components/page-header/page-header-tabs.d.ts +0 -18
  763. package/lib/components/page-header/page-header-title-breadcrumb.d.ts +0 -20
  764. package/lib/components/page-header/page-header.d.ts +0 -31
  765. package/lib/components/page-header/page-header.test.d.ts +0 -1
  766. package/lib/components/page-header/utils.d.ts +0 -32
  767. package/lib/components/side-panel/_story-assets/index.d.ts +0 -8
  768. package/lib/components/side-panel/defs.d.ts +0 -39
  769. package/lib/components/side-panel/defs.js +0 -51
  770. package/lib/components/side-panel/defs.js.map +0 -1
  771. package/lib/components/side-panel/index.d.ts +0 -9
  772. package/lib/components/side-panel/side-panel.d.ts +0 -571
  773. package/lib/components/side-panel/side-panel.test.d.ts +0 -3
  774. package/lib/components/tearsheet/defs.d.ts +0 -26
  775. package/lib/components/tearsheet/defs.js +0 -39
  776. package/lib/components/tearsheet/defs.js.map +0 -1
  777. package/lib/components/tearsheet/index.d.ts +0 -9
  778. package/lib/components/tearsheet/tearsheet.d.ts +0 -535
  779. package/lib/components/tearsheet/tearsheet.test.d.ts +0 -14
  780. package/lib/components/tearsheet/utils.d.ts +0 -34
  781. package/lib/components/truncated-text/index.d.ts +0 -9
  782. package/lib/components/truncated-text/truncated-text.d.ts +0 -78
  783. package/lib/components/truncated-text/truncated-text.test.d.ts +0 -7
  784. package/lib/components/user-avatar/index.d.ts +0 -9
  785. package/lib/components/user-avatar/user-avatar.d.ts +0 -425
  786. package/lib/components/user-avatar/user-avatar.test.d.ts +0 -1
  787. package/lib/globals/internal/handle.d.ts +0 -18
  788. package/lib/globals/internal/pconsole.d.ts +0 -15
  789. package/lib/globals/js/utils/getSupportedLocale.d.ts +0 -12
  790. package/lib/globals/js/utils/getSupportedLocale.js +0 -37
  791. package/lib/globals/js/utils/getSupportedLocale.js.map +0 -1
  792. package/lib/globals/settings.d.ts +0 -15
  793. package/lib/globals/settings.js +0 -32
  794. package/lib/globals/settings.js.map +0 -1
  795. package/lib/index.d.ts +0 -21
  796. package/lib/patterns/step-flow/_story-assets/step-full-page.d.ts +0 -41
  797. package/lib/patterns/step-flow/_story-assets/step-tearsheet.d.ts +0 -41
  798. package/lib/patterns/step-flow/index.d.ts +0 -10
  799. package/lib/patterns/step-flow/step-flow-signal.d.ts +0 -24
  800. package/lib/patterns/step-flow/step-flow-signal.test.d.ts +0 -7
  801. package/lib/patterns/step-flow/step-group.d.ts +0 -15
  802. package/lib/utilities/carousel/carousel.d.ts +0 -14
  803. package/lib/utilities/carousel/index.d.ts +0 -8
  804. package/lib/utilities/carousel/swipeEvents.d.ts +0 -7
  805. package/lib/utilities/carousel/types.d.ts +0 -37
  806. package/lib/utilities/manageFocusTrap/manageFocusTrap.d.ts +0 -13
  807. package/scss/components/about-modal/about-modal.scss +0 -117
  808. package/scss/components/checklist/checklist.scss +0 -70
  809. package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +0 -90
  810. package/scss/components/full-page-error/full-page-error.scss +0 -29
  811. package/scss/components/interstitial-screen/interstitial-screen-body-item.scss +0 -18
  812. package/scss/components/interstitial-screen/interstitial-screen-body.scss +0 -29
  813. package/scss/components/interstitial-screen/interstitial-screen-footer.scss +0 -39
  814. package/scss/components/interstitial-screen/interstitial-screen-header.scss +0 -13
  815. package/scss/components/interstitial-screen/interstitial-screen.scss +0 -28
  816. package/scss/components/notification-panel/notification-footer.scss +0 -65
  817. package/scss/components/notification-panel/notification-panel.scss +0 -58
  818. package/scss/components/notification-panel/notification.scss +0 -147
  819. package/scss/components/options-tile/options-tile.scss +0 -102
  820. package/scss/components/page-header/_story-assets/_storybook-styles.scss +0 -35
  821. package/scss/components/page-header/_story-assets/set-of-breadcrumbs.scss +0 -41
  822. package/scss/components/page-header/_story-assets/set-of-tags/set-of-tags.scss +0 -96
  823. package/scss/components/page-header/page-header.scss +0 -422
  824. package/scss/components/side-panel/side-panel.scss +0 -307
  825. package/scss/components/tearsheet/tearsheet.scss +0 -343
  826. package/scss/components/truncated-text/truncated-text.scss +0 -110
  827. package/scss/components/user-avatar/user-avatar.scss +0 -119
@@ -1,721 +0,0 @@
1
- /**
2
- * Copyright IBM Corp. 2024
3
- *
4
- * This source code is licensed under the Apache-2.0 license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- import { __decorate } from 'tslib';
9
- import { LitElement, html } from 'lit';
10
- import { query, queryAssignedElements, state, property } from 'lit/decorators.js';
11
- import { prefix, carbonPrefix, selectorTabbable } from '../../globals/settings.js';
12
- import HostListener from '@carbon/web-components/es/globals/decorators/host-listener.js';
13
- import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';
14
- import styles from './tearsheet.scss.js';
15
- import pconsole from '../../globals/internal/pconsole.js';
16
- import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
17
- import '@carbon/web-components/es/components/button/index.js';
18
- import '@carbon/web-components/es/components/layer/index.js';
19
- import '@carbon/web-components/es/components/button/button-set-base.js';
20
- import '@carbon/web-components/es/components/modal/index.js';
21
- import { TEARSHEET_INFLUENCER_PLACEMENT, TEARSHEET_INFLUENCER_WIDTH, TEARSHEET_WIDTH } from './defs.js';
22
-
23
- /**
24
- * @license
25
- *
26
- * Copyright IBM Corp. 2023, 2024
27
- *
28
- * This source code is licensed under the Apache-2.0 license found in the
29
- * LICENSE file in the root directory of this source tree.
30
- */
31
- var CDSTearsheet_1;
32
- const maxStackDepth = 3;
33
- const PRECEDING =
34
- // eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
35
- Node.DOCUMENT_POSITION_PRECEDING | Node.DOCUMENT_POSITION_CONTAINS;
36
- const FOLLOWING =
37
- // eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
38
- Node.DOCUMENT_POSITION_FOLLOWING | Node.DOCUMENT_POSITION_CONTAINED_BY;
39
- const blockClass = `${prefix}--tearsheet`;
40
- const blockClassModalHeader = `${carbonPrefix}--modal-header`;
41
- const blockClassActionSet = `${prefix}--action-set`;
42
- /**
43
- * Tries to focus on the given elements and bails out if one of them is successful.
44
- *
45
- * @param elements The elements.
46
- * @param reverse `true` to go through the list in reverse order.
47
- * @returns `true` if one of the attempts is successful, `false` otherwise.
48
- */
49
- function tryFocusElements(elements, reverse) {
50
- {
51
- for (let i = elements.length - 1; i >= 0; --i) {
52
- const elem = elements[i];
53
- elem.focus();
54
- if (elem.ownerDocument.activeElement === elem) {
55
- return true;
56
- }
57
- }
58
- }
59
- return false;
60
- }
61
- /**
62
- * Tearsheet.
63
- *
64
- * @element c4p-tearsheet
65
- * @csspart dialog The dialog.
66
- * @fires c4p-tearsheet-beingclosed
67
- * The custom event fired before this tearsheet is being closed upon a user gesture.
68
- * Cancellation of this event stops the user-initiated action of closing this tearsheet.
69
- * @fires c4p-tearsheet-closed - The custom event fired after this tearsheet is closed upon a user gesture.
70
- */
71
- let CDSTearsheet = CDSTearsheet_1 = class CDSTearsheet extends HostListenerMixin(LitElement) {
72
- constructor() {
73
- super(...arguments);
74
- /**
75
- * The element that had focus before this tearsheet gets open.
76
- */
77
- this._launcher = null;
78
- this._actionsCount = 0;
79
- this._hasHeaderActions = false;
80
- this._hasLabel = false;
81
- this._hasSlug = false;
82
- this._hasDecorator = false;
83
- this._hasAILabel = false;
84
- this._hasTitle = false;
85
- this._hasDescription = false;
86
- this._hasInfluencerLeft = false;
87
- this._hasInfluencerRight = false;
88
- this._isOpen = false;
89
- this._hasHeaderNavigation = false;
90
- /**
91
- * Handles `click` event on this element.
92
- *
93
- * @param event The event.
94
- */
95
- this._handleClick = (event) => {
96
- if (event.composedPath().indexOf(this.shadowRoot) < 0 &&
97
- !this.preventCloseOnClickOutside) {
98
- this._handleUserInitiatedClose(event.target);
99
- }
100
- };
101
- /**
102
- * Handles `blur` event on this element.
103
- *
104
- * @param event The event.
105
- * @param event.target The event target.
106
- * @param event.relatedTarget The event relatedTarget.
107
- */
108
- this._handleBlur = async ({ target, relatedTarget }) => {
109
- var _a;
110
- if (!this._topOfStack()) {
111
- return;
112
- }
113
- const {
114
- // condensedActions,
115
- open, _startSentinelNode: startSentinelNode, _endSentinelNode: endSentinelNode, } = this;
116
- const oldContains = target !== this && this.contains(target);
117
- const currentContains = relatedTarget !== this &&
118
- (this.contains(relatedTarget) ||
119
- (((_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.contains(relatedTarget)) &&
120
- relatedTarget !== startSentinelNode &&
121
- relatedTarget !== endSentinelNode));
122
- // Performs focus wrapping if _all_ of the following is met:
123
- // * This tearsheet is open
124
- // * The viewport still has focus
125
- // * Tearsheet body used to have focus but no longer has focus
126
- const { selectorTabbable: selectorTabbableForTearsheet } = this
127
- .constructor;
128
- if (open && relatedTarget && oldContains && !currentContains) {
129
- const comparisonResult = target.compareDocumentPosition(relatedTarget);
130
- if (relatedTarget === startSentinelNode || comparisonResult & PRECEDING) {
131
- await this.constructor._delay();
132
- if (!tryFocusElements(this.querySelectorAll(selectorTabbableForTearsheet)) &&
133
- relatedTarget !== this) {
134
- this.focus();
135
- }
136
- }
137
- else if (relatedTarget === endSentinelNode ||
138
- comparisonResult & FOLLOWING) {
139
- await this.constructor._delay();
140
- if (!tryFocusElements(this.querySelectorAll(selectorTabbableForTearsheet))) {
141
- this.focus();
142
- }
143
- }
144
- }
145
- };
146
- this._handleKeydown = ({ key, target }) => {
147
- if ((key === 'Esc' || key === 'Escape') && this._topOfStack()) {
148
- this._handleUserInitiatedClose(target);
149
- }
150
- };
151
- /**
152
- * Optional aria label for the tearsheet
153
- */
154
- this.ariaLabel = '';
155
- /**
156
- * Sets the close button icon description
157
- */
158
- this.closeIconDescription = 'Close';
159
- /**
160
- * Enable a close icon ('x') in the header area of the tearsheet. By default,
161
- * (when this prop is omitted, or undefined or null) a tearsheet does not
162
- * display a close icon if there are navigation actions ("transactional
163
- * tearsheet") and displays one if there are no navigation actions ("passive
164
- * tearsheet"), and that behavior can be overridden if required by setting
165
- * this prop to either true or false.
166
- */
167
- this.hasCloseIcon = false;
168
- /**
169
- * The placement of the influencer section, 'left' or 'right'.
170
- */
171
- this.influencerPlacement = TEARSHEET_INFLUENCER_PLACEMENT.RIGHT;
172
- /**
173
- * The width of the influencer section, 'narrow' or 'wide'.
174
- */
175
- this.influencerWidth = TEARSHEET_INFLUENCER_WIDTH.NARROW;
176
- /**
177
- * `true` if the tearsheet should be open.
178
- */
179
- this.open = false;
180
- /**
181
- * Prevent closing on click outside of tearsheet
182
- */
183
- this.preventCloseOnClickOutside = false;
184
- /**
185
- * The width of the influencer section, 'narrow' or 'wide'.
186
- */
187
- this.width = TEARSHEET_WIDTH.NARROW;
188
- this._checkUpdateActionSizes = () => {
189
- if (this._actions) {
190
- for (let i = 0; i < this._actions.length; i++) {
191
- this._actions[i].setAttribute('size', this.width === 'wide' ? '2xl' : 'xl');
192
- }
193
- }
194
- };
195
- this._maxActions = 4;
196
- // Data structure to communicate the state of tearsheet stacking
197
- // (i.e. when more than one tearsheet is open). Each tearsheet supplies a
198
- // handler to be called whenever the stacking of the tearsheets changes, which
199
- // happens when a tearsheet opens or closes. The 'open' array contains one
200
- // handler per OPEN tearsheet ordered from lowest to highest in visual z-order.
201
- // The 'all' array contains all the handlers for open and closed tearsheets.
202
- this._stackDepth = -1;
203
- this._stackPosition = -1;
204
- this._topOfStack = () => {
205
- return this._stackDepth === this._stackPosition;
206
- };
207
- this._notifyStack = () => {
208
- CDSTearsheet_1._stack.all.forEach((handler) => {
209
- handler(Math.min(CDSTearsheet_1._stack.open.length, maxStackDepth), CDSTearsheet_1._stack.open.indexOf(handler) + 1);
210
- });
211
- };
212
- this._handleStackChange = (newDepth, newPosition) => {
213
- this._stackDepth = newDepth;
214
- this._stackPosition = newPosition;
215
- if (this._stackDepth > 1 && this._stackPosition > 0) {
216
- this.setAttribute('stack-position', `${newPosition}`);
217
- this.setAttribute('stack-depth', `${this._stackDepth}`);
218
- }
219
- else {
220
- this.removeAttribute('stack-position');
221
- this.removeAttribute('stack-depth');
222
- }
223
- };
224
- this._updateStack = () => {
225
- if (this.open) {
226
- CDSTearsheet_1._stack.open.push(this._handleStackChange);
227
- }
228
- else {
229
- const indexOpen = CDSTearsheet_1._stack.open.indexOf(this._handleStackChange);
230
- if (indexOpen >= 0) {
231
- CDSTearsheet_1._stack.open.splice(indexOpen, 1);
232
- }
233
- }
234
- this._notifyStack();
235
- };
236
- this.actionsMultiple = ['', 'single', 'double', 'triple'][this._actionsCount];
237
- this._checkSetOpen = () => {
238
- const { _tearsheet: tearsheet } = this;
239
- if (tearsheet && this._isOpen) {
240
- // wait until the tearsheet has transitioned off the screen to remove
241
- tearsheet.addEventListener('transitionend', () => {
242
- this._isOpen = false;
243
- });
244
- }
245
- else {
246
- // allow the html to render before animating in the tearsheet
247
- window.requestAnimationFrame(() => {
248
- this._isOpen = this.open;
249
- });
250
- }
251
- };
252
- }
253
- _checkSetHasSlot(e) {
254
- var _a, _b;
255
- const t = e.target;
256
- const dataPostfix = t.getAttribute('data-postfix');
257
- const postfix = dataPostfix ? `-${dataPostfix}` : '';
258
- // snake `ab-cd-ef` to _has camel case _hasAbCdEf
259
- const hasName = `_has-${t.name}${postfix}`.replace(/-./g, (c) => c[1].toUpperCase());
260
- this[hasName] = ((_b = (_a = t === null || t === void 0 ? void 0 : t.assignedElements()) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 0;
261
- }
262
- /**
263
- * Handles `click` event on the modal container.
264
- *
265
- * @param event The event.
266
- */
267
- _handleClickContainer(event) {
268
- if (event.target.matches(this.constructor.selectorCloseButton)) {
269
- this._handleUserInitiatedClose(event.target);
270
- }
271
- }
272
- /**
273
- * Handles user-initiated close request of this tearsheet.
274
- *
275
- * @param triggeredBy The element that triggered this close request.
276
- */
277
- _handleUserInitiatedClose(triggeredBy) {
278
- if (this.open) {
279
- const init = {
280
- bubbles: true,
281
- cancelable: true,
282
- composed: true,
283
- detail: {
284
- triggeredBy,
285
- },
286
- };
287
- if (this.dispatchEvent(new CustomEvent(this.constructor.eventBeforeClose, init))) {
288
- this.open = false;
289
- this.dispatchEvent(new CustomEvent(this.constructor.eventClose, init));
290
- }
291
- }
292
- }
293
- _handleSlugChange(e) {
294
- const childItems = e.target.assignedElements();
295
- this._hasSlug = childItems.length > 0;
296
- if (this._hasSlug) {
297
- childItems[0].setAttribute('size', 'sm');
298
- this.setAttribute('slug', '');
299
- }
300
- else {
301
- this.removeAttribute('slug');
302
- }
303
- }
304
- _handleDecoratorChange(e) {
305
- this._hasAILabel = false;
306
- const childItems = e.target.assignedElements();
307
- this._hasDecorator = childItems.length > 0;
308
- if (this._hasDecorator) {
309
- for (const item of childItems) {
310
- if (item.tagName.toLowerCase() === 'cds-ai-label') {
311
- this._hasAILabel = true;
312
- break;
313
- }
314
- }
315
- }
316
- if (this._hasAILabel || this._hasDecorator) {
317
- childItems[0].setAttribute('size', 'sm');
318
- this.setAttribute(this._hasAILabel ? 'ai-label' : 'decorator', '');
319
- this.removeAttribute(this._hasAILabel ? 'decorator' : 'ai-label');
320
- }
321
- else {
322
- this.removeAttribute('decorator');
323
- this.removeAttribute('ai-label');
324
- }
325
- }
326
- _handleActionsChange(e) {
327
- var _a;
328
- const target = e.target;
329
- const actions = target === null || target === void 0 ? void 0 : target.assignedElements();
330
- const actionsCount = (_a = actions === null || actions === void 0 ? void 0 : actions.length) !== null && _a !== void 0 ? _a : 0;
331
- if (actionsCount > this._maxActions) {
332
- this._actionsCount = this._maxActions;
333
- console.error(`Too many tearsheet actions, max ${this._maxActions}.`);
334
- }
335
- else {
336
- this._actionsCount = actionsCount;
337
- }
338
- for (let i = 0; i < (actions === null || actions === void 0 ? void 0 : actions.length); i++) {
339
- if (i + 1 > this._maxActions) {
340
- // hide excessive tearsheet actions
341
- actions[i].setAttribute('hidden', 'true');
342
- actions[i].setAttribute(`data-actions-limit-${this._maxActions}-exceeded`, `${actions.length}`);
343
- }
344
- else {
345
- actions[i].classList.add(`${blockClassActionSet}__action-button`);
346
- }
347
- }
348
- this._checkUpdateActionSizes();
349
- }
350
- connectedCallback() {
351
- super.connectedCallback();
352
- CDSTearsheet_1._stack.all.push(this._handleStackChange);
353
- }
354
- disconnectedCallback() {
355
- super.disconnectedCallback();
356
- const indexAll = CDSTearsheet_1._stack.all.indexOf(this._handleStackChange);
357
- CDSTearsheet_1._stack.all.splice(indexAll, 1);
358
- const indexOpen = CDSTearsheet_1._stack.all.indexOf(this._handleStackChange);
359
- CDSTearsheet_1._stack.open.splice(indexOpen, 1);
360
- }
361
- render() {
362
- const { closeIconDescription, influencerPlacement, influencerWidth, open, width, } = this;
363
- const actionsMultiple = ['', 'single', 'double', 'triple'][this._actionsCount];
364
- const headerFieldsTemplate = html `<div
365
- class=${`${blockClass}__header-fields`}
366
- >
367
- <h2 class=${`${blockClassModalHeader}__label`} ?hidden=${!this._hasLabel}>
368
- <slot name="label" @slotchange=${this._checkSetHasSlot}></slot>
369
- </h2>
370
- <h3
371
- class=${`${blockClassModalHeader}__heading ${blockClass}__heading`}
372
- ?hidden=${!this._hasTitle}
373
- >
374
- <slot name="title" @slotchange=${this._checkSetHasSlot}></slot>
375
- </h3>
376
- <div
377
- class=${`${blockClass}__header-description`}
378
- ?hidden=${!this._hasDescription}
379
- >
380
- <slot name="description" @slotchange=${this._checkSetHasSlot}></slot>
381
- </div>
382
- </div>`;
383
- const headerActionsTemplate = html ` <div
384
- class=${`${blockClass}__header-actions`}
385
- ?hidden=${!this._hasHeaderActions || this.width === 'narrow'}
386
- >
387
- <slot name="header-actions" @slotchange=${this._checkSetHasSlot}></slot>
388
- </div>`;
389
- const headerTemplate = html ` <cds-modal-header
390
- class=${`${blockClass}__header`}
391
- ?has-close-icon=${this.hasCloseIcon || (this === null || this === void 0 ? void 0 : this._actionsCount) === 0}
392
- ?has-navigation=${this._hasHeaderNavigation && this.width === 'wide'}
393
- ?has-header-actions=${this._hasHeaderActions && this.width === 'wide'}
394
- ?has-actions=${(this === null || this === void 0 ? void 0 : this._actionsCount) > 0}
395
- ?has-slug=${this === null || this === void 0 ? void 0 : this._hasSlug}
396
- ?has-decorator=${this === null || this === void 0 ? void 0 : this._hasDecorator}
397
- width=${width}
398
- >
399
- ${this.width === TEARSHEET_WIDTH.WIDE
400
- ? html `<cds-layer level="1" class=${`${blockClass}__header-content`}
401
- >${headerFieldsTemplate}${headerActionsTemplate}</cds-layer
402
- >`
403
- : html `<div>${headerFieldsTemplate}${headerActionsTemplate}</div>`}
404
-
405
- <div
406
- class=${`${blockClass}__header-navigation`}
407
- ?hidden=${!this._hasHeaderNavigation || this.width === 'narrow'}
408
- >
409
- <slot
410
- name="header-navigation"
411
- @slotchange=${this._checkSetHasSlot}
412
- ></slot>
413
- </div>
414
- <slot
415
- name="decorator"
416
- slot="ai-label"
417
- @slotchange=${this._handleDecoratorChange}
418
- ></slot>
419
- <slot name="slug" @slotchange=${this._handleSlugChange}></slot>
420
- ${this.hasCloseIcon || (this === null || this === void 0 ? void 0 : this._actionsCount) === 0
421
- ? html `<cds-modal-close-button
422
- close-button-label=${closeIconDescription}
423
- @click=${this._handleUserInitiatedClose}
424
- ></cds-modal-close-button>`
425
- : ''}
426
- </cds-modal-header>`;
427
- if (this._stackPosition <= this._stackDepth) {
428
- return html `
429
- <a
430
- id="start-sentinel"
431
- class="${prefix}--visually-hidden"
432
- href="javascript:void 0"
433
- role="navigation"
434
- ></a>
435
- <div
436
- aria-label=${this.ariaLabel}
437
- class=${`${blockClass}__container ${carbonPrefix}--modal-container ${carbonPrefix}--modal-container--sm`}
438
- part="dialog"
439
- role="complementary"
440
- ?open=${this._isOpen}
441
- ?opening=${open && !this._isOpen}
442
- ?closing=${!open && this._isOpen}
443
- width=${width}
444
- stack-position=${this._stackPosition}
445
- stack-depth=${this._stackDepth}
446
- @click=${this._handleClickContainer}
447
- >
448
- <!-- Header -->
449
- ${headerTemplate}
450
-
451
- <!-- Body -->
452
- <cds-modal-body class=${`${blockClass}__body`} width=${width}>
453
- <!-- Influencer when on left -->
454
- ${influencerPlacement !== TEARSHEET_INFLUENCER_PLACEMENT.RIGHT
455
- ? html `<div
456
- class=${`${blockClass}__influencer`}
457
- ?wide=${influencerWidth === 'wide'}
458
- ?hidden=${!this._hasInfluencerLeft ||
459
- this.width === TEARSHEET_WIDTH.NARROW}
460
- >
461
- <slot
462
- name="influencer"
463
- data-postfix="left"
464
- @slotchange=${this._checkSetHasSlot}
465
- ></slot>
466
- </div>`
467
- : ''}
468
-
469
- <div class=${`${blockClass}__right`}>
470
- <div class=${`${blockClass}__main`}>
471
- <div class=${`${blockClass}__content`}>
472
- <cds-layer
473
- level="${this.width === TEARSHEET_WIDTH.NARROW ? 1 : 0}"
474
- >
475
- <slot></slot>
476
- </cds-layer>
477
- </div>
478
-
479
- <!-- Influencer when on right -->
480
- ${influencerPlacement === TEARSHEET_INFLUENCER_PLACEMENT.RIGHT
481
- ? html `<div
482
- class=${`${blockClass}__influencer`}
483
- ?wide=${influencerWidth}
484
- ?hidden=${!this._hasInfluencerRight ||
485
- this.width === TEARSHEET_WIDTH.NARROW}
486
- >
487
- <slot
488
- name="influencer"
489
- data-postfix="right"
490
- @slotchange=${this._checkSetHasSlot}
491
- ></slot>
492
- </div>`
493
- : ''}
494
- </div>
495
- <!-- Action buttons -->
496
- <cds-button-set-base
497
- class=${`${blockClass}__buttons ${blockClass}__button-container`}
498
- actions-multiple=${actionsMultiple}
499
- ?tearsheet-wide=${width === 'wide'}
500
- ?hidden=${this._actionsCount === 0}
501
- >
502
- <slot
503
- name="actions"
504
- @slotchange=${this._handleActionsChange}
505
- ></slot>
506
- </cds-button-set-base>
507
- </div>
508
- </cds-modal-body>
509
- </div>
510
- <a
511
- id="end-sentinel"
512
- class="${prefix}--visually-hidden"
513
- href="javascript:void 0"
514
- role="navigation"
515
- ></a>
516
- `;
517
- }
518
- else {
519
- pconsole.warn('Tearsheet not rendered: maximum stacking depth exceeded.');
520
- return null;
521
- }
522
- }
523
- async updated(changedProperties) {
524
- if (changedProperties.has('width')) {
525
- this._checkUpdateActionSizes();
526
- }
527
- if (process.env.NODE_ENV === 'development' &&
528
- (changedProperties.has('width') ||
529
- changedProperties.has('_hasHeaderNavigation') ||
530
- changedProperties.has('_hasInfluencerLeft') ||
531
- changedProperties.has('_hasInfluencerRight') ||
532
- changedProperties.has('_hasHeaderActions'))) {
533
- if (this.width === 'narrow') {
534
- if (this._hasHeaderNavigation) {
535
- console.error(`Header navigation is not permitted in narrow Tearsheet.`);
536
- }
537
- if (this._hasInfluencerLeft || this._hasInfluencerRight) {
538
- console.error(`Influencer is not permitted in narrow Tearsheet.`);
539
- }
540
- if (this._hasHeaderActions) {
541
- console.error(`Header actions are not permitted in narrow Tearsheet.`);
542
- }
543
- }
544
- }
545
- if (changedProperties.has('open')) {
546
- this._updateStack();
547
- this._checkSetOpen();
548
- if (this.open) {
549
- this._launcher = this.ownerDocument.activeElement;
550
- const focusNode = this.selectorInitialFocus &&
551
- this.querySelector(this.selectorInitialFocus);
552
- await this.constructor._delay();
553
- if (focusNode) {
554
- // For cases where a `carbon-web-components` component (e.g. `<cds-button>`) being `primaryFocusNode`,
555
- // where its first update/render cycle that makes it focusable happens after `<c4p-tearsheet>`'s first update/render cycle
556
- focusNode.focus();
557
- }
558
- else if (!tryFocusElements(this.querySelectorAll(this.constructor.selectorTabbable))) {
559
- this.focus();
560
- }
561
- }
562
- else if (this._launcher &&
563
- typeof this._launcher.focus === 'function') {
564
- this._launcher.focus();
565
- this._launcher = null;
566
- }
567
- }
568
- }
569
- /**
570
- * @param ms The number of milliseconds.
571
- * @returns A promise that is resolves after the given milliseconds.
572
- */
573
- static _delay(ms = 0) {
574
- return new Promise((resolve) => {
575
- setTimeout(resolve, ms);
576
- });
577
- }
578
- /**
579
- * A selector selecting buttons that should close this modal.
580
- */
581
- static get selectorCloseButton() {
582
- return `[data-modal-close],${carbonPrefix}-modal-close-button`;
583
- }
584
- /**
585
- * A selector selecting tabbable nodes.
586
- */
587
- static get selectorTabbable() {
588
- return selectorTabbable;
589
- }
590
- /**
591
- * The name of the custom event fired before this tearsheet is being closed upon a user gesture.
592
- * Cancellation of this event stops the user-initiated action of closing this tearsheet.
593
- */
594
- static get eventBeforeClose() {
595
- return `${prefix}-tearsheet-beingclosed`;
596
- }
597
- /**
598
- * The name of the custom event fired after this tearsheet is closed upon a user gesture.
599
- */
600
- static get eventClose() {
601
- return `${prefix}-tearsheet-closed`;
602
- }
603
- /**
604
- * The name of the custom event fired on clicking the navigate back button
605
- */
606
- static get eventNavigateBack() {
607
- return `${prefix}-tearsheet-header-navigate-back`;
608
- }
609
- };
610
- CDSTearsheet._stack = {
611
- open: [],
612
- all: [],
613
- };
614
- CDSTearsheet.styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader
615
- __decorate([
616
- query('#start-sentinel')
617
- ], CDSTearsheet.prototype, "_startSentinelNode", void 0);
618
- __decorate([
619
- query('#end-sentinel')
620
- ], CDSTearsheet.prototype, "_endSentinelNode", void 0);
621
- __decorate([
622
- query(`.${blockClass}__container`)
623
- ], CDSTearsheet.prototype, "_tearsheet", void 0);
624
- __decorate([
625
- queryAssignedElements({
626
- slot: 'actions',
627
- selector: `${carbonPrefix}-button`,
628
- })
629
- ], CDSTearsheet.prototype, "_actions", void 0);
630
- __decorate([
631
- state()
632
- ], CDSTearsheet.prototype, "_actionsCount", void 0);
633
- __decorate([
634
- state()
635
- ], CDSTearsheet.prototype, "_hasHeaderActions", void 0);
636
- __decorate([
637
- state()
638
- ], CDSTearsheet.prototype, "_hasLabel", void 0);
639
- __decorate([
640
- state()
641
- ], CDSTearsheet.prototype, "_hasSlug", void 0);
642
- __decorate([
643
- state()
644
- ], CDSTearsheet.prototype, "_hasDecorator", void 0);
645
- __decorate([
646
- state()
647
- ], CDSTearsheet.prototype, "_hasAILabel", void 0);
648
- __decorate([
649
- state()
650
- ], CDSTearsheet.prototype, "_hasTitle", void 0);
651
- __decorate([
652
- state()
653
- ], CDSTearsheet.prototype, "_hasDescription", void 0);
654
- __decorate([
655
- state()
656
- ], CDSTearsheet.prototype, "_hasInfluencerLeft", void 0);
657
- __decorate([
658
- state()
659
- ], CDSTearsheet.prototype, "_hasInfluencerRight", void 0);
660
- __decorate([
661
- state()
662
- ], CDSTearsheet.prototype, "_isOpen", void 0);
663
- __decorate([
664
- state()
665
- ], CDSTearsheet.prototype, "_hasHeaderNavigation", void 0);
666
- __decorate([
667
- HostListener('click')
668
- // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
669
- ], CDSTearsheet.prototype, "_handleClick", void 0);
670
- __decorate([
671
- HostListener('shadowRoot:focusout')
672
- // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
673
- ], CDSTearsheet.prototype, "_handleBlur", void 0);
674
- __decorate([
675
- HostListener('document:keydown')
676
- // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
677
- ], CDSTearsheet.prototype, "_handleKeydown", void 0);
678
- __decorate([
679
- property({ reflect: true, attribute: 'aria-label' })
680
- ], CDSTearsheet.prototype, "ariaLabel", void 0);
681
- __decorate([
682
- property({ reflect: true, attribute: 'close-icon-description' })
683
- ], CDSTearsheet.prototype, "closeIconDescription", void 0);
684
- __decorate([
685
- property({ reflect: true, type: Boolean, attribute: 'has-close-icon' })
686
- ], CDSTearsheet.prototype, "hasCloseIcon", void 0);
687
- __decorate([
688
- property({ reflect: true, attribute: 'influencer-placement' })
689
- ], CDSTearsheet.prototype, "influencerPlacement", void 0);
690
- __decorate([
691
- property({ reflect: true, attribute: 'influencer-width' })
692
- ], CDSTearsheet.prototype, "influencerWidth", void 0);
693
- __decorate([
694
- property({ type: Boolean, reflect: true })
695
- ], CDSTearsheet.prototype, "open", void 0);
696
- __decorate([
697
- property({ type: Boolean, attribute: 'prevent-close-on-click-outside' })
698
- ], CDSTearsheet.prototype, "preventCloseOnClickOutside", void 0);
699
- __decorate([
700
- property({
701
- reflect: true,
702
- attribute: 'selector-initial-focus',
703
- type: String,
704
- })
705
- ], CDSTearsheet.prototype, "selectorInitialFocus", void 0);
706
- __decorate([
707
- property({ reflect: true, attribute: 'width' })
708
- ], CDSTearsheet.prototype, "width", void 0);
709
- __decorate([
710
- state()
711
- ], CDSTearsheet.prototype, "_stackDepth", void 0);
712
- __decorate([
713
- state()
714
- ], CDSTearsheet.prototype, "_stackPosition", void 0);
715
- CDSTearsheet = CDSTearsheet_1 = __decorate([
716
- carbonElement(`${prefix}-tearsheet`)
717
- ], CDSTearsheet);
718
- var CDSTearsheet$1 = CDSTearsheet;
719
-
720
- export { TEARSHEET_INFLUENCER_PLACEMENT, TEARSHEET_INFLUENCER_WIDTH, TEARSHEET_WIDTH, CDSTearsheet$1 as default };
721
- //# sourceMappingURL=tearsheet.js.map