@carbon-labs/wc-global-header 0.11.0 → 0.13.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 (263) hide show
  1. package/{es/components/global-header/src/components/HeaderContext/__tests__/HeaderContext.test.d.ts → declarations.d.ts} +1 -1
  2. package/es/wc-global-header.css +8 -0
  3. package/es/wc-global-header.mjs +7184 -0
  4. package/package.json +10 -8
  5. package/es/_virtual/_commonjsHelpers.js +0 -6
  6. package/es/_virtual/_commonjsHelpers.js.map +0 -1
  7. package/es/_virtual/index.js +0 -8
  8. package/es/_virtual/index.js.map +0 -1
  9. package/es/_virtual/index2.js +0 -4
  10. package/es/_virtual/index2.js.map +0 -1
  11. package/es/components/global-header/global-header.d.ts +0 -19
  12. package/es/components/global-header/global-header.js +0 -27
  13. package/es/components/global-header/global-header.js.map +0 -1
  14. package/es/components/global-header/src/components/AuthContext/AuthContext.d.ts +0 -26
  15. package/es/components/global-header/src/components/AuthContext/AuthContext.js +0 -238
  16. package/es/components/global-header/src/components/AuthContext/AuthContext.js.map +0 -1
  17. package/es/components/global-header/src/components/AuthContext/AuthContext.types.d.ts +0 -17
  18. package/es/components/global-header/src/components/AuthContext/__stories__/AuthContext.stories.d.ts +0 -12
  19. package/es/components/global-header/src/components/AuthContext/__tests__/AuthContext.test.d.ts +0 -9
  20. package/es/components/global-header/src/components/AuthContext/_index.scss.js +0 -6
  21. package/es/components/global-header/src/components/AuthContext/_index.scss.js.map +0 -1
  22. package/es/components/global-header/src/components/CommonHeader/CommonHeader.d.ts +0 -36
  23. package/es/components/global-header/src/components/CommonHeader/CommonHeader.js +0 -247
  24. package/es/components/global-header/src/components/CommonHeader/CommonHeader.js.map +0 -1
  25. package/es/components/global-header/src/components/CommonHeader/WideSideNav.d.ts +0 -15
  26. package/es/components/global-header/src/components/CommonHeader/WideSideNav.js +0 -32
  27. package/es/components/global-header/src/components/CommonHeader/WideSideNav.js.map +0 -1
  28. package/es/components/global-header/src/components/CommonHeader/__stories__/CommonHeader.stories.d.ts +0 -20
  29. package/es/components/global-header/src/components/CommonHeader/__stories__/SideNav.stories.d.ts +0 -16
  30. package/es/components/global-header/src/components/CommonHeader/__tests__/CommonHeader.test.d.ts +0 -9
  31. package/es/components/global-header/src/components/CommonHeader/__tests__/WideSideNav.test.d.ts +0 -9
  32. package/es/components/global-header/src/components/CommonHeader/_index.scss.js +0 -6
  33. package/es/components/global-header/src/components/CommonHeader/_index.scss.js.map +0 -1
  34. package/es/components/global-header/src/components/HeaderContext/HeaderContext.d.ts +0 -43
  35. package/es/components/global-header/src/components/HeaderContext/HeaderContext.js +0 -311
  36. package/es/components/global-header/src/components/HeaderContext/HeaderContext.js.map +0 -1
  37. package/es/components/global-header/src/components/HeaderContext/HeaderContext.types.d.ts +0 -46
  38. package/es/components/global-header/src/components/HeaderContext/_index.scss.js +0 -6
  39. package/es/components/global-header/src/components/HeaderContext/_index.scss.js.map +0 -1
  40. package/es/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.d.ts +0 -42
  41. package/es/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js +0 -238
  42. package/es/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js.map +0 -1
  43. package/es/components/global-header/src/components/HybridIpaasHeader/__stories__/HybridIPaasHeader.stories.d.ts +0 -20
  44. package/es/components/global-header/src/components/HybridIpaasHeader/__tests__/HybridIpaasHeader.test.d.ts +0 -10
  45. package/es/components/global-header/src/components/LogoutHeader/LogoutHeader.d.ts +0 -17
  46. package/es/components/global-header/src/components/LogoutHeader/LogoutHeader.js +0 -58
  47. package/es/components/global-header/src/components/LogoutHeader/LogoutHeader.js.map +0 -1
  48. package/es/components/global-header/src/components/LogoutHeader/__stories__/LogoutHeader.stories.d.ts +0 -15
  49. package/es/components/global-header/src/components/LogoutHeader/__tests__/LogoutHeader.test.d.ts +0 -9
  50. package/es/components/global-header/src/components/LogoutHeader/_index.scss.js +0 -6
  51. package/es/components/global-header/src/components/LogoutHeader/_index.scss.js.map +0 -1
  52. package/es/components/global-header/src/components/LogoutTile/LogoutTile.d.ts +0 -24
  53. package/es/components/global-header/src/components/LogoutTile/LogoutTile.js +0 -72
  54. package/es/components/global-header/src/components/LogoutTile/LogoutTile.js.map +0 -1
  55. package/es/components/global-header/src/components/LogoutTile/__stories__/LogoutTile.stories.d.ts +0 -14
  56. package/es/components/global-header/src/components/LogoutTile/__tests__/LogoutTile.test.d.ts +0 -9
  57. package/es/components/global-header/src/components/LogoutTile/_index.scss.js +0 -6
  58. package/es/components/global-header/src/components/LogoutTile/_index.scss.js.map +0 -1
  59. package/es/components/global-header/src/components/ProfilePopover/ProfilePopover.d.ts +0 -22
  60. package/es/components/global-header/src/components/ProfilePopover/ProfilePopover.js +0 -100
  61. package/es/components/global-header/src/components/ProfilePopover/ProfilePopover.js.map +0 -1
  62. package/es/components/global-header/src/components/ProfilePopover/__tests__/ProfilePopover.test.d.ts +0 -9
  63. package/es/components/global-header/src/components/ProfilePopover/_index.scss.js +0 -6
  64. package/es/components/global-header/src/components/ProfilePopover/_index.scss.js.map +0 -1
  65. package/es/components/global-header/src/components/Search/Search.d.ts +0 -25
  66. package/es/components/global-header/src/components/Search/Search.js +0 -72
  67. package/es/components/global-header/src/components/Search/Search.js.map +0 -1
  68. package/es/components/global-header/src/components/Search/__tests__/Search.test.d.ts +0 -9
  69. package/es/components/global-header/src/components/Search/_index.scss.js +0 -6
  70. package/es/components/global-header/src/components/Search/_index.scss.js.map +0 -1
  71. package/es/components/global-header/src/components/SideNavItem/SideNavItem.d.ts +0 -31
  72. package/es/components/global-header/src/components/SideNavItem/SideNavItem.js +0 -214
  73. package/es/components/global-header/src/components/SideNavItem/SideNavItem.js.map +0 -1
  74. package/es/components/global-header/src/components/SideNavItem/SideNavItem.scss.js +0 -6
  75. package/es/components/global-header/src/components/SideNavItem/SideNavItem.scss.js.map +0 -1
  76. package/es/components/global-header/src/components/SideNavItem/__tests__/SideNavItem.test.d.ts +0 -9
  77. package/es/components/global-header/src/components/Switcher/Switcher.d.ts +0 -29
  78. package/es/components/global-header/src/components/Switcher/Switcher.js +0 -188
  79. package/es/components/global-header/src/components/Switcher/Switcher.js.map +0 -1
  80. package/es/components/global-header/src/components/Switcher/Switcher.types.d.ts +0 -11
  81. package/es/components/global-header/src/components/Switcher/__tests__/Switcher.test.d.ts +0 -9
  82. package/es/components/global-header/src/components/Switcher/_index.scss.js +0 -6
  83. package/es/components/global-header/src/components/Switcher/_index.scss.js.map +0 -1
  84. package/es/components/global-header/src/components/TrialContent/TrialContent.d.ts +0 -11
  85. package/es/components/global-header/src/components/TrialContent/TrialContent.js +0 -74
  86. package/es/components/global-header/src/components/TrialContent/TrialContent.js.map +0 -1
  87. package/es/components/global-header/src/components/TrialContent/TrialContent.types.d.ts +0 -12
  88. package/es/components/global-header/src/components/TrialContent/__stories__/TrialContent.stories.d.ts +0 -14
  89. package/es/components/global-header/src/components/TrialPopover/TrialPopover.d.ts +0 -23
  90. package/es/components/global-header/src/components/TrialPopover/TrialPopover.js +0 -79
  91. package/es/components/global-header/src/components/TrialPopover/TrialPopover.js.map +0 -1
  92. package/es/components/global-header/src/components/TrialPopover/__tests__/TrialPopover.test.d.ts +0 -9
  93. package/es/components/global-header/src/components/TrialPopover/_index.scss.js +0 -6
  94. package/es/components/global-header/src/components/TrialPopover/_index.scss.js.map +0 -1
  95. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.d.ts +0 -19
  96. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js +0 -63
  97. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js.map +0 -1
  98. package/es/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.stories.d.ts +0 -15
  99. package/es/components/global-header/src/components/UnauthenticatedContext/__tests__/UnauthenticatedContext.test.d.ts +0 -9
  100. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.d.ts +0 -31
  101. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.js +0 -104
  102. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.js.map +0 -1
  103. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js +0 -6
  104. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js.map +0 -1
  105. package/es/components/global-header/src/components/UserProfileImage/UserProfileImage.types.d.ts +0 -21
  106. package/es/components/global-header/src/components/UserProfileImage/__tests__/UserProfileImage.test.d.ts +0 -9
  107. package/es/components/global-header/src/components/_index.scss.js +0 -6
  108. package/es/components/global-header/src/components/_index.scss.js.map +0 -1
  109. package/es/components/global-header/src/constant.d.ts +0 -53
  110. package/es/components/global-header/src/constant.js +0 -66
  111. package/es/components/global-header/src/constant.js.map +0 -1
  112. package/es/components/global-header/src/global-header.template.d.ts +0 -16
  113. package/es/components/global-header/src/global-header.template.js +0 -20
  114. package/es/components/global-header/src/global-header.template.js.map +0 -1
  115. package/es/components/global-header/src/globals/__tests__/useScript.test.d.ts +0 -9
  116. package/es/components/global-header/src/globals/__tests__/utils.test.d.ts +0 -9
  117. package/es/components/global-header/src/globals/useScript.d.ts +0 -10
  118. package/es/components/global-header/src/globals/useScript.js +0 -47
  119. package/es/components/global-header/src/globals/useScript.js.map +0 -1
  120. package/es/components/global-header/src/globals/utils.d.ts +0 -22
  121. package/es/components/global-header/src/globals/utils.js +0 -89
  122. package/es/components/global-header/src/globals/utils.js.map +0 -1
  123. package/es/components/global-header/src/index.d.ts +0 -12
  124. package/es/components/global-header/src/index.scss.js +0 -6
  125. package/es/components/global-header/src/index.scss.js.map +0 -1
  126. package/es/components/global-header/src/types/Header.types.d.ts +0 -267
  127. package/es/components/global-header/src/types/Header.types.js +0 -22
  128. package/es/components/global-header/src/types/Header.types.js.map +0 -1
  129. package/es/index.d.ts +0 -9
  130. package/es/index.js +0 -6
  131. package/es/index.js.map +0 -1
  132. package/es/node_modules/classnames/index.js +0 -86
  133. package/es/node_modules/classnames/index.js.map +0 -1
  134. package/lib/_virtual/_commonjsHelpers.js +0 -8
  135. package/lib/_virtual/_commonjsHelpers.js.map +0 -1
  136. package/lib/_virtual/index.js +0 -12
  137. package/lib/_virtual/index.js.map +0 -1
  138. package/lib/_virtual/index2.js +0 -6
  139. package/lib/_virtual/index2.js.map +0 -1
  140. package/lib/components/global-header/global-header.d.ts +0 -19
  141. package/lib/components/global-header/global-header.js +0 -46
  142. package/lib/components/global-header/global-header.js.map +0 -1
  143. package/lib/components/global-header/src/components/AuthContext/AuthContext.d.ts +0 -26
  144. package/lib/components/global-header/src/components/AuthContext/AuthContext.js +0 -238
  145. package/lib/components/global-header/src/components/AuthContext/AuthContext.js.map +0 -1
  146. package/lib/components/global-header/src/components/AuthContext/AuthContext.types.d.ts +0 -17
  147. package/lib/components/global-header/src/components/AuthContext/__stories__/AuthContext.stories.d.ts +0 -12
  148. package/lib/components/global-header/src/components/AuthContext/__tests__/AuthContext.test.d.ts +0 -9
  149. package/lib/components/global-header/src/components/AuthContext/_index.scss.js +0 -10
  150. package/lib/components/global-header/src/components/AuthContext/_index.scss.js.map +0 -1
  151. package/lib/components/global-header/src/components/CommonHeader/CommonHeader.d.ts +0 -36
  152. package/lib/components/global-header/src/components/CommonHeader/CommonHeader.js +0 -247
  153. package/lib/components/global-header/src/components/CommonHeader/CommonHeader.js.map +0 -1
  154. package/lib/components/global-header/src/components/CommonHeader/WideSideNav.d.ts +0 -15
  155. package/lib/components/global-header/src/components/CommonHeader/WideSideNav.js +0 -32
  156. package/lib/components/global-header/src/components/CommonHeader/WideSideNav.js.map +0 -1
  157. package/lib/components/global-header/src/components/CommonHeader/__stories__/CommonHeader.stories.d.ts +0 -20
  158. package/lib/components/global-header/src/components/CommonHeader/__stories__/SideNav.stories.d.ts +0 -16
  159. package/lib/components/global-header/src/components/CommonHeader/__tests__/CommonHeader.test.d.ts +0 -9
  160. package/lib/components/global-header/src/components/CommonHeader/__tests__/WideSideNav.test.d.ts +0 -9
  161. package/lib/components/global-header/src/components/CommonHeader/_index.scss.js +0 -10
  162. package/lib/components/global-header/src/components/CommonHeader/_index.scss.js.map +0 -1
  163. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.d.ts +0 -43
  164. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.js +0 -311
  165. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.js.map +0 -1
  166. package/lib/components/global-header/src/components/HeaderContext/HeaderContext.types.d.ts +0 -46
  167. package/lib/components/global-header/src/components/HeaderContext/__tests__/HeaderContext.test.d.ts +0 -9
  168. package/lib/components/global-header/src/components/HeaderContext/_index.scss.js +0 -10
  169. package/lib/components/global-header/src/components/HeaderContext/_index.scss.js.map +0 -1
  170. package/lib/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.d.ts +0 -42
  171. package/lib/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js +0 -238
  172. package/lib/components/global-header/src/components/HybridIpaasHeader/HybridIpaasHeader.js.map +0 -1
  173. package/lib/components/global-header/src/components/HybridIpaasHeader/__stories__/HybridIPaasHeader.stories.d.ts +0 -20
  174. package/lib/components/global-header/src/components/HybridIpaasHeader/__tests__/HybridIpaasHeader.test.d.ts +0 -10
  175. package/lib/components/global-header/src/components/LogoutHeader/LogoutHeader.d.ts +0 -17
  176. package/lib/components/global-header/src/components/LogoutHeader/LogoutHeader.js +0 -58
  177. package/lib/components/global-header/src/components/LogoutHeader/LogoutHeader.js.map +0 -1
  178. package/lib/components/global-header/src/components/LogoutHeader/__stories__/LogoutHeader.stories.d.ts +0 -15
  179. package/lib/components/global-header/src/components/LogoutHeader/__tests__/LogoutHeader.test.d.ts +0 -9
  180. package/lib/components/global-header/src/components/LogoutHeader/_index.scss.js +0 -10
  181. package/lib/components/global-header/src/components/LogoutHeader/_index.scss.js.map +0 -1
  182. package/lib/components/global-header/src/components/LogoutTile/LogoutTile.d.ts +0 -24
  183. package/lib/components/global-header/src/components/LogoutTile/LogoutTile.js +0 -72
  184. package/lib/components/global-header/src/components/LogoutTile/LogoutTile.js.map +0 -1
  185. package/lib/components/global-header/src/components/LogoutTile/__stories__/LogoutTile.stories.d.ts +0 -14
  186. package/lib/components/global-header/src/components/LogoutTile/__tests__/LogoutTile.test.d.ts +0 -9
  187. package/lib/components/global-header/src/components/LogoutTile/_index.scss.js +0 -10
  188. package/lib/components/global-header/src/components/LogoutTile/_index.scss.js.map +0 -1
  189. package/lib/components/global-header/src/components/ProfilePopover/ProfilePopover.d.ts +0 -22
  190. package/lib/components/global-header/src/components/ProfilePopover/ProfilePopover.js +0 -100
  191. package/lib/components/global-header/src/components/ProfilePopover/ProfilePopover.js.map +0 -1
  192. package/lib/components/global-header/src/components/ProfilePopover/__tests__/ProfilePopover.test.d.ts +0 -9
  193. package/lib/components/global-header/src/components/ProfilePopover/_index.scss.js +0 -10
  194. package/lib/components/global-header/src/components/ProfilePopover/_index.scss.js.map +0 -1
  195. package/lib/components/global-header/src/components/Search/Search.d.ts +0 -25
  196. package/lib/components/global-header/src/components/Search/Search.js +0 -72
  197. package/lib/components/global-header/src/components/Search/Search.js.map +0 -1
  198. package/lib/components/global-header/src/components/Search/__tests__/Search.test.d.ts +0 -9
  199. package/lib/components/global-header/src/components/Search/_index.scss.js +0 -10
  200. package/lib/components/global-header/src/components/Search/_index.scss.js.map +0 -1
  201. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.d.ts +0 -31
  202. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.js +0 -214
  203. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.js.map +0 -1
  204. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.scss.js +0 -10
  205. package/lib/components/global-header/src/components/SideNavItem/SideNavItem.scss.js.map +0 -1
  206. package/lib/components/global-header/src/components/SideNavItem/__tests__/SideNavItem.test.d.ts +0 -9
  207. package/lib/components/global-header/src/components/Switcher/Switcher.d.ts +0 -29
  208. package/lib/components/global-header/src/components/Switcher/Switcher.js +0 -188
  209. package/lib/components/global-header/src/components/Switcher/Switcher.js.map +0 -1
  210. package/lib/components/global-header/src/components/Switcher/Switcher.types.d.ts +0 -11
  211. package/lib/components/global-header/src/components/Switcher/__tests__/Switcher.test.d.ts +0 -9
  212. package/lib/components/global-header/src/components/Switcher/_index.scss.js +0 -10
  213. package/lib/components/global-header/src/components/Switcher/_index.scss.js.map +0 -1
  214. package/lib/components/global-header/src/components/TrialContent/TrialContent.d.ts +0 -11
  215. package/lib/components/global-header/src/components/TrialContent/TrialContent.js +0 -76
  216. package/lib/components/global-header/src/components/TrialContent/TrialContent.js.map +0 -1
  217. package/lib/components/global-header/src/components/TrialContent/TrialContent.types.d.ts +0 -12
  218. package/lib/components/global-header/src/components/TrialContent/__stories__/TrialContent.stories.d.ts +0 -14
  219. package/lib/components/global-header/src/components/TrialPopover/TrialPopover.d.ts +0 -23
  220. package/lib/components/global-header/src/components/TrialPopover/TrialPopover.js +0 -79
  221. package/lib/components/global-header/src/components/TrialPopover/TrialPopover.js.map +0 -1
  222. package/lib/components/global-header/src/components/TrialPopover/__tests__/TrialPopover.test.d.ts +0 -9
  223. package/lib/components/global-header/src/components/TrialPopover/_index.scss.js +0 -10
  224. package/lib/components/global-header/src/components/TrialPopover/_index.scss.js.map +0 -1
  225. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.d.ts +0 -19
  226. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js +0 -63
  227. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.js.map +0 -1
  228. package/lib/components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.stories.d.ts +0 -15
  229. package/lib/components/global-header/src/components/UnauthenticatedContext/__tests__/UnauthenticatedContext.test.d.ts +0 -9
  230. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.d.ts +0 -31
  231. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.js +0 -104
  232. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.js.map +0 -1
  233. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js +0 -10
  234. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.scss.js.map +0 -1
  235. package/lib/components/global-header/src/components/UserProfileImage/UserProfileImage.types.d.ts +0 -21
  236. package/lib/components/global-header/src/components/UserProfileImage/__tests__/UserProfileImage.test.d.ts +0 -9
  237. package/lib/components/global-header/src/components/_index.scss.js +0 -10
  238. package/lib/components/global-header/src/components/_index.scss.js.map +0 -1
  239. package/lib/components/global-header/src/constant.d.ts +0 -53
  240. package/lib/components/global-header/src/constant.js +0 -82
  241. package/lib/components/global-header/src/constant.js.map +0 -1
  242. package/lib/components/global-header/src/global-header.template.d.ts +0 -16
  243. package/lib/components/global-header/src/global-header.template.js +0 -24
  244. package/lib/components/global-header/src/global-header.template.js.map +0 -1
  245. package/lib/components/global-header/src/globals/__tests__/useScript.test.d.ts +0 -9
  246. package/lib/components/global-header/src/globals/__tests__/utils.test.d.ts +0 -9
  247. package/lib/components/global-header/src/globals/useScript.d.ts +0 -10
  248. package/lib/components/global-header/src/globals/useScript.js +0 -51
  249. package/lib/components/global-header/src/globals/useScript.js.map +0 -1
  250. package/lib/components/global-header/src/globals/utils.d.ts +0 -22
  251. package/lib/components/global-header/src/globals/utils.js +0 -96
  252. package/lib/components/global-header/src/globals/utils.js.map +0 -1
  253. package/lib/components/global-header/src/index.d.ts +0 -12
  254. package/lib/components/global-header/src/index.scss.js +0 -10
  255. package/lib/components/global-header/src/index.scss.js.map +0 -1
  256. package/lib/components/global-header/src/types/Header.types.d.ts +0 -267
  257. package/lib/components/global-header/src/types/Header.types.js +0 -22
  258. package/lib/components/global-header/src/types/Header.types.js.map +0 -1
  259. package/lib/index.d.ts +0 -9
  260. package/lib/index.js +0 -27
  261. package/lib/index.js.map +0 -1
  262. package/lib/node_modules/classnames/index.js +0 -88
  263. package/lib/node_modules/classnames/index.js.map +0 -1
@@ -1,23 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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/popover/index.js';
11
- import { TrialConfigs } from '../../types/Header.types';
12
- /**
13
- * Content to show when clicking the Trial entry in the header
14
- */
15
- export declare class TrialPopover extends LitElement {
16
- open: boolean;
17
- trialConfig: TrialConfigs;
18
- static styles: import("lit").CSSResult;
19
- constructor();
20
- updated(changedProperties: Map<string | number | symbol, unknown>): void;
21
- handleOutsideClick(event: MouseEvent): void;
22
- render(): import("lit-html").TemplateResult<1>;
23
- }
@@ -1,79 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import { unsafeCSS, css, LitElement, nothing, html } from 'lit';
3
- import { property, customElement } from 'lit/decorators.js';
4
- import '@carbon/web-components/es-custom/components/popover/index.js';
5
- import { TrialContent } from '../TrialContent/TrialContent.js';
6
- import { animate, fadeOut, fadeIn } from '@lit-labs/motion';
7
- import styles from './_index.scss.js';
8
-
9
- /**
10
- * @license
11
- *
12
- * Copyright IBM Corp. 2025
13
- *
14
- * This source code is licensed under the Apache-2.0 license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */
17
- /* eslint jsdoc/require-jsdoc: 0 */
18
- /**
19
- * Content to show when clicking the Trial entry in the header
20
- */
21
- let TrialPopover = class TrialPopover extends LitElement {
22
- constructor() {
23
- super();
24
- this.open = false;
25
- this.trialConfig = {};
26
- this.handleOutsideClick = this.handleOutsideClick.bind(this);
27
- }
28
- updated(changedProperties) {
29
- if (changedProperties.has('open')) {
30
- if (this.open) {
31
- document.addEventListener('click', this.handleOutsideClick);
32
- }
33
- else {
34
- document.removeEventListener('click', this.handleOutsideClick);
35
- }
36
- }
37
- }
38
- handleOutsideClick(event) {
39
- const path = event.composedPath();
40
- if (!path.includes(this)) {
41
- const toggleEvent = new CustomEvent('trial-toggle', {
42
- bubbles: true,
43
- composed: true,
44
- }); // event to trigger the parent component to update the toggle value
45
- this.dispatchEvent(toggleEvent);
46
- }
47
- }
48
- render() {
49
- return html `
50
- <cds-custom-popover ?open="${this.open}" align="bottom-right">
51
- <slot></slot>
52
- <cds-custom-popover-content>
53
- ${this.open
54
- ? html `<div
55
- class="automation-header__tooltip"
56
- ${animate({ in: fadeIn, out: fadeOut, stabilizeOut: true })}>
57
- ${TrialContent({ ...this.trialConfig })}
58
- </div>`
59
- : nothing}
60
- </cds-custom-popover-content>
61
- </cds-custom-popover>
62
- `;
63
- }
64
- };
65
- TrialPopover.styles = css `
66
- ${unsafeCSS(styles)}
67
- `;
68
- __decorate([
69
- property({ type: Boolean })
70
- ], TrialPopover.prototype, "open", void 0);
71
- __decorate([
72
- property({ type: Object })
73
- ], TrialPopover.prototype, "trialConfig", void 0);
74
- TrialPopover = __decorate([
75
- customElement('apaas-trial-popover')
76
- ], TrialPopover);
77
-
78
- export { TrialPopover };
79
- //# sourceMappingURL=TrialPopover.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TrialPopover.js","sources":["../../../../../../../components/global-header/src/components/TrialPopover/TrialPopover.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;AAOG;AACH;AAYA;;AAEG;AAEI,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,UAAU,CAAA;AAO1C,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QAPoB,IAAA,CAAA,IAAI,GAAG,KAAK;QACb,IAAA,CAAA,WAAW,GAAiB,EAAE;QAOxD,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC;IAC9D;AAEA,IAAA,OAAO,CAAC,iBAAyD,EAAA;AAC/D,QAAA,IAAI,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;AACjC,YAAA,IAAI,IAAI,CAAC,IAAI,EAAE;gBACb,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,kBAAkB,CAAC;YAC7D;iBAAO;gBAC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IADxB,aAAa,CAAC,qBAAqB;AACvB,CAAA,EAAA,YAAY,CAkDxB;;;;"}
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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 '../TrialPopover';
@@ -1,6 +0,0 @@
1
- import { css } from 'lit';
2
-
3
- var styles = css([".automation-header__tooltip{color:#fff;inline-size:16rem;inset-block-start:0;inset-inline-end:0;position:absolute;transform:translateX(40px)}.automation-header__tooltip-body{background-color:#393939;border-radius:3px;box-shadow:0 5px 5px 0 rgba(0,0,0,.3);padding:1rem}.automation-header__tooltip-body :last-child{margin-block-end:0}.automation-global-header__tooltip-description{font-size:14px;line-height:1.25rem;margin-block-end:1rem}.automation-global-header__tooltip-links{margin-block-end:1rem}.automation-global-header__tooltip-links .automation-global-header__tooltip-link{color:#78a9ff;display:block;margin-block-end:.25rem;margin-inline-start:-1rem;padding:6px 15px}.automation-global-header__tooltip-links .automation-global-header__tooltip-link svg{fill:#78a9ff}.automation-global-header__tooltip-links .automation-global-header__tooltip-link:hover{background-color:transparent;text-decoration:underline}.automation-global-header__trial-button{display:inline-block}.automation-global-header__trial-button .buttons{background:#0f62fe;color:#fff;display:flex;padding:6px 15px}.automation-global-header__trial-button .button-icon{display:flex;margin-inline-start:20px}.automation-global-header__trial-button:hover{text-decoration:none}.automation-global-header--popover-content-container .ibm-automation-cds--popover span{display:none}.automation-global-header--popover-content-container .ibm-automation-cds--popover .ibm-automation-cds--popover-content{background-color:#393939;color:#fff;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);padding:.125rem .5rem}.automation-global-header--popover-content-container .ibm-automation-cds--popover .ibm-automation-cds--popover-caret{display:none}"]);
4
-
5
- export { styles as default };
6
- //# sourceMappingURL=_index.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_index.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,19 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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 { NoAuthHeaderLinks } from '../../types/Header.types';
11
- import '@carbon/web-components/es-custom/components/ui-shell/index.js';
12
- /**
13
- * Content to show when not logged in
14
- */
15
- export declare class UnauthenticatedContext extends LitElement {
16
- static styles: import("lit").CSSResult;
17
- noAuthHeaderLinks: NoAuthHeaderLinks[];
18
- render(): import("lit-html").TemplateResult<1>;
19
- }
@@ -1,63 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import { unsafeCSS, css, LitElement, nothing, html } from 'lit';
3
- import { property, customElement } from 'lit/decorators.js';
4
- import { renderCarbonIcon } from '../../globals/utils.js';
5
- import '@carbon/web-components/es-custom/components/ui-shell/index.js';
6
- import cx from '../../../../../_virtual/index.js';
7
- import { DEFAULT_NO_AUTH_HEADER_LINKS, AUTOMATION_NAMESPACE_PREFIX, HEADER_NAVIGATION_ACTION } from '../../constant.js';
8
- import styles from '../_index.scss.js';
9
-
10
- /**
11
- * @license
12
- *
13
- * Copyright IBM Corp. 2025
14
- *
15
- * This source code is licensed under the Apache-2.0 license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */
18
- /* eslint jsdoc/require-jsdoc: 0 */
19
- /**
20
- * Content to show when not logged in
21
- */
22
- let UnauthenticatedContext = class UnauthenticatedContext extends LitElement {
23
- constructor() {
24
- super(...arguments);
25
- this.noAuthHeaderLinks = [
26
- ...DEFAULT_NO_AUTH_HEADER_LINKS,
27
- ];
28
- }
29
- render() {
30
- return html ` <cds-custom-header-nav
31
- aria-label="Navigation"
32
- class="${cx(AUTOMATION_NAMESPACE_PREFIX, `${HEADER_NAVIGATION_ACTION}__menu`)}">
33
- ${this.noAuthHeaderLinks &&
34
- this.noAuthHeaderLinks.map((headerLink) => {
35
- return html `
36
- <cds-custom-header-nav-item
37
- aria-label="${headerLink === null || headerLink === void 0 ? void 0 : headerLink.arialLabel}"
38
- href="${headerLink === null || headerLink === void 0 ? void 0 : headerLink.href}"
39
- class="${`${HEADER_NAVIGATION_ACTION}__menu-item`}">
40
- ${headerLink === null || headerLink === void 0 ? void 0 : headerLink.text}
41
- ${(headerLink === null || headerLink === void 0 ? void 0 : headerLink.carbonIcon)
42
- ? html `<span
43
- >${renderCarbonIcon(headerLink.carbonIcon, 16)}</span
44
- >`
45
- : nothing}
46
- </cds-custom-header-nav-item>
47
- `;
48
- })}
49
- </cds-custom-header-nav>`;
50
- }
51
- };
52
- UnauthenticatedContext.styles = css `
53
- ${unsafeCSS(styles)}
54
- `;
55
- __decorate([
56
- property({ type: Array })
57
- ], UnauthenticatedContext.prototype, "noAuthHeaderLinks", void 0);
58
- UnauthenticatedContext = __decorate([
59
- customElement('apaas-unauthenticated-context')
60
- ], UnauthenticatedContext);
61
-
62
- export { UnauthenticatedContext };
63
- //# sourceMappingURL=UnauthenticatedContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnauthenticatedContext.js","sources":["../../../../../../../components/global-header/src/components/UnauthenticatedContext/UnauthenticatedContext.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;AAOG;AACH;AAiBA;;AAEG;AAEI,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,UAAU,CAAA;AAA/C,IAAA,WAAA,GAAA;;AAIsB,QAAA,IAAA,CAAA,iBAAiB,GAAwB;AAClE,YAAA,GAAG,4BAA4B;SAChC;IA2BH;IAzBE,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,CAAA,CAAA;;AAEA,aAAA,EAAA,EAAE,CACT,2BAA2B,EAC3B,CAAA,EAAG,wBAAwB,QAAQ,CACpC,CAAA;AACC,MAAA,EAAA,IAAI,CAAC,iBAAiB;YACxB,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,UAA6B,KAAI;AAC3D,gBAAA,OAAO,IAAI,CAAA;;AAEO,wBAAA,EAAA,UAAU,KAAA,IAAA,IAAV,UAAU,KAAA,MAAA,GAAA,MAAA,GAAV,UAAU,CAAE,UAAU,CAAA;AAC5B,kBAAA,EAAA,UAAU,KAAA,IAAA,IAAV,UAAU,KAAA,MAAA,GAAA,MAAA,GAAV,UAAU,CAAE,IAAI,CAAA;AACf,mBAAA,EAAA,CAAA,EAAG,wBAAwB,CAAA,WAAA,CAAa,CAAA;AAC/C,YAAA,EAAA,UAAU,KAAA,IAAA,IAAV,UAAU,KAAA,MAAA,GAAA,MAAA,GAAV,UAAU,CAAE,IAAI;AAChB,YAAA,EAAA,CAAA,UAAU,KAAA,IAAA,IAAV,UAAU,KAAA,MAAA,GAAA,MAAA,GAAV,UAAU,CAAE,UAAU;sBACpB,IAAI,CAAA,CAAA;AACC,mBAAA,EAAA,gBAAgB,CAAC,UAAU,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA;AAC9C,iBAAA;AACJ,sBAAE,OAAO;;SAEd;AACH,YAAA,CAAC,CAAC;6BACqB;IAC3B;;AA/BO,sBAAA,CAAA,MAAM,GAAG,GAAG,CAAA;MACf,SAAS,CAAC,MAAM,CAAC;AACpB,EAAA,CAFY;AAGc,UAAA,CAAA;AAA1B,IAAA,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;AAEvB,CAAA,EAAA,sBAAA,CAAA,SAAA,EAAA,mBAAA,EAAA,MAAA,CAAA;AANS,sBAAsB,GAAA,UAAA,CAAA;IADlC,aAAa,CAAC,+BAA+B;AACjC,CAAA,EAAA,sBAAsB,CAiClC;;;;"}
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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 type { Meta, StoryObj } from '@storybook/web-components-vite';
10
- import { UnauthenticatedContext } from './UnauthenticatedContext';
11
- import '@carbon/web-components/es-custom/components/ui-shell/index.js';
12
- declare const meta: Meta;
13
- export default meta;
14
- type Story = StoryObj<typeof UnauthenticatedContext>;
15
- export declare const Basic: Story;
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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 '../UnauthenticatedContext';
@@ -1,31 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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
- * User image for the profile menu
12
- */
13
- export declare class SideNavItem extends LitElement {
14
- static styles: import("lit").CSSResult;
15
- kind: string;
16
- size: string;
17
- image: string;
18
- initials: string;
19
- className: string;
20
- backgroundColor: string;
21
- icons: {
22
- user: {
23
- md: Element | import("lit-html").TemplateResult<1>;
24
- lg: Element | import("lit-html").TemplateResult<1>;
25
- xlg: Element | import("lit-html").TemplateResult<1>;
26
- };
27
- };
28
- formatInitials: () => string | undefined;
29
- getFillItem: () => string | Element | import("lit-html").TemplateResult<1> | undefined;
30
- render(): import("lit-html").TemplateResult<1>;
31
- }
@@ -1,104 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import { unsafeCSS, css, LitElement, html } from 'lit';
3
- import { property, customElement } from 'lit/decorators.js';
4
- import { renderCarbonIcon } from '../../globals/utils.js';
5
- import cx from '../../../../../_virtual/index.js';
6
- import styles from './UserProfileImage.scss.js';
7
- import { AUTOMATION_HEADER_BASE_CLASS } from '../../constant.js';
8
-
9
- /**
10
- * @license
11
- *
12
- * Copyright IBM Corp. 2025
13
- *
14
- * This source code is licensed under the Apache-2.0 license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */
17
- /* eslint jsdoc/require-jsdoc: 0 */
18
- const blockClass = `${AUTOMATION_HEADER_BASE_CLASS}__user-profile-image`;
19
- /**
20
- * User image for the profile menu
21
- */
22
- let SideNavItem = class SideNavItem extends LitElement {
23
- constructor() {
24
- super(...arguments);
25
- this.kind = '';
26
- this.size = 'lg';
27
- this.image = '';
28
- this.initials = '';
29
- this.className = '';
30
- this.backgroundColor = 'light-cyan';
31
- this.icons = {
32
- user: {
33
- md: renderCarbonIcon('User', 20),
34
- lg: renderCarbonIcon('User', 24),
35
- xlg: renderCarbonIcon('User', 32),
36
- },
37
- };
38
- this.formatInitials = () => {
39
- var _a, _b, _c, _d, _e;
40
- if (((_a = this.initials) === null || _a === void 0 ? void 0 : _a.length) === 2) {
41
- return this.initials.toUpperCase();
42
- }
43
- return (_e = (_d = (_c = (_b = this.initials) === null || _b === void 0 ? void 0 : _b.match(/(^\S\S?|\b\S)?/g)) === null || _c === void 0 ? void 0 : _c.join('')) === null || _d === void 0 ? void 0 : _d.match(/(^\S|\S$)?/g)) === null || _e === void 0 ? void 0 : _e.join('').toUpperCase();
44
- };
45
- this.getFillItem = () => {
46
- if (this.image) {
47
- return html `<img
48
- alt="profile image"
49
- src="${this.image}"
50
- class="${blockClass}__photo ${blockClass}__photo--${this.size}" />`;
51
- }
52
- if (this.initials) {
53
- return this.formatInitials();
54
- }
55
- if (this.kind && this.size) {
56
- return renderCarbonIcon(this.kind, +this.size);
57
- }
58
- return this.icons.user.md;
59
- };
60
- }
61
- render() {
62
- return html `
63
- <div class="${blockClass}">
64
- <div
65
- class="${cx([
66
- blockClass,
67
- this.className,
68
- `${blockClass}--${this.size}`,
69
- `${blockClass}--${'light'}`,
70
- `${blockClass}--${this.backgroundColor}`,
71
- ])}">
72
- ${this.getFillItem()}
73
- </div>
74
- </div>
75
- `;
76
- }
77
- };
78
- SideNavItem.styles = css `
79
- ${unsafeCSS(styles)}
80
- `;
81
- __decorate([
82
- property({ type: String })
83
- ], SideNavItem.prototype, "kind", void 0);
84
- __decorate([
85
- property({ type: String })
86
- ], SideNavItem.prototype, "size", void 0);
87
- __decorate([
88
- property({ type: String })
89
- ], SideNavItem.prototype, "image", void 0);
90
- __decorate([
91
- property({ type: String })
92
- ], SideNavItem.prototype, "initials", void 0);
93
- __decorate([
94
- property({ type: String })
95
- ], SideNavItem.prototype, "className", void 0);
96
- __decorate([
97
- property({ type: String })
98
- ], SideNavItem.prototype, "backgroundColor", void 0);
99
- SideNavItem = __decorate([
100
- customElement('apaas-user-profile-image')
101
- ], SideNavItem);
102
-
103
- export { SideNavItem };
104
- //# sourceMappingURL=UserProfileImage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserProfileImage.js","sources":["../../../../../../../components/global-header/src/components/UserProfileImage/UserProfileImage.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;AAOG;AACH;AAWA,MAAM,UAAU,GAAG,CAAA,EAAG,4BAA4B,sBAAsB;AAExE;;AAEG;AAEI,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU,CAAA;AAApC,IAAA,WAAA,GAAA;;QAKuB,IAAA,CAAA,IAAI,GAAG,EAAE;QACT,IAAA,CAAA,IAAI,GAAG,IAAI;QACX,IAAA,CAAA,KAAK,GAAG,EAAE;QACV,IAAA,CAAA,QAAQ,GAAG,EAAE;QACb,IAAA,CAAA,SAAS,GAAG,EAAE;QACd,IAAA,CAAA,eAAe,GAAG,YAAY;AAE1D,QAAA,IAAA,CAAA,KAAK,GAAG;AACN,YAAA,IAAI,EAAE;AACJ,gBAAA,EAAE,EAAE,gBAAgB,CAAC,MAAM,EAAE,EAAE,CAAC;AAChC,gBAAA,EAAE,EAAE,gBAAgB,CAAC,MAAM,EAAE,EAAE,CAAC;AAChC,gBAAA,GAAG,EAAE,gBAAgB,CAAC,MAAM,EAAE,EAAE,CAAC;AAClC,aAAA;SACF;QAED,IAAA,CAAA,cAAc,GAAG,MAAK;;YACpB,IAAI,CAAA,CAAA,EAAA,G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E,MAAM,EAAE;AAAiC,CAAA,EAAA,WAAA,CAAA,SAAA,EAAA,iBAAA,EAAA,MAAA,CAAA;AAVhD,WAAW,GAAA,UAAA,CAAA;IADvB,aAAa,CAAC,0BAA0B;AAC5B,CAAA,EAAA,WAAW,CAkEvB;;;;"}
@@ -1,6 +0,0 @@
1
- import { css } from 'lit';
2
-
3
- var styles = css([".automation-global-header__user-profile-image{align-items:center;block-size:100%;display:flex;justify-content:center}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light{color:#161616}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--dark-cyan,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--dark-gray,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--dark-green,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--dark-magenta,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--dark-purple,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--dark-teal,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--light-cyan,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--light-gray,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--light-green,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--light-magenta,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--light-purple,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--light.automation-global-header__user-profile-image--light-teal{background-color:#1192e8}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark{color:#161616}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--dark-cyan,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--dark-gray,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--dark-green,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--dark-magenta,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--dark-purple,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--dark-teal,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--light-cyan,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--light-gray,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--light-green,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--light-magenta,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--light-purple,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--dark.automation-global-header__user-profile-image--light-teal{background-color:#1192e8}.automation-global-header__user-profile-image .automation-global-header__user-profile-image{align-items:center;border-radius:100%;display:flex;flex-direction:column;justify-content:center;text-transform:uppercase}.automation-global-header__user-profile-image .automation-global-header__user-profile-image__photo{border-radius:100%;inline-size:100%}.automation-global-header__user-profile-image .automation-global-header__user-profile-image__photo--xlg{block-size:3rem;inline-size:3rem}.automation-global-header__user-profile-image .automation-global-header__user-profile-image__photo--lg{block-size:2rem;inline-size:2rem}.automation-global-header__user-profile-image .automation-global-header__user-profile-image__photo--md{block-size:1.5rem;inline-size:1.5rem}.automation-global-header__user-profile-image .automation-global-header__user-profile-image__photo--sm{block-size:1.25rem;inline-size:1.25rem}.automation-global-header__user-profile-image .automation-global-header__user-profile-image__photo--xs{block-size:1rem;inline-size:1rem}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--xlg{block-size:3rem;font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);inline-size:3rem;letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--lg{block-size:2rem;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);inline-size:2rem;letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572)}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--md{block-size:1.5rem;inline-size:1.5rem}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--md,.automation-global-header__user-profile-image .automation-global-header__user-profile-image--sm{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:700;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--sm{block-size:1.25rem;inline-size:1.25rem}.automation-global-header__user-profile-image .automation-global-header__user-profile-image--xs{block-size:1rem;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:700;inline-size:1rem;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}"]);
4
-
5
- export { styles as default };
6
- //# sourceMappingURL=UserProfileImage.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserProfileImage.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,21 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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
- export declare enum ProfileImageSize {
10
- 'lg' = 0,
11
- 'md' = 1,
12
- 'xlg' = 2
13
- }
14
- export interface UserProfileImageIProps {
15
- kind?: string;
16
- size?: string;
17
- image?: string;
18
- initials?: string;
19
- className?: string;
20
- backgroundColor?: string;
21
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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 '../UserProfileImage';
@@ -1,6 +0,0 @@
1
- import { css } from 'lit';
2
-
3
- var styles = css([".ibm-automation-cds__header{z-index:8050}.ibm-automation-cds__header-name{margin:0 0 0 -.5rem}.ibm-automation-cds__capability-name{color:var(--cds-custom-text-primary);font-weight:400;margin-inline-end:1.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibm-automation-cds__product-type{white-space:nowrap}.ibm-automation-cds__global{block-size:100%;display:flex;flex:1 1 0%;justify-content:flex-end}.automation-global-header__popover__section{padding:1rem;position:relative}.automation-global-header__popover__section:not(:last-child):after{border-block-end:1px solid #393939;content:\"\";inline-size:100%;inset-block-end:0;inset-inline-start:0;position:absolute}.automation--header__popover__header{display:flex;flex-wrap:nowrap}.automation--header__popover__profile__header__title{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0);line-height:var(--cds-productive-heading-03-line-height,1.4);line-height:1.2;margin-block-end:.25rem}.automation--header__popover__profile__header__email,.automation--header__popover__profile__header__title{display:block;inline-size:189px;word-wrap:break-word}.automation-global-header__horizontal_section{border:.25px solid #393939;margin-inline:.5rem}.automation-global-header__name_section{margin-inline-start:1rem}.automation-global-header__console_lnk_section,.automation-global-header__usr_management_lnk_section{padding:0}.automation-global-header__popover__link-item a{text-decoration:none}.automation-global-header__popover__section ul,.automation-global-header__profile_footer ul{margin:0;padding:0}.automation-global-header__popover__section ul li,.automation-global-header__profile_footer ul li{list-style-position:inside;list-style-type:none}.automation-global-header__popover__link{color:#fff;display:flex;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);line-height:var(--cds-body-short-01-line-height,1.28572);padding:1rem;text-decoration:none;transition:background-color .11s,color .11s}.automation-global-header__popover__link svg{block-size:100%}.automation-global-header__popover__link .link_icon{margin-inline-end:.5rem}.automation-global-header__popover__link:hover{background-color:#353535}.automation-global-header__popover__link:hover .launch_icon{opacity:1}.automation-global-header__popover__link .link_text{margin:auto 0}.automation-global-header__popover__link .launch_icon{margin-inline-start:auto;opacity:0}.automation--header__popover__profile__header__email{color:#c6c6c6;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.automation-global-header__instance_details{margin:1rem}.automation-global-header__title_bar .title-bar__label{color:#c6c6c6;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.automation-global-header__title_bar .title-bar__text{font-size:var(--cds-expressive-heading-01-font-size,.875rem);font-weight:var(--cds-expressive-heading-01-font-weight,600);font-weight:400;letter-spacing:var(--cds-expressive-heading-01-letter-spacing,.16px);line-height:var(--cds-expressive-heading-01-line-height,1.42857)}.automation-global-header__popover__profile__footer__logout{color:#fff!important}.automation-global-header__popover__link-item cds-button{inline-size:100%}.automation-global-header__popover__link-item cds-button::part(button){inline-size:100%;padding:0}.automation-global-header__popover__link-item cds-button .automation-global-header__popover__link{inline-size:100%}cds-custom-header-global-action.mcsp-header-user-profile{block-size:48px;display:flex;inline-size:48px}cds-custom-header-global-action apaas-user-profile-image{inline-size:100%}.ibm-automation-cds__help-menu{list-style:none}.ibm-automation-cds__help-menu svg{fill:#fff}.ibm-automation-cds__help-menu ul{transform:translateX(calc(3rem - 100%)) translateY(100%)!important}.ibm-automation-cds__help-menu .ibm-automation-cds--text-truncate--end{display:flex;inline-size:320px;justify-content:space-between}.ibm-automation-cds__help-menu .ibm-automation-cds--header__menu-item{block-size:47px;padding:12px}.automation-global-header__notification svg{fill:#fff}.automation-global-header__notification svg circle{fill:#d61f28}cds-custom-header-global-action.mcsp-header-user-profile>div{background-color:#1192e8;block-size:32px;border-radius:50%;inline-size:32px;margin:7px}cds-custom-header-global-action.mcsp-header-user-profile>div svg{margin:6px}.automation-global-header__divider:before{background-color:var(--cds-custom-border-subtle);block-size:2.5rem;content:\"\";display:block;inline-size:.0625rem;transform:translateY(.25rem)}.automation--header__group{display:flex;position:relative}.automation-global-header--popover-content-container .ibm-automation-cds--popover .ibm-automation-cds--popover-caret,.automation-global-header--popover-content-container .ibm-automation-cds--popover span{display:none!important}.ibm-automation-cds--custom-header__nav{display:block!important}.ibm-automation-cds--header__global .ibm-automation-cds--popover span{display:none!important}.c4p--user-profile-image--light{color:#000}.automation-global-header__trial-menu__counting-box-alert{background-image:linear-gradient(135deg,#161616,#161616),linear-gradient(135deg,#fa4d56,#fa4d56)}.automation-global-header__trial-menu{color:#f4f4f4}.automation-global-header__trial-menu::part(button){align-items:center;display:flex;inline-size:-moz-fit-content;inline-size:fit-content;padding:0 .75rem}.automation-global-header__trial-menu p{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.automation-global-header__trial-menu .trial-label{color:#f4f4f4;padding-inline-start:5px;text-align:center;white-space:nowrap}.automation-global-header__trial-menu .automation-global-header__trial-menu__counting-box{background-clip:padding-box,border-box;background-image:linear-gradient(135deg,#161616,#161616),linear-gradient(135deg,#0043ce,#be95ff);background-origin:padding-box,border-box;block-size:1.25rem;border:1px solid transparent;border-radius:.125rem;color:#f4f4f4;font-size:14px;font-weight:600;min-inline-size:1rem;text-align:center}.automation-global-header__trial-menu .automation-global-header__trial-menu__counting-box-alert{background-image:linear-gradient(135deg,#161616,#161616),linear-gradient(135deg,#fa4d56,#fa4d56)}.automation-global-header__trial-menu:hover .automation-global-header__trial-menu__counting-box{background-image:linear-gradient(135deg,#353535,#353535),linear-gradient(135deg,#0043ce,#be95ff)!important}.automation-global-header__trial-menu:hover .automation-global-header__trial-menu__counting-box-alert{background-image:linear-gradient(135deg,#353535,#353535),linear-gradient(135deg,#fa4d56,#fa4d56)!important}.ibm-automation-cds--header__action:hover{background-color:#393939}.ibm-automation-cds--btn.ibm-automation-cds--btn--icon-only.ibm-automation-cds--header__action svg{fill:#fff}@media (forced-colors:active){.ibm-automation-cds--btn.ibm-automation-cds--btn--icon-only.ibm-automation-cds--header__action svg{fill:#fff}}@media (forced-colors:active) and (-ms-high-contrast:black-on-white){.ibm-automation-cds--btn.ibm-automation-cds--btn--icon-only.ibm-automation-cds--header__action svg{fill:#000}}@media (forced-colors:active) and (-ms-high-contrast:white-on-black){.ibm-automation-cds--btn.ibm-automation-cds--btn--icon-only.ibm-automation-cds--header__action svg{fill:#fff}}.c4p--notifications-panel__container{block-size:-moz-max-content;block-size:max-content;border:0;min-block-size:-moz-max-content;min-block-size:max-content}.automation-header__tooltip{color:#fff;inline-size:16rem;inset-block-start:0;inset-inline-end:0;position:absolute;transform:translateX(40px)}.automation-header__tooltip-body{background-color:#393939;border-radius:3px;box-shadow:0 5px 5px 0 rgba(0,0,0,.3);padding:1rem}.automation-header__tooltip-body :last-child{margin-block-end:0}.automation-global-header__tooltip-description{font-size:14px;line-height:1.25rem;margin-block-end:1rem}.automation-global-header__tooltip-links{margin-block-end:1rem}.automation-global-header__tooltip-links .automation-global-header__tooltip-link{color:#78a9ff;display:block;margin-block-end:.25rem;margin-inline-start:-1rem;padding:6px 15px}.automation-global-header__tooltip-links .automation-global-header__tooltip-link svg{fill:#78a9ff}.automation-global-header__tooltip-links .automation-global-header__tooltip-link:hover{background-color:transparent;text-decoration:underline}.automation-global-header__trial-button{display:inline-block}.automation-global-header__trial-button .buttons{background:#0f62fe;color:#fff;display:flex;padding:6px 15px}.automation-global-header__trial-button .button-icon{display:flex;margin-inline-start:20px}.automation-global-header__trial-button:hover{text-decoration:none}.automation-global-header--popover-content-container .ibm-automation-cds--popover span{display:none}.automation-global-header--popover-content-container .ibm-automation-cds--popover .ibm-automation-cds--popover-content{background-color:#393939;color:#fff;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);padding:.125rem .5rem}.automation-global-header--popover-content-container .ibm-automation-cds--popover .ibm-automation-cds--popover-caret{display:none}.automation-global-header__switcher{block-size:-moz-max-content;block-size:max-content;border:0!important;color:#a8a8a8;inline-size:-moz-max-content;inline-size:max-content;min-block-size:-moz-max-content;min-block-size:max-content}.automation-global-header__switcher-menu{block-size:47px;color:#a8a8a8;display:inline-block;list-style-type:none;min-inline-size:12rem!important}.automation-global-header__switcher-menu-item-title{align-items:flex-end;display:flex;justify-content:space-between}.automation-global-header__switcher-menu-item-title span{margin-inline-end:1.5rem;max-inline-size:224px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-global-header__switcher-menu-item-title-hidden-checkmark{visibility:hidden}.automation-global-header__switcher-menu-item-title-icons-left{display:flex}.automation-global-header__switcher-menu-item-title-icons-left div{margin-inline-end:1rem}.automation-global-header__switcher-menu-item-title-icons-left span{margin-inline-end:1rem}.automation-global-header__switcher-menu-item-title-icons-left span,.automation-global-header__switcher-menu-item>span{max-inline-size:224px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-global-header__switcher-menu-disabled{pointer-events:none}.automation-global-header__switcher-menu.hybrid-ipaas .cds--header__menu-item+.cds--header__menu-title[aria-expanded=false]{inline-size:100%!important;min-inline-size:15rem!important}.automation-global-header__switcher-menu-group-title{align-items:center;block-size:47px;color:#f4f4f4;display:flex;font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);justify-content:space-between;letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);line-height:var(--cds-heading-compact-01-line-height,1.28572);margin-inline-start:1rem;pointer-events:none}cds-custom-header-menu::part(menu-body){inline-size:100%!important;max-block-size:calc(100vh - 47px);min-inline-size:15rem!important;overflow-x:hidden}cds-custom-header-menu::part(trigger){align-items:center!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;max-inline-size:224px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}cds-custom-header-menu-item:nth-last-child(2){border-block-end:1px solid #393939}.ibm-automation-cds .automation-header-navigation-action__menu-item{cursor:pointer;display:block}.ibm-automation-cds .automation-header-navigation-action__menu-item a{color:#f4f4f4}.ibm-automation-cds .automation-header-navigation-action__menu-item span{align-items:center;display:flex}.ibm-automation-cds .automation-header-navigation-action__menu-item svg{margin-inline-start:.25rem}"]);
4
-
5
- export { styles as default };
6
- //# sourceMappingURL=_index.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_index.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,53 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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
- export declare const AUTOMATION_NAMESPACE_PREFIX = "ibm-automation-cds";
10
- export declare const AUTOMATION_HEADER_BASE_CLASS = "automation-global-header";
11
- export declare const NAMESPACE = "automation--header";
12
- export declare const HEADER_NAVIGATION_ACTION = "automation-header-navigation-action";
13
- export declare const POPOVER_LABEL_ID = "automation--header__popover__label--profile";
14
- export declare const APP_SWITCHER_BUTTON_ID = "ibm-automation-cds-app-switcher-button";
15
- export declare const ENV_SWITCHER_BUTTON_ID = "ibm-automation-cds-env-switcher-button";
16
- export declare const HELP_MENU_BUTTON_ID = "ibm-automation-cds-help-menu-button";
17
- export declare const INTEGRATION_AGENT_BUTTON_ID = "ibm-automation-cds-chatbot-menu-button";
18
- export declare const NOTIFICATIONS_BUTTON_ID = "ibm-automation-cds-notifications-button";
19
- export declare const PROFILE_MENU_BUTTON_ID = "ibm-automation-cds-profile-menu-button";
20
- export declare const SEARCH_BUTTON_ID = "ibm-automation-cds-search-button";
21
- export declare const TRIAL_POPOVER_BUTTON_ID = "ibm-automation-cds-trial-popover-button";
22
- export declare const INITIAL_AUTOMATION_HEADER_PROPS: {
23
- brand: {
24
- company: string;
25
- product: string;
26
- };
27
- enableLogs: boolean;
28
- managementConsole: {
29
- href: string;
30
- text: string;
31
- };
32
- noAuthHeaderLinks: never[];
33
- profileFooterLinks: never[];
34
- footerSectionItems: {
35
- href: string;
36
- text: string;
37
- arialLabel: string;
38
- carbonIcon: string;
39
- }[];
40
- userManagement: {
41
- href: string;
42
- text: string;
43
- icon: string;
44
- };
45
- switcherConfigs: never[];
46
- environment: string;
47
- };
48
- export declare const DEFAULT_NO_AUTH_HEADER_LINKS: {
49
- text: string;
50
- href: string;
51
- carbonIcon: string;
52
- arialLabel: string;
53
- }[];
@@ -1,66 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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
- const AUTOMATION_NAMESPACE_PREFIX = 'ibm-automation-cds';
10
- const AUTOMATION_HEADER_BASE_CLASS = 'automation-global-header';
11
- const NAMESPACE = 'automation--header';
12
- const HEADER_NAVIGATION_ACTION = 'automation-header-navigation-action';
13
- const POPOVER_LABEL_ID = `automation--header__popover__label--profile`;
14
- const APP_SWITCHER_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-app-switcher-button`;
15
- const ENV_SWITCHER_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-env-switcher-button`;
16
- const HELP_MENU_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-help-menu-button`;
17
- const INTEGRATION_AGENT_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-chatbot-menu-button`;
18
- const NOTIFICATIONS_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-notifications-button`;
19
- const PROFILE_MENU_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-profile-menu-button`;
20
- const SEARCH_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-search-button`;
21
- const TRIAL_POPOVER_BUTTON_ID = `${AUTOMATION_NAMESPACE_PREFIX}-trial-popover-button`;
22
- const INITIAL_AUTOMATION_HEADER_PROPS = {
23
- brand: {
24
- company: '',
25
- product: '',
26
- },
27
- enableLogs: false,
28
- managementConsole: {
29
- href: '',
30
- text: 'Console',
31
- },
32
- noAuthHeaderLinks: [],
33
- profileFooterLinks: [],
34
- footerSectionItems: [
35
- {
36
- href: '',
37
- text: 'Service IDs and API keys',
38
- arialLabel: 'APIKeys',
39
- carbonIcon: 'IbmCloudKeyProtect',
40
- },
41
- ],
42
- userManagement: {
43
- href: '',
44
- text: 'User management',
45
- icon: 'UserFollow',
46
- },
47
- switcherConfigs: [],
48
- environment: 'staging',
49
- };
50
- const DEFAULT_NO_AUTH_HEADER_LINKS = [
51
- {
52
- text: 'Docs',
53
- href: '/docs',
54
- carbonIcon: 'Document',
55
- arialLabel: 'Docs',
56
- },
57
- {
58
- href: '/login',
59
- text: 'Log in',
60
- carbonIcon: 'Login',
61
- arialLabel: 'Log in',
62
- },
63
- ];
64
-
65
- export { APP_SWITCHER_BUTTON_ID, AUTOMATION_HEADER_BASE_CLASS, AUTOMATION_NAMESPACE_PREFIX, DEFAULT_NO_AUTH_HEADER_LINKS, ENV_SWITCHER_BUTTON_ID, HEADER_NAVIGATION_ACTION, HELP_MENU_BUTTON_ID, INITIAL_AUTOMATION_HEADER_PROPS, INTEGRATION_AGENT_BUTTON_ID, NAMESPACE, NOTIFICATIONS_BUTTON_ID, POPOVER_LABEL_ID, PROFILE_MENU_BUTTON_ID, SEARCH_BUTTON_ID, TRIAL_POPOVER_BUTTON_ID };
66
- //# sourceMappingURL=constant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constant.js","sources":["../../../../../components/global-header/src/constant.ts"],"sourcesCont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;AAEjB,MAAM,4BAA4B,GAAG;AAC1C,IAAA;AACE,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,IAAI,EAAE,OAAO;AACb,QAAA,UAAU,EAAE,UAAU;AACtB,QAAA,UAAU,EAAE,MAAM;AACnB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,UAAU,EAAE,OAAO;AACnB,QAAA,UAAU,EAAE,QAAQ;AACrB,KAAA;;;;;"}
@@ -1,16 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Copyright IBM Corp. 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 { CommonHeader } from './components/CommonHeader/CommonHeader';
10
- /**
11
- * Component extending the @carbon/web-components' button
12
- */
13
- declare class globalHeader extends CommonHeader {
14
- static styles: any;
15
- }
16
- export default globalHeader;