@carbon/ibm-products-web-components 0.18.0-rc.0 → 0.19.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/custom-elements.json +509 -0
  2. package/es/components/about-modal/about-modal.scss.js +1 -1
  3. package/es/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
  4. package/es/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
  5. package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
  6. package/es/components/notification-panel/date-time-context.d.ts +9 -0
  7. package/es/components/notification-panel/date-time-context.js +19 -0
  8. package/es/components/notification-panel/date-time-context.js.map +1 -0
  9. package/es/components/notification-panel/defs.d.ts +8 -0
  10. package/es/components/notification-panel/defs.js +8 -0
  11. package/es/components/notification-panel/defs.js.map +1 -0
  12. package/es/components/notification-panel/index.d.ts +11 -0
  13. package/es/components/notification-panel/index.js +11 -0
  14. package/es/components/notification-panel/index.js.map +1 -0
  15. package/es/components/notification-panel/notification-footer.d.ts +389 -0
  16. package/es/components/notification-panel/notification-footer.js +119 -0
  17. package/es/components/notification-panel/notification-footer.js.map +1 -0
  18. package/es/components/notification-panel/notification-footer.scss.js +13 -0
  19. package/es/components/notification-panel/notification-footer.scss.js.map +1 -0
  20. package/es/components/notification-panel/notification-panel.d.ts +458 -0
  21. package/es/components/notification-panel/notification-panel.js +414 -0
  22. package/es/components/notification-panel/notification-panel.js.map +1 -0
  23. package/es/components/notification-panel/notification-panel.scss.js +13 -0
  24. package/es/components/notification-panel/notification-panel.scss.js.map +1 -0
  25. package/es/components/notification-panel/notification-panel.test.d.ts +7 -0
  26. package/es/components/notification-panel/notification-panel.test.js +30 -0
  27. package/es/components/notification-panel/notification-panel.test.js.map +1 -0
  28. package/es/components/notification-panel/notification.d.ts +405 -0
  29. package/es/components/notification-panel/notification.js +178 -0
  30. package/es/components/notification-panel/notification.js.map +1 -0
  31. package/es/components/notification-panel/notification.scss.js +13 -0
  32. package/es/components/notification-panel/notification.scss.js.map +1 -0
  33. package/es/components/page-header/index.d.ts +14 -0
  34. package/es/components/page-header/index.js +14 -0
  35. package/es/components/page-header/index.js.map +1 -0
  36. package/es/components/page-header/page-header-breadcrumb.d.ts +35 -0
  37. package/es/components/page-header/page-header-breadcrumb.js +94 -0
  38. package/es/components/page-header/page-header-breadcrumb.js.map +1 -0
  39. package/es/components/page-header/page-header-content-text.d.ts +22 -0
  40. package/es/components/page-header/page-header-content-text.js +56 -0
  41. package/es/components/page-header/page-header-content-text.js.map +1 -0
  42. package/es/components/page-header/page-header-content.d.ts +41 -0
  43. package/es/components/page-header/page-header-content.js +131 -0
  44. package/es/components/page-header/page-header-content.js.map +1 -0
  45. package/es/components/page-header/page-header-hero-image.d.ts +18 -0
  46. package/es/components/page-header/page-header-hero-image.js +38 -0
  47. package/es/components/page-header/page-header-hero-image.js.map +1 -0
  48. package/es/components/page-header/page-header-tabs.d.ts +18 -0
  49. package/es/components/page-header/page-header-tabs.js +47 -0
  50. package/es/components/page-header/page-header-tabs.js.map +1 -0
  51. package/es/components/page-header/page-header.d.ts +18 -0
  52. package/es/components/page-header/page-header.js +38 -0
  53. package/es/components/page-header/page-header.js.map +1 -0
  54. package/es/components/page-header/page-header.scss.js +13 -0
  55. package/es/components/page-header/page-header.scss.js.map +1 -0
  56. package/es/components/page-header/page-header.test.d.ts +1 -0
  57. package/es/components/page-header/page-header.test.js +207 -0
  58. package/es/components/page-header/page-header.test.js.map +1 -0
  59. package/es/components/side-panel/side-panel.d.ts +4 -0
  60. package/es/components/side-panel/side-panel.js +21 -12
  61. package/es/components/side-panel/side-panel.js.map +1 -1
  62. package/es/components/side-panel/side-panel.scss.js +1 -1
  63. package/es/components/side-panel/side-panel.test.js +21 -0
  64. package/es/components/side-panel/side-panel.test.js.map +1 -1
  65. package/es/components/tearsheet/tearsheet.scss.js +1 -1
  66. package/es/globals/internal/storybook-cdn.js +1 -1
  67. package/es/globals/js/utils/getSupportedLocale.d.ts +12 -0
  68. package/es/globals/js/utils/getSupportedLocale.js +35 -0
  69. package/es/globals/js/utils/getSupportedLocale.js.map +1 -0
  70. package/es/index.d.ts +6 -0
  71. package/es/index.js +6 -0
  72. package/es/index.js.map +1 -1
  73. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
  74. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
  75. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
  76. package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
  77. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
  78. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
  79. package/es/{package.json.js → packages/ibm-products-web-components/package.json.js} +1 -1
  80. package/es-custom/components/about-modal/about-modal.scss.js +1 -1
  81. package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
  82. package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
  83. package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
  84. package/es-custom/components/notification-panel/date-time-context.d.ts +9 -0
  85. package/es-custom/components/notification-panel/date-time-context.js +19 -0
  86. package/es-custom/components/notification-panel/date-time-context.js.map +1 -0
  87. package/es-custom/components/notification-panel/defs.d.ts +8 -0
  88. package/es-custom/components/notification-panel/defs.js +8 -0
  89. package/es-custom/components/notification-panel/defs.js.map +1 -0
  90. package/es-custom/components/notification-panel/index.d.ts +11 -0
  91. package/es-custom/components/notification-panel/index.js +11 -0
  92. package/es-custom/components/notification-panel/index.js.map +1 -0
  93. package/es-custom/components/notification-panel/notification-footer.d.ts +389 -0
  94. package/es-custom/components/notification-panel/notification-footer.js +119 -0
  95. package/es-custom/components/notification-panel/notification-footer.js.map +1 -0
  96. package/es-custom/components/notification-panel/notification-footer.scss.js +13 -0
  97. package/es-custom/components/notification-panel/notification-footer.scss.js.map +1 -0
  98. package/es-custom/components/notification-panel/notification-panel.d.ts +458 -0
  99. package/es-custom/components/notification-panel/notification-panel.js +414 -0
  100. package/es-custom/components/notification-panel/notification-panel.js.map +1 -0
  101. package/es-custom/components/notification-panel/notification-panel.scss.js +13 -0
  102. package/es-custom/components/notification-panel/notification-panel.scss.js.map +1 -0
  103. package/es-custom/components/notification-panel/notification-panel.test.d.ts +7 -0
  104. package/es-custom/components/notification-panel/notification-panel.test.js +30 -0
  105. package/es-custom/components/notification-panel/notification-panel.test.js.map +1 -0
  106. package/es-custom/components/notification-panel/notification.d.ts +405 -0
  107. package/es-custom/components/notification-panel/notification.js +178 -0
  108. package/es-custom/components/notification-panel/notification.js.map +1 -0
  109. package/es-custom/components/notification-panel/notification.scss.js +13 -0
  110. package/es-custom/components/notification-panel/notification.scss.js.map +1 -0
  111. package/es-custom/components/page-header/index.d.ts +14 -0
  112. package/es-custom/components/page-header/index.js +14 -0
  113. package/es-custom/components/page-header/index.js.map +1 -0
  114. package/es-custom/components/page-header/page-header-breadcrumb.d.ts +35 -0
  115. package/es-custom/components/page-header/page-header-breadcrumb.js +94 -0
  116. package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -0
  117. package/es-custom/components/page-header/page-header-content-text.d.ts +22 -0
  118. package/es-custom/components/page-header/page-header-content-text.js +56 -0
  119. package/es-custom/components/page-header/page-header-content-text.js.map +1 -0
  120. package/es-custom/components/page-header/page-header-content.d.ts +41 -0
  121. package/es-custom/components/page-header/page-header-content.js +131 -0
  122. package/es-custom/components/page-header/page-header-content.js.map +1 -0
  123. package/es-custom/components/page-header/page-header-hero-image.d.ts +18 -0
  124. package/es-custom/components/page-header/page-header-hero-image.js +38 -0
  125. package/es-custom/components/page-header/page-header-hero-image.js.map +1 -0
  126. package/es-custom/components/page-header/page-header-tabs.d.ts +18 -0
  127. package/es-custom/components/page-header/page-header-tabs.js +47 -0
  128. package/es-custom/components/page-header/page-header-tabs.js.map +1 -0
  129. package/es-custom/components/page-header/page-header.d.ts +18 -0
  130. package/es-custom/components/page-header/page-header.js +38 -0
  131. package/es-custom/components/page-header/page-header.js.map +1 -0
  132. package/es-custom/components/page-header/page-header.scss.js +13 -0
  133. package/es-custom/components/page-header/page-header.scss.js.map +1 -0
  134. package/es-custom/components/page-header/page-header.test.d.ts +1 -0
  135. package/es-custom/components/page-header/page-header.test.js +207 -0
  136. package/es-custom/components/page-header/page-header.test.js.map +1 -0
  137. package/es-custom/components/side-panel/side-panel.d.ts +4 -0
  138. package/es-custom/components/side-panel/side-panel.js +21 -12
  139. package/es-custom/components/side-panel/side-panel.js.map +1 -1
  140. package/es-custom/components/side-panel/side-panel.scss.js +1 -1
  141. package/es-custom/components/side-panel/side-panel.test.js +21 -0
  142. package/es-custom/components/side-panel/side-panel.test.js.map +1 -1
  143. package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
  144. package/es-custom/globals/internal/storybook-cdn.js +1 -1
  145. package/es-custom/globals/js/utils/getSupportedLocale.d.ts +12 -0
  146. package/es-custom/globals/js/utils/getSupportedLocale.js +35 -0
  147. package/es-custom/globals/js/utils/getSupportedLocale.js.map +1 -0
  148. package/es-custom/index.d.ts +6 -0
  149. package/es-custom/index.js +6 -0
  150. package/es-custom/index.js.map +1 -1
  151. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
  152. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
  153. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
  154. package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
  155. package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
  156. package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
  157. package/es-custom/{package.json.js → packages/ibm-products-web-components/package.json.js} +1 -1
  158. package/lib/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
  159. package/lib/components/notification-panel/date-time-context.d.ts +9 -0
  160. package/lib/components/notification-panel/defs.d.ts +8 -0
  161. package/lib/components/notification-panel/defs.js +10 -0
  162. package/lib/components/notification-panel/defs.js.map +1 -0
  163. package/lib/components/notification-panel/index.d.ts +11 -0
  164. package/lib/components/notification-panel/notification-footer.d.ts +389 -0
  165. package/lib/components/notification-panel/notification-panel.d.ts +458 -0
  166. package/lib/components/notification-panel/notification-panel.test.d.ts +7 -0
  167. package/lib/components/notification-panel/notification.d.ts +405 -0
  168. package/lib/components/page-header/index.d.ts +14 -0
  169. package/lib/components/page-header/page-header-breadcrumb.d.ts +35 -0
  170. package/lib/components/page-header/page-header-content-text.d.ts +22 -0
  171. package/lib/components/page-header/page-header-content.d.ts +41 -0
  172. package/lib/components/page-header/page-header-hero-image.d.ts +18 -0
  173. package/lib/components/page-header/page-header-tabs.d.ts +18 -0
  174. package/lib/components/page-header/page-header.d.ts +18 -0
  175. package/lib/components/page-header/page-header.test.d.ts +1 -0
  176. package/lib/components/side-panel/side-panel.d.ts +4 -0
  177. package/lib/globals/js/utils/getSupportedLocale.d.ts +12 -0
  178. package/lib/globals/js/utils/getSupportedLocale.js +37 -0
  179. package/lib/globals/js/utils/getSupportedLocale.js.map +1 -0
  180. package/lib/index.d.ts +6 -0
  181. package/package.json +12 -11
  182. package/scss/components/notification-panel/notification-footer.scss +65 -0
  183. package/scss/components/notification-panel/notification-panel.scss +59 -0
  184. package/scss/components/notification-panel/notification.scss +147 -0
  185. package/scss/components/notification-panel/story-styles.scss +116 -0
  186. package/scss/components/page-header/page-header.scss +288 -0
  187. /package/es/{package.json.js.map → packages/ibm-products-web-components/package.json.js.map} +0 -0
  188. /package/es-custom/{package.json.js.map → packages/ibm-products-web-components/package.json.js.map} +0 -0
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { css } from 'lit';
9
+
10
+ var styles = css(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-feature-settings:\"liga\" 1;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{background-color:var(--cds-custom-background,#fff);color:var(--cds-custom-text-primary,#161616);line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{font-size:100%}body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-custom-heading-06-font-size,2.625rem);font-weight:var(--cds-custom-heading-06-font-weight,300);letter-spacing:var(--cds-custom-heading-06-letter-spacing,0);line-height:var(--cds-custom-heading-06-line-height,1.199)}h2{font-size:var(--cds-custom-heading-05-font-size,2rem);font-weight:var(--cds-custom-heading-05-font-weight,400);letter-spacing:var(--cds-custom-heading-05-letter-spacing,0);line-height:var(--cds-custom-heading-05-line-height,1.25)}h3{font-size:var(--cds-custom-heading-04-font-size,1.75rem);font-weight:var(--cds-custom-heading-04-font-weight,400);letter-spacing:var(--cds-custom-heading-04-letter-spacing,0);line-height:var(--cds-custom-heading-04-line-height,1.28572)}h4{font-size:var(--cds-custom-heading-03-font-size,1.25rem);font-weight:var(--cds-custom-heading-03-font-weight,400);letter-spacing:var(--cds-custom-heading-03-letter-spacing,0);line-height:var(--cds-custom-heading-03-line-height,1.4)}h5{font-size:var(--cds-custom-heading-02-font-size,1rem);font-weight:var(--cds-custom-heading-02-font-weight,600);letter-spacing:var(--cds-custom-heading-02-letter-spacing,0);line-height:var(--cds-custom-heading-02-line-height,1.5)}h6{font-size:var(--cds-custom-heading-01-font-size,.875rem);font-weight:var(--cds-custom-heading-01-font-weight,600);letter-spacing:var(--cds-custom-heading-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-01-line-height,1.42857)}p{font-size:var(--cds-custom-body-02-font-size,1rem);font-weight:var(--cds-custom-body-02-font-weight,400);letter-spacing:var(--cds-custom-body-02-letter-spacing,0);line-height:var(--cds-custom-body-02-line-height,1.5)}a{color:var(--cds-custom-link-primary,#0062fe)}em{font-style:italic}@keyframes c4p--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes c4p--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes c4p--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.c4p--layout--size-xs{--c4p-layout-size-height-context:var(--c4p-layout-size-height-xs,1.5rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-xs{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-xs,1.5rem))}.c4p--layout-constraint--size__min-xs{--c4p-layout-size-height-min:var(--c4p-layout-size-height-xs,1.5rem)}.c4p--layout-constraint--size__max-xs{--c4p-layout-size-height-max:var(--c4p-layout-size-height-xs,1.5rem)}.c4p--layout--size-sm{--c4p-layout-size-height-context:var(--c4p-layout-size-height-sm,2rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-sm{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-sm,2rem))}.c4p--layout-constraint--size__min-sm{--c4p-layout-size-height-min:var(--c4p-layout-size-height-sm,2rem)}.c4p--layout-constraint--size__max-sm{--c4p-layout-size-height-max:var(--c4p-layout-size-height-sm,2rem)}.c4p--layout--size-md{--c4p-layout-size-height-context:var(--c4p-layout-size-height-md,2.5rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-md{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-md,2.5rem))}.c4p--layout-constraint--size__min-md{--c4p-layout-size-height-min:var(--c4p-layout-size-height-md,2.5rem)}.c4p--layout-constraint--size__max-md{--c4p-layout-size-height-max:var(--c4p-layout-size-height-md,2.5rem)}.c4p--layout--size-lg{--c4p-layout-size-height-context:var(--c4p-layout-size-height-lg,3rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-lg{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-lg,3rem))}.c4p--layout-constraint--size__min-lg{--c4p-layout-size-height-min:var(--c4p-layout-size-height-lg,3rem)}.c4p--layout-constraint--size__max-lg{--c4p-layout-size-height-max:var(--c4p-layout-size-height-lg,3rem)}.c4p--layout--size-xl{--c4p-layout-size-height-context:var(--c4p-layout-size-height-xl,4rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-xl{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-xl,4rem))}.c4p--layout-constraint--size__min-xl{--c4p-layout-size-height-min:var(--c4p-layout-size-height-xl,4rem)}.c4p--layout-constraint--size__max-xl{--c4p-layout-size-height-max:var(--c4p-layout-size-height-xl,4rem)}.c4p--layout--size-2xl{--c4p-layout-size-height-context:var(--c4p-layout-size-height-2xl,5rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-2xl{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-2xl,5rem))}.c4p--layout-constraint--size__min-2xl{--c4p-layout-size-height-min:var(--c4p-layout-size-height-2xl,5rem)}.c4p--layout-constraint--size__max-2xl{--c4p-layout-size-height-max:var(--c4p-layout-size-height-2xl,5rem)}.c4p--layout--density-condensed{--c4p-layout-density-padding-inline-context:var(--c4p-layout-density-padding-inline-condensed,0.5rem);--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context)}.c4p--layout-constraint--density__default-condensed{--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context,var(--c4p-layout-density-padding-inline-condensed,0.5rem))}.c4p--layout-constraint--density__min-condensed{--c4p-layout-density-padding-inline-min:var(--c4p-layout-density-padding-inline-condensed,0.5rem)}.c4p--layout-constraint--density__max-condensed{--c4p-layout-density-padding-inline-max:var(--c4p-layout-density-padding-inline-condensed,0.5rem)}.c4p--layout--density-normal{--c4p-layout-density-padding-inline-context:var(--c4p-layout-density-padding-inline-normal,1rem);--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context)}.c4p--layout-constraint--density__default-normal{--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context,var(--c4p-layout-density-padding-inline-normal,1rem))}.c4p--layout-constraint--density__min-normal{--c4p-layout-density-padding-inline-min:var(--c4p-layout-density-padding-inline-normal,1rem)}.c4p--layout-constraint--density__max-normal{--c4p-layout-density-padding-inline-max:var(--c4p-layout-density-padding-inline-normal,1rem)}:root{--c4p-layout-size-height-xs:1.5rem;--c4p-layout-size-height-sm:2rem;--c4p-layout-size-height-md:2.5rem;--c4p-layout-size-height-lg:3rem;--c4p-layout-size-height-xl:4rem;--c4p-layout-size-height-2xl:5rem;--c4p-layout-size-height-min:0px;--c4p-layout-size-height-max:999999999px;--c4p-layout-density-padding-inline-condensed:0.5rem;--c4p-layout-density-padding-inline-normal:1rem;--c4p-layout-density-padding-inline-min:0px;--c4p-layout-density-padding-inline-max:999999999px}.c4p--assistive-text,.c4p--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--empty-state{color:var(--cds-custom-text-primary,#161616);display:flex}.c4p--empty-state .c4p--empty-state__header{font-size:var(--cds-custom-heading-03-font-size,1.25rem);font-weight:var(--cds-custom-heading-03-font-weight,400);letter-spacing:var(--cds-custom-heading-03-letter-spacing,0);line-height:var(--cds-custom-heading-03-line-height,1.4);margin:0;padding-block-end:.5rem}.c4p--empty-state .c4p--empty-state__subtitle{color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-body-01-font-size,.875rem);font-weight:var(--cds-custom-body-01-font-weight,400);letter-spacing:var(--cds-custom-body-01-letter-spacing,.16px);line-height:var(--cds-custom-body-01-line-height,1.42857);padding-block-end:1rem}.c4p--empty-state .c4p--empty-state__header--small{font-size:var(--cds-custom-body-compact-02-font-size,1rem);font-weight:var(--cds-custom-body-compact-02-font-weight,400);letter-spacing:var(--cds-custom-body-compact-02-letter-spacing,0);line-height:var(--cds-custom-body-compact-02-line-height,1.375);padding-block-end:.5rem}.c4p--empty-state .c4p--empty-state__subtitle--small{font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333)}.c4p--empty-state__illustration{block-size:auto;margin-block-end:1rem}.c4p--empty-state__illustration.c4p--empty-state__illustration--lg{max-inline-size:5rem;min-inline-size:5rem}.c4p--empty-state__illustration.c4p--empty-state__illustration--sm{max-inline-size:4rem;min-inline-size:4rem}.c4p--empty-state-position--top{flex-direction:column}.c4p--empty-state-position--right{flex-direction:row-reverse}.c4p--empty-state-position--bottom{flex-direction:column-reverse}.c4p--empty-state-position--left{flex-direction:row}.c4p--empty-state .c4p--empty-state__action-button{display:block;margin-block-end:1rem}.c4p--empty-state .c4p--empty-state__link{display:inline-block}@keyframes notifications-panel-fade-in{0%{opacity:0;transform:translateY(-38.5rem)}to{opacity:1;transform:translateY(0)}}@keyframes notifications-panel-fade-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-38.5rem)}}@keyframes notifications-panel-entrance-reduced{0%{opacity:0}to{opacity:1}}@keyframes notifications-panel-exit-reduced{0%{opacity:1}to{opacity:0}}.c4p--notifications-panel__entrance{animation:notifications-panel-fade-in .24s cubic-bezier(.2,0,.38,.9)}.c4p--notifications-panel__exit{animation:notifications-panel-fade-out .24s cubic-bezier(.2,0,.38,.9) forwards}@media (prefers-reduced-motion){.c4p--notifications-panel__entrance{animation:notifications-panel-entrance-reduced .15s cubic-bezier(.2,0,1,.9) forwards}.c4p--notifications-panel__exit{animation:notifications-panel-exit-reduced .15s cubic-bezier(.2,0,1,.9) forwards}}.c4p--notifications-panel__container{background-color:var(--cds-custom-layer-01,#f4f4f4);border-block-end:1px solid var(--cds-custom-border-subtle-02,#e0e0e0);border-inline-start:1px solid var(--cds-custom-border-subtle-02,#e0e0e0);box-shadow:0 .125rem .25rem var(--cds-custom-overlay,hsla(0,0%,9%,.5));color:var(--cds-custom-text-primary,#161616);inset-block-start:3rem;inset-inline-end:0;max-block-size:38.5rem;max-inline-size:22.75rem;min-block-size:38.5rem;min-inline-size:20rem;overflow:auto;position:fixed;transition:transform .11s cubic-bezier(.2,0,.38,.9);z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__header-container{background-color:var(--cds-custom-layer-01,#f4f4f4);border-block-end:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);inset-block-start:0;padding:.5rem 1rem;position:sticky;z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__header-flex{align-items:center;display:flex;justify-content:space-between}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__do-not-disturb-toggle{padding-block-end:.5rem}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__do-not-disturb-toggle .cds-custom--toggle__label-text{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__dismiss-button{color:var(--cds-custom-text-primary,#161616)}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__header{font-size:var(--cds-custom-heading-compact-01-font-size,.875rem);font-weight:var(--cds-custom-heading-compact-01-font-weight,600);letter-spacing:var(--cds-custom-heading-compact-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-compact-01-line-height,1.28572);margin:0}.c4p--notifications-panel__container .c4p--notifications-panel__time-section-label{background-color:var(--cds-custom-layer-01,#f4f4f4);color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);font-weight:600;inset-block-start:3.0625rem;letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333);padding:.5rem 1rem;position:sticky;z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__notification:focus,.c4p--notifications-panel__container .c4p--notifications-panel__notification:hover{background-color:var(--cds-custom-layer-accent-01,#e0e0e0)}.c4p--notifications-panel__container .c4p--notifications-panel__notification:focus .c4p--notifications-panel__dismiss-single-button,.c4p--notifications-panel__container .c4p--notifications-panel__notification:hover .c4p--notifications-panel__dismiss-single-button{opacity:1}.c4p--notifications-panel__container .c4p--notifications-panel__notification:focus{border-color:var(--cds-custom-focus,#0f62fe);box-shadow:inset 0 0 0 2px var(--cds-custom-focus,#0f62fe),inset 0 0 0 2px var(--cds-custom-background,#fff);outline:0}.c4p--notifications-panel__container .c4p--notifications-panel__notification{align-items:flex-start;background-color:var(--cds-custom-layer-01,#f4f4f4);border:0;cursor:pointer;display:flex;inline-size:100%;min-block-size:6.25rem;padding:1rem;position:relative;text-align:start;transition:background-color .24s cubic-bezier(.2,0,.38,.9)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-title{color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-heading-01-font-size,.875rem);font-weight:var(--cds-custom-heading-01-font-weight,600);font-weight:400;letter-spacing:var(--cds-custom-heading-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-01-line-height,1.42857);margin-block-end:.25rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-title.c4p--notifications-panel__notification-title-unread{color:var(--cds-custom-text-secondary,#525252);font-weight:600;margin-block-end:.25rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notifications-link{font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon{margin-inline-end:.5rem;min-inline-size:1rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-error{fill:var(--cds-custom-support-error,#da1e28)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-success{fill:var(--cds-custom-support-success,#24a148)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-warning{fill:var(--cds-custom-support-warning,#f1c21b)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-informational{fill:var(--cds-custom-support-info,#0043ce)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-time-label{margin-block-end:.5rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-description,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-time-label{color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-description.c4p--notifications-panel__notification-short-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-description.c4p--notifications-panel__notification-long-description{display:block;overflow:initial;-webkit-line-clamp:initial;line-clamp:none}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button{align-items:center;display:flex;font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333);min-inline-size:5.5rem;padding:0}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon{transition:transform .24s ease}@media (prefers-reduced-motion:reduce){.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon{transition:none}}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button.c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button.c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon{transform:rotate(0deg)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button.c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button.c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon{transform:rotate(180deg)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .cds-custom--popover-container{position:static}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__dismiss-single-button{align-items:center;color:var(--cds-custom-text-primary,#161616);display:flex;inset-block-start:0;inset-inline-end:0;justify-content:center;min-inline-size:2rem;opacity:0;padding:0;position:absolute}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__dismiss-single-button:focus,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__dismiss-single-button:hover{opacity:1}.c4p--notifications-panel__container .c4p--notifications-panel__notification-previous:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-today:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-yesterday:not(:first-of-type):before{background-color:var(--cds-custom-border-subtle-01,#c6c6c6);block-size:1px;content:\"\";inline-size:calc(100% - 2rem);inset-block-start:0;margin:0 auto;position:absolute;transition:background-color .24s cubic-bezier(.2,0,.38,.9)}.c4p--notifications-panel__container .c4p--notifications-panel__notification-previous:hover+.c4p--notifications-panel__notification-previous:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-today:hover+.c4p--notifications-panel__notification-today:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-yesterday:hover+.c4p--notifications-panel__notification-yesterday:not(:first-of-type):before{background-color:transparent}.c4p--notifications-panel__container .c4p--notifications-panel__main-section-empty.c4p--notifications-panel__main-section{align-items:center;block-size:100%;display:flex;justify-content:center;margin-block-start:10rem;min-block-size:0}.c4p--notifications-panel__container .c4p--notifications-panel__main-section-empty.c4p--notifications-panel__main-section .c4p-subtext{font-size:var(--cds-custom-body-compact-01-font-size,.875rem);font-weight:var(--cds-custom-body-compact-01-font-weight,400);letter-spacing:var(--cds-custom-body-compact-01-letter-spacing,.16px);line-height:var(--cds-custom-body-compact-01-line-height,1.28572)}.c4p--notifications-panel__container .c4p--notifications-panel__main-section{min-block-size:498px}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions{align-items:center;background-color:var(--cds-custom-layer-01,#f4f4f4);block-size:2.5rem;border-block-start:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);display:flex;inset-block-end:0;min-block-size:2.5rem;position:sticky;z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions .c4p--notifications-panel__view-all-button{align-items:center;block-size:2.5rem;border-inline-end:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);color:var(--cds-custom-text-primary,#161616);display:flex;inline-size:100%;max-inline-size:calc(100% - 2.5rem);min-block-size:2.5rem}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions .c4p--notifications-panel__settings-button{align-items:center;block-size:2.5rem;color:var(--cds-custom-text-primary,#161616);display:flex;justify-content:center;min-block-size:2.5rem;min-inline-size:2.5rem;padding:0}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions .c4p--notifications-panel__settings-button .cds-custom--btn__icon{margin:0}.c4p--notifications-panel__header-container:has(.c4p--notifications-panel__do-not-disturb-toggle)+.c4p--notifications-panel__main-section .c4p--notifications-panel__time-section-label{inset-block-start:4.8125rem}:host(c4p-notification){align-items:flex-start;background-color:var(--cds-custom-layer-01,#f4f4f4);border:0;cursor:pointer;display:flex;inline-size:100%;min-block-size:6.25rem;padding:1rem;position:relative;text-align:start;transition:background-color .24s cubic-bezier(.2,0,.38,.9)}@media screen and (prefers-reduced-motion:reduce){:host(c4p-notification):before{background-color:var(--cds-custom-border-subtle-01,#c6c6c6);block-size:1px;content:\"\";inline-size:calc(100% - 2rem);inset-block-start:0;margin:0 auto;position:absolute;transition:none}}:host(c4p-notification):before{background-color:var(--cds-custom-border-subtle-01,#c6c6c6);block-size:1px;content:\"\";inline-size:calc(100% - 2rem);inset-block-start:0;margin:0 auto;position:absolute;transition:background-color .24s cubic-bezier(.2,0,.38,.9)}:host(c4p-notification):hover:before{background-color:transparent}:host(c4p-notification) .c4p--notifications-panel__notification-status-icon{margin-inline-end:.5rem;min-inline-size:1rem}:host(c4p-notification) .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-error{fill:var(--cds-custom-support-error,#da1e28)}:host(c4p-notification) .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-success{fill:var(--cds-custom-support-success,#24a148)}:host(c4p-notification) .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-warning{fill:var(--cds-custom-support-warning,#f1c21b)}:host(c4p-notification) .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-informational{fill:var(--cds-custom-support-info,#0043ce)}:host(c4p-notification) .c4p--notifications-panel__notification-time-label{margin-block-end:.5rem}:host(c4p-notification) .c4p--notifications-panel__notification__dismiss-single-button{align-items:center;color:var(--cds-custom-text-primary,#161616);display:flex;inset-block-start:0;inset-inline-end:0;justify-content:center;min-inline-size:2rem;opacity:0;padding:0;position:absolute;--cds-custom-link-primary:--cds-custom-text-primary;--cds-custom-link-primary-hover:--cds-custom-text-primary}:host(c4p-notification) .c4p--notifications-panel__notification__dismiss-single-button:focus,:host(c4p-notification) .c4p--notifications-panel__notification__dismiss-single-button:hover{opacity:1}:host(c4p-notification) .c4p--notifications-panel__notification-description,:host(c4p-notification) .c4p--notifications-panel__notification-time-label{color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333)}:host(c4p-notification) .c4p--notifications-panel__notification-description{display:block}::slotted(.c4p--notifications-panel__notification-title){color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-heading-01-font-size,.875rem);font-weight:var(--cds-custom-heading-01-font-weight,600);font-weight:400;letter-spacing:var(--cds-custom-heading-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-01-line-height,1.42857);margin-block-end:.25rem}::slotted(.c4p--notifications-panel__notification-title-unread){color:var(--cds-custom-text-secondary,#525252);font-weight:600;margin-block-end:.25rem}:host(.first-notification):before{content:none}:host(:focus),:host(:hover){background-color:var(--cds-custom-layer-accent-01,#e0e0e0)}:host(:focus) .c4p--notifications-panel__notification__dismiss-single-button,:host(:hover) .c4p--notifications-panel__notification__dismiss-single-button{opacity:1}:host(:focus):before,:host(:hover):before{background-color:transparent}:host(.c4p--notifications-panel__notification--next):before{background-color:transparent}"]);
11
+
12
+ export { styles as default };
13
+ //# sourceMappingURL=notification.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025, 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import './page-header';
10
+ import './page-header-breadcrumb';
11
+ import './page-header-content';
12
+ import './page-header-content-text';
13
+ import './page-header-hero-image';
14
+ import './page-header-tabs';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import './page-header.js';
9
+ import './page-header-breadcrumb.js';
10
+ import './page-header-content.js';
11
+ import './page-header-content-text.js';
12
+ import './page-header-hero-image.js';
13
+ import './page-header-tabs.js';
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025, 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { LitElement } from 'lit';
10
+ /**
11
+ * Page header Breadcrumb Bar.
12
+ * @element c4p-page-header-breadcrumb
13
+ */
14
+ declare class CDSPageHeaderBreadcrumb extends LitElement {
15
+ /**
16
+ * Specify if breadcrumb bar has bottom border.
17
+ */
18
+ border: boolean;
19
+ /**
20
+ * Set to `true` if the breadcrumb bar is sitting within a grid
21
+ * (ie. when used in tandem with page-header-hero-image)
22
+ */
23
+ withinGrid: boolean;
24
+ /**
25
+ * Set to `true` if page actions should be flush (no padding)
26
+ */
27
+ pageActionsFlush: boolean;
28
+ /**
29
+ * Set to `true` if content actions should be flush (no padding)
30
+ */
31
+ contentActionsFlush: boolean;
32
+ render(): import("lit-html").TemplateResult<1>;
33
+ static styles: any;
34
+ }
35
+ export default CDSPageHeaderBreadcrumb;
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement, html } from 'lit';
10
+ import { classMap } from 'lit/directives/class-map.js';
11
+ import { prefix, carbonPrefix } from '../../globals/settings.js';
12
+ import { property } from 'lit/decorators.js';
13
+ import styles from './page-header.scss.js';
14
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
15
+
16
+ /**
17
+ * @license
18
+ *
19
+ * Copyright IBM Corp. 2025, 2025
20
+ *
21
+ * This source code is licensed under the Apache-2.0 license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */
24
+ /**
25
+ * Page header Breadcrumb Bar.
26
+ * @element c4p-page-header-breadcrumb
27
+ */
28
+ let CDSPageHeaderBreadcrumb = class CDSPageHeaderBreadcrumb extends LitElement {
29
+ constructor() {
30
+ super(...arguments);
31
+ /**
32
+ * Specify if breadcrumb bar has bottom border.
33
+ */
34
+ this.border = true;
35
+ /**
36
+ * Set to `true` if the breadcrumb bar is sitting within a grid
37
+ * (ie. when used in tandem with page-header-hero-image)
38
+ */
39
+ this.withinGrid = false;
40
+ /**
41
+ * Set to `true` if page actions should be flush (no padding)
42
+ */
43
+ this.pageActionsFlush = false;
44
+ /**
45
+ * Set to `true` if content actions should be flush (no padding)
46
+ */
47
+ this.contentActionsFlush = false;
48
+ }
49
+ render() {
50
+ const { withinGrid } = this;
51
+ const gridClasses = classMap({
52
+ [`${carbonPrefix}--css-grid`]: !withinGrid,
53
+ [`${carbonPrefix}--subgrid ${carbonPrefix}--subgrid--wide`]: withinGrid,
54
+ });
55
+ return html `
56
+ <div class="${gridClasses}">
57
+ <div
58
+ class="${carbonPrefix}--sm:col-span-4 ${carbonPrefix}--md:col-span-8 ${carbonPrefix}--lg:col-span-16 ${carbonPrefix}--css-grid-column"
59
+ >
60
+ <div class="${prefix}--page-header__breadcrumb-container">
61
+ <div class="${prefix}--page-header__breadcrumb-wrapper">
62
+ <slot name="icon"></slot>
63
+ <slot></slot>
64
+ </div>
65
+ <div class="${prefix}--page-header__breadcrumb__actions">
66
+ <slot name="content-actions"></slot>
67
+ <slot name="page-actions"></slot>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ `;
73
+ }
74
+ };
75
+ CDSPageHeaderBreadcrumb.styles = styles;
76
+ __decorate([
77
+ property({ reflect: true })
78
+ ], CDSPageHeaderBreadcrumb.prototype, "border", void 0);
79
+ __decorate([
80
+ property({ attribute: 'within-grid', type: Boolean })
81
+ ], CDSPageHeaderBreadcrumb.prototype, "withinGrid", void 0);
82
+ __decorate([
83
+ property({ attribute: 'page-actions-flush', type: Boolean })
84
+ ], CDSPageHeaderBreadcrumb.prototype, "pageActionsFlush", void 0);
85
+ __decorate([
86
+ property({ attribute: 'content-actions-flush', type: Boolean })
87
+ ], CDSPageHeaderBreadcrumb.prototype, "contentActionsFlush", void 0);
88
+ CDSPageHeaderBreadcrumb = __decorate([
89
+ carbonElement(`${prefix}-page-header-breadcrumb`)
90
+ ], CDSPageHeaderBreadcrumb);
91
+ var CDSPageHeaderBreadcrumb$1 = CDSPageHeaderBreadcrumb;
92
+
93
+ export { CDSPageHeaderBreadcrumb$1 as default };
94
+ //# sourceMappingURL=page-header-breadcrumb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-header-breadcrumb.js","sources":["../../../src/components/page-header/page-header-breadcrumb.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AASH;;;AAGG;AAEH,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,UAAU,CAAA;AAAhD,IAAA,WAAA,GAAA;;AACE;;AAEG;QAEH,IAAM,CAAA,MAAA,GAAG,IAAI;AAEb;;;AAGG;QAEH,IAAU,CAAA,UAAA,GAAG,KAAK;AAElB;;AAEG;QAEH,IAAgB,CAAA,gBAAA,GAAG,KAAK;AAExB;;AAEG;QAEH,IAAmB,CAAA,mBAAA,GAAG,KAAK;;IAE3B,MAAM,GAAA;AACJ,QAAA,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI;QAC3B,MAAM,WAAW,GAAG,QAAQ,CAAC;AAC3B,YAAA,CAAC,GAAG,YAAY,CAAA,UAAA,CAAY,GAAG,CAAC,UAAU;AAC1C,YAAA,CAAC,GAAG,YAAY,CAAA,UAAA,EAAa,YAAY,CAAiB,eAAA,CAAA,GAAG,UAAU;AACxE,SAAA,CAAC;AAEF,QAAA,OAAO,IAAI,CAAA;oBACK,WAAW,CAAA;;AAEZ,iBAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,oBAAoB,YAAY,CAAA;;wBAErG,MAAM,CAAA;0BACJ,MAAM,CAAA;;;;0BAIN,MAAM,CAAA;;;;;;;KAO3B;;;AAGI,uBAAM,CAAA,MAAA,GAAG,MAAH;AAhDb,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE;AACb,CAAA,EAAA,uBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,MAAA,CAAA;AAOd,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE;AAClC,CAAA,EAAA,uBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAMnB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAE,OAAO,EAAE;AACnC,CAAA,EAAA,uBAAA,CAAA,SAAA,EAAA,kBAAA,EAAA,MAAA,CAAA;AAMzB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,uBAAuB,EAAE,IAAI,EAAE,OAAO,EAAE;AACnC,CAAA,EAAA,uBAAA,CAAA,SAAA,EAAA,qBAAA,EAAA,MAAA,CAAA;AAxBxB,uBAAuB,GAAA,UAAA,CAAA;AAD5B,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,uBAAA,CAAyB;AAC3C,CAAA,EAAA,uBAAuB,CAsD5B;AAED,gCAAe,uBAAuB;;;;"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025, 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { LitElement } from 'lit';
10
+ /**
11
+ * Page header Content Text.
12
+ * @element c4p-page-header-content-text
13
+ */
14
+ declare class CDSPageHeaderContentText extends LitElement {
15
+ /**
16
+ * Subtitle text of the page-header-content
17
+ */
18
+ subtitle: string;
19
+ render(): import("lit-html").TemplateResult<1>;
20
+ static styles: any;
21
+ }
22
+ export default CDSPageHeaderContentText;
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement, html } from 'lit';
10
+ import { property } from 'lit/decorators.js';
11
+ import { prefix } from '../../globals/settings.js';
12
+ import styles from './page-header.scss.js';
13
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
14
+
15
+ /**
16
+ * @license
17
+ *
18
+ * Copyright IBM Corp. 2025, 2025
19
+ *
20
+ * This source code is licensed under the Apache-2.0 license found in the
21
+ * LICENSE file in the root directory of this source tree.
22
+ */
23
+ /**
24
+ * Page header Content Text.
25
+ * @element c4p-page-header-content-text
26
+ */
27
+ let CDSPageHeaderContentText = class CDSPageHeaderContentText extends LitElement {
28
+ constructor() {
29
+ super(...arguments);
30
+ /**
31
+ * Subtitle text of the page-header-content
32
+ */
33
+ this.subtitle = '';
34
+ }
35
+ render() {
36
+ const { subtitle } = this;
37
+ return html `
38
+ ${subtitle &&
39
+ html `<h3 class="${prefix}--page-header__content__subtitle">
40
+ ${subtitle}
41
+ </h3>`}
42
+ <slot></slot>
43
+ `;
44
+ }
45
+ };
46
+ CDSPageHeaderContentText.styles = styles;
47
+ __decorate([
48
+ property()
49
+ ], CDSPageHeaderContentText.prototype, "subtitle", void 0);
50
+ CDSPageHeaderContentText = __decorate([
51
+ carbonElement(`${prefix}-page-header-content-text`)
52
+ ], CDSPageHeaderContentText);
53
+ var CDSPageHeaderContentText$1 = CDSPageHeaderContentText;
54
+
55
+ export { CDSPageHeaderContentText$1 as default };
56
+ //# sourceMappingURL=page-header-content-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-header-content-text.js","sources":["../../../src/components/page-header/page-header-content-text.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAQH;;;AAGG;AAEH,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,UAAU,CAAA;AAAjD,IAAA,WAAA,GAAA;;AACE;;AAEG;QAEH,IAAQ,CAAA,QAAA,GAAG,EAAE;;IAEb,MAAM,GAAA;AACJ,QAAA,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI;AAEzB,QAAA,OAAO,IAAI,CAAA;QACP,QAAQ;YACV,IAAI,CAAA,cAAc,MAAM,CAAA;UACpB,QAAQ;AACN,WAAA,CAAA;;KAEP;;;AAGI,wBAAM,CAAA,MAAA,GAAG,MAAH;AAdb,UAAA,CAAA;AADC,IAAA,QAAQ;AACK,CAAA,EAAA,wBAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AALV,wBAAwB,GAAA,UAAA,CAAA;AAD7B,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,yBAAA,CAA2B;AAC7C,CAAA,EAAA,wBAAwB,CAoB7B;AAED,iCAAe,wBAAwB;;;;"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025, 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { LitElement } from 'lit';
10
+ import '@carbon/web-components/es-custom/components/tooltip/index.js';
11
+ /**
12
+ * Page header content.
13
+ * @element c4p-page-header-content
14
+ */
15
+ declare class CDSPageHeaderContent extends LitElement {
16
+ /**
17
+ * Set to `true` if there are contextual actions
18
+ */
19
+ private _hasContextualActions;
20
+ /**
21
+ * Handles `slotchange` event.
22
+ */
23
+ protected _handleSlotChange({ target }: Event): void;
24
+ /**
25
+ * Title text of the page-header-content
26
+ */
27
+ title: string;
28
+ /**
29
+ * Set to `true` if the tag text has ellipsis applied
30
+ */
31
+ _hasEllipsisApplied: boolean;
32
+ /**
33
+ * Set to `true` if the breadcrumb bar is sitting within a grid
34
+ * (ie. when used in tandem with page-header-hero-image)
35
+ */
36
+ withinGrid: boolean;
37
+ updated(): void;
38
+ render(): import("lit-html").TemplateResult<1>;
39
+ static styles: any;
40
+ }
41
+ export default CDSPageHeaderContent;
@@ -0,0 +1,131 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement, html } from 'lit';
10
+ import { classMap } from 'lit/directives/class-map.js';
11
+ import { property, state } from 'lit/decorators.js';
12
+ import { prefix, carbonPrefix } from '../../globals/settings.js';
13
+ import '@carbon/web-components/es-custom/components/tooltip/index.js';
14
+ import styles from './page-header.scss.js';
15
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
16
+
17
+ /**
18
+ * @license
19
+ *
20
+ * Copyright IBM Corp. 2025, 2025
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ */
25
+ /**
26
+ * Page header content.
27
+ * @element c4p-page-header-content
28
+ */
29
+ let CDSPageHeaderContent = class CDSPageHeaderContent extends LitElement {
30
+ constructor() {
31
+ super(...arguments);
32
+ /**
33
+ * Set to `true` if there are contextual actions
34
+ */
35
+ this._hasContextualActions = false;
36
+ /**
37
+ * Title text of the page-header-content
38
+ */
39
+ this.title = '';
40
+ /**
41
+ * Set to `true` if the tag text has ellipsis applied
42
+ */
43
+ this._hasEllipsisApplied = false;
44
+ /**
45
+ * Set to `true` if the breadcrumb bar is sitting within a grid
46
+ * (ie. when used in tandem with page-header-hero-image)
47
+ */
48
+ this.withinGrid = false;
49
+ }
50
+ /**
51
+ * Handles `slotchange` event.
52
+ */
53
+ _handleSlotChange({ target }) {
54
+ this._hasContextualActions = Boolean(target.assignedNodes());
55
+ if (this._hasContextualActions) {
56
+ this.setAttribute('contextual-actions', 'true');
57
+ }
58
+ else {
59
+ this.removeAttribute('contextual-actions');
60
+ }
61
+ this.requestUpdate();
62
+ }
63
+ updated() {
64
+ var _a;
65
+ const textContainer = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`.${prefix}--page-header__content__title`);
66
+ if (!textContainer || this._hasEllipsisApplied === true) {
67
+ return;
68
+ }
69
+ this._hasEllipsisApplied =
70
+ textContainer.scrollHeight > textContainer.clientHeight;
71
+ }
72
+ render() {
73
+ const { title, withinGrid, _hasEllipsisApplied: hasEllipsisApplied, _handleSlotChange: handleSlotChange, } = this;
74
+ const gridClasses = classMap({
75
+ [`${carbonPrefix}--css-grid`]: !withinGrid,
76
+ [`${carbonPrefix}--subgrid ${carbonPrefix}--subgrid--wide`]: withinGrid,
77
+ });
78
+ return html ` <div class="${gridClasses}">
79
+ <div
80
+ class="${carbonPrefix}--sm:col-span-4 ${carbonPrefix}--md:col-span-8 ${carbonPrefix}--lg:col-span-16 ${carbonPrefix}--css-grid-column"
81
+ >
82
+ <div class="${prefix}--page-header__content__title-wrapper">
83
+ <div class="${prefix}--page-header__content__start">
84
+ <div class="${prefix}--page-header__content__title-container">
85
+ <slot name="icon"></slot>
86
+ ${hasEllipsisApplied
87
+ ? html `
88
+ <cds-custom-definition-tooltip>
89
+ <span slot="definition">${title}</span>
90
+ <h4 class="${prefix}--page-header__content__title">
91
+ ${title}
92
+ </h4>
93
+ </cds-custom-definition-tooltip>
94
+ `
95
+ : html `
96
+ <h4 class="${prefix}--page-header__content__title">
97
+ ${title}
98
+ </h4>
99
+ `}
100
+ </div>
101
+ <slot
102
+ name="contextual-actions"
103
+ @slotchange=${handleSlotChange}
104
+ ></slot>
105
+ </div>
106
+ <div class="${prefix}--page-header__content__page-actions">
107
+ <slot name="page-actions"></slot>
108
+ </div>
109
+ </div>
110
+ <slot></slot>
111
+ </div>
112
+ </div>`;
113
+ }
114
+ };
115
+ CDSPageHeaderContent.styles = styles;
116
+ __decorate([
117
+ property()
118
+ ], CDSPageHeaderContent.prototype, "title", void 0);
119
+ __decorate([
120
+ state()
121
+ ], CDSPageHeaderContent.prototype, "_hasEllipsisApplied", void 0);
122
+ __decorate([
123
+ property({ attribute: 'within-grid', type: Boolean })
124
+ ], CDSPageHeaderContent.prototype, "withinGrid", void 0);
125
+ CDSPageHeaderContent = __decorate([
126
+ carbonElement(`${prefix}-page-header-content`)
127
+ ], CDSPageHeaderContent);
128
+ var CDSPageHeaderContent$1 = CDSPageHeaderContent;
129
+
130
+ export { CDSPageHeaderContent$1 as default };
131
+ //# sourceMappingURL=page-header-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-header-content.js","sources":["../../../src/components/page-header/page-header-content.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAUH;;;AAGG;AAEH,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,UAAU,CAAA;AAA7C,IAAA,WAAA,GAAA;;AACE;;AAEG;QACK,IAAqB,CAAA,qBAAA,GAAG,KAAK;AAiBrC;;AAEG;QAEH,IAAK,CAAA,KAAA,GAAG,EAAE;AAEV;;AAEG;QAEH,IAAmB,CAAA,mBAAA,GAAG,KAAK;AAE3B;;;AAGG;QAEH,IAAU,CAAA,UAAA,GAAG,KAAK;;AAhClB;;AAEG;IACO,iBAAiB,CAAC,EAAE,MAAM,EAAS,EAAA;QAC3C,IAAI,CAAC,qBAAqB,GAAG,OAAO,CACjC,MAA0B,CAAC,aAAa,EAAE,CAC5C;AACD,QAAA,IAAI,IAAI,CAAC,qBAAqB,EAAE;AAC9B,YAAA,IAAI,CAAC,YAAY,CAAC,oBAAoB,EAAE,MAAM,CAAC;;aAC1C;AACL,YAAA,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC;;QAE5C,IAAI,CAAC,aAAa,EAAE;;IAsBtB,OAAO,GAAA;;AACL,QAAA,MAAM,aAAa,GAAG,CAAA,EAAA,GAAA,IAAI,CAAC,UAAU,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,aAAa,CAClD,CAAA,CAAA,EAAI,MAAM,CAAA,6BAAA,CAA+B,CAC1C;QAED,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,mBAAmB,KAAK,IAAI,EAAE;YACvD;;AAGF,QAAA,IAAI,CAAC,mBAAmB;AACtB,YAAA,aAAa,CAAC,YAAY,GAAG,aAAa,CAAC,YAAY;;IAG3D,MAAM,GAAA;AACJ,QAAA,MAAM,EACJ,KAAK,EACL,UAAU,EACV,mBAAmB,EAAE,kBAAkB,EACvC,iBAAiB,EAAE,gBAAgB,GACpC,GAAG,IAAI;QAER,MAAM,WAAW,GAAG,QAAQ,CAAC;AAC3B,YAAA,CAAC,GAAG,YAAY,CAAA,UAAA,CAAY,GAAG,CAAC,UAAU;AAC1C,YAAA,CAAC,GAAG,YAAY,CAAA,UAAA,EAAa,YAAY,CAAiB,eAAA,CAAA,GAAG,UAAU;AACxE,SAAA,CAAC;QAEF,OAAO,IAAI,CAAA,CAAA,aAAA,EAAgB,WAAW,CAAA;;AAEzB,eAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,oBAAoB,YAAY,CAAA;;sBAErG,MAAM,CAAA;wBACJ,MAAM,CAAA;0BACJ,MAAM,CAAA;;gBAEhB;cACE,IAAI,CAAA;;gDAE0B,KAAK,CAAA;mCAClB,MAAM,CAAA;0BACf,KAAK;;;AAGZ,kBAAA;cACD,IAAI,CAAA;iCACW,MAAM,CAAA;wBACf,KAAK;;AAEV,kBAAA,CAAA;;;;4BAIS,gBAAgB;;;wBAGpB,MAAM,CAAA;;;;;;WAMnB;;;AAGF,oBAAM,CAAA,MAAA,GAAG,MAAH;AA9Eb,UAAA,CAAA;AADC,IAAA,QAAQ;AACE,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AAMX,UAAA,CAAA;AADC,IAAA,KAAK;AACsB,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,qBAAA,EAAA,MAAA,CAAA;AAO5B,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE;AAClC,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAtCf,oBAAoB,GAAA,UAAA,CAAA;AADzB,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,oBAAA,CAAsB;AACxC,CAAA,EAAA,oBAAoB,CAwGzB;AAED,6BAAe,oBAAoB;;;;"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025, 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { LitElement } from 'lit';
10
+ /**
11
+ * Page header Hero Image.
12
+ * @element c4p-page-header-hero-image
13
+ */
14
+ declare class CDSPageHeaderHeroImage extends LitElement {
15
+ render(): import("lit-html").TemplateResult<1>;
16
+ static styles: any;
17
+ }
18
+ export default CDSPageHeaderHeroImage;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement, html } from 'lit';
10
+ import { prefix } from '../../globals/settings.js';
11
+ import styles from './page-header.scss.js';
12
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
13
+
14
+ /**
15
+ * @license
16
+ *
17
+ * Copyright IBM Corp. 2025, 2025
18
+ *
19
+ * This source code is licensed under the Apache-2.0 license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */
22
+ /**
23
+ * Page header Hero Image.
24
+ * @element c4p-page-header-hero-image
25
+ */
26
+ let CDSPageHeaderHeroImage = class CDSPageHeaderHeroImage extends LitElement {
27
+ render() {
28
+ return html `<slot></slot> `;
29
+ }
30
+ };
31
+ CDSPageHeaderHeroImage.styles = styles;
32
+ CDSPageHeaderHeroImage = __decorate([
33
+ carbonElement(`${prefix}-page-header-hero-image`)
34
+ ], CDSPageHeaderHeroImage);
35
+ var CDSPageHeaderHeroImage$1 = CDSPageHeaderHeroImage;
36
+
37
+ export { CDSPageHeaderHeroImage$1 as default };
38
+ //# sourceMappingURL=page-header-hero-image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-header-hero-image.js","sources":["../../../src/components/page-header/page-header-hero-image.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH;;;AAGG;AAEH,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,UAAU,CAAA;IAC7C,MAAM,GAAA;QACJ,OAAO,IAAI,CAAA,CAAA,cAAA,CAAgB;;;AAGtB,sBAAM,CAAA,MAAA,GAAG,MAAH;AALT,sBAAsB,GAAA,UAAA,CAAA;AAD3B,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,uBAAA,CAAyB;AAC3C,CAAA,EAAA,sBAAsB,CAM3B;AAED,+BAAe,sBAAsB;;;;"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025, 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { LitElement } from 'lit';
10
+ /**
11
+ * Page header Tabs Bar.
12
+ * @element c4p-page-header-tabs
13
+ */
14
+ declare class CDSPageHeaderTabs extends LitElement {
15
+ render(): import("lit-html").TemplateResult<1>;
16
+ static styles: any;
17
+ }
18
+ export default CDSPageHeaderTabs;
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement, html } from 'lit';
10
+ import { prefix, carbonPrefix } from '../../globals/settings.js';
11
+ import styles from './page-header.scss.js';
12
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
13
+
14
+ /**
15
+ * @license
16
+ *
17
+ * Copyright IBM Corp. 2025, 2025
18
+ *
19
+ * This source code is licensed under the Apache-2.0 license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */
22
+ /**
23
+ * Page header Tabs Bar.
24
+ * @element c4p-page-header-tabs
25
+ */
26
+ let CDSPageHeaderTabs = class CDSPageHeaderTabs extends LitElement {
27
+ render() {
28
+ return html ` <div class="${carbonPrefix}--css-grid">
29
+ <div
30
+ class="${carbonPrefix}--sm:col-span-4 ${carbonPrefix}--md:col-span-8 ${carbonPrefix}--lg:col-span-16 ${carbonPrefix}--css-grid-column"
31
+ >
32
+ <div class="${prefix}--page-header__tab-bar--tablist">
33
+ <slot></slot>
34
+ <slot name="tags"></slot>
35
+ </div>
36
+ </div>
37
+ </div>`;
38
+ }
39
+ };
40
+ CDSPageHeaderTabs.styles = styles;
41
+ CDSPageHeaderTabs = __decorate([
42
+ carbonElement(`${prefix}-page-header-tabs`)
43
+ ], CDSPageHeaderTabs);
44
+ var CDSPageHeaderTabs$1 = CDSPageHeaderTabs;
45
+
46
+ export { CDSPageHeaderTabs$1 as default };
47
+ //# sourceMappingURL=page-header-tabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-header-tabs.js","sources":["../../../src/components/page-header/page-header-tabs.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH;;;AAGG;AAEH,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU,CAAA;IACxC,MAAM,GAAA;QACJ,OAAO,IAAI,CAAA,CAAA,aAAA,EAAgB,YAAY,CAAA;;AAE1B,eAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,oBAAoB,YAAY,CAAA;;sBAErG,MAAM,CAAA;;;;;WAKjB;;;AAGF,iBAAM,CAAA,MAAA,GAAG,MAAH;AAdT,iBAAiB,GAAA,UAAA,CAAA;AADtB,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,iBAAA,CAAmB;AACrC,CAAA,EAAA,iBAAiB,CAetB;AAED,0BAAe,iBAAiB;;;;"}