@carbon/ibmdotcom-web-components 1.37.0-rc.2 → 1.37.0-rc.3

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 (1299) hide show
  1. package/custom-elements.json +141 -115
  2. package/dist/{20-d59d1252.js → 20-2de9f146.js} +8 -1
  3. package/dist/{20-0dd18a2a.js → 20-3aa01aab.js} +8 -1
  4. package/dist/{20-b13a7263.js → 20-654642bf.js} +8 -1
  5. package/dist/{20-db62d123.js → 20-e1b84375.js} +8 -1
  6. package/dist/cloud-masthead.js +55 -24
  7. package/dist/cloud-masthead.min.js +10 -3
  8. package/dist/cloud-masthead.rtl.js +55 -24
  9. package/dist/cloud-masthead.rtl.min.js +10 -3
  10. package/dist/dotcom-shell.js +9 -2
  11. package/dist/dotcom-shell.min.js +8 -1
  12. package/dist/dotcom-shell.rtl.js +9 -2
  13. package/dist/dotcom-shell.rtl.min.js +8 -1
  14. package/dist/ibmdotcom-web-components-dotcom-shell.js +252 -170
  15. package/dist/ibmdotcom-web-components-dotcom-shell.min.js +27 -12
  16. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +252 -170
  17. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +27 -12
  18. package/dist/{left-nav-menu-e3475c54.js → left-nav-menu-0c606dc0.js} +8 -1
  19. package/dist/{left-nav-menu-9c991783.js → left-nav-menu-90492b23.js} +8 -1
  20. package/dist/{left-nav-menu-category-heading-f30c16b2.js → left-nav-menu-category-heading-3965c098.js} +8 -1
  21. package/dist/{left-nav-menu-category-heading-c408c797.js → left-nav-menu-category-heading-a1595fbe.js} +8 -1
  22. package/dist/{left-nav-menu-category-heading-c11a1c5a.js → left-nav-menu-category-heading-d4fb11a9.js} +8 -1
  23. package/dist/{left-nav-menu-category-heading-ea722d76.js → left-nav-menu-category-heading-decd4d83.js} +8 -1
  24. package/dist/{left-nav-menu-4d9029d3.js → left-nav-menu-ebbabdeb.js} +8 -1
  25. package/dist/{left-nav-menu-f949a3fc.js → left-nav-menu-fb76056e.js} +9 -2
  26. package/dist/left-nav-menu-item-0c324d91.js +78 -0
  27. package/dist/left-nav-menu-item-28c4baae.js +78 -0
  28. package/dist/{left-nav-menu-item-0c593619.js → left-nav-menu-item-b9ed3af7.js} +17 -1
  29. package/dist/{left-nav-menu-item-7a695a3a.js → left-nav-menu-item-d51991fb.js} +17 -1
  30. package/dist/{left-nav-menu-section-2b27f90c.js → left-nav-menu-section-104b952b.js} +9 -2
  31. package/dist/{left-nav-menu-section-9580fed9.js → left-nav-menu-section-35756914.js} +9 -2
  32. package/dist/{left-nav-menu-section-70361e96.js → left-nav-menu-section-7f96cd92.js} +8 -1
  33. package/dist/{left-nav-menu-section-723dabdb.js → left-nav-menu-section-ca7e49e9.js} +8 -1
  34. package/dist/{left-nav-overlay-23420664.js → left-nav-overlay-789e2c5b.js} +8 -1
  35. package/dist/{left-nav-overlay-4369f445.js → left-nav-overlay-84b5801a.js} +8 -1
  36. package/dist/{left-nav-overlay-213a2b93.js → left-nav-overlay-85a8a0da.js} +8 -1
  37. package/dist/{left-nav-overlay-39841e5b.js → left-nav-overlay-c549e901.js} +8 -1
  38. package/dist/{masthead-composite-306b9aa2.js → masthead-composite-0c8215ba.js} +25 -18
  39. package/dist/{masthead-composite-7be5e44a.js → masthead-composite-6e631d9f.js} +14 -7
  40. package/dist/{masthead-composite-549e469b.js → masthead-composite-728fb184.js} +335 -320
  41. package/dist/{masthead-composite-dfe1f02c.js → masthead-composite-e2535116.js} +335 -320
  42. package/dist/{megamenu-category-group-04d4c7b5.js → megamenu-category-group-18797750.js} +8 -1
  43. package/dist/{megamenu-category-group-72763c53.js → megamenu-category-group-6e7f9786.js} +8 -1
  44. package/dist/{megamenu-category-group-d91eb27d.js → megamenu-category-group-8a288ad7.js} +8 -1
  45. package/dist/{megamenu-category-group-ec20f1c0.js → megamenu-category-group-9778e30d.js} +8 -1
  46. package/dist/{megamenu-category-group-copy-b2e1f3b8.js → megamenu-category-group-copy-37aede70.js} +8 -1
  47. package/dist/{megamenu-category-group-copy-1734a927.js → megamenu-category-group-copy-70515553.js} +8 -1
  48. package/dist/{megamenu-category-group-copy-b388d655.js → megamenu-category-group-copy-7cc21eda.js} +8 -1
  49. package/dist/{megamenu-category-group-copy-f1dc57da.js → megamenu-category-group-copy-850e36c3.js} +8 -1
  50. package/dist/{megamenu-category-link-baa8ed55.js → megamenu-category-link-2161aebd.js} +8 -1
  51. package/dist/{megamenu-category-link-f7b52727.js → megamenu-category-link-46980387.js} +8 -1
  52. package/dist/{megamenu-category-link-43f181fe.js → megamenu-category-link-6eb6cb7d.js} +8 -1
  53. package/dist/{megamenu-category-link-7cdcb4db.js → megamenu-category-link-cb061552.js} +8 -1
  54. package/dist/{megamenu-left-navigation-024c2f3d.js → megamenu-left-navigation-21c9dd45.js} +8 -1
  55. package/dist/{megamenu-left-navigation-02cf4776.js → megamenu-left-navigation-7decd28c.js} +8 -1
  56. package/dist/{megamenu-left-navigation-c5935038.js → megamenu-left-navigation-86f2cf88.js} +8 -1
  57. package/dist/{megamenu-left-navigation-47ca8cc9.js → megamenu-left-navigation-d3e95498.js} +8 -1
  58. package/dist/{megamenu-overlay-02fda241.js → megamenu-overlay-01a8f76f.js} +8 -1
  59. package/dist/{megamenu-overlay-915d9eae.js → megamenu-overlay-1de034cf.js} +8 -1
  60. package/dist/{megamenu-overlay-2065230d.js → megamenu-overlay-96dbeb3f.js} +8 -1
  61. package/dist/{megamenu-overlay-f9f8e94a.js → megamenu-overlay-caa12c62.js} +8 -1
  62. package/es/component-mixins/callout/callout.js +1 -2
  63. package/es/component-mixins/callout/callout.js.map +1 -1
  64. package/es/component-mixins/cta/cta.js +4 -8
  65. package/es/component-mixins/cta/cta.js.map +1 -1
  66. package/es/component-mixins/cta/video.js +2 -4
  67. package/es/component-mixins/cta/video.js.map +1 -1
  68. package/es/component-mixins/media-query/media-query.js +1 -4
  69. package/es/component-mixins/media-query/media-query.js.map +1 -1
  70. package/es/component-mixins/parent-visibility/parent-visibility.js +3 -4
  71. package/es/component-mixins/parent-visibility/parent-visibility.js.map +1 -1
  72. package/es/components/back-to-top/__stories__/data/content.js +2 -4
  73. package/es/components/back-to-top/__stories__/data/content.js.map +1 -1
  74. package/es/components/back-to-top/back-to-top.js +1 -2
  75. package/es/components/back-to-top/back-to-top.js.map +1 -1
  76. package/es/components/background-media/background-media.js +4 -5
  77. package/es/components/background-media/background-media.js.map +1 -1
  78. package/es/components/background-media/defs.js +0 -2
  79. package/es/components/background-media/defs.js.map +1 -1
  80. package/es/components/button/button.js +1 -2
  81. package/es/components/button/button.js.map +1 -1
  82. package/es/components/button/defs.js +0 -3
  83. package/es/components/button/defs.js.map +1 -1
  84. package/es/components/button-group/button-group-item.js +1 -2
  85. package/es/components/button-group/button-group-item.js.map +1 -1
  86. package/es/components/button-group/button-group.js +1 -2
  87. package/es/components/button-group/button-group.js.map +1 -1
  88. package/es/components/callout-quote/callout-link-with-icon.js +1 -2
  89. package/es/components/callout-quote/callout-link-with-icon.js.map +1 -1
  90. package/es/components/callout-quote/callout-quote.js +1 -2
  91. package/es/components/callout-quote/callout-quote.js.map +1 -1
  92. package/es/components/callout-with-media/callout-with-media-copy.js +1 -2
  93. package/es/components/callout-with-media/callout-with-media-copy.js.map +1 -1
  94. package/es/components/callout-with-media/callout-with-media-image.js +1 -2
  95. package/es/components/callout-with-media/callout-with-media-image.js.map +1 -1
  96. package/es/components/callout-with-media/callout-with-media-video.js +1 -2
  97. package/es/components/callout-with-media/callout-with-media-video.js.map +1 -1
  98. package/es/components/callout-with-media/callout-with-media.js +1 -2
  99. package/es/components/callout-with-media/callout-with-media.js.map +1 -1
  100. package/es/components/card/card-eyebrow.js +1 -2
  101. package/es/components/card/card-eyebrow.js.map +1 -1
  102. package/es/components/card/card-footer.js +7 -8
  103. package/es/components/card/card-footer.js.map +1 -1
  104. package/es/components/card/card-heading.js +1 -2
  105. package/es/components/card/card-heading.js.map +1 -1
  106. package/es/components/card/card.js +2 -3
  107. package/es/components/card/card.js.map +1 -1
  108. package/es/components/card/defs.js +1 -3
  109. package/es/components/card/defs.js.map +1 -1
  110. package/es/components/card/image-logo.js +1 -2
  111. package/es/components/card/image-logo.js.map +1 -1
  112. package/es/components/card-group/card-group-card-link-item.js +1 -2
  113. package/es/components/card-group/card-group-card-link-item.js.map +1 -1
  114. package/es/components/card-group/card-group-item.js +1 -2
  115. package/es/components/card-group/card-group-item.js.map +1 -1
  116. package/es/components/card-group/card-group.js +3 -4
  117. package/es/components/card-group/card-group.js.map +1 -1
  118. package/es/components/card-group/defs.js +0 -1
  119. package/es/components/card-group/defs.js.map +1 -1
  120. package/es/components/card-in-card/card-in-card-image.js +1 -2
  121. package/es/components/card-in-card/card-in-card-image.js.map +1 -1
  122. package/es/components/card-in-card/card-in-card.js +6 -9
  123. package/es/components/card-in-card/card-in-card.js.map +1 -1
  124. package/es/components/card-link/card-link-heading.js +1 -2
  125. package/es/components/card-link/card-link-heading.js.map +1 -1
  126. package/es/components/card-link/card-link.js +1 -2
  127. package/es/components/card-link/card-link.js.map +1 -1
  128. package/es/components/card-section-carousel/card-section-carousel.js +1 -2
  129. package/es/components/card-section-carousel/card-section-carousel.js.map +1 -1
  130. package/es/components/card-section-images/card-section-images.js +1 -2
  131. package/es/components/card-section-images/card-section-images.js.map +1 -1
  132. package/es/components/card-section-offset/card-section-offset.js +1 -2
  133. package/es/components/card-section-offset/card-section-offset.js.map +1 -1
  134. package/es/components/card-section-simple/card-section-simple.js +1 -2
  135. package/es/components/card-section-simple/card-section-simple.js.map +1 -1
  136. package/es/components/carousel/carousel.js +6 -7
  137. package/es/components/carousel/carousel.js.map +1 -1
  138. package/es/components/content-block/content-block-complementary.js +1 -2
  139. package/es/components/content-block/content-block-complementary.js.map +1 -1
  140. package/es/components/content-block/content-block-copy.js +1 -2
  141. package/es/components/content-block/content-block-copy.js.map +1 -1
  142. package/es/components/content-block/content-block-heading.js +1 -2
  143. package/es/components/content-block/content-block-heading.js.map +1 -1
  144. package/es/components/content-block/content-block-paragraph.js +1 -2
  145. package/es/components/content-block/content-block-paragraph.js.map +1 -1
  146. package/es/components/content-block/content-block.js +1 -2
  147. package/es/components/content-block/content-block.js.map +1 -1
  148. package/es/components/content-block/defs.js +0 -2
  149. package/es/components/content-block/defs.js.map +1 -1
  150. package/es/components/content-block-card-static/content-block-card-static.js +2 -3
  151. package/es/components/content-block-card-static/content-block-card-static.js.map +1 -1
  152. package/es/components/content-block-cards/content-block-cards.js +1 -2
  153. package/es/components/content-block-cards/content-block-cards.js.map +1 -1
  154. package/es/components/content-block-headlines/content-block-headlines-heading.js +1 -2
  155. package/es/components/content-block-headlines/content-block-headlines-heading.js.map +1 -1
  156. package/es/components/content-block-headlines/content-block-headlines-item.js +1 -2
  157. package/es/components/content-block-headlines/content-block-headlines-item.js.map +1 -1
  158. package/es/components/content-block-headlines/content-block-headlines.js +1 -2
  159. package/es/components/content-block-headlines/content-block-headlines.js.map +1 -1
  160. package/es/components/content-block-horizontal/content-block-horizontal.js +1 -2
  161. package/es/components/content-block-horizontal/content-block-horizontal.js.map +1 -1
  162. package/es/components/content-block-media/content-block-media-content.js +1 -2
  163. package/es/components/content-block-media/content-block-media-content.js.map +1 -1
  164. package/es/components/content-block-media/content-block-media.js +1 -2
  165. package/es/components/content-block-media/content-block-media.js.map +1 -1
  166. package/es/components/content-block-mixed/content-block-mixed.js +1 -2
  167. package/es/components/content-block-mixed/content-block-mixed.js.map +1 -1
  168. package/es/components/content-block-segmented/content-block-segmented-item.js +1 -2
  169. package/es/components/content-block-segmented/content-block-segmented-item.js.map +1 -1
  170. package/es/components/content-block-segmented/content-block-segmented.js +3 -4
  171. package/es/components/content-block-segmented/content-block-segmented.js.map +1 -1
  172. package/es/components/content-block-simple/content-block-simple.css.js +1 -1
  173. package/es/components/content-block-simple/content-block-simple.js +1 -2
  174. package/es/components/content-block-simple/content-block-simple.js.map +1 -1
  175. package/es/components/content-block-simple/content-block-simple.rtl.css.js +1 -1
  176. package/es/components/content-group/content-group-copy.js +1 -2
  177. package/es/components/content-group/content-group-copy.js.map +1 -1
  178. package/es/components/content-group/content-group-heading.js +1 -2
  179. package/es/components/content-group/content-group-heading.js.map +1 -1
  180. package/es/components/content-group/content-group-paragraph.js +1 -2
  181. package/es/components/content-group/content-group-paragraph.js.map +1 -1
  182. package/es/components/content-group/content-group.js +1 -2
  183. package/es/components/content-group/content-group.js.map +1 -1
  184. package/es/components/content-group-banner/content-group-banner.js +1 -2
  185. package/es/components/content-group-banner/content-group-banner.js.map +1 -1
  186. package/es/components/content-group-cards/content-group-cards-item.js +1 -2
  187. package/es/components/content-group-cards/content-group-cards-item.js.map +1 -1
  188. package/es/components/content-group-cards/content-group-cards.js +1 -2
  189. package/es/components/content-group-cards/content-group-cards.js.map +1 -1
  190. package/es/components/content-group-horizontal/content-group-horizontal.js +1 -2
  191. package/es/components/content-group-horizontal/content-group-horizontal.js.map +1 -1
  192. package/es/components/content-group-pictograms/content-group-pictograms.js +1 -2
  193. package/es/components/content-group-pictograms/content-group-pictograms.js.map +1 -1
  194. package/es/components/content-group-simple/content-group-simple.js +1 -2
  195. package/es/components/content-group-simple/content-group-simple.js.map +1 -1
  196. package/es/components/content-group-simple/defs.js +0 -1
  197. package/es/components/content-group-simple/defs.js.map +1 -1
  198. package/es/components/content-item/content-item-copy.js +1 -2
  199. package/es/components/content-item/content-item-copy.js.map +1 -1
  200. package/es/components/content-item/content-item-heading.js +1 -2
  201. package/es/components/content-item/content-item-heading.js.map +1 -1
  202. package/es/components/content-item/content-item-paragraph.js +1 -2
  203. package/es/components/content-item/content-item-paragraph.js.map +1 -1
  204. package/es/components/content-item/content-item.js +1 -2
  205. package/es/components/content-item/content-item.js.map +1 -1
  206. package/es/components/content-item-horizontal/content-item-horizontal-copy.js +1 -2
  207. package/es/components/content-item-horizontal/content-item-horizontal-copy.js.map +1 -1
  208. package/es/components/content-item-horizontal/content-item-horizontal-eyebrow.js +1 -2
  209. package/es/components/content-item-horizontal/content-item-horizontal-eyebrow.js.map +1 -1
  210. package/es/components/content-item-horizontal/content-item-horizontal-media-copy.js +1 -2
  211. package/es/components/content-item-horizontal/content-item-horizontal-media-copy.js.map +1 -1
  212. package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js +1 -2
  213. package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js.map +1 -1
  214. package/es/components/content-item-horizontal/content-item-horizontal-media-video.js +1 -2
  215. package/es/components/content-item-horizontal/content-item-horizontal-media-video.js.map +1 -1
  216. package/es/components/content-item-horizontal/content-item-horizontal-media.js +1 -2
  217. package/es/components/content-item-horizontal/content-item-horizontal-media.js.map +1 -1
  218. package/es/components/content-item-horizontal/content-item-horizontal-thumbnail-copy.js +1 -2
  219. package/es/components/content-item-horizontal/content-item-horizontal-thumbnail-copy.js.map +1 -1
  220. package/es/components/content-item-horizontal/content-item-horizontal.js +1 -2
  221. package/es/components/content-item-horizontal/content-item-horizontal.js.map +1 -1
  222. package/es/components/content-item-horizontal/defs.js +0 -2
  223. package/es/components/content-item-horizontal/defs.js.map +1 -1
  224. package/es/components/content-section/content-section-copy.js +2 -3
  225. package/es/components/content-section/content-section-copy.js.map +1 -1
  226. package/es/components/content-section/content-section-heading.js +1 -2
  227. package/es/components/content-section/content-section-heading.js.map +1 -1
  228. package/es/components/content-section/content-section.js +1 -2
  229. package/es/components/content-section/content-section.js.map +1 -1
  230. package/es/components/cta/button-cta.js +1 -2
  231. package/es/components/cta/button-cta.js.map +1 -1
  232. package/es/components/cta/card-cta-footer.js +1 -2
  233. package/es/components/cta/card-cta-footer.js.map +1 -1
  234. package/es/components/cta/card-cta-image.js +1 -2
  235. package/es/components/cta/card-cta-image.js.map +1 -1
  236. package/es/components/cta/card-cta.js +1 -2
  237. package/es/components/cta/card-cta.js.map +1 -1
  238. package/es/components/cta/card-link-cta.js +1 -2
  239. package/es/components/cta/card-link-cta.js.map +1 -1
  240. package/es/components/cta/cta.js +5 -6
  241. package/es/components/cta/cta.js.map +1 -1
  242. package/es/components/cta/defs.js +0 -2
  243. package/es/components/cta/defs.js.map +1 -1
  244. package/es/components/cta/feature-cta-footer.js +1 -2
  245. package/es/components/cta/feature-cta-footer.js.map +1 -1
  246. package/es/components/cta/feature-cta.js +1 -2
  247. package/es/components/cta/feature-cta.js.map +1 -1
  248. package/es/components/cta/link-list-item-card-cta.js +1 -2
  249. package/es/components/cta/link-list-item-card-cta.js.map +1 -1
  250. package/es/components/cta/link-list-item-cta.js +1 -2
  251. package/es/components/cta/link-list-item-cta.js.map +1 -1
  252. package/es/components/cta/text-cta.js +1 -2
  253. package/es/components/cta/text-cta.js.map +1 -1
  254. package/es/components/cta/video-cta-composite.d.ts +1 -0
  255. package/es/components/cta/video-cta-composite.d.ts.map +1 -1
  256. package/es/components/cta/video-cta-composite.js +2 -3
  257. package/es/components/cta/video-cta-composite.js.map +1 -1
  258. package/es/components/cta/video-cta-container.js +1 -2
  259. package/es/components/cta/video-cta-container.js.map +1 -1
  260. package/es/components/cta-block/cta-block-item-row.js +1 -2
  261. package/es/components/cta-block/cta-block-item-row.js.map +1 -1
  262. package/es/components/cta-block/cta-block-item.js +1 -2
  263. package/es/components/cta-block/cta-block-item.js.map +1 -1
  264. package/es/components/cta-block/cta-block.js +2 -3
  265. package/es/components/cta-block/cta-block.js.map +1 -1
  266. package/es/components/cta-section/cta-section.js +1 -2
  267. package/es/components/cta-section/cta-section.js.map +1 -1
  268. package/es/components/dotcom-shell/__stories__/data/content.js +12 -24
  269. package/es/components/dotcom-shell/__stories__/data/content.js.map +1 -1
  270. package/es/components/dotcom-shell/dotcom-shell-composite.d.ts +0 -4
  271. package/es/components/dotcom-shell/dotcom-shell-composite.d.ts.map +1 -1
  272. package/es/components/dotcom-shell/dotcom-shell-composite.js +5 -21
  273. package/es/components/dotcom-shell/dotcom-shell-composite.js.map +1 -1
  274. package/es/components/dotcom-shell/dotcom-shell-container.js +17 -18
  275. package/es/components/dotcom-shell/dotcom-shell-container.js.map +1 -1
  276. package/es/components/dotcom-shell/dotcom-shell.js +1 -2
  277. package/es/components/dotcom-shell/dotcom-shell.js.map +1 -1
  278. package/es/components/expressive-modal/defs.js +0 -2
  279. package/es/components/expressive-modal/defs.js.map +1 -1
  280. package/es/components/expressive-modal/expressive-modal-body.js +1 -2
  281. package/es/components/expressive-modal/expressive-modal-body.js.map +1 -1
  282. package/es/components/expressive-modal/expressive-modal-close-button.js +1 -2
  283. package/es/components/expressive-modal/expressive-modal-close-button.js.map +1 -1
  284. package/es/components/expressive-modal/expressive-modal-footer.js +1 -2
  285. package/es/components/expressive-modal/expressive-modal-footer.js.map +1 -1
  286. package/es/components/expressive-modal/expressive-modal-header.js +1 -2
  287. package/es/components/expressive-modal/expressive-modal-header.js.map +1 -1
  288. package/es/components/expressive-modal/expressive-modal-heading.js +1 -2
  289. package/es/components/expressive-modal/expressive-modal-heading.js.map +1 -1
  290. package/es/components/expressive-modal/expressive-modal.d.ts.map +1 -1
  291. package/es/components/expressive-modal/expressive-modal.js +7 -8
  292. package/es/components/expressive-modal/expressive-modal.js.map +1 -1
  293. package/es/components/feature-card/feature-card-footer.js +1 -2
  294. package/es/components/feature-card/feature-card-footer.js.map +1 -1
  295. package/es/components/feature-card/feature-card.js +1 -2
  296. package/es/components/feature-card/feature-card.js.map +1 -1
  297. package/es/components/feature-card-block-large/feature-card-block-large-footer.js +1 -2
  298. package/es/components/feature-card-block-large/feature-card-block-large-footer.js.map +1 -1
  299. package/es/components/feature-card-block-large/feature-card-block-large.js +1 -2
  300. package/es/components/feature-card-block-large/feature-card-block-large.js.map +1 -1
  301. package/es/components/feature-card-block-medium/feature-card-block-medium-block-heading.js +1 -2
  302. package/es/components/feature-card-block-medium/feature-card-block-medium-block-heading.js.map +1 -1
  303. package/es/components/feature-card-block-medium/feature-card-block-medium.js +1 -2
  304. package/es/components/feature-card-block-medium/feature-card-block-medium.js.map +1 -1
  305. package/es/components/feature-section/defs.js +0 -1
  306. package/es/components/feature-section/defs.js.map +1 -1
  307. package/es/components/feature-section/feature-section-card-link.js +1 -2
  308. package/es/components/feature-section/feature-section-card-link.js.map +1 -1
  309. package/es/components/feature-section/feature-section.js +1 -2
  310. package/es/components/feature-section/feature-section.js.map +1 -1
  311. package/es/components/filter-panel/filter-group-item.js +1 -2
  312. package/es/components/filter-panel/filter-group-item.js.map +1 -1
  313. package/es/components/filter-panel/filter-group.js +1 -2
  314. package/es/components/filter-panel/filter-group.js.map +1 -1
  315. package/es/components/filter-panel/filter-modal-button.js +1 -2
  316. package/es/components/filter-panel/filter-modal-button.js.map +1 -1
  317. package/es/components/filter-panel/filter-modal-footer.js +1 -2
  318. package/es/components/filter-panel/filter-modal-footer.js.map +1 -1
  319. package/es/components/filter-panel/filter-modal-heading.js +1 -2
  320. package/es/components/filter-panel/filter-modal-heading.js.map +1 -1
  321. package/es/components/filter-panel/filter-panel-checkbox.js +1 -2
  322. package/es/components/filter-panel/filter-panel-checkbox.js.map +1 -1
  323. package/es/components/filter-panel/filter-panel-composite.d.ts +366 -35
  324. package/es/components/filter-panel/filter-panel-composite.d.ts.map +1 -1
  325. package/es/components/filter-panel/filter-panel-composite.js +99 -84
  326. package/es/components/filter-panel/filter-panel-composite.js.map +1 -1
  327. package/es/components/filter-panel/filter-panel-heading.js +1 -2
  328. package/es/components/filter-panel/filter-panel-heading.js.map +1 -1
  329. package/es/components/filter-panel/filter-panel-input-select-item.d.ts +4 -0
  330. package/es/components/filter-panel/filter-panel-input-select-item.d.ts.map +1 -1
  331. package/es/components/filter-panel/filter-panel-input-select-item.js +12 -2
  332. package/es/components/filter-panel/filter-panel-input-select-item.js.map +1 -1
  333. package/es/components/filter-panel/filter-panel-input-select.js +3 -4
  334. package/es/components/filter-panel/filter-panel-input-select.js.map +1 -1
  335. package/es/components/filter-panel/filter-panel-modal.js +1 -2
  336. package/es/components/filter-panel/filter-panel-modal.js.map +1 -1
  337. package/es/components/filter-panel/filter-panel.css.js +1 -1
  338. package/es/components/filter-panel/filter-panel.js +1 -2
  339. package/es/components/filter-panel/filter-panel.js.map +1 -1
  340. package/es/components/filter-panel/filter-panel.rtl.css.js +1 -1
  341. package/es/components/footer/combo-box.d.ts +2 -2
  342. package/es/components/footer/combo-box.d.ts.map +1 -1
  343. package/es/components/footer/combo-box.js +6 -6
  344. package/es/components/footer/combo-box.js.map +1 -1
  345. package/es/components/footer/defs.js +1 -7
  346. package/es/components/footer/defs.js.map +1 -1
  347. package/es/components/footer/dropdown.js +1 -2
  348. package/es/components/footer/dropdown.js.map +1 -1
  349. package/es/components/footer/footer-composite.d.ts +13 -17
  350. package/es/components/footer/footer-composite.d.ts.map +1 -1
  351. package/es/components/footer/footer-composite.js +79 -48
  352. package/es/components/footer/footer-composite.js.map +1 -1
  353. package/es/components/footer/footer-container.js +3 -4
  354. package/es/components/footer/footer-container.js.map +1 -1
  355. package/es/components/footer/footer-logo.js +1 -2
  356. package/es/components/footer/footer-logo.js.map +1 -1
  357. package/es/components/footer/footer-nav-group.js +3 -4
  358. package/es/components/footer/footer-nav-group.js.map +1 -1
  359. package/es/components/footer/footer-nav-item.js +1 -2
  360. package/es/components/footer/footer-nav-item.js.map +1 -1
  361. package/es/components/footer/footer-nav.js +1 -2
  362. package/es/components/footer/footer-nav.js.map +1 -1
  363. package/es/components/footer/footer.js +1 -2
  364. package/es/components/footer/footer.js.map +1 -1
  365. package/es/components/footer/language-selector-desktop.d.ts +367 -0
  366. package/es/components/footer/language-selector-desktop.d.ts.map +1 -1
  367. package/es/components/footer/language-selector-desktop.js +2 -5
  368. package/es/components/footer/language-selector-desktop.js.map +1 -1
  369. package/es/components/footer/language-selector-mobile.d.ts +14 -0
  370. package/es/components/footer/language-selector-mobile.d.ts.map +1 -1
  371. package/es/components/footer/language-selector-mobile.js +1 -3
  372. package/es/components/footer/language-selector-mobile.js.map +1 -1
  373. package/es/components/footer/legal-nav-cookie-preferences-placeholder.js +1 -2
  374. package/es/components/footer/legal-nav-cookie-preferences-placeholder.js.map +1 -1
  375. package/es/components/footer/legal-nav-item.js +1 -2
  376. package/es/components/footer/legal-nav-item.js.map +1 -1
  377. package/es/components/footer/legal-nav.js +1 -2
  378. package/es/components/footer/legal-nav.js.map +1 -1
  379. package/es/components/footer/locale-button.js +1 -2
  380. package/es/components/footer/locale-button.js.map +1 -1
  381. package/es/components/horizontal-rule/defs.js +0 -4
  382. package/es/components/horizontal-rule/defs.js.map +1 -1
  383. package/es/components/horizontal-rule/horizontal-rule.js +1 -2
  384. package/es/components/horizontal-rule/horizontal-rule.js.map +1 -1
  385. package/es/components/image/image-item.js +1 -2
  386. package/es/components/image/image-item.js.map +1 -1
  387. package/es/components/image/image.d.ts +2 -3
  388. package/es/components/image/image.d.ts.map +1 -1
  389. package/es/components/image/image.js +1 -2
  390. package/es/components/image/image.js.map +1 -1
  391. package/es/components/image-with-caption/image-with-caption.js +1 -2
  392. package/es/components/image-with-caption/image-with-caption.js.map +1 -1
  393. package/es/components/leadspace/breadcrumb-item.js +1 -2
  394. package/es/components/leadspace/breadcrumb-item.js.map +1 -1
  395. package/es/components/leadspace/breadcrumb-link.js +1 -2
  396. package/es/components/leadspace/breadcrumb-link.js.map +1 -1
  397. package/es/components/leadspace/breadcrumb.js +1 -2
  398. package/es/components/leadspace/breadcrumb.js.map +1 -1
  399. package/es/components/leadspace/defs.js +0 -3
  400. package/es/components/leadspace/defs.js.map +1 -1
  401. package/es/components/leadspace/leadspace-heading.js +1 -2
  402. package/es/components/leadspace/leadspace-heading.js.map +1 -1
  403. package/es/components/leadspace/leadspace-image.js +1 -2
  404. package/es/components/leadspace/leadspace-image.js.map +1 -1
  405. package/es/components/leadspace/leadspace.js +1 -2
  406. package/es/components/leadspace/leadspace.js.map +1 -1
  407. package/es/components/leadspace-block/leadspace-block-content.js +1 -2
  408. package/es/components/leadspace-block/leadspace-block-content.js.map +1 -1
  409. package/es/components/leadspace-block/leadspace-block-cta.js +1 -2
  410. package/es/components/leadspace-block/leadspace-block-cta.js.map +1 -1
  411. package/es/components/leadspace-block/leadspace-block-heading.js +1 -2
  412. package/es/components/leadspace-block/leadspace-block-heading.js.map +1 -1
  413. package/es/components/leadspace-block/leadspace-block-media.js +1 -2
  414. package/es/components/leadspace-block/leadspace-block-media.js.map +1 -1
  415. package/es/components/leadspace-block/leadspace-block.js +1 -2
  416. package/es/components/leadspace-block/leadspace-block.js.map +1 -1
  417. package/es/components/leadspace-with-search/defs.js +0 -1
  418. package/es/components/leadspace-with-search/defs.js.map +1 -1
  419. package/es/components/leadspace-with-search/leadspace-with-search-content-copy.js +1 -2
  420. package/es/components/leadspace-with-search/leadspace-with-search-content-copy.js.map +1 -1
  421. package/es/components/leadspace-with-search/leadspace-with-search-content-heading.js +1 -2
  422. package/es/components/leadspace-with-search/leadspace-with-search-content-heading.js.map +1 -1
  423. package/es/components/leadspace-with-search/leadspace-with-search-content.js +1 -2
  424. package/es/components/leadspace-with-search/leadspace-with-search-content.js.map +1 -1
  425. package/es/components/leadspace-with-search/leadspace-with-search-heading.js +1 -2
  426. package/es/components/leadspace-with-search/leadspace-with-search-heading.js.map +1 -1
  427. package/es/components/leadspace-with-search/leadspace-with-search.js +1 -2
  428. package/es/components/leadspace-with-search/leadspace-with-search.js.map +1 -1
  429. package/es/components/leaving-ibm/leaving-ibm-composite.d.ts +1 -0
  430. package/es/components/leaving-ibm/leaving-ibm-composite.d.ts.map +1 -1
  431. package/es/components/leaving-ibm/leaving-ibm-composite.js +4 -5
  432. package/es/components/leaving-ibm/leaving-ibm-composite.js.map +1 -1
  433. package/es/components/leaving-ibm/leaving-ibm-connect.js +3 -3
  434. package/es/components/leaving-ibm/leaving-ibm-connect.js.map +1 -1
  435. package/es/components/leaving-ibm/leaving-ibm-container.js +1 -2
  436. package/es/components/leaving-ibm/leaving-ibm-container.js.map +1 -1
  437. package/es/components/leaving-ibm/leaving-ibm-modal-body.js +1 -2
  438. package/es/components/leaving-ibm/leaving-ibm-modal-body.js.map +1 -1
  439. package/es/components/leaving-ibm/leaving-ibm-modal-heading.js +1 -2
  440. package/es/components/leaving-ibm/leaving-ibm-modal-heading.js.map +1 -1
  441. package/es/components/leaving-ibm/leaving-ibm-modal-supplemental.js +1 -2
  442. package/es/components/leaving-ibm/leaving-ibm-modal-supplemental.js.map +1 -1
  443. package/es/components/leaving-ibm/leaving-ibm-modal.js +3 -4
  444. package/es/components/leaving-ibm/leaving-ibm-modal.js.map +1 -1
  445. package/es/components/lightbox-media-viewer/lightbox-image-viewer.js +1 -2
  446. package/es/components/lightbox-media-viewer/lightbox-image-viewer.js.map +1 -1
  447. package/es/components/lightbox-media-viewer/lightbox-media-viewer-body.js +1 -2
  448. package/es/components/lightbox-media-viewer/lightbox-media-viewer-body.js.map +1 -1
  449. package/es/components/lightbox-media-viewer/lightbox-media-viewer.js +1 -2
  450. package/es/components/lightbox-media-viewer/lightbox-media-viewer.js.map +1 -1
  451. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.d.ts +1 -0
  452. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.d.ts.map +1 -1
  453. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.js +8 -9
  454. package/es/components/lightbox-media-viewer/lightbox-video-player-composite.js.map +1 -1
  455. package/es/components/lightbox-media-viewer/lightbox-video-player-container.js +1 -2
  456. package/es/components/lightbox-media-viewer/lightbox-video-player-container.js.map +1 -1
  457. package/es/components/lightbox-media-viewer/lightbox-video-player.js +1 -2
  458. package/es/components/lightbox-media-viewer/lightbox-video-player.js.map +1 -1
  459. package/es/components/link-list/defs.js +0 -2
  460. package/es/components/link-list/defs.js.map +1 -1
  461. package/es/components/link-list/link-list-heading.js +1 -2
  462. package/es/components/link-list/link-list-heading.js.map +1 -1
  463. package/es/components/link-list/link-list-item-card.js +1 -2
  464. package/es/components/link-list/link-list-item-card.js.map +1 -1
  465. package/es/components/link-list/link-list-item.js +1 -2
  466. package/es/components/link-list/link-list-item.js.map +1 -1
  467. package/es/components/link-list/link-list.js +1 -3
  468. package/es/components/link-list/link-list.js.map +1 -1
  469. package/es/components/link-list-section/link-list-section.js +1 -2
  470. package/es/components/link-list-section/link-list-section.js.map +1 -1
  471. package/es/components/link-with-icon/link-with-icon.js +3 -4
  472. package/es/components/link-with-icon/link-with-icon.js.map +1 -1
  473. package/es/components/locale-modal/locale-item.js +1 -2
  474. package/es/components/locale-modal/locale-item.js.map +1 -1
  475. package/es/components/locale-modal/locale-modal-composite.d.ts +337 -17
  476. package/es/components/locale-modal/locale-modal-composite.d.ts.map +1 -1
  477. package/es/components/locale-modal/locale-modal-composite.js +50 -28
  478. package/es/components/locale-modal/locale-modal-composite.js.map +1 -1
  479. package/es/components/locale-modal/locale-modal-container.js +1 -2
  480. package/es/components/locale-modal/locale-modal-container.js.map +1 -1
  481. package/es/components/locale-modal/locale-modal.d.ts +13 -1
  482. package/es/components/locale-modal/locale-modal.d.ts.map +1 -1
  483. package/es/components/locale-modal/locale-modal.js +102 -28
  484. package/es/components/locale-modal/locale-modal.js.map +1 -1
  485. package/es/components/locale-modal/locale-search.d.ts +3 -0
  486. package/es/components/locale-modal/locale-search.d.ts.map +1 -1
  487. package/es/components/locale-modal/locale-search.js +2 -5
  488. package/es/components/locale-modal/locale-search.js.map +1 -1
  489. package/es/components/locale-modal/region-item.js +1 -2
  490. package/es/components/locale-modal/region-item.js.map +1 -1
  491. package/es/components/locale-modal/regions.js +1 -2
  492. package/es/components/locale-modal/regions.js.map +1 -1
  493. package/es/components/logo-grid/logo-grid-item.js +1 -2
  494. package/es/components/logo-grid/logo-grid-item.js.map +1 -1
  495. package/es/components/logo-grid/logo-grid-link.js +1 -2
  496. package/es/components/logo-grid/logo-grid-link.js.map +1 -1
  497. package/es/components/logo-grid/logo-grid.js +1 -2
  498. package/es/components/logo-grid/logo-grid.js.map +1 -1
  499. package/es/components/markdown/markdown.js +1 -2
  500. package/es/components/markdown/markdown.js.map +1 -1
  501. package/es/components/masthead/cloud/cloud-button-cta.js +1 -2
  502. package/es/components/masthead/cloud/cloud-button-cta.js.map +1 -1
  503. package/es/components/masthead/cloud/cloud-left-nav-item.js +1 -2
  504. package/es/components/masthead/cloud/cloud-left-nav-item.js.map +1 -1
  505. package/es/components/masthead/cloud/cloud-masthead-composite.js +11 -12
  506. package/es/components/masthead/cloud/cloud-masthead-composite.js.map +1 -1
  507. package/es/components/masthead/cloud/cloud-masthead-container.js +9 -10
  508. package/es/components/masthead/cloud/cloud-masthead-container.js.map +1 -1
  509. package/es/components/masthead/cloud/cloud-masthead-global-bar.js +1 -2
  510. package/es/components/masthead/cloud/cloud-masthead-global-bar.js.map +1 -1
  511. package/es/components/masthead/cloud/cloud-masthead-profile.js +1 -2
  512. package/es/components/masthead/cloud/cloud-masthead-profile.js.map +1 -1
  513. package/es/components/masthead/cloud/cloud-masthead.css.js +1 -1
  514. package/es/components/masthead/cloud/cloud-masthead.rtl.css.js +1 -1
  515. package/es/components/masthead/cloud/cloud-megamenu-category-heading.js +1 -2
  516. package/es/components/masthead/cloud/cloud-megamenu-category-heading.js.map +1 -1
  517. package/es/components/masthead/cloud/cloud-megamenu-category-link-group.js +1 -2
  518. package/es/components/masthead/cloud/cloud-megamenu-category-link-group.js.map +1 -1
  519. package/es/components/masthead/cloud/cloud-megamenu-category-link.js +1 -2
  520. package/es/components/masthead/cloud/cloud-megamenu-category-link.js.map +1 -1
  521. package/es/components/masthead/cloud/cloud-megamenu-left-navigation.js +1 -2
  522. package/es/components/masthead/cloud/cloud-megamenu-left-navigation.js.map +1 -1
  523. package/es/components/masthead/cloud/cloud-megamenu-right-navigation.js +1 -2
  524. package/es/components/masthead/cloud/cloud-megamenu-right-navigation.js.map +1 -1
  525. package/es/components/masthead/cloud/cloud-megamenu-tab.js +1 -2
  526. package/es/components/masthead/cloud/cloud-megamenu-tab.js.map +1 -1
  527. package/es/components/masthead/cloud/cloud-megamenu-tabs.js +1 -2
  528. package/es/components/masthead/cloud/cloud-megamenu-tabs.js.map +1 -1
  529. package/es/components/masthead/cloud/cloud-megamenu.js +1 -2
  530. package/es/components/masthead/cloud/cloud-megamenu.js.map +1 -1
  531. package/es/components/masthead/cloud/cloud-top-nav-name.js +1 -2
  532. package/es/components/masthead/cloud/cloud-top-nav-name.js.map +1 -1
  533. package/es/components/masthead/defs.js +0 -2
  534. package/es/components/masthead/defs.js.map +1 -1
  535. package/es/components/masthead/left-nav-item.js +1 -2
  536. package/es/components/masthead/left-nav-item.js.map +1 -1
  537. package/es/components/masthead/left-nav-menu-category-heading.js +1 -2
  538. package/es/components/masthead/left-nav-menu-category-heading.js.map +1 -1
  539. package/es/components/masthead/left-nav-menu-item.js +1 -2
  540. package/es/components/masthead/left-nav-menu-item.js.map +1 -1
  541. package/es/components/masthead/left-nav-menu-section.js +1 -2
  542. package/es/components/masthead/left-nav-menu-section.js.map +1 -1
  543. package/es/components/masthead/left-nav-menu.js +1 -2
  544. package/es/components/masthead/left-nav-menu.js.map +1 -1
  545. package/es/components/masthead/left-nav-name.js +1 -2
  546. package/es/components/masthead/left-nav-name.js.map +1 -1
  547. package/es/components/masthead/left-nav-overlay.js +1 -2
  548. package/es/components/masthead/left-nav-overlay.js.map +1 -1
  549. package/es/components/masthead/left-nav.js +7 -8
  550. package/es/components/masthead/left-nav.js.map +1 -1
  551. package/es/components/masthead/masthead-composite.js +22 -24
  552. package/es/components/masthead/masthead-composite.js.map +1 -1
  553. package/es/components/masthead/masthead-container.js +6 -7
  554. package/es/components/masthead/masthead-container.js.map +1 -1
  555. package/es/components/masthead/masthead-global-bar.js +1 -2
  556. package/es/components/masthead/masthead-global-bar.js.map +1 -1
  557. package/es/components/masthead/masthead-l1-name.js +1 -2
  558. package/es/components/masthead/masthead-l1-name.js.map +1 -1
  559. package/es/components/masthead/masthead-l1.js +1 -2
  560. package/es/components/masthead/masthead-l1.js.map +1 -1
  561. package/es/components/masthead/masthead-logo.js +1 -2
  562. package/es/components/masthead/masthead-logo.js.map +1 -1
  563. package/es/components/masthead/masthead-menu-button.js +1 -2
  564. package/es/components/masthead/masthead-menu-button.js.map +1 -1
  565. package/es/components/masthead/masthead-profile-item.js +2 -3
  566. package/es/components/masthead/masthead-profile-item.js.map +1 -1
  567. package/es/components/masthead/masthead-profile.js +1 -2
  568. package/es/components/masthead/masthead-profile.js.map +1 -1
  569. package/es/components/masthead/masthead.js +1 -2
  570. package/es/components/masthead/masthead.js.map +1 -1
  571. package/es/components/masthead/megamenu-category-group-copy.js +1 -2
  572. package/es/components/masthead/megamenu-category-group-copy.js.map +1 -1
  573. package/es/components/masthead/megamenu-category-group.js +1 -2
  574. package/es/components/masthead/megamenu-category-group.js.map +1 -1
  575. package/es/components/masthead/megamenu-category-link.js +1 -2
  576. package/es/components/masthead/megamenu-category-link.js.map +1 -1
  577. package/es/components/masthead/megamenu-left-navigation.js +1 -2
  578. package/es/components/masthead/megamenu-left-navigation.js.map +1 -1
  579. package/es/components/masthead/megamenu-link-with-icon.js +1 -2
  580. package/es/components/masthead/megamenu-link-with-icon.js.map +1 -1
  581. package/es/components/masthead/megamenu-overlay.js +1 -2
  582. package/es/components/masthead/megamenu-overlay.js.map +1 -1
  583. package/es/components/masthead/megamenu-right-navigation.js +1 -2
  584. package/es/components/masthead/megamenu-right-navigation.js.map +1 -1
  585. package/es/components/masthead/megamenu-top-nav-menu.js +3 -4
  586. package/es/components/masthead/megamenu-top-nav-menu.js.map +1 -1
  587. package/es/components/masthead/megamenu.js +1 -2
  588. package/es/components/masthead/megamenu.js.map +1 -1
  589. package/es/components/masthead/skip-to-content.js +1 -2
  590. package/es/components/masthead/skip-to-content.js.map +1 -1
  591. package/es/components/masthead/top-nav-item.js +2 -3
  592. package/es/components/masthead/top-nav-item.js.map +1 -1
  593. package/es/components/masthead/top-nav-l1.js +1 -2
  594. package/es/components/masthead/top-nav-l1.js.map +1 -1
  595. package/es/components/masthead/top-nav-menu-item.js +2 -3
  596. package/es/components/masthead/top-nav-menu-item.js.map +1 -1
  597. package/es/components/masthead/top-nav-menu.js +2 -3
  598. package/es/components/masthead/top-nav-menu.js.map +1 -1
  599. package/es/components/masthead/top-nav-name.js +1 -2
  600. package/es/components/masthead/top-nav-name.js.map +1 -1
  601. package/es/components/masthead/top-nav.d.ts.map +1 -1
  602. package/es/components/masthead/top-nav.js +2 -3
  603. package/es/components/masthead/top-nav.js.map +1 -1
  604. package/es/components/notice-choice/cc-lc-map.js +1 -2
  605. package/es/components/notice-choice/cc-lc-map.js.map +1 -1
  606. package/es/components/notice-choice/country-settings.js +1 -2
  607. package/es/components/notice-choice/country-settings.js.map +1 -1
  608. package/es/components/notice-choice/notice-choice.d.ts +5 -1
  609. package/es/components/notice-choice/notice-choice.d.ts.map +1 -1
  610. package/es/components/notice-choice/notice-choice.js +38 -10
  611. package/es/components/notice-choice/notice-choice.js.map +1 -1
  612. package/es/components/notice-choice/utils.d.ts +1 -0
  613. package/es/components/notice-choice/utils.d.ts.map +1 -1
  614. package/es/components/notice-choice/utils.js +10 -4
  615. package/es/components/notice-choice/utils.js.map +1 -1
  616. package/es/components/notice-choice/world-wide-content.js +1 -2
  617. package/es/components/notice-choice/world-wide-content.js.map +1 -1
  618. package/es/components/pictogram-item/defs.js +0 -1
  619. package/es/components/pictogram-item/defs.js.map +1 -1
  620. package/es/components/pictogram-item/pictogram-item.js +1 -2
  621. package/es/components/pictogram-item/pictogram-item.js.map +1 -1
  622. package/es/components/pricing-table/defs.js +0 -1
  623. package/es/components/pricing-table/defs.js.map +1 -1
  624. package/es/components/pricing-table/pricing-table-annotation-toggle.js +1 -2
  625. package/es/components/pricing-table/pricing-table-annotation-toggle.js.map +1 -1
  626. package/es/components/pricing-table/pricing-table-body.js +1 -2
  627. package/es/components/pricing-table/pricing-table-body.js.map +1 -1
  628. package/es/components/pricing-table/pricing-table-cell-annotation.js +1 -2
  629. package/es/components/pricing-table/pricing-table-cell-annotation.js.map +1 -1
  630. package/es/components/pricing-table/pricing-table-cell.js +2 -3
  631. package/es/components/pricing-table/pricing-table-cell.js.map +1 -1
  632. package/es/components/pricing-table/pricing-table-group.js +1 -2
  633. package/es/components/pricing-table/pricing-table-group.js.map +1 -1
  634. package/es/components/pricing-table/pricing-table-head.js +1 -2
  635. package/es/components/pricing-table/pricing-table-head.js.map +1 -1
  636. package/es/components/pricing-table/pricing-table-header-cell-caption.js +1 -2
  637. package/es/components/pricing-table/pricing-table-header-cell-caption.js.map +1 -1
  638. package/es/components/pricing-table/pricing-table-header-cell-cta.js +1 -2
  639. package/es/components/pricing-table/pricing-table-header-cell-cta.js.map +1 -1
  640. package/es/components/pricing-table/pricing-table-header-cell-description.js +1 -2
  641. package/es/components/pricing-table/pricing-table-header-cell-description.js.map +1 -1
  642. package/es/components/pricing-table/pricing-table-header-cell-headline.js +1 -2
  643. package/es/components/pricing-table/pricing-table-header-cell-headline.js.map +1 -1
  644. package/es/components/pricing-table/pricing-table-header-cell-tag.js +1 -2
  645. package/es/components/pricing-table/pricing-table-header-cell-tag.js.map +1 -1
  646. package/es/components/pricing-table/pricing-table-header-cell.js +1 -2
  647. package/es/components/pricing-table/pricing-table-header-cell.js.map +1 -1
  648. package/es/components/pricing-table/pricing-table-header-row.js +1 -2
  649. package/es/components/pricing-table/pricing-table-header-row.js.map +1 -1
  650. package/es/components/pricing-table/pricing-table-highlight-label.js +1 -2
  651. package/es/components/pricing-table/pricing-table-highlight-label.js.map +1 -1
  652. package/es/components/pricing-table/pricing-table-row.js +1 -2
  653. package/es/components/pricing-table/pricing-table-row.js.map +1 -1
  654. package/es/components/pricing-table/pricing-table.js +2 -3
  655. package/es/components/pricing-table/pricing-table.js.map +1 -1
  656. package/es/components/pricing-table/utils.js +5 -10
  657. package/es/components/pricing-table/utils.js.map +1 -1
  658. package/es/components/quote/defs.js +0 -2
  659. package/es/components/quote/defs.js.map +1 -1
  660. package/es/components/quote/index.d.ts +2 -2
  661. package/es/components/quote/index.d.ts.map +1 -1
  662. package/es/components/quote/index.js +1 -1
  663. package/es/components/quote/index.js.map +1 -1
  664. package/es/components/quote/quote-link-with-icon.js +1 -2
  665. package/es/components/quote/quote-link-with-icon.js.map +1 -1
  666. package/es/components/quote/quote-source-bottom-copy.js +1 -2
  667. package/es/components/quote/quote-source-bottom-copy.js.map +1 -1
  668. package/es/components/quote/quote-source-copy.js +1 -2
  669. package/es/components/quote/quote-source-copy.js.map +1 -1
  670. package/es/components/quote/quote-source-heading.js +1 -2
  671. package/es/components/quote/quote-source-heading.js.map +1 -1
  672. package/es/components/quote/quote.js +1 -2
  673. package/es/components/quote/quote.js.map +1 -1
  674. package/es/components/scroll-animations/defs.js +0 -1
  675. package/es/components/scroll-animations/defs.js.map +1 -1
  676. package/es/components/scroll-animations/scroll-animations.js +5 -6
  677. package/es/components/scroll-animations/scroll-animations.js.map +1 -1
  678. package/es/components/search/search.js +3 -4
  679. package/es/components/search/search.js.map +1 -1
  680. package/es/components/search-with-typeahead/scoped-search-dropdown-mobile.js +1 -2
  681. package/es/components/search-with-typeahead/scoped-search-dropdown-mobile.js.map +1 -1
  682. package/es/components/search-with-typeahead/scoped-search-dropdown.js +3 -4
  683. package/es/components/search-with-typeahead/scoped-search-dropdown.js.map +1 -1
  684. package/es/components/search-with-typeahead/search-with-typeahead-item.js +1 -2
  685. package/es/components/search-with-typeahead/search-with-typeahead-item.js.map +1 -1
  686. package/es/components/search-with-typeahead/search-with-typeahead.js +16 -17
  687. package/es/components/search-with-typeahead/search-with-typeahead.js.map +1 -1
  688. package/es/components/structured-list/structured-list-body.js +1 -2
  689. package/es/components/structured-list/structured-list-body.js.map +1 -1
  690. package/es/components/structured-list/structured-list-cell.js +1 -2
  691. package/es/components/structured-list/structured-list-cell.js.map +1 -1
  692. package/es/components/structured-list/structured-list-group.js +1 -2
  693. package/es/components/structured-list/structured-list-group.js.map +1 -1
  694. package/es/components/structured-list/structured-list-head.js +1 -2
  695. package/es/components/structured-list/structured-list-head.js.map +1 -1
  696. package/es/components/structured-list/structured-list-header-cell.js +1 -2
  697. package/es/components/structured-list/structured-list-header-cell.js.map +1 -1
  698. package/es/components/structured-list/structured-list-header-row.js +1 -2
  699. package/es/components/structured-list/structured-list-header-row.js.map +1 -1
  700. package/es/components/structured-list/structured-list-row.js +1 -2
  701. package/es/components/structured-list/structured-list-row.js.map +1 -1
  702. package/es/components/structured-list/structured-list.js +1 -2
  703. package/es/components/structured-list/structured-list.js.map +1 -1
  704. package/es/components/table-of-contents/defs.js +0 -1
  705. package/es/components/table-of-contents/defs.js.map +1 -1
  706. package/es/components/table-of-contents/table-of-contents.js +2 -3
  707. package/es/components/table-of-contents/table-of-contents.js.map +1 -1
  708. package/es/components/tabs-extended/defs.js +0 -1
  709. package/es/components/tabs-extended/defs.js.map +1 -1
  710. package/es/components/tabs-extended/tab.js +3 -4
  711. package/es/components/tabs-extended/tab.js.map +1 -1
  712. package/es/components/tabs-extended/tabs-extended.js +3 -4
  713. package/es/components/tabs-extended/tabs-extended.js.map +1 -1
  714. package/es/components/tabs-extended-media/tabs-extended-media.js +1 -2
  715. package/es/components/tabs-extended-media/tabs-extended-media.js.map +1 -1
  716. package/es/components/tag-group/tag-group.js +3 -4
  717. package/es/components/tag-group/tag-group.js.map +1 -1
  718. package/es/components/tag-link/tag-link.js +1 -2
  719. package/es/components/tag-link/tag-link.js.map +1 -1
  720. package/es/components/universal-banner/universal-banner-copy.js +2 -3
  721. package/es/components/universal-banner/universal-banner-copy.js.map +1 -1
  722. package/es/components/universal-banner/universal-banner-heading.js +1 -2
  723. package/es/components/universal-banner/universal-banner-heading.js.map +1 -1
  724. package/es/components/universal-banner/universal-banner-image.js +1 -2
  725. package/es/components/universal-banner/universal-banner-image.js.map +1 -1
  726. package/es/components/universal-banner/universal-banner.js +1 -2
  727. package/es/components/universal-banner/universal-banner.js.map +1 -1
  728. package/es/components/video-player/defs.js +0 -2
  729. package/es/components/video-player/defs.js.map +1 -1
  730. package/es/components/video-player/video-player-composite.js +4 -5
  731. package/es/components/video-player/video-player-composite.js.map +1 -1
  732. package/es/components/video-player/video-player-container.js +6 -8
  733. package/es/components/video-player/video-player-container.js.map +1 -1
  734. package/es/components/video-player/video-player.d.ts.map +1 -1
  735. package/es/components/video-player/video-player.js +22 -5
  736. package/es/components/video-player/video-player.js.map +1 -1
  737. package/es/components-react/dotcom-shell/dotcom-shell-composite.d.ts +0 -4
  738. package/es/components-react/dotcom-shell/dotcom-shell-composite.js +0 -8
  739. package/es/components-react/filter-panel/filter-panel-composite.d.ts +2 -7
  740. package/es/components-react/filter-panel/filter-panel-composite.js +3 -10
  741. package/es/components-react/filter-panel/filter-panel-input-select-item.d.ts +4 -0
  742. package/es/components-react/filter-panel/filter-panel-input-select-item.js +5 -0
  743. package/es/components-react/locale-modal/locale-modal-composite.d.ts +4 -0
  744. package/es/components-react/locale-modal/locale-modal-composite.js +5 -0
  745. package/es/globals/defs.js +0 -2
  746. package/es/globals/defs.js.map +1 -1
  747. package/es/globals/internal/collection-helpers.js +5 -10
  748. package/es/globals/internal/collection-helpers.js.map +1 -1
  749. package/es/globals/internal/feature-flags.js +7 -14
  750. package/es/globals/internal/feature-flags.js.map +1 -1
  751. package/es/globals/internal/storybook-cdn.js +3 -6
  752. package/es/globals/internal/storybook-cdn.js.map +1 -1
  753. package/es/globals/mixins/connect.js +1 -2
  754. package/es/globals/mixins/connect.js.map +1 -1
  755. package/es/globals/mixins/hybrid-render.js +1 -2
  756. package/es/globals/mixins/hybrid-render.js.map +1 -1
  757. package/es/globals/mixins/modal-render.d.ts +6 -1
  758. package/es/globals/mixins/modal-render.d.ts.map +1 -1
  759. package/es/globals/mixins/modal-render.js +21 -4
  760. package/es/globals/mixins/modal-render.js.map +1 -1
  761. package/es/globals/mixins/stable-selector.js +3 -4
  762. package/es/globals/mixins/stable-selector.js.map +1 -1
  763. package/es/globals/mixins/throttled-input.js +2 -3
  764. package/es/globals/mixins/throttled-input.js.map +1 -1
  765. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +6 -6
  766. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +19 -19
  767. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +6 -6
  768. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +6 -6
  769. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  770. package/es/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer.js +3 -3
  771. package/es/internal/vendor/@carbon/ibmdotcom-services/services/Locale/Locale.js +6 -6
  772. package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js +1 -1
  773. package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js.map +1 -1
  774. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +1 -1
  775. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +1 -1
  776. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +1 -1
  777. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +1 -1
  778. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  779. package/es/internal/vendor/@carbon/web-components/components/data-table/table-toolbar-search.js +1 -1
  780. package/es/internal/vendor/@carbon/web-components/components/data-table/table-toolbar-search.js.map +1 -1
  781. package/es/internal/vendor/@carbon/web-components/components/file-uploader/drop-container.js +1 -1
  782. package/es/internal/vendor/@carbon/web-components/components/file-uploader/drop-container.js.map +1 -1
  783. package/es/internal/vendor/@carbon/web-components/components/input/input.d.ts +4 -5
  784. package/es/internal/vendor/@carbon/web-components/components/input/input.d.ts.map +1 -1
  785. package/es/internal/vendor/@carbon/web-components/components/input/input.js +16 -35
  786. package/es/internal/vendor/@carbon/web-components/components/input/input.js.map +1 -1
  787. package/es/internal/vendor/@carbon/web-components/components/link/link.d.ts +7 -15
  788. package/es/internal/vendor/@carbon/web-components/components/link/link.d.ts.map +1 -1
  789. package/es/internal/vendor/@carbon/web-components/components/link/link.js +6 -6
  790. package/es/internal/vendor/@carbon/web-components/components/link/link.js.map +1 -1
  791. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu-body.js +1 -1
  792. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu-body.js.map +1 -1
  793. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu.js +1 -1
  794. package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu.js.map +1 -1
  795. package/es/internal/vendor/@carbon/web-components/components/pagination/page-sizes-select.js +1 -1
  796. package/es/internal/vendor/@carbon/web-components/components/pagination/page-sizes-select.js.map +1 -1
  797. package/es/internal/vendor/@carbon/web-components/components/slider/slider.js +1 -1
  798. package/es/internal/vendor/@carbon/web-components/components/slider/slider.js.map +1 -1
  799. package/es/internal/vendor/@carbon/web-components/components/structured-list/structured-list-row.js +1 -1
  800. package/es/internal/vendor/@carbon/web-components/components/structured-list/structured-list-row.js.map +1 -1
  801. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.d.ts +8 -0
  802. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.d.ts.map +1 -1
  803. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.js +28 -4
  804. package/es/internal/vendor/@carbon/web-components/components/tabs/tab.js.map +1 -1
  805. package/es/internal/vendor/@carbon/web-components/components/tooltip/tooltip.js +2 -2
  806. package/es/internal/vendor/@carbon/web-components/components/tooltip/tooltip.js.map +1 -1
  807. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-link.js +1 -1
  808. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-link.js.map +1 -1
  809. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.d.ts +1 -0
  810. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.d.ts.map +1 -1
  811. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.js +11 -0
  812. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.js.map +1 -1
  813. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu.js +1 -1
  814. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu.js.map +1 -1
  815. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav.js +1 -1
  816. package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav.js.map +1 -1
  817. package/es/internal/vendor/@carbon/web-components/components-react/input/input.d.ts +4 -4
  818. package/es/internal/vendor/@carbon/web-components/components-react/input/input.js +2 -2
  819. package/es/internal/vendor/@carbon/web-components/components-react/tabs/tab.d.ts +4 -0
  820. package/es/internal/vendor/@carbon/web-components/components-react/tabs/tab.js +2 -0
  821. package/es/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js +2 -1
  822. package/es/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js.map +1 -1
  823. package/lib/components/background-media/defs.js +2 -4
  824. package/lib/components/background-media/defs.js.map +1 -1
  825. package/lib/components/button/defs.js +3 -6
  826. package/lib/components/button/defs.js.map +1 -1
  827. package/lib/components/card/defs.js +2 -4
  828. package/lib/components/card/defs.js.map +1 -1
  829. package/lib/components/card-group/defs.js +1 -2
  830. package/lib/components/card-group/defs.js.map +1 -1
  831. package/lib/components/content-block/defs.js +2 -4
  832. package/lib/components/content-block/defs.js.map +1 -1
  833. package/lib/components/content-item-horizontal/defs.js +2 -4
  834. package/lib/components/content-item-horizontal/defs.js.map +1 -1
  835. package/lib/components/cta/defs.js +2 -4
  836. package/lib/components/cta/defs.js.map +1 -1
  837. package/lib/components/expressive-modal/defs.js +2 -4
  838. package/lib/components/expressive-modal/defs.js.map +1 -1
  839. package/lib/components/feature-section/defs.js +1 -2
  840. package/lib/components/feature-section/defs.js.map +1 -1
  841. package/lib/components/horizontal-rule/defs.js +4 -8
  842. package/lib/components/horizontal-rule/defs.js.map +1 -1
  843. package/lib/components/leadspace/defs.js +3 -6
  844. package/lib/components/leadspace/defs.js.map +1 -1
  845. package/lib/components/leadspace-with-search/defs.js +1 -2
  846. package/lib/components/leadspace-with-search/defs.js.map +1 -1
  847. package/lib/components/leaving-ibm/leaving-ibm-connect.js +3 -3
  848. package/lib/components/leaving-ibm/leaving-ibm-connect.js.map +1 -1
  849. package/lib/components/link-list/defs.js +2 -4
  850. package/lib/components/link-list/defs.js.map +1 -1
  851. package/lib/components/pictogram-item/defs.js +1 -2
  852. package/lib/components/pictogram-item/defs.js.map +1 -1
  853. package/lib/components/quote/defs.js +2 -4
  854. package/lib/components/quote/defs.js.map +1 -1
  855. package/lib/components/table-of-contents/defs.js +1 -2
  856. package/lib/components/table-of-contents/defs.js.map +1 -1
  857. package/lib/components/tabs-extended/defs.js +1 -2
  858. package/lib/components/tabs-extended/defs.js.map +1 -1
  859. package/lib/components/video-player/defs.js +2 -4
  860. package/lib/components/video-player/defs.js.map +1 -1
  861. package/lib/components-react-node/back-to-top/back-to-top.js +25 -45
  862. package/lib/components-react-node/background-media/background-media.js +5 -8
  863. package/lib/components-react-node/button/button.js +25 -45
  864. package/lib/components-react-node/button-group/button-group-item.js +7 -6
  865. package/lib/components-react-node/button-group/button-group.js +3 -6
  866. package/lib/components-react-node/callout-quote/callout-link-with-icon.js +7 -6
  867. package/lib/components-react-node/callout-quote/callout-quote.js +7 -6
  868. package/lib/components-react-node/callout-with-media/callout-with-media-copy.js +7 -6
  869. package/lib/components-react-node/callout-with-media/callout-with-media-image.js +5 -8
  870. package/lib/components-react-node/callout-with-media/callout-with-media-video.js +10 -9
  871. package/lib/components-react-node/callout-with-media/callout-with-media.js +7 -6
  872. package/lib/components-react-node/card/card-eyebrow.js +5 -8
  873. package/lib/components-react-node/card/card-footer.js +40 -56
  874. package/lib/components-react-node/card/card-heading.js +5 -8
  875. package/lib/components-react-node/card/card.js +25 -45
  876. package/lib/components-react-node/card/image-logo.js +7 -6
  877. package/lib/components-react-node/card-group/card-group-card-link-item.js +38 -54
  878. package/lib/components-react-node/card-group/card-group-item.js +25 -45
  879. package/lib/components-react-node/card-group/card-group.js +25 -45
  880. package/lib/components-react-node/card-in-card/card-in-card-image.js +7 -6
  881. package/lib/components-react-node/card-in-card/card-in-card.js +7 -6
  882. package/lib/components-react-node/card-link/card-link-heading.js +7 -6
  883. package/lib/components-react-node/card-link/card-link.js +25 -45
  884. package/lib/components-react-node/card-section-carousel/card-section-carousel.js +7 -6
  885. package/lib/components-react-node/card-section-offset/card-section-offset.js +7 -6
  886. package/lib/components-react-node/card-section-simple/card-section-simple.js +7 -6
  887. package/lib/components-react-node/carousel/carousel.js +25 -45
  888. package/lib/components-react-node/content-block/content-block-complementary.js +5 -8
  889. package/lib/components-react-node/content-block/content-block-copy.js +5 -8
  890. package/lib/components-react-node/content-block/content-block-heading.js +5 -8
  891. package/lib/components-react-node/content-block/content-block-paragraph.js +3 -6
  892. package/lib/components-react-node/content-block/content-block.js +5 -8
  893. package/lib/components-react-node/content-block-cards/content-block-cards.js +7 -6
  894. package/lib/components-react-node/content-block-horizontal/content-block-horizontal.js +33 -49
  895. package/lib/components-react-node/content-block-media/content-block-media-content.js +7 -6
  896. package/lib/components-react-node/content-block-media/content-block-media.js +7 -6
  897. package/lib/components-react-node/content-block-mixed/content-block-mixed.js +7 -6
  898. package/lib/components-react-node/content-block-segmented/content-block-segmented-item.js +7 -6
  899. package/lib/components-react-node/content-block-segmented/content-block-segmented.js +7 -6
  900. package/lib/components-react-node/content-block-simple/content-block-simple.js +7 -6
  901. package/lib/components-react-node/content-group/content-group-copy.js +5 -8
  902. package/lib/components-react-node/content-group/content-group-heading.js +5 -8
  903. package/lib/components-react-node/content-group/content-group-paragraph.js +3 -6
  904. package/lib/components-react-node/content-group/content-group.js +7 -6
  905. package/lib/components-react-node/content-group-banner/content-group-banner.js +7 -6
  906. package/lib/components-react-node/content-group-cards/content-group-cards-item.js +3 -6
  907. package/lib/components-react-node/content-group-cards/content-group-cards.js +7 -6
  908. package/lib/components-react-node/content-group-pictograms/content-group-pictograms.js +7 -6
  909. package/lib/components-react-node/content-group-simple/content-group-simple.js +7 -6
  910. package/lib/components-react-node/content-item/content-item-copy.js +7 -6
  911. package/lib/components-react-node/content-item/content-item-heading.js +5 -8
  912. package/lib/components-react-node/content-item/content-item-paragraph.js +3 -6
  913. package/lib/components-react-node/content-item/content-item.js +3 -6
  914. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-copy.js +7 -6
  915. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-eyebrow.js +5 -8
  916. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-copy.js +7 -6
  917. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-featured.js +7 -6
  918. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-video.js +10 -9
  919. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media.js +10 -9
  920. package/lib/components-react-node/content-item-horizontal/content-item-horizontal-thumbnail-copy.js +7 -6
  921. package/lib/components-react-node/content-item-horizontal/content-item-horizontal.js +32 -48
  922. package/lib/components-react-node/content-section/content-section-copy.js +5 -8
  923. package/lib/components-react-node/content-section/content-section-heading.js +5 -8
  924. package/lib/components-react-node/content-section/content-section.js +5 -8
  925. package/lib/components-react-node/cta/button-cta.js +48 -64
  926. package/lib/components-react-node/cta/card-cta-footer.js +46 -62
  927. package/lib/components-react-node/cta/card-cta-image.js +7 -6
  928. package/lib/components-react-node/cta/card-cta.js +25 -45
  929. package/lib/components-react-node/cta/card-link-cta.js +25 -45
  930. package/lib/components-react-node/cta/cta.js +5 -8
  931. package/lib/components-react-node/cta/feature-cta-footer.js +45 -61
  932. package/lib/components-react-node/cta/feature-cta.js +58 -74
  933. package/lib/components-react-node/cta/link-list-item-card-cta.js +7 -6
  934. package/lib/components-react-node/cta/link-list-item-cta.js +7 -6
  935. package/lib/components-react-node/cta/text-cta.js +48 -64
  936. package/lib/components-react-node/cta/video-cta-composite.js +5 -8
  937. package/lib/components-react-node/cta/video-cta-container.js +7 -6
  938. package/lib/components-react-node/cta-block/cta-block-item-row.js +25 -45
  939. package/lib/components-react-node/cta-block/cta-block-item.js +7 -6
  940. package/lib/components-react-node/cta-block/cta-block.js +33 -49
  941. package/lib/components-react-node/cta-section/cta-section.js +12 -11
  942. package/lib/components-react-node/dotcom-shell/dotcom-shell-composite.js +25 -53
  943. package/lib/components-react-node/dotcom-shell/dotcom-shell-container.js +7 -6
  944. package/lib/components-react-node/dotcom-shell/dotcom-shell.js +3 -6
  945. package/lib/components-react-node/expressive-modal/expressive-modal-body.js +3 -6
  946. package/lib/components-react-node/expressive-modal/expressive-modal-close-button.js +5 -8
  947. package/lib/components-react-node/expressive-modal/expressive-modal-footer.js +5 -8
  948. package/lib/components-react-node/expressive-modal/expressive-modal-header.js +5 -8
  949. package/lib/components-react-node/expressive-modal/expressive-modal-heading.js +3 -6
  950. package/lib/components-react-node/expressive-modal/expressive-modal.js +25 -45
  951. package/lib/components-react-node/feature-card/feature-card-footer.js +7 -6
  952. package/lib/components-react-node/feature-card/feature-card.js +5 -8
  953. package/lib/components-react-node/feature-section/feature-section-card-link.js +7 -6
  954. package/lib/components-react-node/feature-section/feature-section.js +12 -11
  955. package/lib/components-react-node/filter-panel/filter-group-item.js +25 -45
  956. package/lib/components-react-node/filter-panel/filter-group.js +3 -6
  957. package/lib/components-react-node/filter-panel/filter-modal-button.js +3 -6
  958. package/lib/components-react-node/filter-panel/filter-modal-footer.js +3 -6
  959. package/lib/components-react-node/filter-panel/filter-modal-heading.js +3 -6
  960. package/lib/components-react-node/filter-panel/filter-panel-checkbox.js +5 -8
  961. package/lib/components-react-node/filter-panel/filter-panel-composite.js +28 -55
  962. package/lib/components-react-node/filter-panel/filter-panel-heading.js +5 -8
  963. package/lib/components-react-node/filter-panel/filter-panel-input-select-item.js +30 -45
  964. package/lib/components-react-node/filter-panel/filter-panel-input-select.js +25 -45
  965. package/lib/components-react-node/filter-panel/filter-panel-modal.js +41 -57
  966. package/lib/components-react-node/filter-panel/filter-panel.js +25 -45
  967. package/lib/components-react-node/footer/dropdown.js +5 -8
  968. package/lib/components-react-node/footer/footer-composite.js +25 -45
  969. package/lib/components-react-node/footer/footer-container.js +7 -6
  970. package/lib/components-react-node/horizontal-rule/horizontal-rule.js +5 -8
  971. package/lib/components-react-node/image/image-item.js +3 -6
  972. package/lib/components-react-node/image/image.js +25 -45
  973. package/lib/components-react-node/leadspace/breadcrumb-item.js +3 -6
  974. package/lib/components-react-node/leadspace/breadcrumb-link.js +3 -6
  975. package/lib/components-react-node/leadspace/breadcrumb.js +3 -6
  976. package/lib/components-react-node/leadspace/leadspace-heading.js +5 -8
  977. package/lib/components-react-node/leadspace/leadspace-image.js +7 -6
  978. package/lib/components-react-node/leadspace/leadspace.js +5 -8
  979. package/lib/components-react-node/leadspace-block/leadspace-block-content.js +7 -6
  980. package/lib/components-react-node/leadspace-block/leadspace-block-cta.js +7 -6
  981. package/lib/components-react-node/leadspace-block/leadspace-block-heading.js +7 -6
  982. package/lib/components-react-node/leadspace-block/leadspace-block-media.js +3 -6
  983. package/lib/components-react-node/leadspace-block/leadspace-block.js +3 -6
  984. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content-copy.js +10 -9
  985. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content-heading.js +7 -6
  986. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content.js +10 -9
  987. package/lib/components-react-node/leadspace-with-search/leadspace-with-search-heading.js +7 -6
  988. package/lib/components-react-node/leadspace-with-search/leadspace-with-search.js +25 -45
  989. package/lib/components-react-node/leaving-ibm/leaving-ibm-composite.js +25 -45
  990. package/lib/components-react-node/leaving-ibm/leaving-ibm-container.js +7 -6
  991. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-body.js +5 -8
  992. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-heading.js +3 -6
  993. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-supplemental.js +5 -8
  994. package/lib/components-react-node/leaving-ibm/leaving-ibm-modal.js +5 -8
  995. package/lib/components-react-node/lightbox-media-viewer/lightbox-image-viewer.js +15 -14
  996. package/lib/components-react-node/lightbox-media-viewer/lightbox-media-viewer-body.js +2 -4
  997. package/lib/components-react-node/lightbox-media-viewer/lightbox-media-viewer.js +24 -23
  998. package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player-composite.js +45 -61
  999. package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player-container.js +4 -7
  1000. package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player.js +40 -56
  1001. package/lib/components-react-node/link-list/link-list-heading.js +5 -8
  1002. package/lib/components-react-node/link-list/link-list-item-card.js +7 -6
  1003. package/lib/components-react-node/link-list/link-list-item.js +33 -49
  1004. package/lib/components-react-node/link-list/link-list.js +5 -8
  1005. package/lib/components-react-node/link-list-section/link-list-section.js +7 -6
  1006. package/lib/components-react-node/link-with-icon/link-with-icon.js +25 -45
  1007. package/lib/components-react-node/locale-modal/locale-modal-composite.js +30 -45
  1008. package/lib/components-react-node/locale-modal/locale-modal-container.js +7 -6
  1009. package/lib/components-react-node/logo-grid/logo-grid-item.js +7 -6
  1010. package/lib/components-react-node/logo-grid/logo-grid-link.js +5 -8
  1011. package/lib/components-react-node/logo-grid/logo-grid.js +39 -55
  1012. package/lib/components-react-node/markdown/markdown.js +5 -8
  1013. package/lib/components-react-node/masthead/masthead-composite.js +25 -45
  1014. package/lib/components-react-node/masthead/masthead-container.js +7 -6
  1015. package/lib/components-react-node/masthead/masthead.js +3 -6
  1016. package/lib/components-react-node/pictogram-item/pictogram-item.js +12 -11
  1017. package/lib/components-react-node/quote/quote-link-with-icon.js +7 -6
  1018. package/lib/components-react-node/quote/quote-source-bottom-copy.js +5 -8
  1019. package/lib/components-react-node/quote/quote-source-copy.js +5 -8
  1020. package/lib/components-react-node/quote/quote-source-heading.js +5 -8
  1021. package/lib/components-react-node/quote/quote.js +5 -8
  1022. package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown-mobile.js +5 -8
  1023. package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown.js +5 -8
  1024. package/lib/components-react-node/search-with-typeahead/search-with-typeahead-item.js +25 -45
  1025. package/lib/components-react-node/search-with-typeahead/search-with-typeahead.js +25 -45
  1026. package/lib/components-react-node/structured-list/structured-list-body.js +3 -6
  1027. package/lib/components-react-node/structured-list/structured-list-cell.js +5 -8
  1028. package/lib/components-react-node/structured-list/structured-list-group.js +5 -8
  1029. package/lib/components-react-node/structured-list/structured-list-head.js +3 -6
  1030. package/lib/components-react-node/structured-list/structured-list-header-cell.js +3 -6
  1031. package/lib/components-react-node/structured-list/structured-list-header-row.js +3 -6
  1032. package/lib/components-react-node/structured-list/structured-list-row.js +3 -6
  1033. package/lib/components-react-node/structured-list/structured-list.js +3 -6
  1034. package/lib/components-react-node/table-of-contents/table-of-contents.js +25 -45
  1035. package/lib/components-react-node/tabs-extended/tab.js +25 -45
  1036. package/lib/components-react-node/tabs-extended/tabs-extended.js +5 -8
  1037. package/lib/components-react-node/tabs-extended-media/tabs-extended-media.js +12 -11
  1038. package/lib/components-react-node/tag-group/tag-group.js +3 -6
  1039. package/lib/components-react-node/tag-link/tag-link.js +5 -8
  1040. package/lib/components-react-node/universal-banner/universal-banner-copy.js +5 -8
  1041. package/lib/components-react-node/universal-banner/universal-banner-heading.js +5 -8
  1042. package/lib/components-react-node/universal-banner/universal-banner-image.js +7 -6
  1043. package/lib/components-react-node/universal-banner/universal-banner.js +25 -45
  1044. package/lib/components-react-node/video-player/video-player-composite.js +25 -45
  1045. package/lib/components-react-node/video-player/video-player-container.js +7 -6
  1046. package/lib/components-react-node/video-player/video-player.js +25 -45
  1047. package/lib/globals/defs.js +2 -4
  1048. package/lib/globals/defs.js.map +1 -1
  1049. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +7 -8
  1050. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/altlangs/altlangs.js +1 -2
  1051. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/calculateTotalWidth/calculateTotalWidth.js +1 -2
  1052. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/decodeString/decodeString.js +1 -2
  1053. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/escaperegexp/escaperegexp.js +1 -2
  1054. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/featureflag/featureflag.js +1 -2
  1055. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +20 -21
  1056. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +7 -8
  1057. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/loadNonLatinPlex/loadNonLatinPlex.js +1 -2
  1058. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/markdownToHtml/markdownToHtml.js +1 -2
  1059. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +7 -8
  1060. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -2
  1061. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/sameHeight/sameHeight.js +1 -2
  1062. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/serialize/serialize.js +1 -2
  1063. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +3 -4
  1064. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/smoothScroll/smoothScroll.js +1 -2
  1065. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/stripHTML/stripHTML.js +1 -2
  1066. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/uniqueid/uniqueid.js +1 -2
  1067. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Analytics/Analytics.js +1 -2
  1068. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/CloudAccountAuth/CloudAccountAuth.js +1 -2
  1069. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/DDO/DDO.js +1 -2
  1070. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer.js +9 -10
  1071. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Locale/Locale.js +7 -8
  1072. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/MarketingSearch/MarketingSearch.js +1 -2
  1073. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/MastheadLogo/MastheadLogo.js +1 -2
  1074. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Profile/Profile.js +1 -2
  1075. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/SearchTypeahead/SearchTypeahead.js +1 -2
  1076. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Translation/Translation.js +1 -2
  1077. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/VideoPlayer/VideoPlayer.js +1 -2
  1078. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js +1 -1
  1079. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js.map +1 -1
  1080. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/index.js +1 -2
  1081. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/index.js.map +1 -1
  1082. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/store.js +1 -2
  1083. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/store.js.map +1 -1
  1084. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js +2 -4
  1085. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js.map +1 -1
  1086. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js +1 -2
  1087. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js.map +1 -1
  1088. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js +1 -2
  1089. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js.map +1 -1
  1090. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js +2 -4
  1091. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js.map +1 -1
  1092. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js +1 -2
  1093. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js.map +1 -1
  1094. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js +1 -2
  1095. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js.map +1 -1
  1096. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +2 -3
  1097. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/altlangs/altlangs.js +1 -2
  1098. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/calculateTotalWidth/calculateTotalWidth.js +1 -2
  1099. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/decodeString/decodeString.js +1 -2
  1100. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/escaperegexp/escaperegexp.js +1 -2
  1101. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/featureflag/featureflag.js +1 -2
  1102. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +2 -3
  1103. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +2 -3
  1104. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/loadNonLatinPlex/loadNonLatinPlex.js +1 -2
  1105. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/markdownToHtml/markdownToHtml.js +1 -2
  1106. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +2 -3
  1107. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -2
  1108. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/sameHeight/sameHeight.js +1 -2
  1109. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/serialize/serialize.js +1 -2
  1110. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +3 -4
  1111. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/smoothScroll/smoothScroll.js +1 -2
  1112. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/stripHTML/stripHTML.js +1 -2
  1113. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/uniqueid/uniqueid.js +1 -2
  1114. package/lib/internal/vendor/@carbon/web-components/components/accordion/defs.js +2 -4
  1115. package/lib/internal/vendor/@carbon/web-components/components/accordion/defs.js.map +1 -1
  1116. package/lib/internal/vendor/@carbon/web-components/components/button/defs.js +3 -6
  1117. package/lib/internal/vendor/@carbon/web-components/components/button/defs.js.map +1 -1
  1118. package/lib/internal/vendor/@carbon/web-components/components/code-snippet/defs.js +1 -2
  1119. package/lib/internal/vendor/@carbon/web-components/components/code-snippet/defs.js.map +1 -1
  1120. package/lib/internal/vendor/@carbon/web-components/components/content-switcher/defs.js +2 -4
  1121. package/lib/internal/vendor/@carbon/web-components/components/content-switcher/defs.js.map +1 -1
  1122. package/lib/internal/vendor/@carbon/web-components/components/data-table/defs.js +5 -10
  1123. package/lib/internal/vendor/@carbon/web-components/components/data-table/defs.js.map +1 -1
  1124. package/lib/internal/vendor/@carbon/web-components/components/date-picker/defs.js +2 -4
  1125. package/lib/internal/vendor/@carbon/web-components/components/date-picker/defs.js.map +1 -1
  1126. package/lib/internal/vendor/@carbon/web-components/components/dropdown/defs.js +4 -8
  1127. package/lib/internal/vendor/@carbon/web-components/components/dropdown/defs.js.map +1 -1
  1128. package/lib/internal/vendor/@carbon/web-components/components/file-uploader/defs.js +2 -4
  1129. package/lib/internal/vendor/@carbon/web-components/components/file-uploader/defs.js.map +1 -1
  1130. package/lib/internal/vendor/@carbon/web-components/components/floating-menu/defs.js +4 -8
  1131. package/lib/internal/vendor/@carbon/web-components/components/floating-menu/defs.js.map +1 -1
  1132. package/lib/internal/vendor/@carbon/web-components/components/inline-loading/defs.js +1 -2
  1133. package/lib/internal/vendor/@carbon/web-components/components/inline-loading/defs.js.map +1 -1
  1134. package/lib/internal/vendor/@carbon/web-components/components/input/defs.js +2 -4
  1135. package/lib/internal/vendor/@carbon/web-components/components/input/defs.js.map +1 -1
  1136. package/lib/internal/vendor/@carbon/web-components/components/loading/defs.js +1 -2
  1137. package/lib/internal/vendor/@carbon/web-components/components/loading/defs.js.map +1 -1
  1138. package/lib/internal/vendor/@carbon/web-components/components/modal/defs.js +1 -2
  1139. package/lib/internal/vendor/@carbon/web-components/components/modal/defs.js.map +1 -1
  1140. package/lib/internal/vendor/@carbon/web-components/components/notification/defs.js +2 -4
  1141. package/lib/internal/vendor/@carbon/web-components/components/notification/defs.js.map +1 -1
  1142. package/lib/internal/vendor/@carbon/web-components/components/number-input/defs.js +1 -2
  1143. package/lib/internal/vendor/@carbon/web-components/components/number-input/defs.js.map +1 -1
  1144. package/lib/internal/vendor/@carbon/web-components/components/overflow-menu/defs.js +2 -4
  1145. package/lib/internal/vendor/@carbon/web-components/components/overflow-menu/defs.js.map +1 -1
  1146. package/lib/internal/vendor/@carbon/web-components/components/progress-indicator/defs.js +1 -2
  1147. package/lib/internal/vendor/@carbon/web-components/components/progress-indicator/defs.js.map +1 -1
  1148. package/lib/internal/vendor/@carbon/web-components/components/radio-button/defs.js +2 -4
  1149. package/lib/internal/vendor/@carbon/web-components/components/radio-button/defs.js.map +1 -1
  1150. package/lib/internal/vendor/@carbon/web-components/components/skeleton-text/defs.js +1 -2
  1151. package/lib/internal/vendor/@carbon/web-components/components/skeleton-text/defs.js.map +1 -1
  1152. package/lib/internal/vendor/@carbon/web-components/components/tabs/defs.js +3 -6
  1153. package/lib/internal/vendor/@carbon/web-components/components/tabs/defs.js.map +1 -1
  1154. package/lib/internal/vendor/@carbon/web-components/components/tag/defs.js +2 -4
  1155. package/lib/internal/vendor/@carbon/web-components/components/tag/defs.js.map +1 -1
  1156. package/lib/internal/vendor/@carbon/web-components/components/toggle/defs.js +1 -2
  1157. package/lib/internal/vendor/@carbon/web-components/components/toggle/defs.js.map +1 -1
  1158. package/lib/internal/vendor/@carbon/web-components/components/tooltip/defs.js +2 -4
  1159. package/lib/internal/vendor/@carbon/web-components/components/tooltip/defs.js.map +1 -1
  1160. package/lib/internal/vendor/@carbon/web-components/components/ui-shell/defs.js +2 -4
  1161. package/lib/internal/vendor/@carbon/web-components/components/ui-shell/defs.js.map +1 -1
  1162. package/lib/internal/vendor/@carbon/web-components/components-react-node/accordion/accordion-item.js +25 -45
  1163. package/lib/internal/vendor/@carbon/web-components/components-react-node/accordion/accordion.js +5 -8
  1164. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-item.js +3 -6
  1165. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-link.js +3 -6
  1166. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-overflow-menu.js +11 -6
  1167. package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb.js +3 -6
  1168. package/lib/internal/vendor/@carbon/web-components/components-react-node/button/button-skeleton.js +7 -6
  1169. package/lib/internal/vendor/@carbon/web-components/components-react-node/button/button.js +25 -45
  1170. package/lib/internal/vendor/@carbon/web-components/components-react-node/checkbox/checkbox.js +25 -45
  1171. package/lib/internal/vendor/@carbon/web-components/components-react-node/code-snippet/code-snippet-skeleton.js +5 -8
  1172. package/lib/internal/vendor/@carbon/web-components/components-react-node/code-snippet/code-snippet.js +25 -45
  1173. package/lib/internal/vendor/@carbon/web-components/components-react-node/combo-box/combo-box-item.js +11 -6
  1174. package/lib/internal/vendor/@carbon/web-components/components-react-node/combo-box/combo-box.js +5 -8
  1175. package/lib/internal/vendor/@carbon/web-components/components-react-node/content-switcher/content-switcher-item.js +25 -45
  1176. package/lib/internal/vendor/@carbon/web-components/components-react-node/content-switcher/content-switcher.js +5 -8
  1177. package/lib/internal/vendor/@carbon/web-components/components-react-node/copy-button/copy-button.js +25 -45
  1178. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-batch-actions.js +25 -45
  1179. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-body.js +5 -8
  1180. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-cell-skeleton.js +11 -6
  1181. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-cell.js +3 -6
  1182. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-expand-row.js +25 -45
  1183. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-expanded-row.js +25 -45
  1184. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-head.js +3 -6
  1185. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-cell-skeleton.js +11 -6
  1186. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-cell.js +25 -45
  1187. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-expand-row.js +25 -20
  1188. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-row.js +5 -8
  1189. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-row.js +25 -45
  1190. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar-content.js +25 -45
  1191. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar-search.js +25 -45
  1192. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar.js +3 -6
  1193. package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table.js +25 -45
  1194. package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker-input-skeleton.js +5 -8
  1195. package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker-input.js +25 -45
  1196. package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker.js +25 -45
  1197. package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown-item.js +25 -45
  1198. package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown-skeleton.js +3 -6
  1199. package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown.js +25 -45
  1200. package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/drop-container.js +25 -45
  1201. package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/file-uploader-item.js +25 -45
  1202. package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/file-uploader.js +5 -8
  1203. package/lib/internal/vendor/@carbon/web-components/components-react-node/floating-menu/floating-menu.js +2 -4
  1204. package/lib/internal/vendor/@carbon/web-components/components-react-node/form/form-item.js +3 -6
  1205. package/lib/internal/vendor/@carbon/web-components/components-react-node/inline-loading/inline-loading.js +5 -8
  1206. package/lib/internal/vendor/@carbon/web-components/components-react-node/input/input.js +27 -47
  1207. package/lib/internal/vendor/@carbon/web-components/components-react-node/link/link.js +25 -45
  1208. package/lib/internal/vendor/@carbon/web-components/components-react-node/list/list-item.js +25 -45
  1209. package/lib/internal/vendor/@carbon/web-components/components-react-node/list/ordered-list.js +11 -6
  1210. package/lib/internal/vendor/@carbon/web-components/components-react-node/list/unordered-list.js +25 -45
  1211. package/lib/internal/vendor/@carbon/web-components/components-react-node/loading/loading.js +25 -45
  1212. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-body.js +3 -6
  1213. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-close-button.js +5 -8
  1214. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-footer-button.js +7 -6
  1215. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-footer.js +3 -6
  1216. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-header.js +3 -6
  1217. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-heading.js +3 -6
  1218. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-label.js +3 -6
  1219. package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal.js +25 -45
  1220. package/lib/internal/vendor/@carbon/web-components/components-react-node/multi-select/multi-select-item.js +41 -53
  1221. package/lib/internal/vendor/@carbon/web-components/components-react-node/multi-select/multi-select.js +25 -45
  1222. package/lib/internal/vendor/@carbon/web-components/components-react-node/notification/inline-notification.js +25 -45
  1223. package/lib/internal/vendor/@carbon/web-components/components-react-node/notification/toast-notification.js +15 -10
  1224. package/lib/internal/vendor/@carbon/web-components/components-react-node/number-input/number-input-skeleton.js +25 -45
  1225. package/lib/internal/vendor/@carbon/web-components/components-react-node/number-input/number-input.js +25 -45
  1226. package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu-body.js +45 -57
  1227. package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu-item.js +25 -45
  1228. package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu.js +25 -45
  1229. package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/page-sizes-select.js +25 -45
  1230. package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/pages-select.js +25 -45
  1231. package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/pagination.js +25 -45
  1232. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-indicator-skeleton.js +25 -45
  1233. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-indicator.js +25 -45
  1234. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-step-skeleton.js +25 -45
  1235. package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-step.js +25 -45
  1236. package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button-group.js +25 -45
  1237. package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button-skeleton.js +3 -6
  1238. package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button.js +25 -45
  1239. package/lib/internal/vendor/@carbon/web-components/components-react-node/search/search-skeleton.js +5 -8
  1240. package/lib/internal/vendor/@carbon/web-components/components-react-node/search/search.js +25 -45
  1241. package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select-item-group.js +25 -45
  1242. package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select-item.js +25 -45
  1243. package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select.js +25 -45
  1244. package/lib/internal/vendor/@carbon/web-components/components-react-node/skeleton-placeholder/skeleton-placeholder.js +3 -6
  1245. package/lib/internal/vendor/@carbon/web-components/components-react-node/skeleton-text/skeleton-text.js +5 -8
  1246. package/lib/internal/vendor/@carbon/web-components/components-react-node/skip-to-content/skip-to-content.js +5 -8
  1247. package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider-input.js +25 -45
  1248. package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider-skeleton.js +3 -6
  1249. package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider.js +25 -45
  1250. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-body.js +3 -6
  1251. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-cell.js +3 -6
  1252. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-head.js +3 -6
  1253. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-cell-skeleton.js +3 -6
  1254. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-cell.js +3 -6
  1255. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-row.js +5 -8
  1256. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-row.js +25 -45
  1257. package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list.js +5 -8
  1258. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tab-skeleton.js +3 -6
  1259. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tab.js +41 -51
  1260. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tabs-skeleton.js +3 -6
  1261. package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tabs.js +39 -34
  1262. package/lib/internal/vendor/@carbon/web-components/components-react-node/tag/filter-tag.js +25 -45
  1263. package/lib/internal/vendor/@carbon/web-components/components-react-node/tag/tag.js +25 -45
  1264. package/lib/internal/vendor/@carbon/web-components/components-react-node/textarea/textarea-skeleton.js +3 -6
  1265. package/lib/internal/vendor/@carbon/web-components/components-react-node/textarea/textarea.js +25 -45
  1266. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/clickable-tile.js +5 -8
  1267. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/expandable-tile.js +25 -45
  1268. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/radio-tile.js +11 -6
  1269. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/selectable-tile.js +25 -45
  1270. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/tile-group.js +3 -6
  1271. package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/tile.js +5 -8
  1272. package/lib/internal/vendor/@carbon/web-components/components-react-node/toggle/toggle.js +5 -8
  1273. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-body.js +41 -53
  1274. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-definition.js +5 -8
  1275. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-footer.js +3 -6
  1276. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-icon.js +11 -6
  1277. package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip.js +25 -45
  1278. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu-button.js +25 -45
  1279. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu-item.js +11 -6
  1280. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu.js +25 -45
  1281. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-name.js +5 -8
  1282. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-nav-item.js +5 -8
  1283. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-nav.js +5 -8
  1284. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header.js +3 -6
  1285. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-divider.js +3 -6
  1286. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-items.js +3 -6
  1287. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-link.js +25 -45
  1288. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-menu-item.js +25 -45
  1289. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-menu.js +25 -45
  1290. package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav.js +25 -45
  1291. package/lib/internal/vendor/@carbon/web-components/globals/settings.js +1 -2
  1292. package/lib/internal/vendor/@carbon/web-components/globals/settings.js.map +1 -1
  1293. package/lib/internal/vendor/@carbon/web-components/globals/shared-enums.js +1 -2
  1294. package/lib/internal/vendor/@carbon/web-components/globals/shared-enums.js.map +1 -1
  1295. package/lib/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js +3 -4
  1296. package/lib/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js.map +1 -1
  1297. package/package.json +17 -17
  1298. package/dist/left-nav-menu-item-28b39f86.js +0 -71
  1299. package/dist/left-nav-menu-item-38c7e8e5.js +0 -71
@@ -1 +1 @@
1
- {"version":3,"file":"parent-visibility.js","names":["_settings","_interopRequireDefault","require","_tab","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","ParentVisibilityMixin","Base","ParentVisibilityMixinImpl","_Base","_inherits2","_super","_classCallCheck2","_createClass2","key","value","connectedCallback","_this","_get2","_ref","parentsThatHide","Object","entries","forEach","_ref2","_ref3","_slicedToArray2","component","event","target","closest","_target","_target$parentElement","addEventListener","_onParentVisible","bind","parentElement","get","_defineProperty2","concat","DDSTab","eventTabSelected","_default","exports"],"sources":["component-mixins/parent-visibility/parent-visibility.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { Constructor } from '../../globals/defs';\nimport DDSTab from '../../components/tabs-extended/tab';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic for handling elements that need to\n * respond when a potential parent element becomes visible.\n */\nconst ParentVisibilityMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class ParentVisibilityMixinImpl extends Base {\n /**\n * The method that is invoked when a parent becomes visible.\n */\n abstract _onParentVisible(): void;\n\n /**\n * Handles `.connectedCallback()` method of `lit-element`.\n */\n connectedCallback() {\n // @ts-ignore\n super.connectedCallback();\n\n const { parentsThatHide } = this\n .constructor as typeof ParentVisibilityMixinImpl;\n\n Object.entries(parentsThatHide).forEach(([component, event]) => {\n let target: Element | null | undefined = this.closest(component);\n while (target) {\n target.addEventListener(event, this._onParentVisible.bind(this));\n target = target?.parentElement?.closest(component);\n }\n });\n }\n\n /**\n * A list of potential parent components that may be hide their content on\n * first render. Lists event names that indicate the parent element\n * visibility has changed keyed by component selector strings.\n */\n static get parentsThatHide() {\n return {\n [`${ddsPrefix}-tab`]: DDSTab.eventTabSelected,\n };\n }\n }\n\n return ParentVisibilityMixinImpl;\n};\n\nexport type ParentVisibilityMixinImpl = InstanceType<\n ReturnType<typeof ParentVisibilityMixin>\n>;\n\nexport default ParentVisibilityMixin;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,IAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAwD,SAAAE,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,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,gBAAgB,CAACL,KAAK,EAAEX,KAAI,CAACiB,gBAAgB,CAACC,IAAI,CAAClB,KAAI,CAAC,CAAC;YAChEY,MAAM,IAAAE,OAAA,GAAGF,MAAM,cAAAE,OAAA,wBAAAC,qBAAA,GAAND,OAAA,CAAQK,aAAa,cAAAJ,qBAAA,uBAArBA,qBAAA,CAAuBF,OAAO,CAACH,SAAS,CAAC;UACpD;QACF,CAAC,CAAC;MACJ;;MAEA;AACJ;AACA;AACA;AACA;IAJI;MAAAb,GAAA;MAAAuB,GAAA,EAKA,SAAAA,IAAA,EAA6B;QAC3B,WAAAC,gBAAA,oBAAAC,MAAA,CACMpC,SAAS,WAASqC,eAAM,CAACC,gBAAgB;MAEjD;IAAC;IAAA,OAAAjC,yBAAA;EAAA,EAlC8CD,IAAI;EAqCrD,OAAOC,yBAAyB;AAClC,CAAC;AAAC,IAAAkC,QAAA,GAMapC,qBAAqB;AAAAqC,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"parent-visibility.js","names":["_settings","_interopRequireDefault","require","_tab","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","ParentVisibilityMixin","Base","ParentVisibilityMixinImpl","_Base","_inherits2","_super","_classCallCheck2","_createClass2","key","value","connectedCallback","_this","_get2","_ref","parentsThatHide","Object","entries","forEach","_ref2","_ref3","_slicedToArray2","component","event","target","closest","_target","addEventListener","_onParentVisible","bind","parentElement","get","_defineProperty2","concat","DDSTab","eventTabSelected","_default","exports"],"sources":["component-mixins/parent-visibility/parent-visibility.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { Constructor } from '../../globals/defs';\nimport DDSTab from '../../components/tabs-extended/tab';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing the logic for handling elements that need to\n * respond when a potential parent element becomes visible.\n */\nconst ParentVisibilityMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class ParentVisibilityMixinImpl extends Base {\n /**\n * The method that is invoked when a parent becomes visible.\n */\n abstract _onParentVisible(): void;\n\n /**\n * Handles `.connectedCallback()` method of `lit-element`.\n */\n connectedCallback() {\n // @ts-ignore\n super.connectedCallback();\n\n const { parentsThatHide } = this\n .constructor as typeof ParentVisibilityMixinImpl;\n\n Object.entries(parentsThatHide).forEach(([component, event]) => {\n let target: Element | null | undefined = this.closest(component);\n while (target) {\n target.addEventListener(event, this._onParentVisible.bind(this));\n target = target?.parentElement?.closest(component);\n }\n });\n }\n\n /**\n * A list of potential parent components that may be hide their content on\n * first render. Lists event names that indicate the parent element\n * visibility has changed keyed by component selector strings.\n */\n static get parentsThatHide() {\n return {\n [`${ddsPrefix}-tab`]: DDSTab.eventTabSelected,\n };\n }\n }\n\n return ParentVisibilityMixinImpl;\n};\n\nexport type ParentVisibilityMixinImpl = InstanceType<\n ReturnType<typeof ParentVisibilityMixin>\n>;\n\nexport default ParentVisibilityMixin;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,IAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAwD,SAAAE,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YA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YAAEG,KAAK,GAAAH,KAAA;UACxD,IAAII,MAAkC,GAAGZ,KAAI,CAACa,OAAO,CAACH,SAAS,CAAC;UAChE,OAAOE,MAAM,EAAE;YAAA,IAAAE,OAAA;YACbF,MAAM,CAACG,gBAAgB,CAACJ,KAAK,EAAEX,KAAI,CAACgB,gBAAgB,CAACC,IAAI,CAACjB,KAAI,CAAC,CAAC;YAChEY,MAAM,IAAAE,OAAA,GAAGF,MAAM,cAAAE,OAAA,gBAAAA,OAAA,GAANA,OAAA,CAAQI,aAAa,cAAAJ,OAAA,uBAArBA,OAAA,CAAuBD,OAAO,CAACH,SAAS,CAAC;UACpD;QACF,CAAC,CAAC;MACJ;;MAEA;AACJ;AACA;AACA;AACA;IAJI;MAAAb,GAAA;MAAAsB,GAAA,EAKA,SAAAA,IAAA,EAA6B;QAC3B,WAAAC,gBAAA,oBAAAC,MAAA,CACMnC,SAAS,WAASoC,eAAM,CAACC,gBAAgB;MAEjD;IAAC;IAAA,OAAAhC,yBAAA;EAAA,EAlC8CD,IAAI;EAqCrD,OAAOC,yBAAyB;AAClC,CAAC;AAAC,IAAAiC,QAAA,GAAAC,OAAA,cAMapC,qBAAqB"}
@@ -32,7 +32,7 @@ var copy = "Many organizations are engaging in open source technology to optimiz
32
32
  // This is just for the purposes of faking a move from one page to another, for
33
33
  // the purposes of checking the behavior of the back to top button.
34
34
  var FauxNextPage = (0, _litElement.html)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n <main>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple complementary-style-scheme=\"with-border\">\n <dds-content-block-heading\n >Flexibility and control are the key to open source Linux\n development</dds-content-block-heading\n >\n <dds-content-block-copy allowHTML=\"false\" size=\"sm\"\n >", "</dds-content-block-copy\n >\n <dds-text-cta\n slot=\"footer\"\n cta-type=\"local\"\n href=\"https://example.com\">\n Explore supply chain consulting services\n </dds-text-cta>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n </main>\n"])), copy);
35
- var StoryContent = function StoryContent() {
35
+ var StoryContent = exports.StoryContent = function StoryContent() {
36
36
  return (0, _litElement.html)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n <dds-leadspace\n size=\"medium\"\n gradient-style-scheme=\"\"\n alt=\"Image alt text\"\n default-src=\"", "\"\n data-autoid=\"dds--leadspace\">\n <dds-leadspace-heading role=\"heading\" aria-level=\"1\" slot=\"heading\"\n >Linux servers and operating systems</dds-leadspace-heading\n >\n Optimize your IT infrastructure \u2014 on-premises and in the cloud \u2014 with the\n flexibility and control that comes with open source development\n <dds-button-group\n slot=\"action\"\n role=\"list\"\n style=\"--dds--button-group--item-count:2;\">\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"tertiary\"\n size=\"\"\n >Try it on premises<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"primary\"\n size=\"\"\n >Try it on cloud<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n </dds-button-group>\n <dds-leadspace-image\n slot=\"image\"\n alt=\"Image alt text\"\n default-src=\"", "\"\n data-autoid=\"dds--image\">\n <dds-image-item\n media=\"(min-width: 672px)\"\n srcset=\"", "\"></dds-image-item>\n <dds-image-item\n media=\"(min-width: 0)\"\n srcset=\"", "\"></dds-image-item>\n </dds-leadspace-image>\n </dds-leadspace>\n <main>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple complementary-style-scheme=\"with-border\">\n <dds-content-block-heading\n >Flexibility and control are the key to open source Linux\n development</dds-content-block-heading\n >\n <dds-content-block-copy allowHTML=\"false\" size=\"sm\"\n >", "</dds-content-block-copy\n >\n <dds-text-cta\n slot=\"footer\"\n cta-type=\"local\"\n href=\"https://example.com\">\n Explore supply chain consulting services\n </dds-text-cta>\n </dds-content-block-simple>\n </div>\n </div>\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple>\n <dds-content-block-heading\n >What sets IBM Linux servers apart?</dds-content-block-heading\n >\n <dds-link-list type=\"default\" slot=\"complementary\">\n <dds-link-list-heading>Resources</dds-link-list-heading>\n <dds-link-list-item-card-cta\n href=\"https://example.com\"\n cta-type=\"local\">\n <p>Read the solution brief</p>\n <dds-card-cta-footer></dds-card-cta-footer>\n </dds-link-list-item-card-cta>\n <dds-link-list-item-card-cta\n href=\"https://example.com\"\n cta-type=\"external\">\n <p>What is LinuxOne?</p>\n <dds-card-cta-footer></dds-card-cta-footer>\n </dds-link-list-item-card-cta>\n </dds-link-list>\n <dds-content-block-copy>\n <dds-content-item>\n <dds-content-item-heading\n >Industry-leading performance</dds-content-item-heading\n >\n <dds-content-item-copy\n >Potential for 30% improvement in transactional response\n time with fast data retrieval and queries, plus disk space\n compression.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Advanced protection</dds-content-item-heading\n >\n <dds-content-item-copy\n >Sophisticated authorization, encryption at rest and in\n transit, and comprehensive security controls for managing\n GDPR compliance.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Continuous availability</dds-content-item-heading\n >\n <dds-content-item-copy\n >Auto resynchronization and recovery plus clustering with\n IBM pureScale\xAE to keep your business running\n 24x7.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Automated administration and\n tooling</dds-content-item-heading\n >\n <dds-content-item-copy\n >Automatic setup, optimization, diagnostics and management\n of the database environment to save administration time and\n cut maintenance costs.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Multiple data types and languages</dds-content-item-heading\n >\n <dds-content-item-copy\n >Integration with multiple platforms to build robust apps.\n Supports NoSQL, pureXML, Graph and JSON, Java, .Net, Ruby,\n Python, Perl and more.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading>Scaling</dds-content-item-heading>\n <dds-content-item-copy\n >Elastic scaling of up to 128 machines in multicloud and\n hybrid environments to reduce storage costs, plus data\n federation to eliminate data silos.</dds-content-item-copy\n >\n </dds-content-item>\n </dds-content-block-copy>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-8 bx--offset-lg-4\">\n <dds-content-group-simple>\n <dds-content-group-heading\n >See how it works</dds-content-group-heading\n >\n <dds-feature-card href=\"https://example.com\">\n <dds-image\n slot=\"image\"\n alt=\"Feature card image\"\n default-src=\"", "\"></dds-image>\n <dds-card-heading\n >Discover how innovative companies are using open source\n technology to ignite collaboration</dds-card-heading\n >\n <dds-feature-card-footer>\n ", "\n </dds-feature-card-footer>\n </dds-feature-card>\n </dds-content-group-simple>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-16\">\n <dds-card-section-simple>\n <dds-content-section-heading\n >Linux operating systems</dds-content-section-heading\n >\n <dds-card-group>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on mainframes</dds-card-heading>\n Linux on IBM mainframes lets you transform your application\n and data portfolio with data privacy, security, and cyber\n resiliency.\n <dds-card-cta-footer slot=\"footer\">\n ", "\n </dds-card-cta-footer>\n </dds-card-group-item>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on LinuxONE</dds-card-heading>\n <p>\n Transform your application and data portfolio with\n innovative data privacy, security and cyber resiliency\n capabilities, plus minimal downtime.\n </p>\n <dds-card-cta-footer slot=\"footer\">\n ", "\n </dds-card-cta-footer>\n </dds-card-group-item>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on Power Systems</dds-card-heading>\n <p>\n Process massive amounts of data quickly, efficiently and\n cost-effectively on an open, scalable infrastructure with\n built-in acceleration.\n </p>\n <dds-card-cta-footer slot=\"footer\">\n ", "\n </dds-card-cta-footer>\n </dds-card-group-item>\n </dds-card-group>\n </dds-card-section-simple>\n </div>\n </div>\n </div>\n\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-16\">\n <dds-cta-section>\n <dds-cta-block no-border>\n <dds-content-block-heading\n >Take the next step</dds-content-block-heading\n >\n <dds-content-block-copy\n >Get started with Linux servers and operating systems at the\n foundation of your IT infrastructure.</dds-content-block-copy\n >\n <dds-button-group\n slot=\"action\"\n role=\"list\"\n style=\"--dds--button-group--item-count:2;\">\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"tertiary\"\n size=\"\"\n >Try it on premises<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"primary\"\n size=\"\"\n >Try it on cloud<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n </dds-button-group>\n <dds-link-list slot=\"link-list\" type=\"end\">\n <dds-link-list-heading\n >More ways to explore Linux servers</dds-link-list-heading\n >\n <dds-link-list-item href=\"https://example.com\">\n Products ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Blogs ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Latest research ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Key concepts ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Client stories ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Training ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Analyst insights ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Events ", "\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Partners ", "\n </dds-link-list-item>\n </dds-link-list>\n </dds-cta-block>\n </dds-cta-section>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple>\n <dds-content-block-heading\n >Learn more by going to the next\n page?</dds-content-block-heading\n >\n <dds-content-block-copy>\n <dds-button-expressive\n kind=\"primary\"\n @click=", ">\n Next page\n <svg\n slot=\"icon\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path>\n </svg>\n </dds-button-expressive>\n </dds-content-block-copy>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n </main>\n "])), _leadspaceMax["default"], _leadspaceMax["default"], _leadspaceMax["default"], _leadspaceMax["default"], copy, _fpo1x1960x["default"], (0, _["default"])({
37
37
  slot: 'icon'
38
38
  }), (0, _["default"])({
@@ -65,7 +65,5 @@ var StoryContent = function StoryContent() {
65
65
  (0, _litHtml.render)(FauxNextPage, main);
66
66
  });
67
67
  };
68
- exports.StoryContent = StoryContent;
69
- var _default = StoryContent;
70
- exports["default"] = _default;
68
+ var _default = exports["default"] = StoryContent;
71
69
  //# sourceMappingURL=content.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"content.js","names":["_litElement","require","_litHtml","_","_interopRequireDefault","_fpo1x1960x","_leadspaceMax","_templateObject","_templateObject2","copy","FauxNextPage","html","_taggedTemplateLiteral2","StoryContent","leadspaceImg","imgLg1x1","ArrowRight20","slot","main","document","querySelector","render","exports","_default"],"sources":["components/back-to-top/__stories__/data/content.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2016, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html } from 'lit-element';\nimport { render } from 'lit-html';\nimport '../../../leadspace/index';\nimport '../../../content-block-simple/index';\nimport '../../../content-group-simple/index';\nimport '../../../feature-card/index';\nimport '../../../card-section-simple/index';\nimport '../../../cta-section/index';\nimport '../../../link-list/index';\nimport '../../../cta/index';\nimport '../../../button/index';\n\nimport ArrowRight20 from '../../../../internal/vendor/@carbon/web-components/icons/arrow--right/20';\nimport imgLg1x1 from '../../../../../../storybook-images/assets/960/fpo--1x1--960x960--006.jpg';\nimport leadspaceImg from '../../../../../../storybook-images/assets/leadspace/leadspaceMax2.jpg';\n\nconst copy = `Many organizations are engaging in open source technology to optimize their Linux environment.\nThe ability to integrate open systems with traditional or hybrid cloud IT infrastructure has a profound effect\non driving innovation and a growing number of IT professionals are actively participating in open source\ncommunities as a way to stay at the forefront of development.`;\n\n// This is just for the purposes of faking a move from one page to another, for\n// the purposes of checking the behavior of the back to top button.\nconst FauxNextPage = html`\n <main>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple complementary-style-scheme=\"with-border\">\n <dds-content-block-heading\n >Flexibility and control are the key to open source Linux\n development</dds-content-block-heading\n >\n <dds-content-block-copy allowHTML=\"false\" size=\"sm\"\n >${copy}</dds-content-block-copy\n >\n <dds-text-cta\n slot=\"footer\"\n cta-type=\"local\"\n href=\"https://example.com\">\n Explore supply chain consulting services\n </dds-text-cta>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n </main>\n`;\n\nexport const StoryContent = () =>\n html`\n <dds-leadspace\n size=\"medium\"\n gradient-style-scheme=\"\"\n alt=\"Image alt text\"\n default-src=\"${leadspaceImg}\"\n data-autoid=\"dds--leadspace\">\n <dds-leadspace-heading role=\"heading\" aria-level=\"1\" slot=\"heading\"\n >Linux servers and operating systems</dds-leadspace-heading\n >\n Optimize your IT infrastructure — on-premises and in the cloud — with the\n flexibility and control that comes with open source development\n <dds-button-group\n slot=\"action\"\n role=\"list\"\n style=\"--dds--button-group--item-count:2;\">\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"tertiary\"\n size=\"\"\n >Try it on premises<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"primary\"\n size=\"\"\n >Try it on cloud<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n </dds-button-group>\n <dds-leadspace-image\n slot=\"image\"\n alt=\"Image alt text\"\n default-src=\"${leadspaceImg}\"\n data-autoid=\"dds--image\">\n <dds-image-item\n media=\"(min-width: 672px)\"\n srcset=\"${leadspaceImg}\"></dds-image-item>\n <dds-image-item\n media=\"(min-width: 0)\"\n srcset=\"${leadspaceImg}\"></dds-image-item>\n </dds-leadspace-image>\n </dds-leadspace>\n <main>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple complementary-style-scheme=\"with-border\">\n <dds-content-block-heading\n >Flexibility and control are the key to open source Linux\n development</dds-content-block-heading\n >\n <dds-content-block-copy allowHTML=\"false\" size=\"sm\"\n >${copy}</dds-content-block-copy\n >\n <dds-text-cta\n slot=\"footer\"\n cta-type=\"local\"\n href=\"https://example.com\">\n Explore supply chain consulting services\n </dds-text-cta>\n </dds-content-block-simple>\n </div>\n </div>\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple>\n <dds-content-block-heading\n >What sets IBM Linux servers apart?</dds-content-block-heading\n >\n <dds-link-list type=\"default\" slot=\"complementary\">\n <dds-link-list-heading>Resources</dds-link-list-heading>\n <dds-link-list-item-card-cta\n href=\"https://example.com\"\n cta-type=\"local\">\n <p>Read the solution brief</p>\n <dds-card-cta-footer></dds-card-cta-footer>\n </dds-link-list-item-card-cta>\n <dds-link-list-item-card-cta\n href=\"https://example.com\"\n cta-type=\"external\">\n <p>What is LinuxOne?</p>\n <dds-card-cta-footer></dds-card-cta-footer>\n </dds-link-list-item-card-cta>\n </dds-link-list>\n <dds-content-block-copy>\n <dds-content-item>\n <dds-content-item-heading\n >Industry-leading performance</dds-content-item-heading\n >\n <dds-content-item-copy\n >Potential for 30% improvement in transactional response\n time with fast data retrieval and queries, plus disk space\n compression.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Advanced protection</dds-content-item-heading\n >\n <dds-content-item-copy\n >Sophisticated authorization, encryption at rest and in\n transit, and comprehensive security controls for managing\n GDPR compliance.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Continuous availability</dds-content-item-heading\n >\n <dds-content-item-copy\n >Auto resynchronization and recovery plus clustering with\n IBM pureScale® to keep your business running\n 24x7.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Automated administration and\n tooling</dds-content-item-heading\n >\n <dds-content-item-copy\n >Automatic setup, optimization, diagnostics and management\n of the database environment to save administration time and\n cut maintenance costs.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Multiple data types and languages</dds-content-item-heading\n >\n <dds-content-item-copy\n >Integration with multiple platforms to build robust apps.\n Supports NoSQL, pureXML, Graph and JSON, Java, .Net, Ruby,\n Python, Perl and more.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading>Scaling</dds-content-item-heading>\n <dds-content-item-copy\n >Elastic scaling of up to 128 machines in multicloud and\n hybrid environments to reduce storage costs, plus data\n federation to eliminate data silos.</dds-content-item-copy\n >\n </dds-content-item>\n </dds-content-block-copy>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-8 bx--offset-lg-4\">\n <dds-content-group-simple>\n <dds-content-group-heading\n >See how it works</dds-content-group-heading\n >\n <dds-feature-card href=\"https://example.com\">\n <dds-image\n slot=\"image\"\n alt=\"Feature card image\"\n default-src=\"${imgLg1x1}\"></dds-image>\n <dds-card-heading\n >Discover how innovative companies are using open source\n technology to ignite collaboration</dds-card-heading\n >\n <dds-feature-card-footer>\n ${ArrowRight20({ slot: 'icon' })}\n </dds-feature-card-footer>\n </dds-feature-card>\n </dds-content-group-simple>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-16\">\n <dds-card-section-simple>\n <dds-content-section-heading\n >Linux operating systems</dds-content-section-heading\n >\n <dds-card-group>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on mainframes</dds-card-heading>\n Linux on IBM mainframes lets you transform your application\n and data portfolio with data privacy, security, and cyber\n resiliency.\n <dds-card-cta-footer slot=\"footer\">\n ${ArrowRight20({ slot: 'icon' })}\n </dds-card-cta-footer>\n </dds-card-group-item>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on LinuxONE</dds-card-heading>\n <p>\n Transform your application and data portfolio with\n innovative data privacy, security and cyber resiliency\n capabilities, plus minimal downtime.\n </p>\n <dds-card-cta-footer slot=\"footer\">\n ${ArrowRight20({ slot: 'icon' })}\n </dds-card-cta-footer>\n </dds-card-group-item>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on Power Systems</dds-card-heading>\n <p>\n Process massive amounts of data quickly, efficiently and\n cost-effectively on an open, scalable infrastructure with\n built-in acceleration.\n </p>\n <dds-card-cta-footer slot=\"footer\">\n ${ArrowRight20({ slot: 'icon' })}\n </dds-card-cta-footer>\n </dds-card-group-item>\n </dds-card-group>\n </dds-card-section-simple>\n </div>\n </div>\n </div>\n\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-16\">\n <dds-cta-section>\n <dds-cta-block no-border>\n <dds-content-block-heading\n >Take the next step</dds-content-block-heading\n >\n <dds-content-block-copy\n >Get started with Linux servers and operating systems at the\n foundation of your IT infrastructure.</dds-content-block-copy\n >\n <dds-button-group\n slot=\"action\"\n role=\"list\"\n style=\"--dds--button-group--item-count:2;\">\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"tertiary\"\n size=\"\"\n >Try it on premises<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"primary\"\n size=\"\"\n >Try it on cloud<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n </dds-button-group>\n <dds-link-list slot=\"link-list\" type=\"end\">\n <dds-link-list-heading\n >More ways to explore Linux servers</dds-link-list-heading\n >\n <dds-link-list-item href=\"https://example.com\">\n Products ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Blogs ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Latest research ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Key concepts ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Client stories ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Training ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Analyst insights ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Events ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Partners ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n </dds-link-list>\n </dds-cta-block>\n </dds-cta-section>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple>\n <dds-content-block-heading\n >Learn more by going to the next\n page?</dds-content-block-heading\n >\n <dds-content-block-copy>\n <dds-button-expressive\n kind=\"primary\"\n @click=${() => {\n // @ts-ignore\n const main: Element = document\n .querySelector('dds-dotcom-shell-container')\n .querySelector('main');\n render(FauxNextPage, main);\n }}>\n Next page\n <svg\n slot=\"icon\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path>\n </svg>\n </dds-button-expressive>\n </dds-content-block-copy>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n </main>\n `;\n\nexport default StoryContent;\n"],"mappings":";;;;;;;;AAOA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AAEA,IAAAE,CAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,WAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,aAAA,GAAAF,sBAAA,CAAAH,OAAA;AAAiG,IAAAM,eAAA,EAAAC,gBAAA;AArBjG;AACA;AACA;AACA;AACA;AACA;AAkBA,IAAMC,IAAI,4XAGoD;;AAE9D;AACA;AACA,IAAMC,YAAY,OAAGC,gBAAI,EAAAJ,eAAA,KAAAA,eAAA,OAAAK,uBAAA,k4BAWRH,IAAI,CAapB;AAEM,IAAMI,YAAY,GAAG,SAAfA,YAAYA,CAAA;EAAA,WACvBF,gBAAI,EAAAH,gBAAA,KAAAA,gBAAA,OAAAI,uBAAA,m4fAKeE,wBAA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Element","require","_litHtml","_","_interopRequireDefault","_fpo1x1960x","_leadspaceMax","_templateObject","_templateObject2","copy","FauxNextPage","html","_taggedTemplateLiteral2","StoryContent","exports","leadspaceImg","imgLg1x1","ArrowRight20","slot","main","document","querySelector","render","_default"],"sources":["components/back-to-top/__stories__/data/content.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2016, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html } from 'lit-element';\nimport { render } from 'lit-html';\nimport '../../../leadspace/index';\nimport '../../../content-block-simple/index';\nimport '../../../content-group-simple/index';\nimport '../../../feature-card/index';\nimport '../../../card-section-simple/index';\nimport '../../../cta-section/index';\nimport '../../../link-list/index';\nimport '../../../cta/index';\nimport '../../../button/index';\n\nimport ArrowRight20 from '../../../../internal/vendor/@carbon/web-components/icons/arrow--right/20';\nimport imgLg1x1 from '../../../../../../storybook-images/assets/960/fpo--1x1--960x960--006.jpg';\nimport leadspaceImg from '../../../../../../storybook-images/assets/leadspace/leadspaceMax2.jpg';\n\nconst copy = `Many organizations are engaging in open source technology to optimize their Linux environment.\nThe ability to integrate open systems with traditional or hybrid cloud IT infrastructure has a profound effect\non driving innovation and a growing number of IT professionals are actively participating in open source\ncommunities as a way to stay at the forefront of development.`;\n\n// This is just for the purposes of faking a move from one page to another, for\n// the purposes of checking the behavior of the back to top button.\nconst FauxNextPage = html`\n <main>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple complementary-style-scheme=\"with-border\">\n <dds-content-block-heading\n >Flexibility and control are the key to open source Linux\n development</dds-content-block-heading\n >\n <dds-content-block-copy allowHTML=\"false\" size=\"sm\"\n >${copy}</dds-content-block-copy\n >\n <dds-text-cta\n slot=\"footer\"\n cta-type=\"local\"\n href=\"https://example.com\">\n Explore supply chain consulting services\n </dds-text-cta>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n </main>\n`;\n\nexport const StoryContent = () =>\n html`\n <dds-leadspace\n size=\"medium\"\n gradient-style-scheme=\"\"\n alt=\"Image alt text\"\n default-src=\"${leadspaceImg}\"\n data-autoid=\"dds--leadspace\">\n <dds-leadspace-heading role=\"heading\" aria-level=\"1\" slot=\"heading\"\n >Linux servers and operating systems</dds-leadspace-heading\n >\n Optimize your IT infrastructure — on-premises and in the cloud — with the\n flexibility and control that comes with open source development\n <dds-button-group\n slot=\"action\"\n role=\"list\"\n style=\"--dds--button-group--item-count:2;\">\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"tertiary\"\n size=\"\"\n >Try it on premises<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"primary\"\n size=\"\"\n >Try it on cloud<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n </dds-button-group>\n <dds-leadspace-image\n slot=\"image\"\n alt=\"Image alt text\"\n default-src=\"${leadspaceImg}\"\n data-autoid=\"dds--image\">\n <dds-image-item\n media=\"(min-width: 672px)\"\n srcset=\"${leadspaceImg}\"></dds-image-item>\n <dds-image-item\n media=\"(min-width: 0)\"\n srcset=\"${leadspaceImg}\"></dds-image-item>\n </dds-leadspace-image>\n </dds-leadspace>\n <main>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple complementary-style-scheme=\"with-border\">\n <dds-content-block-heading\n >Flexibility and control are the key to open source Linux\n development</dds-content-block-heading\n >\n <dds-content-block-copy allowHTML=\"false\" size=\"sm\"\n >${copy}</dds-content-block-copy\n >\n <dds-text-cta\n slot=\"footer\"\n cta-type=\"local\"\n href=\"https://example.com\">\n Explore supply chain consulting services\n </dds-text-cta>\n </dds-content-block-simple>\n </div>\n </div>\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple>\n <dds-content-block-heading\n >What sets IBM Linux servers apart?</dds-content-block-heading\n >\n <dds-link-list type=\"default\" slot=\"complementary\">\n <dds-link-list-heading>Resources</dds-link-list-heading>\n <dds-link-list-item-card-cta\n href=\"https://example.com\"\n cta-type=\"local\">\n <p>Read the solution brief</p>\n <dds-card-cta-footer></dds-card-cta-footer>\n </dds-link-list-item-card-cta>\n <dds-link-list-item-card-cta\n href=\"https://example.com\"\n cta-type=\"external\">\n <p>What is LinuxOne?</p>\n <dds-card-cta-footer></dds-card-cta-footer>\n </dds-link-list-item-card-cta>\n </dds-link-list>\n <dds-content-block-copy>\n <dds-content-item>\n <dds-content-item-heading\n >Industry-leading performance</dds-content-item-heading\n >\n <dds-content-item-copy\n >Potential for 30% improvement in transactional response\n time with fast data retrieval and queries, plus disk space\n compression.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Advanced protection</dds-content-item-heading\n >\n <dds-content-item-copy\n >Sophisticated authorization, encryption at rest and in\n transit, and comprehensive security controls for managing\n GDPR compliance.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Continuous availability</dds-content-item-heading\n >\n <dds-content-item-copy\n >Auto resynchronization and recovery plus clustering with\n IBM pureScale® to keep your business running\n 24x7.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Automated administration and\n tooling</dds-content-item-heading\n >\n <dds-content-item-copy\n >Automatic setup, optimization, diagnostics and management\n of the database environment to save administration time and\n cut maintenance costs.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading\n >Multiple data types and languages</dds-content-item-heading\n >\n <dds-content-item-copy\n >Integration with multiple platforms to build robust apps.\n Supports NoSQL, pureXML, Graph and JSON, Java, .Net, Ruby,\n Python, Perl and more.</dds-content-item-copy\n >\n </dds-content-item>\n <dds-content-item>\n <dds-content-item-heading>Scaling</dds-content-item-heading>\n <dds-content-item-copy\n >Elastic scaling of up to 128 machines in multicloud and\n hybrid environments to reduce storage costs, plus data\n federation to eliminate data silos.</dds-content-item-copy\n >\n </dds-content-item>\n </dds-content-block-copy>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-8 bx--offset-lg-4\">\n <dds-content-group-simple>\n <dds-content-group-heading\n >See how it works</dds-content-group-heading\n >\n <dds-feature-card href=\"https://example.com\">\n <dds-image\n slot=\"image\"\n alt=\"Feature card image\"\n default-src=\"${imgLg1x1}\"></dds-image>\n <dds-card-heading\n >Discover how innovative companies are using open source\n technology to ignite collaboration</dds-card-heading\n >\n <dds-feature-card-footer>\n ${ArrowRight20({ slot: 'icon' })}\n </dds-feature-card-footer>\n </dds-feature-card>\n </dds-content-group-simple>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-16\">\n <dds-card-section-simple>\n <dds-content-section-heading\n >Linux operating systems</dds-content-section-heading\n >\n <dds-card-group>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on mainframes</dds-card-heading>\n Linux on IBM mainframes lets you transform your application\n and data portfolio with data privacy, security, and cyber\n resiliency.\n <dds-card-cta-footer slot=\"footer\">\n ${ArrowRight20({ slot: 'icon' })}\n </dds-card-cta-footer>\n </dds-card-group-item>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on LinuxONE</dds-card-heading>\n <p>\n Transform your application and data portfolio with\n innovative data privacy, security and cyber resiliency\n capabilities, plus minimal downtime.\n </p>\n <dds-card-cta-footer slot=\"footer\">\n ${ArrowRight20({ slot: 'icon' })}\n </dds-card-cta-footer>\n </dds-card-group-item>\n <dds-card-group-item href=\"https://example.com\">\n <dds-card-heading>Linux OS on Power Systems</dds-card-heading>\n <p>\n Process massive amounts of data quickly, efficiently and\n cost-effectively on an open, scalable infrastructure with\n built-in acceleration.\n </p>\n <dds-card-cta-footer slot=\"footer\">\n ${ArrowRight20({ slot: 'icon' })}\n </dds-card-cta-footer>\n </dds-card-group-item>\n </dds-card-group>\n </dds-card-section-simple>\n </div>\n </div>\n </div>\n\n <div class=\"bx--grid bx--no-gutter\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-16\">\n <dds-cta-section>\n <dds-cta-block no-border>\n <dds-content-block-heading\n >Take the next step</dds-content-block-heading\n >\n <dds-content-block-copy\n >Get started with Linux servers and operating systems at the\n foundation of your IT infrastructure.</dds-content-block-copy\n >\n <dds-button-group\n slot=\"action\"\n role=\"list\"\n style=\"--dds--button-group--item-count:2;\">\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"tertiary\"\n size=\"\"\n >Try it on premises<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n <dds-button-group-item\n aria-label=\"\"\n href=\"https://example.com\"\n role=\"listitem\"\n icon-layout=\"\"\n kind=\"primary\"\n size=\"\"\n >Try it on cloud<svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n slot=\"icon\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path></svg\n ></dds-button-group-item>\n </dds-button-group>\n <dds-link-list slot=\"link-list\" type=\"end\">\n <dds-link-list-heading\n >More ways to explore Linux servers</dds-link-list-heading\n >\n <dds-link-list-item href=\"https://example.com\">\n Products ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Blogs ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Latest research ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Key concepts ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Client stories ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Training ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Analyst insights ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Events ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n <dds-link-list-item href=\"https://example.com\">\n Partners ${ArrowRight20({ slot: 'icon' })}\n </dds-link-list-item>\n </dds-link-list>\n </dds-cta-block>\n </dds-cta-section>\n </div>\n </div>\n </div>\n <div class=\"bx--grid bx--grid--narrow\">\n <div class=\"bx--row\">\n <div class=\"bx--col-sm-4 bx--col-md-8 bx--col-lg-12 bx--offset-lg-4\">\n <dds-content-block-simple>\n <dds-content-block-heading\n >Learn more by going to the next\n page?</dds-content-block-heading\n >\n <dds-content-block-copy>\n <dds-button-expressive\n kind=\"primary\"\n @click=${() => {\n // @ts-ignore\n const main: Element = document\n .querySelector('dds-dotcom-shell-container')\n .querySelector('main');\n render(FauxNextPage, main);\n }}>\n Next page\n <svg\n slot=\"icon\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\">\n <path\n d=\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\"></path>\n </svg>\n </dds-button-expressive>\n </dds-content-block-copy>\n </dds-content-block-simple>\n </div>\n </div>\n </div>\n </main>\n `;\n\nexport default StoryContent;\n"],"mappings":";;;;;;;;AAOA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AAEA,IAAAE,CAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,WAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,aAAA,GAAAF,sBAAA,CAAAH,OAAA;AAAiG,IAAAM,eAAA,EAAAC,gBAAA;AArBjG;AACA;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;IACA,IAAMC,IAAa,GAAGC,QAAQ,CAC3BC,aAAa,CAAC,4BAA4B,CAAC,CAC3CA,aAAa,CAAC,MAAM,CAAC;IACxB,IAAAC,eAAM,EAACZ,YAAY,EAAES,IAAI,CAAC;EAC5B,CAAC;AAAA,CAqBhB;AAAC,IAAAI,QAAA,GAAAT,OAAA,cAEWD,YAAY"}
@@ -282,6 +282,5 @@ var DDSBackToTop = (0, _decorate2["default"])([(0, _carbonElement.carbonElement)
282
282
  };
283
283
  }, (0, _hostListener2["default"])((0, _stableSelector["default"])(_litElement.LitElement)));
284
284
  /* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
285
- var _default = DDSBackToTop;
286
- exports["default"] = _default;
285
+ var _default = exports["default"] = DDSBackToTop;
287
286
  //# sourceMappingURL=back-to-top.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"back-to-top.js","names":["_litElement","require","_hostListener","_interopRequireDefault","_hostListener2","_settings","_throttle","_","_settings2","_backToTopCss","_stableSelector","_carbonElement","_templateObject","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSBackToTop","_decorate2","customElement","concat","_initialize","_HostListenerMixin","_HostListenerMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","_handleOnClick","ownerDocument","defaultView","scrollTo","top","behavior","body","tabIndex","focus","preventScroll","removeAttribute","_manageVisibility","_isBackToTopNeededForPage","hidden","scrollingElement","scrollTop","_viewportHeight","_handleOnScroll","_cleanAndCreateObserverResize","_ref","undefined","create","_observerResizeBody","disconnect","ResizeObserver","_handleBodyResize","observe","_this2","entries","_bodyHeight","target","scrollHeight","_this$ownerDocument$d","innerHeight","decorators","property","type","reflect","attribute","HostListener","_this3","event","_throttleScroll","connectedCallback","_get2","throttle","disconnectedCallback","cancel","firstUpdated","render","backToTopAssistiveText","handleOnClick","html","_taggedTemplateLiteral2","UpToTop20","stableSelector","styles","HostListenerMixin","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/back-to-top/back-to-top.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, property, LitElement } from 'lit-element';\nimport HostListener from '../../internal/vendor/@carbon/web-components/globals/decorators/host-listener.js';\nimport HostListenerMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/host-listener.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport throttle from 'lodash-es/throttle.js';\nimport UpToTop20 from '../../internal/vendor/@carbon/web-components/icons/up-to-top/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './back-to-top.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\ninterface Cancelable {\n cancel(): void;\n}\n\n/**\n * Back to top\n *\n * @element dds-back-to-top\n */\n@customElement(`${ddsPrefix}-back-to-top`)\nclass DDSBackToTop extends HostListenerMixin(StableSelectorMixin(LitElement)) {\n /**\n * The observer for the resize of the document body.\n */\n private _observerResizeBody: any | null = null; // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n\n /**\n * The document height\n */\n private _bodyHeight!: number;\n\n /**\n * The viewport height\n */\n private _viewportHeight!: number;\n\n /**\n * The handler for throttled scrolling\n */\n private _throttleScroll: (((event: Event) => void) & Cancelable) | null =\n null;\n\n /**\n * Button click scrolls to top\n */\n private _handleOnClick() {\n this.ownerDocument!.defaultView!.scrollTo({ top: 0, behavior: 'smooth' });\n this.ownerDocument.body.tabIndex = 0;\n this.ownerDocument.body.focus({ preventScroll: true });\n this.ownerDocument.body.removeAttribute('tabindex');\n }\n\n /**\n * Manage the visibility of the back to top button taking into consideration\n * whether it's needed at all for the page, as well as the current scroll\n * position. We show the button when needed and when the one full page\n * length is scrolled.\n */\n private _manageVisibility() {\n if (this._isBackToTopNeededForPage()) {\n this.hidden =\n this.ownerDocument!.scrollingElement!.scrollTop <= this._viewportHeight;\n } else {\n this.hidden = true;\n }\n }\n\n /**\n * Scroll handler to manage visibility.\n */\n private _handleOnScroll() {\n this._manageVisibility();\n }\n\n /**\n * Cleans-up and creats the resize observer for the scrolling container.\n *\n * @param [options] The options.\n * @param [options.create] `true` to create the new resize observer.\n */\n private _cleanAndCreateObserverResize({ create }: { create?: boolean } = {}) {\n if (this._observerResizeBody) {\n this._observerResizeBody.disconnect();\n this._observerResizeBody = null;\n }\n if (create) {\n // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n // @ts-ignore\n this._observerResizeBody = new ResizeObserver(this._handleBodyResize);\n this._observerResizeBody.observe(this.ownerDocument!.body);\n }\n }\n\n /**\n * ResizeObserver callback function.\n *\n * We only observe the body element, therefore entries will typically only\n * have a single item corresponding to changes in the size of the body\n * element.\n */\n private _handleBodyResize = (entries: ResizeObserverEntry[]) => {\n this._bodyHeight = entries[entries.length - 1].target.scrollHeight;\n // Body height changes may require adjustment to the current visibility\n // of the back to top button.\n this._manageVisibility();\n };\n\n /**\n * The back to top button is only necessary when the document height\n * is 3x greater than the viewport.\n */\n private _isBackToTopNeededForPage() {\n // @ts-ignore\n this._viewportHeight = this.ownerDocument.defaultView?.innerHeight;\n return this._bodyHeight > this._viewportHeight * 3;\n }\n\n /**\n * `false` if the button should be visible\n */\n @property({ type: Boolean, reflect: true })\n hidden = true;\n\n /**\n * Assistive text for back to top button.\n */\n @property({ attribute: 'back-to-top-assistive-text' })\n backToTopAssistiveText = 'Back to top';\n\n @HostListener('window:scroll')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleScroll = (event: Event) => {\n this._throttleScroll!(event);\n };\n\n connectedCallback() {\n super.connectedCallback();\n this._cleanAndCreateObserverResize({ create: true });\n if (!this._throttleScroll) {\n this._throttleScroll = throttle(this._handleOnScroll, 250);\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._cleanAndCreateObserverResize();\n if (this._throttleScroll) {\n this._throttleScroll.cancel();\n this._throttleScroll = null;\n }\n }\n\n firstUpdated() {\n this._cleanAndCreateObserverResize({ create: true });\n }\n\n render() {\n const { backToTopAssistiveText, _handleOnClick: handleOnClick } = this;\n return html`\n <button\n class=\"${prefix}--btn ${prefix}--btn--secondary ${prefix}--btn--icon-only ${prefix}--back-to-top__btn\"\n aria-label=\"${backToTopAssistiveText}\"\n @click=\"${handleOnClick}\">\n ${UpToTop20()}\n </button>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--back-to-top`;\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSBackToTop;\n"],"mappings":";;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,cAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,SAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,CAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,UAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,aAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,eAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,cAAA,GAAAV,OAAA;AAAmI,IAAAW,eAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,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AY,CAAAT,SAAA,iCAAAE,IAAA;QA6Hd,IAAI,CAACgD,6BAA6B,CAAC,CAAC;QACpC,IAAI,IAAI,CAACwB,eAAe,EAAE;UACxB,IAAI,CAACA,eAAe,CAACK,MAAM,CAAC,CAAC;UAC7B,IAAI,CAACL,eAAe,GAAG,IAAI;QAC7B;MACF;IAAC;MAAA7C,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAiD,aAAA,EAAe;QACb,IAAI,CAAC9B,6BAA6B,CAAC;UAAEG,MAAM,EAAE;QAAK,CAAC,CAAC;MACtD;IAAC;MAAAxB,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAkD,OAAA,EAAS;QACP,IAAQC,sBAAsB,GAAoC,IAAI,CAA9DA,sBAAsB;UAAkBC,aAAa,GAAK,IAAI,CAAtCnD,cAAc;QAC9C,WAAOoD,gBAAI,EAAAvG,eAAA,KAAAA,eAAA,OAAAwG,uBAAA,8NAEEjF,MAAM,EAASA,MAAM,EAAoBA,MAAM,EAAoBA,MAAM,EACpE8E,sBAAsB,EAC1BC,aAAa,EACrB,IAAAG,YAAS,EAAC,CAAC;MAGnB;IAAC;MAAAzD,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAwD,eAAA,EAA4B;QAC1B,UAAA3E,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeyD,wBAAM;MAAA;IAAA;EAAA;AAAA,GAxJG,IAAAC,yBAAiB,EAAC,IAAAC,0BAAmB,EAACC,sBAAU,CAAC,CAAC;AA2J7E;AAAA,IAAAC,QAAA,GACenF,YAAY;AAAAoF,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"back-to-top.js","names":["_litElement","require","_hostListener","_interopRequireDefault","_hostListener2","_settings","_throttle","_","_settings2","_backToTopCss","_stableSelector","_carbonElement","_templateObject","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSBackToTop","_decorate2","customElement","concat","_initialize","_HostListenerMixin","_HostListenerMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","_handleOnClick","ownerDocument","defaultView","scrollTo","top","behavior","body","tabIndex","focus","preventScroll","removeAttribute","_manageVisibility","_isBackToTopNeededForPage","hidden","scrollingElement","scrollTop","_viewportHeight","_handleOnScroll","_cleanAndCreateObserverResize","_ref","undefined","create","_observerResizeBody","disconnect","ResizeObserver","_handleBodyResize","observe","_this2","entries","_bodyHeight","target","scrollHeight","_this$ownerDocument$d","innerHeight","decorators","property","type","reflect","attribute","HostListener","_this3","event","_throttleScroll","connectedCallback","_get2","throttle","disconnectedCallback","cancel","firstUpdated","render","backToTopAssistiveText","handleOnClick","html","_taggedTemplateLiteral2","UpToTop20","stableSelector","styles","HostListenerMixin","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/back-to-top/back-to-top.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, property, LitElement } from 'lit-element';\nimport HostListener from '../../internal/vendor/@carbon/web-components/globals/decorators/host-listener.js';\nimport HostListenerMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/host-listener.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport throttle from 'lodash-es/throttle.js';\nimport UpToTop20 from '../../internal/vendor/@carbon/web-components/icons/up-to-top/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './back-to-top.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\ninterface Cancelable {\n cancel(): void;\n}\n\n/**\n * Back to top\n *\n * @element dds-back-to-top\n */\n@customElement(`${ddsPrefix}-back-to-top`)\nclass DDSBackToTop extends HostListenerMixin(StableSelectorMixin(LitElement)) {\n /**\n * The observer for the resize of the document body.\n */\n private _observerResizeBody: any | null = null; // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n\n /**\n * The document height\n */\n private _bodyHeight!: number;\n\n /**\n * The viewport height\n */\n private _viewportHeight!: number;\n\n /**\n * The handler for throttled scrolling\n */\n private _throttleScroll: (((event: Event) => void) & Cancelable) | null =\n null;\n\n /**\n * Button click scrolls to top\n */\n private _handleOnClick() {\n this.ownerDocument!.defaultView!.scrollTo({ top: 0, behavior: 'smooth' });\n this.ownerDocument.body.tabIndex = 0;\n this.ownerDocument.body.focus({ preventScroll: true });\n this.ownerDocument.body.removeAttribute('tabindex');\n }\n\n /**\n * Manage the visibility of the back to top button taking into consideration\n * whether it's needed at all for the page, as well as the current scroll\n * position. We show the button when needed and when the one full page\n * length is scrolled.\n */\n private _manageVisibility() {\n if (this._isBackToTopNeededForPage()) {\n this.hidden =\n this.ownerDocument!.scrollingElement!.scrollTop <= this._viewportHeight;\n } else {\n this.hidden = true;\n }\n }\n\n /**\n * Scroll handler to manage visibility.\n */\n private _handleOnScroll() {\n this._manageVisibility();\n }\n\n /**\n * Cleans-up and creats the resize observer for the scrolling container.\n *\n * @param [options] The options.\n * @param [options.create] `true` to create the new resize observer.\n */\n private _cleanAndCreateObserverResize({ create }: { create?: boolean } = {}) {\n if (this._observerResizeBody) {\n this._observerResizeBody.disconnect();\n this._observerResizeBody = null;\n }\n if (create) {\n // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n // @ts-ignore\n this._observerResizeBody = new ResizeObserver(this._handleBodyResize);\n this._observerResizeBody.observe(this.ownerDocument!.body);\n }\n }\n\n /**\n * ResizeObserver callback function.\n *\n * We only observe the body element, therefore entries will typically only\n * have a single item corresponding to changes in the size of the body\n * element.\n */\n private _handleBodyResize = (entries: ResizeObserverEntry[]) => {\n this._bodyHeight = entries[entries.length - 1].target.scrollHeight;\n // Body height changes may require adjustment to the current visibility\n // of the back to top button.\n this._manageVisibility();\n };\n\n /**\n * The back to top button is only necessary when the document height\n * is 3x greater than the viewport.\n */\n private _isBackToTopNeededForPage() {\n // @ts-ignore\n this._viewportHeight = this.ownerDocument.defaultView?.innerHeight;\n return this._bodyHeight > this._viewportHeight * 3;\n }\n\n /**\n * `false` if the button should be visible\n */\n @property({ type: Boolean, reflect: true })\n hidden = true;\n\n /**\n * Assistive text for back to top button.\n */\n @property({ attribute: 'back-to-top-assistive-text' })\n backToTopAssistiveText = 'Back to top';\n\n @HostListener('window:scroll')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleScroll = (event: Event) => {\n this._throttleScroll!(event);\n };\n\n connectedCallback() {\n super.connectedCallback();\n this._cleanAndCreateObserverResize({ create: true });\n if (!this._throttleScroll) {\n this._throttleScroll = throttle(this._handleOnScroll, 250);\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._cleanAndCreateObserverResize();\n if (this._throttleScroll) {\n this._throttleScroll.cancel();\n this._throttleScroll = null;\n }\n }\n\n firstUpdated() {\n this._cleanAndCreateObserverResize({ create: true });\n }\n\n render() {\n const { backToTopAssistiveText, _handleOnClick: handleOnClick } = this;\n return html`\n <button\n class=\"${prefix}--btn ${prefix}--btn--secondary ${prefix}--btn--icon-only ${prefix}--back-to-top__btn\"\n aria-label=\"${backToTopAssistiveText}\"\n @click=\"${handleOnClick}\">\n ${UpToTop20()}\n </button>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--back-to-top`;\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSBackToTop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1BC,aAAa,EACrB,IAAAG,YAAS,EAAC,CAAC;MAGnB;IAAC;MAAAzD,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAwD,eAAA,EAA4B;QAC1B,UAAA3E,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeyD,wBAAM;MAAA;IAAA;EAAA;AAAA,GAxJG,IAAAC,yBAAiB,EAAC,IAAAC,0BAAmB,EAACC,sBAAU,CAAC,CAAC;AA2J7E;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACepF,YAAY"}
@@ -209,7 +209,7 @@ var DDSBackgroundMedia = (0, _decorate2["default"])([(0, _carbonElement.carbonEl
209
209
  key: "toggleVideoState",
210
210
  value: function toggleVideoState() {
211
211
  var _this$videoPlayer;
212
- (_this$videoPlayer = this.videoPlayer) === null || _this$videoPlayer === void 0 ? void 0 : _this$videoPlayer.userInitiatedTogglePlaybackState();
212
+ (_this$videoPlayer = this.videoPlayer) === null || _this$videoPlayer === void 0 || _this$videoPlayer.userInitiatedTogglePlaybackState();
213
213
  this.videoIsPlaying = !this.videoIsPlaying;
214
214
  }
215
215
  }, {
@@ -245,8 +245,8 @@ var DDSBackgroundMedia = (0, _decorate2["default"])([(0, _carbonElement.carbonEl
245
245
  value: function updated() {
246
246
  // mobilePosition attribute deprecated
247
247
  if (this.mobilePosition === _defs.MOBILE_POSITION.TOP) {
248
- var _this$parentElement, _this$parentElement$s;
249
- (_this$parentElement = this.parentElement) === null || _this$parentElement === void 0 ? void 0 : (_this$parentElement$s = _this$parentElement.shadowRoot) === null || _this$parentElement$s === void 0 ? void 0 : _this$parentElement$s.prepend(this);
248
+ var _this$parentElement;
249
+ (_this$parentElement = this.parentElement) === null || _this$parentElement === void 0 || (_this$parentElement = _this$parentElement.shadowRoot) === null || _this$parentElement === void 0 || _this$parentElement.prepend(this);
250
250
  }
251
251
  if (this.parentElement instanceof _leadspace["default"]) {
252
252
  this.gradientHidden = true;
@@ -279,6 +279,5 @@ var DDSBackgroundMedia = (0, _decorate2["default"])([(0, _carbonElement.carbonEl
279
279
  };
280
280
  }, _image["default"]);
281
281
  /* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
282
- var _default = DDSBackgroundMedia;
283
- exports["default"] = _default;
282
+ var _default = exports["default"] = DDSBackgroundMedia;
284
283
  //# sourceMappingURL=background-media.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"background-media.js","names":["_litElement","require","_classMap3","_settings","_interopRequireDefault","_","_2","_settings2","_backgroundMediaCss","_defs","_image","_leadspace","_carbonElement","_templateObject","_templateObject2","_templateObject3","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSBackgroundMedia","_decorate2","customElement","concat","_initialize","_DDSImage","_DDSImage2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","_getGradientClass","_classMap","classMap","_defineProperty2","gradientDirection","_getMobilePositionClass","_classMap2","mobilePosition","videoPlayer","decorators","property","attribute","reflect","GRADIENT_DIRECTION","LEFT_TO_RIGHT","MOBILE_POSITION","BOTTOM","_handleBackgroundMedia","event","_event$target","assignedElements","target","assignedImages","filter","el","tagName","toUpperCase","assignedVideos","containsOnlyImages","_assignedVideos","_slicedToArray2","video","videoId","getAttribute","querySelector","videoIsPlaying","isPlaying","toggleVideoState","_this$videoPlayer","userInitiatedTogglePlaybackState","renderVideoControls","html","_taggedTemplateLiteral2","pauseIcon","playIcon","renderGradient","_getMediaOpacity","backgroundOpacity","updated","TOP","_this$parentElement","_this$parentElement$s","parentElement","shadowRoot","prepend","DDSLeadSpace","gradientHidden","hasAttribute","render","_get2","stableSelector","styles","DDSImage","_default","exports"],"sources":["components/background-media/background-media.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, property } from 'lit-element';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport pauseIcon from '../../internal/vendor/@carbon/web-components/icons/pause--outline--filled/32.js';\nimport playIcon from '../../internal/vendor/@carbon/web-components/icons/play--filled/32.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './background-media.scss';\nimport { GRADIENT_DIRECTION, MOBILE_POSITION } from './defs';\nimport DDSImage from '../image/image';\nimport DDSVideoPlayer from '../video-player/video-player';\nimport DDSVideoPlayerContainer from '../video-player/video-player-container';\nimport DDSLeadSpace from '../leadspace/leadspace';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Background media.\n *\n * @element dds-background-media\n */\n\n@customElement(`${ddsPrefix}-background-media`)\nclass DDSBackgroundMedia extends DDSImage {\n /**\n * Returns a class-name based on the Gradient Direction type\n */\n protected _getGradientClass() {\n return classMap({\n [`${prefix}--background-media--gradient`]: true,\n [`${prefix}--background-media--gradient--${this.gradientDirection}`]:\n this.gradientDirection,\n });\n }\n\n /**\n * Returns a class-name based on the Mobile Position type\n */\n protected _getMobilePositionClass() {\n return classMap({\n [`${prefix}--background-media--container`]: true,\n [`${prefix}--background-media--mobile-position`]: true,\n [`${prefix}--background-media--mobile-position--${this.mobilePosition}`]:\n this.mobilePosition,\n [`${prefix}--background-media--image`]: this.videoPlayer === null,\n [`${prefix}--background-media--video`]: this.videoPlayer !== null,\n });\n }\n\n /**\n * The opacity of the background image or video. 100 is fully visible, 0 is fully transparent.\n */\n @property({ attribute: 'opacity', reflect: true })\n backgroundOpacity: number = 100;\n\n /**\n * Set to true in _handleBackgroundMedia if all children are `dds-image-item`\n */\n @property()\n containsOnlyImages = false;\n\n /**\n * Gradient Direction (left-to-right (default) | top-to-bottom)\n */\n @property({ attribute: 'gradient-direction', reflect: true })\n gradientDirection = GRADIENT_DIRECTION.LEFT_TO_RIGHT;\n\n /**\n * Option to hide gradient. Automatically set to yes if parent is dds-leadspace\n */\n @property()\n gradientHidden: boolean = false;\n\n /**\n * @deprecated\n *\n * Mobile Position (bottom (default) | top)\n */\n @property({ attribute: 'mobile-position', reflect: true })\n mobilePosition = MOBILE_POSITION.BOTTOM;\n\n /**\n * Internal storage of the video ID\n */\n @property()\n videoId: String | null = null;\n\n /**\n * Current state of video playback\n */\n @property()\n videoIsPlaying: Boolean = false;\n\n /**\n * Internal storage of the video player comonent\n */\n @property()\n videoPlayer: DDSVideoPlayer | null = null;\n\n /**\n * Conditionally runs super.render() if all children are `dds-image-item`\n */\n private _handleBackgroundMedia(event: Event) {\n const assignedElements = (\n event.target as HTMLSlotElement\n )?.assignedElements();\n const assignedImages = assignedElements.filter(\n (el) => el.tagName === `${ddsPrefix}-image-item`.toUpperCase()\n );\n const assignedVideos = assignedElements.filter(\n (el) => el.tagName === `${ddsPrefix}-video-player-container`.toUpperCase()\n );\n\n if (\n assignedElements.length === assignedImages.length &&\n !assignedVideos.length\n ) {\n this.containsOnlyImages = true;\n }\n\n if (assignedVideos.length) {\n const [video] = assignedVideos;\n this.videoId = video.getAttribute('video-id');\n this.videoPlayer = video.querySelector(`${ddsPrefix}-video-player`);\n this.videoIsPlaying = (video as DDSVideoPlayerContainer).isPlaying;\n }\n }\n\n toggleVideoState() {\n this.videoPlayer?.userInitiatedTogglePlaybackState();\n this.videoIsPlaying = !this.videoIsPlaying;\n }\n\n renderVideoControls() {\n const { toggleVideoState, videoIsPlaying } = this;\n\n return html`\n <button\n @click=${toggleVideoState}\n class=\"${prefix}--video-player__controls\"\n aria-pressed=\"${!videoIsPlaying}\"\n aria-label=\"${videoIsPlaying ? 'Pause the video' : 'Play the video'}\"\n hasTooltip>\n ${videoIsPlaying ? pauseIcon() : playIcon()}\n </button>\n `;\n }\n\n renderGradient() {\n return html` <div class=\"${this._getGradientClass()}\"></div> `;\n }\n\n _getMediaOpacity() {\n if (this.backgroundOpacity <= 100 && this.backgroundOpacity >= 0) {\n return `opacity:${this.backgroundOpacity / 100}`;\n }\n return '';\n }\n\n /**\n * Append the dds-background-media to the parent element where this component is being used.\n */\n updated() {\n // mobilePosition attribute deprecated\n if (this.mobilePosition === MOBILE_POSITION.TOP) {\n this.parentElement?.shadowRoot?.prepend(this);\n }\n\n if (this.parentElement instanceof DDSLeadSpace) {\n this.gradientHidden = true;\n }\n\n if (this.hasAttribute('default-src') && !this.videoId) {\n this.containsOnlyImages = true;\n }\n }\n\n render() {\n return html`\n <div class=\"${this._getMobilePositionClass()}\">\n ${this.gradientHidden ? '' : this.renderGradient()}\n <div\n class=\"${prefix}--background-media--item\"\n style=\"${this._getMediaOpacity()}\">\n ${this.containsOnlyImages ? super.render() : ''}\n <slot @slotchange=\"${this._handleBackgroundMedia}\"></slot>\n </div>\n </div>\n ${this.videoId ? this.renderVideoControls() : ''}\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--background-media`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSBackgroundMedia;\n"],"mappings":";;;;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,CAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,EAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,UAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,mBAAA,GAAA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B,IAAI,CAAC+C,sBAAsB,EAGlD,IAAI,CAACe,OAAO,GAAG,IAAI,CAACQ,mBAAmB,CAAC,CAAC,GAAG,EAAE;MAEpD;IAAC;MAAA3C,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAA6D,eAAA,EAA4B;QAC1B,UAAAhF,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEe8D,8BAAM;MAAA;IAAA;EAAA;AAAA,GA7KSC,iBAAQ;AAgLzC;AAAA,IAAAC,QAAA,GACetF,kBAAkB;AAAAuF,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"background-media.js","names":["_litElement","require","_classMap3","_settings","_interopRequireDefault","_","_2","_settings2","_backgroundMediaCss","_defs","_image","_leadspace","_carbonElement","_templateObject","_templateObject2","_templateObject3","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSBackgroundMedia","_decorate2","customElement","concat","_initialize","_DDSImage","_DDSImage2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","_getGradientClass","_classMap","classMap","_defineProperty2","gradientDirection","_getMobilePositionClass","_classMap2","mobilePosition","videoPlayer","decorators","property","attribute","reflect","GRADIENT_DIRECTION","LEFT_TO_RIGHT","MOBILE_POSITION","BOTTOM","_handleBackgroundMedia","event","_event$target","assignedElements","target","assignedImages","filter","el","tagName","toUpperCase","assignedVideos","containsOnlyImages","_assignedVideos","_slicedToArray2","video","videoId","getAttribute","querySelector","videoIsPlaying","isPlaying","toggleVideoState","_this$videoPlayer","userInitiatedTogglePlaybackState","renderVideoControls","html","_taggedTemplateLiteral2","pauseIcon","playIcon","renderGradient","_getMediaOpacity","backgroundOpacity","updated","TOP","_this$parentElement","parentElement","shadowRoot","prepend","DDSLeadSpace","gradientHidden","hasAttribute","render","_get2","stableSelector","styles","DDSImage","_default","exports"],"sources":["components/background-media/background-media.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, property } from 'lit-element';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport pauseIcon from '../../internal/vendor/@carbon/web-components/icons/pause--outline--filled/32.js';\nimport playIcon from '../../internal/vendor/@carbon/web-components/icons/play--filled/32.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './background-media.scss';\nimport { GRADIENT_DIRECTION, MOBILE_POSITION } from './defs';\nimport DDSImage from '../image/image';\nimport DDSVideoPlayer from '../video-player/video-player';\nimport DDSVideoPlayerContainer from '../video-player/video-player-container';\nimport DDSLeadSpace from '../leadspace/leadspace';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Background media.\n *\n * @element dds-background-media\n */\n\n@customElement(`${ddsPrefix}-background-media`)\nclass DDSBackgroundMedia extends DDSImage {\n /**\n * Returns a class-name based on the Gradient Direction type\n */\n protected _getGradientClass() {\n return classMap({\n [`${prefix}--background-media--gradient`]: true,\n [`${prefix}--background-media--gradient--${this.gradientDirection}`]:\n this.gradientDirection,\n });\n }\n\n /**\n * Returns a class-name based on the Mobile Position type\n */\n protected _getMobilePositionClass() {\n return classMap({\n [`${prefix}--background-media--container`]: true,\n [`${prefix}--background-media--mobile-position`]: true,\n [`${prefix}--background-media--mobile-position--${this.mobilePosition}`]:\n this.mobilePosition,\n [`${prefix}--background-media--image`]: this.videoPlayer === null,\n [`${prefix}--background-media--video`]: this.videoPlayer !== null,\n });\n }\n\n /**\n * The opacity of the background image or video. 100 is fully visible, 0 is fully transparent.\n */\n @property({ attribute: 'opacity', reflect: true })\n backgroundOpacity: number = 100;\n\n /**\n * Set to true in _handleBackgroundMedia if all children are `dds-image-item`\n */\n @property()\n containsOnlyImages = false;\n\n /**\n * Gradient Direction (left-to-right (default) | top-to-bottom)\n */\n @property({ attribute: 'gradient-direction', reflect: true })\n gradientDirection = GRADIENT_DIRECTION.LEFT_TO_RIGHT;\n\n /**\n * Option to hide gradient. Automatically set to yes if parent is dds-leadspace\n */\n @property()\n gradientHidden: boolean = false;\n\n /**\n * @deprecated\n *\n * Mobile Position (bottom (default) | top)\n */\n @property({ attribute: 'mobile-position', reflect: true })\n mobilePosition = MOBILE_POSITION.BOTTOM;\n\n /**\n * Internal storage of the video ID\n */\n @property()\n videoId: String | null = null;\n\n /**\n * Current state of video playback\n */\n @property()\n videoIsPlaying: Boolean = false;\n\n /**\n * Internal storage of the video player comonent\n */\n @property()\n videoPlayer: DDSVideoPlayer | null = null;\n\n /**\n * Conditionally runs super.render() if all children are `dds-image-item`\n */\n private _handleBackgroundMedia(event: Event) {\n const assignedElements = (\n event.target as HTMLSlotElement\n )?.assignedElements();\n const assignedImages = assignedElements.filter(\n (el) => el.tagName === `${ddsPrefix}-image-item`.toUpperCase()\n );\n const assignedVideos = assignedElements.filter(\n (el) => el.tagName === `${ddsPrefix}-video-player-container`.toUpperCase()\n );\n\n if (\n assignedElements.length === assignedImages.length &&\n !assignedVideos.length\n ) {\n this.containsOnlyImages = true;\n }\n\n if (assignedVideos.length) {\n const [video] = assignedVideos;\n this.videoId = video.getAttribute('video-id');\n this.videoPlayer = video.querySelector(`${ddsPrefix}-video-player`);\n this.videoIsPlaying = (video as DDSVideoPlayerContainer).isPlaying;\n }\n }\n\n toggleVideoState() {\n this.videoPlayer?.userInitiatedTogglePlaybackState();\n this.videoIsPlaying = !this.videoIsPlaying;\n }\n\n renderVideoControls() {\n const { toggleVideoState, videoIsPlaying } = this;\n\n return html`\n <button\n @click=${toggleVideoState}\n class=\"${prefix}--video-player__controls\"\n aria-pressed=\"${!videoIsPlaying}\"\n aria-label=\"${videoIsPlaying ? 'Pause the video' : 'Play the video'}\"\n hasTooltip>\n ${videoIsPlaying ? pauseIcon() : playIcon()}\n </button>\n `;\n }\n\n renderGradient() {\n return html` <div class=\"${this._getGradientClass()}\"></div> `;\n }\n\n _getMediaOpacity() {\n if (this.backgroundOpacity <= 100 && this.backgroundOpacity >= 0) {\n return `opacity:${this.backgroundOpacity / 100}`;\n }\n return '';\n }\n\n /**\n * Append the dds-background-media to the parent element where this component is being used.\n */\n updated() {\n // mobilePosition attribute deprecated\n if (this.mobilePosition === MOBILE_POSITION.TOP) {\n this.parentElement?.shadowRoot?.prepend(this);\n }\n\n if (this.parentElement instanceof DDSLeadSpace) {\n this.gradientHidden = true;\n }\n\n if (this.hasAttribute('default-src') && !this.videoId) {\n this.containsOnlyImages = true;\n }\n }\n\n render() {\n return html`\n <div class=\"${this._getMobilePositionClass()}\">\n ${this.gradientHidden ? '' : this.renderGradient()}\n <div\n class=\"${prefix}--background-media--item\"\n style=\"${this._getMediaOpacity()}\">\n ${this.containsOnlyImages ? super.render() : ''}\n <slot @slotchange=\"${this._handleBackgroundMedia}\"></slot>\n </div>\n </div>\n ${this.videoId ? this.renderVideoControls() : ''}\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--background-media`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSBackgroundMedia;\n"],"mappings":";;;;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,CAAA,GAAAD,sBAAA,CAAAH,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BAAkB,OAAA8B,KAAA,iBAAAtG,gBAAA,aAjK7BqB,kBAAkB,CAAAT,SAAA,mBAAAE,IAAA,SAiK+B,EAAE,EAC1B,IAAI,CAAC+C,sBAAsB,EAGlD,IAAI,CAACe,OAAO,GAAG,IAAI,CAACQ,mBAAmB,CAAC,CAAC,GAAG,EAAE;MAEpD;IAAC;MAAA3C,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAA4D,eAAA,EAA4B;QAC1B,UAAA/E,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEe6D,8BAAM;MAAA;IAAA;EAAA;AAAA,GA7KSC,iBAAQ;AAgLzC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACetF,kBAAkB"}
@@ -19,13 +19,11 @@ var GRADIENT_DIRECTION;
19
19
  /**
20
20
  * Mobile Position
21
21
  */
22
- exports.GRADIENT_DIRECTION = GRADIENT_DIRECTION;
23
22
  (function (GRADIENT_DIRECTION) {
24
23
  GRADIENT_DIRECTION["LEFT_TO_RIGHT"] = "left-to-right";
25
24
  GRADIENT_DIRECTION["TOP_TO_BOTTOM"] = "top-to-bottom";
26
25
  })(GRADIENT_DIRECTION || (exports.GRADIENT_DIRECTION = GRADIENT_DIRECTION = {}));
27
26
  var MOBILE_POSITION;
28
- exports.MOBILE_POSITION = MOBILE_POSITION;
29
27
  (function (MOBILE_POSITION) {
30
28
  MOBILE_POSITION["TOP"] = "top";
31
29
  MOBILE_POSITION["BOTTOM"] = "bottom";
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","names":["GRADIENT_DIRECTION","exports","MOBILE_POSITION"],"sources":["components/background-media/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Gradient Direction\n */\nexport enum GRADIENT_DIRECTION {\n /**\n * Left to right\n */\n LEFT_TO_RIGHT = 'left-to-right',\n\n /**\n * Top to Bottom\n */\n TOP_TO_BOTTOM = 'top-to-bottom',\n}\n\n/**\n * Mobile Position\n */\nexport enum MOBILE_POSITION {\n /**\n * Top\n */\n TOP = 'top',\n\n /**\n * Bottom\n */\n BOTTOM = 'bottom',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,kBAAkB;AAY9B;AACA;AACA;AAFAC,OAAA,CAAAD,kBAAA,GAAAA,kBAAA;AAAA,WAZYA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;AAAA,GAAlBA,kBAAkB,KAAAC,OAAA,CAAAD,kBAAA,GAAlBA,kBAAkB;AAAA,IAelBE,eAAe;AAAAD,OAAA,CAAAC,eAAA,GAAAA,eAAA;AAAA,WAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;AAAA,GAAfA,eAAe,KAAAD,OAAA,CAAAC,eAAA,GAAfA,eAAe"}
1
+ {"version":3,"file":"defs.js","names":["GRADIENT_DIRECTION","exports","MOBILE_POSITION"],"sources":["components/background-media/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Gradient Direction\n */\nexport enum GRADIENT_DIRECTION {\n /**\n * Left to right\n */\n LEFT_TO_RIGHT = 'left-to-right',\n\n /**\n * Top to Bottom\n */\n TOP_TO_BOTTOM = 'top-to-bottom',\n}\n\n/**\n * Mobile Position\n */\nexport enum MOBILE_POSITION {\n /**\n * Top\n */\n TOP = 'top',\n\n /**\n * Bottom\n */\n BOTTOM = 'bottom',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,kBAAkB;AAY9B;AACA;AACA;AAFA,WAZYA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;AAAA,GAAlBA,kBAAkB,KAAAC,OAAA,CAAAD,kBAAA,GAAlBA,kBAAkB;AAAA,IAelBE,eAAe;AAAA,WAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;AAAA,GAAfA,eAAe,KAAAD,OAAA,CAAAC,eAAA,GAAfA,eAAe"}
@@ -354,6 +354,5 @@ var DDSButtonExpressive = (0, _decorate2["default"])([(0, _carbonElement.carbonE
354
354
  };
355
355
  }, (0, _focus["default"])((0, _stableSelector["default"])(_litElement.LitElement)));
356
356
  /* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
357
- var _default = DDSButtonExpressive;
358
- exports["default"] = _default;
357
+ var _default = exports["default"] = DDSButtonExpressive;
359
358
  //# sourceMappingURL=button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","names":["_classMap2","require","_litElement","_settings","_interopRequireDefault","_ifNonNull","_focus","_defs","_settings2","_buttonCss","_stableSelector","_carbonElement","_templateObject","_templateObject2","_templateObject3","_templateObject4","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSButtonExpressive","_decorate2","customElement","concat","_initialize","_FocusMixin","_FocusMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","state","key","value","_classes","_classMap","disabled","size","hasIcon","_hasIcon","hasMainContent","_hasMainContent","classMap","_defineProperty2","_handleClick","_handleSlotChange","_ref","target","_ref2","name","hasContent","assignedNodes","some","node","nodeType","Node","TEXT_NODE","textContent","trim","requestUpdate","_renderDisabledLink","classes","html","_taggedTemplateLiteral2","_renderInner","handleSlotChange","href","property","type","reflect","attribute","BUTTON_ICON_LAYOUT","REGULAR","BUTTON_KIND","PRIMARY","BUTTON_SIZE","createRenderRoot","_exec","attachShadow","mode","delegatesFocus","Number","exec","navigator","userAgent","render","autofocus","download","hreflang","linkRole","ping","rel","handleClick","ifNonNull","stableSelector","styles","FocusMixin","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/button/button.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport { html, property, state, LitElement } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport FocusMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/focus.js';\nimport { BUTTON_ICON_LAYOUT, BUTTON_KIND, BUTTON_SIZE } from './defs';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './button.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nexport { BUTTON_KIND, BUTTON_SIZE };\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Expressive button.\n *\n * @element dds-button-expressive\n * @csspart button The button.\n */\n@customElement(`${ddsPrefix}-button-expressive`)\nclass DDSButtonExpressive extends FocusMixin(StableSelectorMixin(LitElement)) {\n /**\n * `true` if there is an icon.\n */\n @state()\n protected _hasIcon = false;\n\n /**\n * `true` if there is a non-icon content.\n */\n @state()\n protected _hasMainContent = false;\n\n /**\n * The CSS class list for the button/link node.\n */\n protected get _classes() {\n const {\n disabled,\n kind,\n size,\n _hasIcon: hasIcon,\n _hasMainContent: hasMainContent,\n } = this;\n return classMap({\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--${kind}`]: kind,\n [`${prefix}--btn--disabled`]: disabled,\n [`${prefix}--btn--icon-only`]: hasIcon && !hasMainContent,\n [`${prefix}--btn--expressive`]: true,\n [`${prefix}--btn--${size}`]: size,\n [`${prefix}-ce--btn--has-icon`]: hasIcon,\n });\n }\n\n /**\n * Handles `click` event on the button.\n */\n protected _handleClick() {} // eslint-disable-line class-methods-use-this\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const { name } = target as HTMLSlotElement;\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this[name === 'icon' ? '_hasIcon' : '_hasMainContent'] = hasContent;\n this.requestUpdate();\n }\n\n /**\n * @returns The disabled link content.\n */\n protected _renderDisabledLink() {\n const { _classes: classes } = this;\n return html`\n <p id=\"button\" part=\"button\" class=\"${classes}\">${this._renderInner()}</p>\n `;\n }\n\n /**\n * @returns The inner content.\n */\n protected _renderInner() {\n const { _handleSlotChange: handleSlotChange } = this;\n return html`\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <p class=\"${prefix}--btn--hidden\" aria-hidden=\"true\">\n <span>:</span> ${this.href}\n </p>\n <slot name=\"icon\" @slotchange=\"${handleSlotChange}\"></slot>\n `;\n }\n\n /**\n * `true` if the button should have input focus when the page loads.\n */\n @property({ type: Boolean, reflect: true })\n autofocus = false;\n\n /**\n * `true` if the button should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The default file name, used if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n download!: string;\n\n /**\n * Link `href`. If present, this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n href!: string;\n\n /**\n * The language of what `href` points to, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n hreflang!: string;\n\n /**\n * Button icon layout.\n */\n @property({ reflect: true, attribute: 'icon-layout' })\n iconLayout = BUTTON_ICON_LAYOUT.REGULAR;\n\n /**\n * Button kind.\n */\n @property({ reflect: true })\n kind = BUTTON_KIND.PRIMARY;\n\n /**\n * The a11y role for `<a>`.\n */\n @property({ attribute: 'link-role' })\n linkRole = 'button';\n\n /**\n * URLs to ping, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n ping!: string;\n\n /**\n * The link type, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n rel!: string;\n\n /**\n * Button size.\n */\n @property({ reflect: true })\n size = BUTTON_SIZE.REGULAR;\n\n /**\n * The link target, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n target!: string;\n\n /**\n * The default behavior if the button is rendered as `<button>`. MIME type of the `target`if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n type!: string;\n\n createRenderRoot() {\n return this.attachShadow({\n mode: 'open',\n delegatesFocus:\n Number((/Safari\\/(\\d+)/.exec(navigator.userAgent) ?? ['', 0])[1]) <=\n 537,\n });\n }\n\n render() {\n const {\n autofocus,\n disabled,\n download,\n href,\n hreflang,\n linkRole,\n ping,\n rel,\n target,\n type,\n _classes: classes,\n _handleClick: handleClick,\n } = this;\n if (href) {\n return disabled\n ? this._renderDisabledLink()\n : html`\n <a\n id=\"button\"\n part=\"button\"\n role=\"${ifNonNull(linkRole)}\"\n class=\"${classes}\"\n download=\"${ifNonNull(download)}\"\n href=\"${ifNonNull(href)}\"\n hreflang=\"${ifNonNull(hreflang)}\"\n ping=\"${ifNonNull(ping)}\"\n rel=\"${ifNonNull(rel)}\"\n target=\"${ifNonNull(target)}\"\n type=\"${ifNonNull(type)}\"\n @click=\"${handleClick}\">\n ${this._renderInner()}\n </a>\n `;\n }\n return html`\n <button\n id=\"button\"\n part=\"button\"\n class=\"${classes}\"\n ?autofocus=\"${autofocus}\"\n ?disabled=\"${disabled}\"\n type=\"${ifNonNull(type)}\"\n @click=\"${handleClick}\">\n ${this._renderInner()}\n </button>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--button-expressive`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader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AAAC,KAAA,WAAAA,MAAA;QAAA,OAEe8D,qBAAM;MAAA;IAAA;EAAA;AAAA,GA3NU,IAAAC,iBAAU,EAAC,IAAAC,0BAAmB,EAACC,sBAAU,CAAC,CAAC;AA8N7E;AAAA,IAAAC,QAAA,GACe1F,mBAAmB;AAAA2F,OAAA,cAAAD,QAAA"}
1
+ {"version":3,"file":"button.js","names":["_classMap2","require","_litElement","_settings","_interopRequireDefault","_ifNonNull","_focus","_defs","_settings2","_buttonCss","_stableSelector","_carbonElement","_templateObject","_templateObject2","_templateObject3","_templateObject4","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSButtonExpressive","_decorate2","customElement","concat","_initialize","_FocusMixin","_FocusMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","state","key","value","_classes","_classMap","disabled","size","hasIcon","_hasIcon","hasMainContent","_hasMainContent","classMap","_defineProperty2","_handleClick","_handleSlotChange","_ref","target","_ref2","name","hasContent","assignedNodes","some","node","nodeType","Node","TEXT_NODE","textContent","trim","requestUpdate","_renderDisabledLink","classes","html","_taggedTemplateLiteral2","_renderInner","handleSlotChange","href","property","type","reflect","attribute","BUTTON_ICON_LAYOUT","REGULAR","BUTTON_KIND","PRIMARY","BUTTON_SIZE","createRenderRoot","_exec","attachShadow","mode","delegatesFocus","Number","exec","navigator","userAgent","render","autofocus","download","hreflang","linkRole","ping","rel","handleClick","ifNonNull","stableSelector","styles","FocusMixin","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/button/button.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport { html, property, state, LitElement } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport FocusMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/focus.js';\nimport { BUTTON_ICON_LAYOUT, BUTTON_KIND, BUTTON_SIZE } from './defs';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './button.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nexport { BUTTON_KIND, BUTTON_SIZE };\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Expressive button.\n *\n * @element dds-button-expressive\n * @csspart button The button.\n */\n@customElement(`${ddsPrefix}-button-expressive`)\nclass DDSButtonExpressive extends FocusMixin(StableSelectorMixin(LitElement)) {\n /**\n * `true` if there is an icon.\n */\n @state()\n protected _hasIcon = false;\n\n /**\n * `true` if there is a non-icon content.\n */\n @state()\n protected _hasMainContent = false;\n\n /**\n * The CSS class list for the button/link node.\n */\n protected get _classes() {\n const {\n disabled,\n kind,\n size,\n _hasIcon: hasIcon,\n _hasMainContent: hasMainContent,\n } = this;\n return classMap({\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--${kind}`]: kind,\n [`${prefix}--btn--disabled`]: disabled,\n [`${prefix}--btn--icon-only`]: hasIcon && !hasMainContent,\n [`${prefix}--btn--expressive`]: true,\n [`${prefix}--btn--${size}`]: size,\n [`${prefix}-ce--btn--has-icon`]: hasIcon,\n });\n }\n\n /**\n * Handles `click` event on the button.\n */\n protected _handleClick() {} // eslint-disable-line class-methods-use-this\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const { name } = target as HTMLSlotElement;\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this[name === 'icon' ? '_hasIcon' : '_hasMainContent'] = hasContent;\n this.requestUpdate();\n }\n\n /**\n * @returns The disabled link content.\n */\n protected _renderDisabledLink() {\n const { _classes: classes } = this;\n return html`\n <p id=\"button\" part=\"button\" class=\"${classes}\">${this._renderInner()}</p>\n `;\n }\n\n /**\n * @returns The inner content.\n */\n protected _renderInner() {\n const { _handleSlotChange: handleSlotChange } = this;\n return html`\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <p class=\"${prefix}--btn--hidden\" aria-hidden=\"true\">\n <span>:</span> ${this.href}\n </p>\n <slot name=\"icon\" @slotchange=\"${handleSlotChange}\"></slot>\n `;\n }\n\n /**\n * `true` if the button should have input focus when the page loads.\n */\n @property({ type: Boolean, reflect: true })\n autofocus = false;\n\n /**\n * `true` if the button should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The default file name, used if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n download!: string;\n\n /**\n * Link `href`. If present, this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n href!: string;\n\n /**\n * The language of what `href` points to, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n hreflang!: string;\n\n /**\n * Button icon layout.\n */\n @property({ reflect: true, attribute: 'icon-layout' })\n iconLayout = BUTTON_ICON_LAYOUT.REGULAR;\n\n /**\n * Button kind.\n */\n @property({ reflect: true })\n kind = BUTTON_KIND.PRIMARY;\n\n /**\n * The a11y role for `<a>`.\n */\n @property({ attribute: 'link-role' })\n linkRole = 'button';\n\n /**\n * URLs to ping, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n ping!: string;\n\n /**\n * The link type, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n rel!: string;\n\n /**\n * Button size.\n */\n @property({ reflect: true })\n size = BUTTON_SIZE.REGULAR;\n\n /**\n * The link target, if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n target!: string;\n\n /**\n * The default behavior if the button is rendered as `<button>`. MIME type of the `target`if this button is rendered as `<a>`.\n */\n @property({ reflect: true })\n type!: string;\n\n createRenderRoot() {\n return this.attachShadow({\n mode: 'open',\n delegatesFocus:\n Number((/Safari\\/(\\d+)/.exec(navigator.userAgent) ?? ['', 0])[1]) <=\n 537,\n });\n }\n\n render() {\n const {\n autofocus,\n disabled,\n download,\n href,\n hreflang,\n linkRole,\n ping,\n rel,\n target,\n type,\n _classes: classes,\n _handleClick: handleClick,\n } = this;\n if (href) {\n return disabled\n ? this._renderDisabledLink()\n : html`\n <a\n id=\"button\"\n part=\"button\"\n role=\"${ifNonNull(linkRole)}\"\n class=\"${classes}\"\n download=\"${ifNonNull(download)}\"\n href=\"${ifNonNull(href)}\"\n hreflang=\"${ifNonNull(hreflang)}\"\n ping=\"${ifNonNull(ping)}\"\n rel=\"${ifNonNull(rel)}\"\n target=\"${ifNonNull(target)}\"\n type=\"${ifNonNull(type)}\"\n @click=\"${handleClick}\">\n ${this._renderInner()}\n </a>\n `;\n }\n return html`\n <button\n id=\"button\"\n part=\"button\"\n class=\"${classes}\"\n ?autofocus=\"${autofocus}\"\n ?disabled=\"${disabled}\"\n type=\"${ifNonNull(type)}\"\n @click=\"${handleClick}\">\n ${this._renderInner()}\n </button>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--button-expressive`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSButtonExpressive;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,UAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,MAAA,GAAAF,sBAAA,CAAAH,OA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ON_KIND) {
24
23
  BUTTON_KIND["PRIMARY"] = "primary";
25
24
  BUTTON_KIND["SECONDARY"] = "secondary";
@@ -33,7 +32,6 @@ var BUTTON_SIZE;
33
32
  /**
34
33
  * Button icon layout.
35
34
  */
36
- exports.BUTTON_SIZE = BUTTON_SIZE;
37
35
  (function (BUTTON_SIZE) {
38
36
  BUTTON_SIZE["REGULAR"] = "";
39
37
  BUTTON_SIZE["SMALL"] = "sm";
@@ -41,7 +39,6 @@ exports.BUTTON_SIZE = BUTTON_SIZE;
41
39
  BUTTON_SIZE["FIELD"] = "field";
42
40
  })(BUTTON_SIZE || (exports.BUTTON_SIZE = BUTTON_SIZE = {}));
43
41
  var BUTTON_ICON_LAYOUT;
44
- exports.BUTTON_ICON_LAYOUT = BUTTON_ICON_LAYOUT;
45
42
  (function (BUTTON_ICON_LAYOUT) {
46
43
  BUTTON_ICON_LAYOUT["REGULAR"] = "";
47
44
  BUTTON_ICON_LAYOUT["CONDENSED"] = "condensed";
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","names":["BUTTON_KIND","exports","BUTTON_SIZE","BUTTON_ICON_LAYOUT"],"sources":["components/button/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Button kinds.\n */\nexport enum BUTTON_KIND {\n /**\n * Primary button.\n */\n PRIMARY = 'primary',\n\n /**\n * Secondary button.\n */\n SECONDARY = 'secondary',\n\n /**\n * Tertiary button.\n */\n TERTIARY = 'tertiary',\n\n /**\n * Ghost button.\n */\n GHOST = 'ghost',\n\n /**\n * Danger button.\n */\n DANGER = 'danger',\n\n /**\n * Danger tertiary button.\n */\n DANGER_TERTIARY = 'danger-tertiary',\n\n /**\n * Danger ghost button,\n */\n DANGER_GHOST = 'danger-ghost',\n}\n\n/**\n * Button size.\n */\nexport enum BUTTON_SIZE {\n /**\n * Regular size.\n */\n REGULAR = '',\n\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * X-Large size.\n */\n EXTRA_LARGE = 'xl',\n\n /**\n * Size for form field.\n */\n FIELD = 'field',\n}\n\n/**\n * Button icon layout.\n */\nexport enum BUTTON_ICON_LAYOUT {\n /**\n * Regular layout.\n */\n REGULAR = '',\n\n /**\n * Condensed layout.\n */\n CONDENSED = 'condensed',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,WAAW;AAqCvB;AACA;AACA;AAFAC,OAAA,CAAAD,WAAA,GAAAA,WAAA;AAAA,WArCYA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAAC,OAAA,CAAAD,WAAA,GAAXA,WAAW;AAAA,IAwCXE,WAAW;AAsBvB;AACA;AACA;AAFAD,OAAA,CAAAC,WAAA,GAAAA,WAAA;AAAA,WAtBYA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAAD,OAAA,CAAAC,WAAA,GAAXA,WAAW;AAAA,IAyBXC,kBAAkB;AAAAF,OAAA,CAAAE,kBAAA,GAAAA,kBAAA;AAAA,WAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;AAAA,GAAlBA,kBAAkB,KAAAF,OAAA,CAAAE,kBAAA,GAAlBA,kBAAkB"}
1
+ {"version":3,"file":"defs.js","names":["BUTTON_KIND","exports","BUTTON_SIZE","BUTTON_ICON_LAYOUT"],"sources":["components/button/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Button kinds.\n */\nexport enum BUTTON_KIND {\n /**\n * Primary button.\n */\n PRIMARY = 'primary',\n\n /**\n * Secondary button.\n */\n SECONDARY = 'secondary',\n\n /**\n * Tertiary button.\n */\n TERTIARY = 'tertiary',\n\n /**\n * Ghost button.\n */\n GHOST = 'ghost',\n\n /**\n * Danger button.\n */\n DANGER = 'danger',\n\n /**\n * Danger tertiary button.\n */\n DANGER_TERTIARY = 'danger-tertiary',\n\n /**\n * Danger ghost button,\n */\n DANGER_GHOST = 'danger-ghost',\n}\n\n/**\n * Button size.\n */\nexport enum BUTTON_SIZE {\n /**\n * Regular size.\n */\n REGULAR = '',\n\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * X-Large size.\n */\n EXTRA_LARGE = 'xl',\n\n /**\n * Size for form field.\n */\n FIELD = 'field',\n}\n\n/**\n * Button icon layout.\n */\nexport enum BUTTON_ICON_LAYOUT {\n /**\n * Regular layout.\n */\n REGULAR = '',\n\n /**\n * Condensed layout.\n */\n CONDENSED = 'condensed',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,WAAW;AAqCvB;AACA;AACA;AAFA,WArCYA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAAC,OAAA,CAAAD,WAAA,GAAXA,WAAW;AAAA,IAwCXE,WAAW;AAsBvB;AACA;AACA;AAFA,WAtBYA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAAD,OAAA,CAAAC,WAAA,GAAXA,WAAW;AAAA,IAyBXC,kBAAkB;AAAA,WAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;AAAA,GAAlBA,kBAAkB,KAAAF,OAAA,CAAAE,kBAAA,GAAlBA,kBAAkB"}
@@ -85,6 +85,5 @@ var DDSButtonGroupItem = (0, _decorate2["default"])([(0, _carbonElement.carbonEl
85
85
  };
86
86
  }, _button["default"]);
87
87
  /* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
88
- var _default = DDSButtonGroupItem;
89
- exports["default"] = _default;
88
+ var _default = exports["default"] = DDSButtonGroupItem;
90
89
  //# sourceMappingURL=button-group-item.js.map