@carbon/ibm-products-web-components 0.34.0 → 0.35.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 (469) hide show
  1. package/custom-elements.json +3162 -172
  2. package/es/components/about-modal/about-modal-helpers.js.map +1 -1
  3. package/es/components/about-modal/about-modal.js +2 -2
  4. package/es/components/about-modal/about-modal.js.map +1 -1
  5. package/es/components/about-modal/about-modal.scss.js +1 -1
  6. package/es/components/about-modal/about-modal.test.js.map +1 -1
  7. package/es/components/big-number/big-number-skeleton.js +2 -2
  8. package/es/components/big-number/big-number-skeleton.js.map +1 -1
  9. package/es/components/big-number/big-number-skeleton.scss.js +1 -1
  10. package/es/components/big-number/big-number.js +2 -2
  11. package/es/components/big-number/big-number.js.map +1 -1
  12. package/es/components/big-number/big-number.scss.js +1 -1
  13. package/es/components/big-number/big-number.test.js.map +1 -1
  14. package/es/components/big-number/constants.js.map +1 -1
  15. package/es/components/checklist/checklist-chart.js +2 -2
  16. package/es/components/checklist/checklist-chart.js.map +1 -1
  17. package/es/components/checklist/checklist-group.js +2 -2
  18. package/es/components/checklist/checklist-group.js.map +1 -1
  19. package/es/components/checklist/checklist-icon.js +2 -2
  20. package/es/components/checklist/checklist-icon.js.map +1 -1
  21. package/es/components/checklist/checklist-item.js.map +1 -1
  22. package/es/components/checklist/checklist.js.map +1 -1
  23. package/es/components/checklist/checklist.scss.js +1 -1
  24. package/es/components/checklist/checklist.test.js.map +1 -1
  25. package/es/components/checklist/checklist.types.js.map +1 -1
  26. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +2 -2
  27. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
  28. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
  29. package/es/components/coachmark/coachmark-beacon/defs.js.map +1 -1
  30. package/es/components/coachmark/coachmark-body.js +2 -2
  31. package/es/components/coachmark/coachmark-body.js.map +1 -1
  32. package/es/components/coachmark/coachmark-context.js.map +1 -1
  33. package/es/components/coachmark/coachmark-header.js +2 -2
  34. package/es/components/coachmark/coachmark-header.js.map +1 -1
  35. package/es/components/coachmark/coachmark-helpers.js.map +1 -1
  36. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js +2 -2
  37. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -1
  38. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.test.js.map +1 -1
  39. package/es/components/coachmark/coachmark.js +2 -2
  40. package/es/components/coachmark/coachmark.js.map +1 -1
  41. package/es/components/coachmark/coachmark.test.js.map +1 -1
  42. package/es/components/full-page-error/full-page-error.js +2 -2
  43. package/es/components/full-page-error/full-page-error.js.map +1 -1
  44. package/es/components/full-page-error/full-page-error.scss.js +1 -1
  45. package/es/components/full-page-error/full-page-error.test.js.map +1 -1
  46. package/es/components/full-page-error/types.js.map +1 -1
  47. package/es/components/guide-banner/guide-banner-element.js.map +1 -1
  48. package/es/components/guide-banner/guide-banner-element.scss.js +1 -1
  49. package/es/components/guide-banner/guide-banner-element.test.js.map +1 -1
  50. package/es/components/guide-banner/guide-banner.js +2 -2
  51. package/es/components/guide-banner/guide-banner.js.map +1 -1
  52. package/es/components/guide-banner/guide-banner.scss.js +1 -1
  53. package/es/components/guide-banner/guide-banner.test.js.map +1 -1
  54. package/es/components/interstitial-screen/interstitial-screen-body-item.js +2 -2
  55. package/es/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -1
  56. package/es/components/interstitial-screen/interstitial-screen-body.js +2 -2
  57. package/es/components/interstitial-screen/interstitial-screen-body.js.map +1 -1
  58. package/es/components/interstitial-screen/interstitial-screen-body.scss.js +1 -1
  59. package/es/components/interstitial-screen/interstitial-screen-context.js.map +1 -1
  60. package/es/components/interstitial-screen/interstitial-screen-footer.js.map +1 -1
  61. package/es/components/interstitial-screen/interstitial-screen-footer.scss.js +1 -1
  62. package/es/components/interstitial-screen/interstitial-screen-header.js +2 -2
  63. package/es/components/interstitial-screen/interstitial-screen-header.js.map +1 -1
  64. package/es/components/interstitial-screen/interstitial-screen-header.scss.js +1 -1
  65. package/es/components/interstitial-screen/interstitial-screen.js +2 -2
  66. package/es/components/interstitial-screen/interstitial-screen.js.map +1 -1
  67. package/es/components/interstitial-screen/interstitial-screen.scss.js +1 -1
  68. package/es/components/interstitial-screen/interstitial-screen.test.js.map +1 -1
  69. package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -1
  70. package/es/components/notification-panel/notification-footer.js +2 -2
  71. package/es/components/notification-panel/notification-footer.js.map +1 -1
  72. package/es/components/notification-panel/notification-footer.scss.js +1 -1
  73. package/es/components/notification-panel/notification-footer.test.js.map +1 -1
  74. package/es/components/notification-panel/notification-panel.d.ts +2 -0
  75. package/es/components/notification-panel/notification-panel.js +38 -15
  76. package/es/components/notification-panel/notification-panel.js.map +1 -1
  77. package/es/components/notification-panel/notification-panel.scss.js +1 -1
  78. package/es/components/notification-panel/notification-panel.test.js +22 -0
  79. package/es/components/notification-panel/notification-panel.test.js.map +1 -1
  80. package/es/components/notification-panel/notification.js +2 -2
  81. package/es/components/notification-panel/notification.js.map +1 -1
  82. package/es/components/notification-panel/notification.scss.js +1 -1
  83. package/es/components/notification-panel/notification.test.js.map +1 -1
  84. package/es/components/options-tile/options-tile.js +2 -2
  85. package/es/components/options-tile/options-tile.js.map +1 -1
  86. package/es/components/options-tile/options-tile.scss.js +1 -1
  87. package/es/components/options-tile/options-tile.test.js.map +1 -1
  88. package/es/components/page-header/_story-assets/overflowHandler.js.map +1 -1
  89. package/es/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +1 -1
  90. package/es/components/page-header/_story-assets/set-of-breadcrumbs.js +3 -3
  91. package/es/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -1
  92. package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
  93. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +1 -1
  94. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js +3 -3
  95. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +1 -1
  96. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
  97. package/es/components/page-header/_story-assets/set-of-tags/utils.js.map +1 -1
  98. package/es/components/page-header/page-header-breadcrumb.js +2 -2
  99. package/es/components/page-header/page-header-breadcrumb.js.map +1 -1
  100. package/es/components/page-header/page-header-content-text.js +2 -2
  101. package/es/components/page-header/page-header-content-text.js.map +1 -1
  102. package/es/components/page-header/page-header-content.js.map +1 -1
  103. package/es/components/page-header/page-header-hero-image.js +2 -2
  104. package/es/components/page-header/page-header-hero-image.js.map +1 -1
  105. package/es/components/page-header/page-header-scroller.js.map +1 -1
  106. package/es/components/page-header/page-header-tabs.js +2 -2
  107. package/es/components/page-header/page-header-tabs.js.map +1 -1
  108. package/es/components/page-header/page-header-title-breadcrumb.js +2 -2
  109. package/es/components/page-header/page-header-title-breadcrumb.js.map +1 -1
  110. package/es/components/page-header/page-header.figma.js.map +1 -1
  111. package/es/components/page-header/page-header.js +2 -2
  112. package/es/components/page-header/page-header.js.map +1 -1
  113. package/es/components/page-header/page-header.test.js.map +1 -1
  114. package/es/components/page-header/utils.js.map +1 -1
  115. package/es/components/side-panel/_story-assets/index.js.map +1 -1
  116. package/es/components/side-panel/defs.js.map +1 -1
  117. package/es/components/side-panel/side-panel.js +11 -4
  118. package/es/components/side-panel/side-panel.js.map +1 -1
  119. package/es/components/side-panel/side-panel.scss.js +1 -1
  120. package/es/components/side-panel/side-panel.test.js +3 -3
  121. package/es/components/side-panel/side-panel.test.js.map +1 -1
  122. package/es/components/tearsheet/defs.js.map +1 -1
  123. package/es/components/tearsheet/tearsheet.js +2 -2
  124. package/es/components/tearsheet/tearsheet.js.map +1 -1
  125. package/es/components/tearsheet/tearsheet.scss.js +1 -1
  126. package/es/components/tearsheet/tearsheet.test.js +1 -1
  127. package/es/components/tearsheet/tearsheet.test.js.map +1 -1
  128. package/es/components/tearsheet/utils.js.map +1 -1
  129. package/es/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js +13 -0
  130. package/es/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js.map +1 -0
  131. package/es/components/tearsheet-preview/_story-assets/stacking-tearsheet.d.ts +30 -0
  132. package/es/components/tearsheet-preview/_story-assets/stacking-tearsheet.js +320 -0
  133. package/es/components/tearsheet-preview/_story-assets/stacking-tearsheet.js.map +1 -0
  134. package/es/components/tearsheet-preview/_story-assets/step-tearsheet-preview.d.ts +39 -0
  135. package/es/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js +264 -0
  136. package/es/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js.map +1 -0
  137. package/es/components/tearsheet-preview/index.d.ts +17 -0
  138. package/es/components/tearsheet-preview/index.js +17 -0
  139. package/es/components/tearsheet-preview/index.js.map +1 -0
  140. package/es/components/tearsheet-preview/stack-signal.d.ts +27 -0
  141. package/es/components/tearsheet-preview/stack-signal.js +103 -0
  142. package/es/components/tearsheet-preview/stack-signal.js.map +1 -0
  143. package/es/components/tearsheet-preview/tearsheet-body.d.ts +399 -0
  144. package/es/components/tearsheet-preview/tearsheet-body.js +131 -0
  145. package/es/components/tearsheet-preview/tearsheet-body.js.map +1 -0
  146. package/es/components/tearsheet-preview/tearsheet-footer.d.ts +385 -0
  147. package/es/components/tearsheet-preview/tearsheet-footer.js +56 -0
  148. package/es/components/tearsheet-preview/tearsheet-footer.js.map +1 -0
  149. package/es/components/tearsheet-preview/tearsheet-header-content.d.ts +407 -0
  150. package/es/components/tearsheet-preview/tearsheet-header-content.js +185 -0
  151. package/es/components/tearsheet-preview/tearsheet-header-content.js.map +1 -0
  152. package/es/components/tearsheet-preview/tearsheet-header-content.scss.js +13 -0
  153. package/es/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -0
  154. package/es/components/tearsheet-preview/tearsheet-header.d.ts +419 -0
  155. package/es/components/tearsheet-preview/tearsheet-header.js +204 -0
  156. package/es/components/tearsheet-preview/tearsheet-header.js.map +1 -0
  157. package/es/components/tearsheet-preview/tearsheet-header.scss.js +13 -0
  158. package/es/components/tearsheet-preview/tearsheet-header.scss.js.map +1 -0
  159. package/es/components/tearsheet-preview/tearsheet-influencer.d.ts +398 -0
  160. package/es/components/tearsheet-preview/tearsheet-influencer.js +92 -0
  161. package/es/components/tearsheet-preview/tearsheet-influencer.js.map +1 -0
  162. package/es/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +384 -0
  163. package/es/components/tearsheet-preview/tearsheet-navigation-bar.js +51 -0
  164. package/es/components/tearsheet-preview/tearsheet-navigation-bar.js.map +1 -0
  165. package/es/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +13 -0
  166. package/es/components/tearsheet-preview/tearsheet-navigation-bar.scss.js.map +1 -0
  167. package/es/components/tearsheet-preview/tearsheet-scroller.d.ts +40 -0
  168. package/es/components/tearsheet-preview/tearsheet-scroller.js +112 -0
  169. package/es/components/tearsheet-preview/tearsheet-scroller.js.map +1 -0
  170. package/es/components/tearsheet-preview/tearsheet-signal.d.ts +24 -0
  171. package/es/components/tearsheet-preview/tearsheet-signal.js +47 -0
  172. package/es/components/tearsheet-preview/tearsheet-signal.js.map +1 -0
  173. package/es/components/tearsheet-preview/tearsheet-summary-content.d.ts +399 -0
  174. package/es/components/tearsheet-preview/tearsheet-summary-content.js +97 -0
  175. package/es/components/tearsheet-preview/tearsheet-summary-content.js.map +1 -0
  176. package/es/components/tearsheet-preview/tearsheet.d.ts +491 -0
  177. package/es/components/tearsheet-preview/tearsheet.js +414 -0
  178. package/es/components/tearsheet-preview/tearsheet.js.map +1 -0
  179. package/es/components/tearsheet-preview/tearsheet.scss.js +13 -0
  180. package/es/components/tearsheet-preview/tearsheet.scss.js.map +1 -0
  181. package/es/components/tearsheet-preview/tearsheet.test.d.ts +7 -0
  182. package/es/components/tearsheet-preview/tearsheet.test.js +566 -0
  183. package/es/components/tearsheet-preview/tearsheet.test.js.map +1 -0
  184. package/es/components/truncated-text/truncated-text.js +2 -2
  185. package/es/components/truncated-text/truncated-text.js.map +1 -1
  186. package/es/components/truncated-text/truncated-text.test.js.map +1 -1
  187. package/es/components/user-avatar/user-avatar.js +2 -2
  188. package/es/components/user-avatar/user-avatar.js.map +1 -1
  189. package/es/components/user-avatar/user-avatar.scss.js +1 -1
  190. package/es/components/user-avatar/user-avatar.test.js.map +1 -1
  191. package/es/globals/internal/pconsole.js.map +1 -1
  192. package/es/globals/internal/storybook-cdn.js.map +1 -1
  193. package/es/globals/js/utils/collapsible-controller.d.ts +25 -0
  194. package/es/globals/js/utils/collapsible-controller.js +71 -0
  195. package/es/globals/js/utils/collapsible-controller.js.map +1 -0
  196. package/es/globals/js/utils/getSupportedLocale.js.map +1 -1
  197. package/es/globals/js/utils/match-media-controller.d.ts +16 -0
  198. package/es/globals/js/utils/match-media-controller.js +29 -0
  199. package/es/globals/js/utils/match-media-controller.js.map +1 -0
  200. package/es/globals/settings.js.map +1 -1
  201. package/es/index.d.ts +9 -0
  202. package/es/index.js +9 -0
  203. package/es/index.js.map +1 -1
  204. package/es/node_modules/@carbon/layout/es/index.js +2 -0
  205. package/es/node_modules/@carbon/layout/es/index.js.map +1 -1
  206. package/es/packages/ibm-products-web-components/package.json.js +1 -1
  207. package/es/patterns/step-flow/_story-assets/step-full-page.js.map +1 -1
  208. package/es/patterns/step-flow/_story-assets/step-side-panel.js.map +1 -1
  209. package/es/patterns/step-flow/_story-assets/step-tearsheet.js.map +1 -1
  210. package/es/patterns/step-flow/step-flow-signal.js.map +1 -1
  211. package/es/patterns/step-flow/step-flow-signal.test.js.map +1 -1
  212. package/es/patterns/step-flow/step-group.js.map +1 -1
  213. package/es/utilities/makeDraggable/makeDraggable.js.map +1 -1
  214. package/es/utilities/manageFocusTrap/manageFocusTrap.js.map +1 -1
  215. package/es/utilities/snapscroll/snapscroll.js.map +1 -1
  216. package/es/utilities/snapscroll/snapscroll.test.js.map +1 -1
  217. package/es-custom/components/about-modal/about-modal-helpers.js.map +1 -1
  218. package/es-custom/components/about-modal/about-modal.js +2 -2
  219. package/es-custom/components/about-modal/about-modal.js.map +1 -1
  220. package/es-custom/components/about-modal/about-modal.scss.js +1 -1
  221. package/es-custom/components/about-modal/about-modal.test.js.map +1 -1
  222. package/es-custom/components/big-number/big-number-skeleton.js +2 -2
  223. package/es-custom/components/big-number/big-number-skeleton.js.map +1 -1
  224. package/es-custom/components/big-number/big-number-skeleton.scss.js +1 -1
  225. package/es-custom/components/big-number/big-number.js +2 -2
  226. package/es-custom/components/big-number/big-number.js.map +1 -1
  227. package/es-custom/components/big-number/big-number.scss.js +1 -1
  228. package/es-custom/components/big-number/big-number.test.js.map +1 -1
  229. package/es-custom/components/big-number/constants.js.map +1 -1
  230. package/es-custom/components/checklist/checklist-chart.js +2 -2
  231. package/es-custom/components/checklist/checklist-chart.js.map +1 -1
  232. package/es-custom/components/checklist/checklist-group.js +2 -2
  233. package/es-custom/components/checklist/checklist-group.js.map +1 -1
  234. package/es-custom/components/checklist/checklist-icon.js +2 -2
  235. package/es-custom/components/checklist/checklist-icon.js.map +1 -1
  236. package/es-custom/components/checklist/checklist-item.js.map +1 -1
  237. package/es-custom/components/checklist/checklist.js.map +1 -1
  238. package/es-custom/components/checklist/checklist.scss.js +1 -1
  239. package/es-custom/components/checklist/checklist.test.js.map +1 -1
  240. package/es-custom/components/checklist/checklist.types.js.map +1 -1
  241. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +2 -2
  242. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
  243. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
  244. package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +1 -1
  245. package/es-custom/components/coachmark/coachmark-body.js +2 -2
  246. package/es-custom/components/coachmark/coachmark-body.js.map +1 -1
  247. package/es-custom/components/coachmark/coachmark-context.js.map +1 -1
  248. package/es-custom/components/coachmark/coachmark-header.js +2 -2
  249. package/es-custom/components/coachmark/coachmark-header.js.map +1 -1
  250. package/es-custom/components/coachmark/coachmark-helpers.js.map +1 -1
  251. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js +2 -2
  252. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -1
  253. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.test.js.map +1 -1
  254. package/es-custom/components/coachmark/coachmark.js +2 -2
  255. package/es-custom/components/coachmark/coachmark.js.map +1 -1
  256. package/es-custom/components/coachmark/coachmark.test.js.map +1 -1
  257. package/es-custom/components/full-page-error/full-page-error.js +2 -2
  258. package/es-custom/components/full-page-error/full-page-error.js.map +1 -1
  259. package/es-custom/components/full-page-error/full-page-error.scss.js +1 -1
  260. package/es-custom/components/full-page-error/full-page-error.test.js.map +1 -1
  261. package/es-custom/components/full-page-error/types.js.map +1 -1
  262. package/es-custom/components/guide-banner/guide-banner-element.js.map +1 -1
  263. package/es-custom/components/guide-banner/guide-banner-element.scss.js +1 -1
  264. package/es-custom/components/guide-banner/guide-banner-element.test.js.map +1 -1
  265. package/es-custom/components/guide-banner/guide-banner.js +2 -2
  266. package/es-custom/components/guide-banner/guide-banner.js.map +1 -1
  267. package/es-custom/components/guide-banner/guide-banner.scss.js +1 -1
  268. package/es-custom/components/guide-banner/guide-banner.test.js.map +1 -1
  269. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js +2 -2
  270. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -1
  271. package/es-custom/components/interstitial-screen/interstitial-screen-body.js +2 -2
  272. package/es-custom/components/interstitial-screen/interstitial-screen-body.js.map +1 -1
  273. package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js +1 -1
  274. package/es-custom/components/interstitial-screen/interstitial-screen-context.js.map +1 -1
  275. package/es-custom/components/interstitial-screen/interstitial-screen-footer.js.map +1 -1
  276. package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js +1 -1
  277. package/es-custom/components/interstitial-screen/interstitial-screen-header.js +2 -2
  278. package/es-custom/components/interstitial-screen/interstitial-screen-header.js.map +1 -1
  279. package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js +1 -1
  280. package/es-custom/components/interstitial-screen/interstitial-screen.js +2 -2
  281. package/es-custom/components/interstitial-screen/interstitial-screen.js.map +1 -1
  282. package/es-custom/components/interstitial-screen/interstitial-screen.scss.js +1 -1
  283. package/es-custom/components/interstitial-screen/interstitial-screen.test.js.map +1 -1
  284. package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -1
  285. package/es-custom/components/notification-panel/notification-footer.js +2 -2
  286. package/es-custom/components/notification-panel/notification-footer.js.map +1 -1
  287. package/es-custom/components/notification-panel/notification-footer.scss.js +1 -1
  288. package/es-custom/components/notification-panel/notification-footer.test.js.map +1 -1
  289. package/es-custom/components/notification-panel/notification-panel.d.ts +2 -0
  290. package/es-custom/components/notification-panel/notification-panel.js +38 -15
  291. package/es-custom/components/notification-panel/notification-panel.js.map +1 -1
  292. package/es-custom/components/notification-panel/notification-panel.scss.js +1 -1
  293. package/es-custom/components/notification-panel/notification-panel.test.js +22 -0
  294. package/es-custom/components/notification-panel/notification-panel.test.js.map +1 -1
  295. package/es-custom/components/notification-panel/notification.js +2 -2
  296. package/es-custom/components/notification-panel/notification.js.map +1 -1
  297. package/es-custom/components/notification-panel/notification.scss.js +1 -1
  298. package/es-custom/components/notification-panel/notification.test.js.map +1 -1
  299. package/es-custom/components/options-tile/options-tile.js +2 -2
  300. package/es-custom/components/options-tile/options-tile.js.map +1 -1
  301. package/es-custom/components/options-tile/options-tile.scss.js +1 -1
  302. package/es-custom/components/options-tile/options-tile.test.js.map +1 -1
  303. package/es-custom/components/page-header/_story-assets/overflowHandler.js.map +1 -1
  304. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +1 -1
  305. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js +3 -3
  306. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -1
  307. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
  308. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +1 -1
  309. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js +3 -3
  310. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +1 -1
  311. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
  312. package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js.map +1 -1
  313. package/es-custom/components/page-header/page-header-breadcrumb.js +2 -2
  314. package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -1
  315. package/es-custom/components/page-header/page-header-content-text.js +2 -2
  316. package/es-custom/components/page-header/page-header-content-text.js.map +1 -1
  317. package/es-custom/components/page-header/page-header-content.js.map +1 -1
  318. package/es-custom/components/page-header/page-header-hero-image.js +2 -2
  319. package/es-custom/components/page-header/page-header-hero-image.js.map +1 -1
  320. package/es-custom/components/page-header/page-header-scroller.js.map +1 -1
  321. package/es-custom/components/page-header/page-header-tabs.js +2 -2
  322. package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
  323. package/es-custom/components/page-header/page-header-title-breadcrumb.js +2 -2
  324. package/es-custom/components/page-header/page-header-title-breadcrumb.js.map +1 -1
  325. package/es-custom/components/page-header/page-header.figma.js.map +1 -1
  326. package/es-custom/components/page-header/page-header.js +2 -2
  327. package/es-custom/components/page-header/page-header.js.map +1 -1
  328. package/es-custom/components/page-header/page-header.test.js.map +1 -1
  329. package/es-custom/components/page-header/utils.js.map +1 -1
  330. package/es-custom/components/side-panel/_story-assets/index.js.map +1 -1
  331. package/es-custom/components/side-panel/defs.js.map +1 -1
  332. package/es-custom/components/side-panel/side-panel.js +11 -4
  333. package/es-custom/components/side-panel/side-panel.js.map +1 -1
  334. package/es-custom/components/side-panel/side-panel.scss.js +1 -1
  335. package/es-custom/components/side-panel/side-panel.test.js +3 -3
  336. package/es-custom/components/side-panel/side-panel.test.js.map +1 -1
  337. package/es-custom/components/tearsheet/defs.js.map +1 -1
  338. package/es-custom/components/tearsheet/tearsheet.js +2 -2
  339. package/es-custom/components/tearsheet/tearsheet.js.map +1 -1
  340. package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
  341. package/es-custom/components/tearsheet/tearsheet.test.js +1 -1
  342. package/es-custom/components/tearsheet/tearsheet.test.js.map +1 -1
  343. package/es-custom/components/tearsheet/utils.js.map +1 -1
  344. package/es-custom/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js +13 -0
  345. package/es-custom/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js.map +1 -0
  346. package/es-custom/components/tearsheet-preview/_story-assets/stacking-tearsheet.d.ts +30 -0
  347. package/es-custom/components/tearsheet-preview/_story-assets/stacking-tearsheet.js +320 -0
  348. package/es-custom/components/tearsheet-preview/_story-assets/stacking-tearsheet.js.map +1 -0
  349. package/es-custom/components/tearsheet-preview/_story-assets/step-tearsheet-preview.d.ts +39 -0
  350. package/es-custom/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js +264 -0
  351. package/es-custom/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js.map +1 -0
  352. package/es-custom/components/tearsheet-preview/index.d.ts +17 -0
  353. package/es-custom/components/tearsheet-preview/index.js +17 -0
  354. package/es-custom/components/tearsheet-preview/index.js.map +1 -0
  355. package/es-custom/components/tearsheet-preview/stack-signal.d.ts +27 -0
  356. package/es-custom/components/tearsheet-preview/stack-signal.js +103 -0
  357. package/es-custom/components/tearsheet-preview/stack-signal.js.map +1 -0
  358. package/es-custom/components/tearsheet-preview/tearsheet-body.d.ts +399 -0
  359. package/es-custom/components/tearsheet-preview/tearsheet-body.js +131 -0
  360. package/es-custom/components/tearsheet-preview/tearsheet-body.js.map +1 -0
  361. package/es-custom/components/tearsheet-preview/tearsheet-footer.d.ts +385 -0
  362. package/es-custom/components/tearsheet-preview/tearsheet-footer.js +56 -0
  363. package/es-custom/components/tearsheet-preview/tearsheet-footer.js.map +1 -0
  364. package/es-custom/components/tearsheet-preview/tearsheet-header-content.d.ts +407 -0
  365. package/es-custom/components/tearsheet-preview/tearsheet-header-content.js +185 -0
  366. package/es-custom/components/tearsheet-preview/tearsheet-header-content.js.map +1 -0
  367. package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js +13 -0
  368. package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -0
  369. package/es-custom/components/tearsheet-preview/tearsheet-header.d.ts +419 -0
  370. package/es-custom/components/tearsheet-preview/tearsheet-header.js +204 -0
  371. package/es-custom/components/tearsheet-preview/tearsheet-header.js.map +1 -0
  372. package/es-custom/components/tearsheet-preview/tearsheet-header.scss.js +13 -0
  373. package/es-custom/components/tearsheet-preview/tearsheet-header.scss.js.map +1 -0
  374. package/es-custom/components/tearsheet-preview/tearsheet-influencer.d.ts +398 -0
  375. package/es-custom/components/tearsheet-preview/tearsheet-influencer.js +92 -0
  376. package/es-custom/components/tearsheet-preview/tearsheet-influencer.js.map +1 -0
  377. package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +384 -0
  378. package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.js +51 -0
  379. package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.js.map +1 -0
  380. package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +13 -0
  381. package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.scss.js.map +1 -0
  382. package/es-custom/components/tearsheet-preview/tearsheet-scroller.d.ts +40 -0
  383. package/es-custom/components/tearsheet-preview/tearsheet-scroller.js +112 -0
  384. package/es-custom/components/tearsheet-preview/tearsheet-scroller.js.map +1 -0
  385. package/es-custom/components/tearsheet-preview/tearsheet-signal.d.ts +24 -0
  386. package/es-custom/components/tearsheet-preview/tearsheet-signal.js +47 -0
  387. package/es-custom/components/tearsheet-preview/tearsheet-signal.js.map +1 -0
  388. package/es-custom/components/tearsheet-preview/tearsheet-summary-content.d.ts +399 -0
  389. package/es-custom/components/tearsheet-preview/tearsheet-summary-content.js +97 -0
  390. package/es-custom/components/tearsheet-preview/tearsheet-summary-content.js.map +1 -0
  391. package/es-custom/components/tearsheet-preview/tearsheet.d.ts +491 -0
  392. package/es-custom/components/tearsheet-preview/tearsheet.js +414 -0
  393. package/es-custom/components/tearsheet-preview/tearsheet.js.map +1 -0
  394. package/es-custom/components/tearsheet-preview/tearsheet.scss.js +13 -0
  395. package/es-custom/components/tearsheet-preview/tearsheet.scss.js.map +1 -0
  396. package/es-custom/components/tearsheet-preview/tearsheet.test.d.ts +7 -0
  397. package/es-custom/components/tearsheet-preview/tearsheet.test.js +566 -0
  398. package/es-custom/components/tearsheet-preview/tearsheet.test.js.map +1 -0
  399. package/es-custom/components/truncated-text/truncated-text.js +2 -2
  400. package/es-custom/components/truncated-text/truncated-text.js.map +1 -1
  401. package/es-custom/components/truncated-text/truncated-text.test.js.map +1 -1
  402. package/es-custom/components/user-avatar/user-avatar.js +2 -2
  403. package/es-custom/components/user-avatar/user-avatar.js.map +1 -1
  404. package/es-custom/components/user-avatar/user-avatar.scss.js +1 -1
  405. package/es-custom/components/user-avatar/user-avatar.test.js.map +1 -1
  406. package/es-custom/globals/internal/pconsole.js.map +1 -1
  407. package/es-custom/globals/internal/storybook-cdn.js.map +1 -1
  408. package/es-custom/globals/js/utils/collapsible-controller.d.ts +25 -0
  409. package/es-custom/globals/js/utils/collapsible-controller.js +71 -0
  410. package/es-custom/globals/js/utils/collapsible-controller.js.map +1 -0
  411. package/es-custom/globals/js/utils/getSupportedLocale.js.map +1 -1
  412. package/es-custom/globals/js/utils/match-media-controller.d.ts +16 -0
  413. package/es-custom/globals/js/utils/match-media-controller.js +29 -0
  414. package/es-custom/globals/js/utils/match-media-controller.js.map +1 -0
  415. package/es-custom/globals/settings.js.map +1 -1
  416. package/es-custom/index.d.ts +9 -0
  417. package/es-custom/index.js +9 -0
  418. package/es-custom/index.js.map +1 -1
  419. package/es-custom/node_modules/@carbon/layout/es/index.js +2 -0
  420. package/es-custom/node_modules/@carbon/layout/es/index.js.map +1 -1
  421. package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
  422. package/es-custom/patterns/step-flow/_story-assets/step-full-page.js.map +1 -1
  423. package/es-custom/patterns/step-flow/_story-assets/step-side-panel.js.map +1 -1
  424. package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js.map +1 -1
  425. package/es-custom/patterns/step-flow/step-flow-signal.js.map +1 -1
  426. package/es-custom/patterns/step-flow/step-flow-signal.test.js.map +1 -1
  427. package/es-custom/patterns/step-flow/step-group.js.map +1 -1
  428. package/es-custom/utilities/makeDraggable/makeDraggable.js.map +1 -1
  429. package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js.map +1 -1
  430. package/es-custom/utilities/snapscroll/snapscroll.js.map +1 -1
  431. package/es-custom/utilities/snapscroll/snapscroll.test.js.map +1 -1
  432. package/lib/components/coachmark/coachmark-beacon/defs.js.map +1 -1
  433. package/lib/components/notification-panel/notification-panel.d.ts +2 -0
  434. package/lib/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +1 -1
  435. package/lib/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +1 -1
  436. package/lib/components/side-panel/defs.js.map +1 -1
  437. package/lib/components/tearsheet/defs.js.map +1 -1
  438. package/lib/components/tearsheet-preview/_story-assets/stacking-tearsheet.d.ts +30 -0
  439. package/lib/components/tearsheet-preview/_story-assets/step-tearsheet-preview.d.ts +39 -0
  440. package/lib/components/tearsheet-preview/index.d.ts +17 -0
  441. package/lib/components/tearsheet-preview/stack-signal.d.ts +27 -0
  442. package/lib/components/tearsheet-preview/tearsheet-body.d.ts +399 -0
  443. package/lib/components/tearsheet-preview/tearsheet-footer.d.ts +385 -0
  444. package/lib/components/tearsheet-preview/tearsheet-header-content.d.ts +407 -0
  445. package/lib/components/tearsheet-preview/tearsheet-header.d.ts +419 -0
  446. package/lib/components/tearsheet-preview/tearsheet-influencer.d.ts +398 -0
  447. package/lib/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +384 -0
  448. package/lib/components/tearsheet-preview/tearsheet-scroller.d.ts +40 -0
  449. package/lib/components/tearsheet-preview/tearsheet-signal.d.ts +24 -0
  450. package/lib/components/tearsheet-preview/tearsheet-summary-content.d.ts +399 -0
  451. package/lib/components/tearsheet-preview/tearsheet.d.ts +491 -0
  452. package/lib/components/tearsheet-preview/tearsheet.test.d.ts +7 -0
  453. package/lib/globals/js/utils/collapsible-controller.d.ts +25 -0
  454. package/lib/globals/js/utils/collapsible-controller.js +73 -0
  455. package/lib/globals/js/utils/collapsible-controller.js.map +1 -0
  456. package/lib/globals/js/utils/getSupportedLocale.js.map +1 -1
  457. package/lib/globals/js/utils/match-media-controller.d.ts +16 -0
  458. package/lib/globals/js/utils/match-media-controller.js +31 -0
  459. package/lib/globals/js/utils/match-media-controller.js.map +1 -0
  460. package/lib/globals/settings.js.map +1 -1
  461. package/lib/index.d.ts +9 -0
  462. package/package.json +9 -8
  463. package/scss/components/notification-panel/notification.scss +14 -1
  464. package/scss/components/tearsheet-preview/_story-assets/_storybook-styles.scss +87 -0
  465. package/scss/components/tearsheet-preview/tearsheet-header-content.scss +190 -0
  466. package/scss/components/tearsheet-preview/tearsheet-header.scss +146 -0
  467. package/scss/components/tearsheet-preview/tearsheet-navigation-bar.scss +27 -0
  468. package/scss/components/tearsheet-preview/tearsheet.scss +254 -0
  469. package/telemetry.yml +33 -7
@@ -0,0 +1,204 @@
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 { property, state, query } from 'lit/decorators.js';
11
+ import { prefix } from '../../globals/settings.js';
12
+ import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';
13
+ import '@carbon/web-components/es-custom/components/modal/index.js';
14
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
15
+ import { classMap } from 'lit-html/directives/class-map.js';
16
+ import styles from './tearsheet-header.scss.js';
17
+ import { updateTearsheetSignals, tearsheetSignal } from './tearsheet-signal.js';
18
+ import { SignalWatcher } from '@lit-labs/signals';
19
+
20
+ /**
21
+ * @license
22
+ *
23
+ * Copyright IBM Corp. 2026
24
+ *
25
+ * This source code is licensed under the Apache-2.0 license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */
28
+ const blockClass = `${prefix}--tearsheet__next`;
29
+ /**
30
+ * Tearsheet Header component - Contains the header section with title, description, and actions.
31
+ *
32
+ * @element c4p-tearsheet-header
33
+ * @slot header-content - The main header content area (use c4p-tearsheet-header-content)
34
+ * @slot header-navigation - Navigation tabs or breadcrumbs below the header
35
+ * @slot header-actions - Action buttons in the header (e.g., settings, delete)
36
+ * @slot decorator - AI label or other decorative elements
37
+ * @fires c4p-tearsheet-header-close-button-clicked - Internal event to notify parent tearsheet
38
+ */
39
+ let CDSTearsheetHeader = class CDSTearsheetHeader extends SignalWatcher(HostListenerMixin(LitElement)) {
40
+ constructor() {
41
+ super(...arguments);
42
+ this.slot = 'header';
43
+ /**
44
+ * Tooltip text and aria label for the Close button icon.
45
+ */
46
+ this.closeIconDescription = 'Close';
47
+ /**
48
+ * Optional parameter to hide the progress indicator when multiple steps are used.
49
+ */
50
+ this.hideCloseButton = false;
51
+ /**
52
+ * Default header collapse/expand while scrolling the main content can be disabled by setting this
53
+ */
54
+ this.disableHeaderCollapse = false;
55
+ this._hasDecorator = false;
56
+ this._hasAILabel = false;
57
+ }
58
+ /**
59
+ * Handles user-initiated close request of this tearsheet.
60
+ * Dispatches an internal event to notify the parent tearsheet to close.
61
+ *
62
+ * @param triggeredBy The element that triggered this close request.
63
+ */
64
+ _handleUserInitiatedClose(triggeredBy) {
65
+ const init = {
66
+ bubbles: true,
67
+ composed: true,
68
+ detail: {
69
+ triggeredBy,
70
+ },
71
+ };
72
+ // Dispatch internal event to notify parent tearsheet
73
+ this.dispatchEvent(new CustomEvent(this.constructor.eventCloseButtonClicked, init));
74
+ }
75
+ connectedCallback() {
76
+ super.connectedCallback();
77
+ // Initialize signal with the initial prop value before any child components connect
78
+ updateTearsheetSignals({
79
+ disableHeaderCollapse: this.disableHeaderCollapse,
80
+ });
81
+ }
82
+ firstUpdated() {
83
+ this.updateHeaderOffset();
84
+ }
85
+ updated(_changedProperties) {
86
+ if (_changedProperties.has('disableHeaderCollapse')) {
87
+ updateTearsheetSignals({
88
+ disableHeaderCollapse: this.disableHeaderCollapse,
89
+ });
90
+ }
91
+ this.updateHeaderOffset();
92
+ this.updateCollapsedAttribute();
93
+ }
94
+ updateCollapsedAttribute() {
95
+ const { fullyCollapsed, open } = tearsheetSignal.get();
96
+ if (open) {
97
+ if (fullyCollapsed) {
98
+ this.setAttribute('collapsed', '');
99
+ }
100
+ else {
101
+ this.removeAttribute('collapsed');
102
+ }
103
+ }
104
+ else {
105
+ this.removeAttribute('collapsed');
106
+ }
107
+ }
108
+ updateHeaderOffset() {
109
+ var _a, _b;
110
+ const { open, isSm } = tearsheetSignal.get();
111
+ if (open) {
112
+ const assigned = this.decoratorSlot.assignedElements({ flatten: true });
113
+ const decoratorWidth = (_b = (_a = assigned === null || assigned === void 0 ? void 0 : assigned[0]) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) !== null && _b !== void 0 ? _b : 0;
114
+ const closeButtonWidth = !this.hideCloseButton ? 24 : 0;
115
+ const offset = decoratorWidth + closeButtonWidth + (isSm ? 8 : 0);
116
+ document.documentElement.style.setProperty('--tearsheet-header-action-offset', `${offset}px`);
117
+ }
118
+ }
119
+ _handleDecoratorChange(e) {
120
+ this._hasAILabel = false;
121
+ const childItems = e.target.assignedElements();
122
+ this._hasDecorator = childItems.length > 0;
123
+ if (this._hasDecorator) {
124
+ for (const item of childItems) {
125
+ if (item.tagName.toLowerCase() === 'cds-custom-ai-label') {
126
+ this._hasAILabel = true;
127
+ break;
128
+ }
129
+ }
130
+ }
131
+ if (this._hasAILabel || this._hasDecorator) {
132
+ childItems[0].setAttribute('size', 'sm');
133
+ this.setAttribute(this._hasAILabel ? 'ai-label' : 'decorator', '');
134
+ this.removeAttribute(this._hasAILabel ? 'decorator' : 'ai-label');
135
+ }
136
+ else {
137
+ this.removeAttribute('decorator');
138
+ this.removeAttribute('ai-label');
139
+ }
140
+ this.updateHeaderOffset();
141
+ }
142
+ render() {
143
+ const { fullyCollapsed } = tearsheetSignal.get();
144
+ const classes = classMap({
145
+ [`${blockClass}__header`]: true,
146
+ [`${blockClass}__header--with-close-icon`]: !!this.hideCloseButton,
147
+ [`${blockClass}__header-collapsed`]: !!fullyCollapsed,
148
+ });
149
+ return html `<cds-custom-modal-header class="${classes}">
150
+ <slot
151
+ name="decorator"
152
+ slot="ai-label"
153
+ @slotchange=${this._handleDecoratorChange}
154
+ ></slot>
155
+ <cds-custom-modal-close-button
156
+ close-button-label=${this.closeIconDescription}
157
+ @click="${this._handleUserInitiatedClose}"
158
+ class="${this.hideCloseButton
159
+ ? `${blockClass}__header--no-close-icon`
160
+ : ''}"
161
+ ></cds-custom-modal-close-button>
162
+
163
+ <slot name="header-content"></slot>
164
+ <slot></slot>
165
+ <slot name="navigation-bar"></slot>
166
+ </cds-custom-modal-header>`;
167
+ }
168
+ static get eventCloseButtonClicked() {
169
+ return `${prefix}-tearsheet-header-close-button-clicked`;
170
+ }
171
+ };
172
+ CDSTearsheetHeader.styles = styles;
173
+ __decorate([
174
+ property({ reflect: true })
175
+ ], CDSTearsheetHeader.prototype, "slot", void 0);
176
+ __decorate([
177
+ property({ reflect: true, attribute: 'close-icon-description' })
178
+ ], CDSTearsheetHeader.prototype, "closeIconDescription", void 0);
179
+ __decorate([
180
+ property({ type: Boolean, reflect: true, attribute: 'hide-close-button' })
181
+ ], CDSTearsheetHeader.prototype, "hideCloseButton", void 0);
182
+ __decorate([
183
+ property({
184
+ type: Boolean,
185
+ reflect: true,
186
+ attribute: 'disable-header-collapse',
187
+ })
188
+ ], CDSTearsheetHeader.prototype, "disableHeaderCollapse", void 0);
189
+ __decorate([
190
+ state()
191
+ ], CDSTearsheetHeader.prototype, "_hasDecorator", void 0);
192
+ __decorate([
193
+ state()
194
+ ], CDSTearsheetHeader.prototype, "_hasAILabel", void 0);
195
+ __decorate([
196
+ query('slot[name="decorator"]')
197
+ ], CDSTearsheetHeader.prototype, "decoratorSlot", void 0);
198
+ CDSTearsheetHeader = __decorate([
199
+ carbonElement(`${prefix}-tearsheet-header`)
200
+ ], CDSTearsheetHeader);
201
+ var CDSTearsheetHeader_default = CDSTearsheetHeader;
202
+
203
+ export { CDSTearsheetHeader_default as default };
204
+ //# sourceMappingURL=tearsheet-header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tearsheet-header.js","sources":["../../../src/components/tearsheet-preview/tearsheet-header.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":"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"}
@@ -0,0 +1,13 @@
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 { css } from 'lit';
9
+
10
+ var styles = css(["@keyframes cds-custom--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds-custom--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds-custom--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.cds-custom--layout--size-xs{--cds-layout-size-height-context:var(--cds-layout-size-height-xs,1.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xs{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xs,1.5rem))}.cds-custom--layout-constraint--size__min-xs{--cds-layout-size-height-min:var(--cds-layout-size-height-xs,1.5rem)}.cds-custom--layout-constraint--size__max-xs{--cds-layout-size-height-max:var(--cds-layout-size-height-xs,1.5rem)}.cds-custom--layout--size-sm{--cds-layout-size-height-context:var(--cds-layout-size-height-sm,2rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-sm{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-sm,2rem))}.cds-custom--layout-constraint--size__min-sm{--cds-layout-size-height-min:var(--cds-layout-size-height-sm,2rem)}.cds-custom--layout-constraint--size__max-sm{--cds-layout-size-height-max:var(--cds-layout-size-height-sm,2rem)}.cds-custom--layout--size-md{--cds-layout-size-height-context:var(--cds-layout-size-height-md,2.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-md{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-md,2.5rem))}.cds-custom--layout-constraint--size__min-md{--cds-layout-size-height-min:var(--cds-layout-size-height-md,2.5rem)}.cds-custom--layout-constraint--size__max-md{--cds-layout-size-height-max:var(--cds-layout-size-height-md,2.5rem)}.cds-custom--layout--size-lg{--cds-layout-size-height-context:var(--cds-layout-size-height-lg,3rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-lg{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-lg,3rem))}.cds-custom--layout-constraint--size__min-lg{--cds-layout-size-height-min:var(--cds-layout-size-height-lg,3rem)}.cds-custom--layout-constraint--size__max-lg{--cds-layout-size-height-max:var(--cds-layout-size-height-lg,3rem)}.cds-custom--layout--size-xl{--cds-layout-size-height-context:var(--cds-layout-size-height-xl,4rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xl,4rem))}.cds-custom--layout-constraint--size__min-xl{--cds-layout-size-height-min:var(--cds-layout-size-height-xl,4rem)}.cds-custom--layout-constraint--size__max-xl{--cds-layout-size-height-max:var(--cds-layout-size-height-xl,4rem)}.cds-custom--layout--size-2xl{--cds-layout-size-height-context:var(--cds-layout-size-height-2xl,5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-2xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-2xl,5rem))}.cds-custom--layout-constraint--size__min-2xl{--cds-layout-size-height-min:var(--cds-layout-size-height-2xl,5rem)}.cds-custom--layout-constraint--size__max-2xl{--cds-layout-size-height-max:var(--cds-layout-size-height-2xl,5rem)}.cds-custom--layout--density-condensed{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-condensed,0.5rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-condensed{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-condensed,0.5rem))}.cds-custom--layout-constraint--density__min-condensed{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout-constraint--density__max-condensed{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout--density-normal{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-normal,1rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-normal{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-normal,1rem))}.cds-custom--layout-constraint--density__min-normal{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-normal,1rem)}.cds-custom--layout-constraint--density__max-normal{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-normal,1rem)}:root{--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px}.cds-custom--assistive-text,.cds-custom--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted){animation:c4p--tearsheet__next--presence-tearsheet__enter .24s cubic-bezier(0,0,.3,1);opacity:1}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:c4p--tearsheet__next--presence-tearsheet--container__enter .24s cubic-bezier(0,0,.3,1);transform:translateZ(0)}@media screen and (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:none}}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted).c4p--tearsheet__next--stacked.is-visible .c4p--tearsheet__next__container{transform:scaleX(var(--scale-factor))}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted)[data-tearsheet-exiting]{animation:c4p--tearsheet__next--presence-tearsheet__exit .24s cubic-bezier(.4,.14,1,1) forwards}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted)[data-tearsheet-exiting].c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:c4p--tearsheet__next--presence-tearsheet--container__exit .24s cubic-bezier(0,0,.3,1) forwards}@media screen and (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted)[data-tearsheet-exiting].c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:none}}.c4p--tearsheet__next.c4p--tearsheet__next--keep-mounted:not(.is-visible).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transform:translate3d(0,min(95vh,500px),0)}@keyframes c4p--tearsheet__next--presence-tearsheet__enter{0%{opacity:0;transition:none}}@keyframes c4p--tearsheet__next--presence-tearsheet__exit{to{opacity:0}}@keyframes c4p--tearsheet__next--presence-tearsheet--container__enter{0%{transform:translate3d(0,min(95vh,500px),0);transition:none}}@keyframes c4p--tearsheet__next--presence-tearsheet--container__exit{to{transform:translate3d(0,min(95vh,500px),0)}}.c4p--tearsheet__next .c4p--tearsheet__next__container{align-self:flex-end;block-size:100%;border:1px solid var(--cds-border-subtle-01,#c6c6c6);inset-block-start:auto;max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem));max-inline-size:var(--tearsheet-max-inline-size,1312px)}@media (max-width:41.98rem){.c4p--tearsheet__next:not(.c4p--tearsheet__next--stack-activated.is-visible) .c4p--tearsheet__next__container{max-block-size:none}}.c4p--tearsheet__next:not(.is-visible).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transform:translate3d(0,min(95vh,500px),0)}.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__container{background:linear-gradient(to top,var(--cds-layer),var(--cds-layer)) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,#78a9ff),var(--cds-ai-border-end,#d0e2ff)) border-box,linear-gradient(to top,var(--cds-layer),var(--cds-layer)) border-box;border:1px solid transparent;border-block-end:0;box-shadow:0 4px 10px 2px var(--cds-ai-drop-shadow,rgba(15,98,254,.1))}.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__main-content{background:linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)) 0,var(--cds-ai-aura-start,rgba(69,137,255,.1)) 0,15%,var(--cds-ai-aura-end,hsla(0,0%,100%,0)) 50%) padding-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,rgba(166,200,255,.64)),var(--cds-ai-border-end,#78a9ff)) border-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) border-box;box-shadow:inset 0 -80px 70px -65px var(--cds-ai-inner-shadow,rgba(69,137,255,.1));position:relative}.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transition:transform .24s cubic-bezier(0,0,.3,1),max-block-size .24s cubic-bezier(0,0,.3,1)}@media screen and (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transition:none}}.c4p--tearsheet__next .c4p--tearsheet__next__header{align-content:space-between;border-block-end:1px solid var(--cds-border-subtle-01,#c6c6c6);display:flex;flex-wrap:wrap;margin-block:0;max-block-size:50vh;padding-block-end:0;padding-block-start:1.5rem;padding-inline:2rem}.c4p--tearsheet__next .c4p--tearsheet__next__header>*{flex-basis:100%}.c4p--tearsheet__next .c4p--tearsheet__next__header>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button){margin-block-end:1.5rem}@media (max-width:41.98rem){.c4p--tearsheet__next .c4p--tearsheet__next__header{padding-inline:1rem}}.c4p--tearsheet__next .cds-custom--modal-container--sm .cds-custom--modal-header{padding-inline-end:2rem}.c4p--tearsheet__next .c4p--tearsheet__next__header-content-wrapper{display:grid;flex-basis:unset;gap:1rem;grid-template-columns:minmax(auto,40rem) minmax(var(--tearsheet-header-title-grid-width,0),1fr);inline-size:calc(100% - var(--tearsheet-header-action-offset))}@media (max-width:41.98rem){.c4p--tearsheet__next .c4p--tearsheet__next__header-content-wrapper{display:flex;flex-direction:column}}.c4p--tearsheet__next .c4p--tearsheet__next__header>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button,.excludeFromCollapse){max-block-size:50vh;opacity:1;overflow:hidden;transition:max-block-size .24s cubic-bezier(0,0,.3,1),opacity .24s cubic-bezier(0,0,.3,1),margin .24s cubic-bezier(0,0,.3,1),padding .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-actions,.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content :not(.c4p--tearsheet__next__content__title-wrapper,.c4p--tearsheet__next__header-label){opacity:1;transition:all .24s cubic-bezier(0,0,.3,1),opacity .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed{padding-block-start:.75rem;transition:padding .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions>:not(.c4p--tearsheet__next__content__header-actions),.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content>:not(.c4p--tearsheet__next__content__title-wrapper) *,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content>:not(.c4p--tearsheet__next__content__title-wrapper),.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button,.excludeFromCollapse),.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button,.excludeFromCollapse) *{margin:0;max-block-size:0;opacity:0;overflow:hidden;padding:0;pointer-events:none;transition:all .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title{align-items:center;font-size:var(--cds-label-02-font-size,.875rem);font-weight:var(--cds-label-02-font-weight,400);letter-spacing:var(--cds-label-02-letter-spacing,.16px);line-height:var(--cds-label-02-line-height,1.28572);margin-block-start:.25rem;transition:all .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title>span{align-items:center;block-size:1.5rem;display:flex}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-end svg,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-start svg{inline-size:1rem}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content{align-self:center;margin-block-end:0}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__header-actions{margin-block-start:-.125rem}@media (max-width:41.98rem){.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions{display:none}}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__title-wrapper,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title{margin-block:0;transition:margin-block .24s ease}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper{min-block-size:2.5rem;padding-block-end:.75rem}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__navigation-bar:before{background:rgba(0,0,0,.12);block-size:1px;content:\"\";inline-size:100vw;inset-block-start:-.25rem;inset-inline-start:50%;pointer-events:none;position:absolute;transform:translateX(-50%);z-index:1}.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible{--overlay-color:var(--cds-overlay,rgba(0,0,0,.6));--overlay-alpha:0.5;background-color:initial;z-index:calc(9000 - var(--stack-depth, 0))}.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible:before{background:var(--overlay-color);content:\"\";display:block;inset:0;opacity:calc(var(--overlay-alpha) - var(--stack-depth)*.1);position:absolute;transition:background-color .24s cubic-bezier(.4,.14,1,1),opacity .24s cubic-bezier(.4,.14,1,1)}@media (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible:before{transition:none}}.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible.is-visible .c4p--tearsheet__next__container{max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem) + var(--block-size-change));transform:scaleX(var(--scale-factor))}.c4p--tearsheet__next__header-label{color:var(--cds-text-secondary,#525252);font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin-block-end:.25rem}.c4p--tearsheet__next__header-title{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}@media (max-width:41.98rem){.c4p--tearsheet__next__header-title{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}}.c4p--tearsheet__next__header-title{align-items:flex-start;display:flex;gap:1rem;margin-block-end:.5rem}.c4p--tearsheet__next__header-title svg{flex-shrink:0}.c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-end{margin-inline-start:1rem}.c4p--tearsheet__next__header-description{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.c4p--tearsheet__next__navigation-bar{align-items:center;display:flex;gap:.125rem;justify-content:space-between;max-inline-size:calc(100% - .75rem);min-block-size:2.5rem;position:relative}.c4p--tearsheet__next__navigation-bar .cds-custom--tabs{margin-inline-start:-1rem}.c4p--tearsheet__next__scroller-container{inset-block-end:.125rem;inset-inline-end:-2.5rem;position:absolute}@media (max-width:41.98rem){.c4p--tearsheet__next__scroller-container{inset-inline-end:-1.5rem}}.c4p--tearsheet__next__scroller-container .c4p--tearsheet__next__scroller-button-icon-collapsed{transform:rotate(-180deg)}.c4p--tearsheet__next__header-actions{display:flex;justify-content:flex-end}.c4p--tearsheet__next__content__header-actions{align-items:center;block-size:2rem;display:flex;flex:0 0 auto;inline-size:100%;justify-content:flex-end;margin-block-start:-14px;overflow:hidden}.c4p--tearsheet__next__content__header-actions>.c4p--tearsheet__next__header-action-item:not([data-hidden=true]){margin-inline-end:.5rem}.c4p--tearsheet__next__content__header-actions>.c4p--tearsheet__next__header-action-item:not([data-hidden=true]):nth-last-child(2){margin-inline-end:0}.c4p--tearsheet__next__content__header-actions>*{flex-shrink:0}@media (max-width:41.98rem){.c4p--tearsheet__next__content__header-actions{justify-content:flex-start;margin-inline-end:0}}.c4p--tearsheet__next__header-actions,.c4p--tearsheet__next__header-content{margin-block-end:1.5rem}@media (min-width:42rem){.c4p--tearsheet__next--wide .c4p--tearsheet__next__container{inline-size:calc(100% - 8rem)}}.c4p--tearsheet__next__body-layout{display:grid;grid-template-areas:\"influencer body\" \"influencer footer\";grid-template-columns:var(--tearsheet-influencer-width,16rem) 1fr;grid-template-rows:1fr auto;padding-block:0;padding-inline-end:0}.c4p--tearsheet__next__body-layout:not(.c4p--tearsheet__next__body-layout--has-influencer){grid-template-areas:\"body\" \"footer\";grid-template-columns:1fr}.c4p--tearsheet__next__influencer,:host(c4p-preview-tearsheet) ::slotted([slot=influencer]){border-inline-end:1px solid var(--cds-border-subtle-01,#c6c6c6);grid-area:influencer}.c4p--tearsheet__next__body,:host(c4p-preview-tearsheet) ::slotted([slot=body]){display:grid;grid-area:body;grid-template-columns:1fr var(--tearsheet-summary-content-width,16rem);overflow:hidden;position:relative}@media (max-width:41.98rem){.c4p--tearsheet__next__body,:host(c4p-preview-tearsheet) ::slotted([slot=body]){grid-template-columns:1fr 0}}.c4p--tearsheet__next__body>:only-child,:host(c4p-preview-tearsheet) ::slotted([slot=body])>:only-child{grid-column:1/-1}.c4p--tearsheet__next__footer,:host(c4p-preview-tearsheet) ::slotted([slot=footer]){block-size:5rem;border-block-start:1px solid var(--cds-border-subtle-01,#c6c6c6);grid-area:footer;overflow:hidden}@media (max-width:41.98rem){.c4p--tearsheet__next__footer,:host(c4p-preview-tearsheet) ::slotted([slot=footer]){block-size:4rem}}@media (max-width:19.98rem){.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--three-actions,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--three-actions::slotted([slot=footer]){overflow-x:auto;overflow-y:hidden}.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--three-actions .c4p--action-set,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--three-actions::slotted([slot=footer]) .c4p--action-set{display:inline-flex;flex-shrink:0;min-inline-size:-moz-max-content;min-inline-size:max-content}}@media (max-width:41.98rem){.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--many-actions,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--many-actions::slotted([slot=footer]){overflow-x:auto;overflow-y:hidden}.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--many-actions .c4p--action-set,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--many-actions::slotted([slot=footer]) .c4p--action-set{display:inline-flex;flex-shrink:0;min-inline-size:-moz-max-content;min-inline-size:max-content}}.c4p--tearsheet__next__influencer,.c4p--tearsheet__next__main-content,.c4p--tearsheet__next__summary-content,:host ::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) ::slotted([slot=influencer]){overflow:auto}.c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush),:host :not(.c4p--tearsheet__next__flush)::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) :not(.c4p--tearsheet__next__flush)::slotted([slot=influencer]){padding-inline:2rem}@media (max-width:41.98rem){.c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush),:host :not(.c4p--tearsheet__next__flush)::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) :not(.c4p--tearsheet__next__flush)::slotted([slot=influencer]){padding-inline:1rem}}.c4p--tearsheet__next__side-panel,:host c4p-side-panel::part(dialog){block-size:100%;inline-size:100%!important;inset-block-start:0;max-inline-size:none;position:absolute;z-index:9999}.c4p--tearsheet__next__side-panel .c4p--side-panel__header,:host c4p-side-panel::part(dialog) .c4p--side-panel__header{min-block-size:0}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header{padding-inline:1rem}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header.c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions{display:none}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-content-wrapper{display:flex;flex-direction:column}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-title{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__content__header-actions{justify-content:flex-start;margin-inline-end:0}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__body,:host(c4p-preview-tearsheet) .c4p--tearsheet__next--narrow ::slotted([slot=body]){grid-template-columns:1fr 0}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next--narrow .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next--narrow .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush),:host .c4p--tearsheet__next--narrow :not(.c4p--tearsheet__next__flush)::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) .c4p--tearsheet__next--narrow :not(.c4p--tearsheet__next__flush)::slotted([slot=influencer]){padding-inline:1rem}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__footer,:host(c4p-preview-tearsheet) .c4p--tearsheet__next--narrow ::slotted([slot=footer]){block-size:4rem}.c4p--tearsheet__next--has-ai-label::part(dialog){background:linear-gradient(to top,var(--cds-layer),var(--cds-layer)) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,#78a9ff),var(--cds-ai-border-end,#d0e2ff)) border-box,linear-gradient(to top,var(--cds-layer),var(--cds-layer)) border-box;border:1px solid transparent!important;border-block-end:0;box-shadow:0 4px 10px 2px var(--cds-ai-drop-shadow,rgba(15,98,254,.1))}.c4p--tearsheet__next__main-content{position:relative}.c4p--tearsheet__next__main-content.c4p--tearsheet__next__flush{padding-inline:0}.c4p--tearsheet__next__main-content.c4p--tearsheet__next__main-content--no-summary{grid-column:1/-1}.c4p--tearsheet__next__main-content.c4p--tearsheet__next__main-content--has-ai-label{background:linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)) 0,var(--cds-ai-aura-start,rgba(69,137,255,.1)) 0,15%,var(--cds-ai-aura-end,hsla(0,0%,100%,0)) 50%) padding-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,rgba(166,200,255,.64)),var(--cds-ai-border-end,#78a9ff)) border-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) border-box;box-shadow:inset 0 -80px 70px -65px var(--cds-ai-inner-shadow,rgba(69,137,255,.1))}:host ::slotted([slot=summary-content][is-flush]){padding-inline:0}@media screen and (prefers-reduced-motion:reduce){:host(c4p-preview-tearsheet) ::part(dialog){align-self:flex-end;block-size:100%;border:1px solid var(--cds-border-subtle-01,#c6c6c6);inset-block-start:auto;max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem));transform:translate3d(0,min(95vh,500px),0);transition:none}}:host(c4p-preview-tearsheet) ::part(dialog){align-self:flex-end;block-size:100%;border:1px solid var(--cds-border-subtle-01,#c6c6c6);inset-block-start:auto;max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem));transform:translate3d(0,min(95vh,500px),0);transition:transform .24s cubic-bezier(0,0,.3,1),max-block-size .24s cubic-bezier(0,0,.3,1)}:host(c4p-preview-tearsheet) ::slotted([slot=influencer][is-flush]){padding-inline:0}:host(c4p-preview-tearsheet[open]) ::part(dialog){transform:translateZ(0);transition:transform .24s cubic-bezier(0,0,.3,1)}@media (prefers-reduced-motion:reduce){:host(c4p-preview-tearsheet[open]) ::part(dialog){transition:none}}@media (max-width:41.98rem){:host(:not(.c4p--tearsheet__next--stack-activated.is-visible)) ::part(dialog){max-block-size:none}}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible){--overlay-color:var(--cds-overlay,rgba(0,0,0,.6));--overlay-alpha:0.5;z-index:calc(9000 - var(--stack-depth, 0))}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible):before{background:var(--overlay-color);content:\"\";display:block;inset:0;opacity:calc(var(--overlay-alpha) - var(--stack-depth)*.1);pointer-events:none;position:fixed;transition:background-color .24s cubic-bezier(.4,.14,1,1),opacity .24s cubic-bezier(.4,.14,1,1);z-index:-1}@media (prefers-reduced-motion:reduce){:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible):before{transition:none}}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible) cds-custom-modal{background-color:transparent}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible) ::part(dialog){max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem) + var(--block-size-change));transform:scaleX(var(--scale-factor))}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header{padding-inline:1rem}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header.c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions{display:none}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header-content-wrapper{display:flex;flex-direction:column}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header-title{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__content__header-actions{justify-content:flex-start;margin-inline-end:0}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__body,:host(c4p-preview-tearsheet[variant=narrow]):host(c4p-preview-tearsheet) ::slotted([slot=body]){grid-template-columns:1fr 0}:host(c4p-preview-tearsheet[variant=narrow]) ::slotted([slot=influencer]),:host(c4p-preview-tearsheet[variant=narrow]) ::slotted([slot=summary-content]){padding:0!important}@media (max-width:41.98rem){:host(c4p-preview-tearsheet) ::slotted([slot=influencer]),:host(c4p-preview-tearsheet) ::slotted([slot=summary-content]){padding:0!important}}:host-context(c4p-preview-tearsheet[variant=narrow]) ::slotted([slot=summary-content]){padding:0}:host ::slotted([slot=footer]){padding-block:0}:host-context(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header{padding-inline:1rem}:host-context(c4p-preview-tearsheet[variant=narrow][collapsed]) .c4p--tearsheet__next__header-actions{display:none}:host{position:relative}:host .c4p--tearsheet__next__header{align-content:space-between;border-block-end:1px solid var(--cds-border-subtle-01,#c6c6c6);display:flex;flex-wrap:wrap;margin-block:0;max-block-size:50vh;padding-block-end:0;padding-block-start:1.5rem;padding-inline:2rem}@media (max-width:41.98rem){:host .c4p--tearsheet__next__header{padding-inline:1rem}}:host ::slotted(:not([slot=header-content])){flex-basis:100%;margin-block-end:1.5rem}:host ::slotted([slot=header-content]){inline-size:calc(100% - var(--tearsheet-header-action-offset))}:host ::slotted([slot=header-content]),:host ::slotted([slot=navigation-bar]){margin-block-end:0}.c4p--tearsheet__next__header--no-close-icon{display:none}@media screen and (prefers-reduced-motion:reduce){:host ::slotted(*){max-block-size:50vh;opacity:1;overflow:hidden;transition:none}}:host ::slotted(*){max-block-size:50vh;opacity:1;overflow:hidden;transition:max-block-size .24s cubic-bezier(0,0,.3,1),opacity .24s cubic-bezier(0,0,.3,1),margin .24s cubic-bezier(0,0,.3,1),padding .24s cubic-bezier(0,0,.3,1)}:host ::slotted(.excludeFromCollapse),:host ::slotted([slot=header-content]),:host ::slotted([slot=navigation-bar]){max-block-size:none;opacity:1;overflow:visible;transition:none}:host([collapsed]) .c4p--tearsheet__next__header{padding-block-start:.75rem;transition:padding .24s cubic-bezier(0,0,.3,1)}:host([collapsed]) ::slotted(:not([slot=navigation-bar],[slot=header-content],.excludeFromCollapse,[slot=decorator])){display:none;margin:0;max-block-size:0;opacity:0;overflow:hidden;padding:0;pointer-events:none;transition:all .24s cubic-bezier(0,0,.3,1)}:host([collapsed]) ::slotted([slot=header-content]){min-block-size:2.5rem;padding-block-end:.75rem}:host([collapsed]) ::slotted([slot=navigation-bar]):before{background:rgba(0,0,0,.12);block-size:1px;content:\"\";inline-size:100vw;inset-block-start:-.25rem;inset-inline-start:50%;pointer-events:none;position:absolute;transform:translateX(-50%);z-index:1}"]);
11
+
12
+ export { styles as default };
13
+ //# sourceMappingURL=tearsheet-header.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tearsheet-header.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}