@red-hat-developer-hub/backstage-plugin-global-header 1.8.0 → 1.10.1

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 (70) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/components/CompanyLogo/CompanyLogo.esm.js +21 -21
  3. package/dist/components/CompanyLogo/CompanyLogo.esm.js.map +1 -1
  4. package/dist/components/CompanyLogo/DefaultLogo.esm.js +199 -154
  5. package/dist/components/CompanyLogo/DefaultLogo.esm.js.map +1 -1
  6. package/dist/components/Divider/Divider.esm.js +3 -3
  7. package/dist/components/Divider/Divider.esm.js.map +1 -1
  8. package/dist/components/GlobalHeader.esm.js +2 -2
  9. package/dist/components/GlobalHeader.esm.js.map +1 -1
  10. package/dist/components/GlobalHeaderComponent.esm.js +13 -12
  11. package/dist/components/GlobalHeaderComponent.esm.js.map +1 -1
  12. package/dist/components/HeaderButton/HeaderButton.esm.js +9 -9
  13. package/dist/components/HeaderButton/HeaderButton.esm.js.map +1 -1
  14. package/dist/components/HeaderDropdownComponent/ApplicationLauncherDropdown.esm.js +29 -28
  15. package/dist/components/HeaderDropdownComponent/ApplicationLauncherDropdown.esm.js.map +1 -1
  16. package/dist/components/HeaderDropdownComponent/CreateDropdown.esm.js +17 -13
  17. package/dist/components/HeaderDropdownComponent/CreateDropdown.esm.js.map +1 -1
  18. package/dist/components/HeaderDropdownComponent/DropdownEmptyState.esm.js +16 -14
  19. package/dist/components/HeaderDropdownComponent/DropdownEmptyState.esm.js.map +1 -1
  20. package/dist/components/HeaderDropdownComponent/HeaderDropdownComponent.esm.js +32 -28
  21. package/dist/components/HeaderDropdownComponent/HeaderDropdownComponent.esm.js.map +1 -1
  22. package/dist/components/HeaderDropdownComponent/MenuSection.esm.js +55 -48
  23. package/dist/components/HeaderDropdownComponent/MenuSection.esm.js.map +1 -1
  24. package/dist/components/HeaderDropdownComponent/ProfileDropdown.esm.js +38 -31
  25. package/dist/components/HeaderDropdownComponent/ProfileDropdown.esm.js.map +1 -1
  26. package/dist/components/HeaderDropdownComponent/RegisterAComponentSection.esm.js +2 -2
  27. package/dist/components/HeaderDropdownComponent/RegisterAComponentSection.esm.js.map +1 -1
  28. package/dist/components/HeaderDropdownComponent/SoftwareTemplatesSection.esm.js +15 -11
  29. package/dist/components/HeaderDropdownComponent/SoftwareTemplatesSection.esm.js.map +1 -1
  30. package/dist/components/HeaderDropdownComponent/StarredDropdown.esm.js +55 -50
  31. package/dist/components/HeaderDropdownComponent/StarredDropdown.esm.js.map +1 -1
  32. package/dist/components/HeaderIcon/HeaderIcon.esm.js +11 -11
  33. package/dist/components/HeaderIcon/HeaderIcon.esm.js.map +1 -1
  34. package/dist/components/HeaderIconButton/HeaderIconButton.esm.js +7 -7
  35. package/dist/components/HeaderIconButton/HeaderIconButton.esm.js.map +1 -1
  36. package/dist/components/LogoutButton/LogoutButton.esm.js +5 -5
  37. package/dist/components/LogoutButton/LogoutButton.esm.js.map +1 -1
  38. package/dist/components/MenuItemLink/MenuItemLink.esm.js +6 -3
  39. package/dist/components/MenuItemLink/MenuItemLink.esm.js.map +1 -1
  40. package/dist/components/MenuItemLink/MenuItemLinkContent.esm.js +46 -39
  41. package/dist/components/MenuItemLink/MenuItemLinkContent.esm.js.map +1 -1
  42. package/dist/components/NotificationBanner.esm.js +9 -8
  43. package/dist/components/NotificationBanner.esm.js.map +1 -1
  44. package/dist/components/NotificationButton/NotificationButton.esm.js +7 -7
  45. package/dist/components/NotificationButton/NotificationButton.esm.js.map +1 -1
  46. package/dist/components/SearchComponent/SearchBar.esm.js +9 -6
  47. package/dist/components/SearchComponent/SearchBar.esm.js.map +1 -1
  48. package/dist/components/SearchComponent/SearchComponent.esm.js +7 -6
  49. package/dist/components/SearchComponent/SearchComponent.esm.js.map +1 -1
  50. package/dist/components/SearchComponent/SearchInput.esm.js +3 -3
  51. package/dist/components/SearchComponent/SearchInput.esm.js.map +1 -1
  52. package/dist/components/SearchComponent/SearchOption.esm.js +19 -13
  53. package/dist/components/SearchComponent/SearchOption.esm.js.map +1 -1
  54. package/dist/components/SearchComponent/SearchResultItem.esm.js +18 -18
  55. package/dist/components/SearchComponent/SearchResultItem.esm.js.map +1 -1
  56. package/dist/components/Spacer/Spacer.esm.js +2 -2
  57. package/dist/components/Spacer/Spacer.esm.js.map +1 -1
  58. package/dist/components/SupportButton/SupportButton.esm.js +17 -17
  59. package/dist/components/SupportButton/SupportButton.esm.js.map +1 -1
  60. package/dist/defaultMountPoints/defaultMountPoints.esm.js.map +1 -1
  61. package/dist/hooks/useDebouncedCallback.esm.js +4 -4
  62. package/dist/hooks/useDebouncedCallback.esm.js.map +1 -1
  63. package/dist/hooks/useDropdownManager.esm.js +2 -2
  64. package/dist/hooks/useDropdownManager.esm.js.map +1 -1
  65. package/dist/index.d.ts +38 -38
  66. package/dist/plugin.esm.js +2 -1
  67. package/dist/plugin.esm.js.map +1 -1
  68. package/dist/utils/stringUtils.esm.js +12 -12
  69. package/dist/utils/stringUtils.esm.js.map +1 -1
  70. package/package.json +25 -25
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultLogo.esm.js","sources":["../../../src/components/CompanyLogo/DefaultLogo.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport { useTheme } from '@mui/material/styles';\n\nconst LightThemeLogoSVG = () => (\n <svg\n version=\"1.1\"\n id=\"Logos\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 931.8 244\"\n enableBackground=\"new 0 0 931.8 244\"\n xmlSpace=\"preserve\"\n height={40}\n width={150}\n >\n <style type=\"text/css\">\n {`\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#EE0000;}\n `}\n </style>\n <g>\n <g>\n <path\n d=\"M228.7,219.5v-72.8h25.7c5.5,0,10.7,0.9,15.4,2.8c4.7,1.9,8.8,4.4,12.2,7.7c3.4,3.3,6,7.1,8,11.6\n\t\t\tc1.9,4.5,2.9,9.3,2.9,14.4c0,5.1-1,9.9-2.9,14.4c-1.9,4.4-4.6,8.3-8,11.5c-3.4,3.2-7.5,5.8-12.2,7.6c-4.7,1.9-9.8,2.8-15.4,2.8\n\t\t\tH228.7z M254.5,156.5h-15v53.2h15c3.8,0,7.4-0.7,10.7-2c3.3-1.4,6.1-3.2,8.5-5.6c2.4-2.4,4.3-5.2,5.7-8.4\n\t\t\tc1.4-3.2,2.1-6.7,2.1-10.5s-0.7-7.2-2.1-10.5c-1.4-3.3-3.3-6.1-5.7-8.5c-2.4-2.4-5.2-4.3-8.5-5.7\n\t\t\tC261.9,157.2,258.4,156.5,254.5,156.5z\"\n />\n <path\n d=\"M300.7,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3H311c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C301.4,200.5,300.7,196.9,300.7,193z M327,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C334.2,175.9,330.8,174.5,327,174.5z\"\n />\n <path d=\"M377.7,219.5l-22.9-52.9h11.4l16.5,39.6l16.5-39.6h11.1l-22.9,52.9H377.7z\" />\n <path\n d=\"M412.4,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3h-41.8c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C413.1,200.5,412.4,196.9,412.4,193z M438.7,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C445.9,175.9,442.5,174.5,438.7,174.5z\"\n />\n <path d=\"M484.7,144.5v75.1h-10.4v-72.8L484.7,144.5z\" />\n <path\n d=\"M494.5,193c0-3.8,0.7-7.4,2.1-10.8c1.4-3.4,3.4-6.3,5.9-8.7c2.5-2.5,5.4-4.4,8.8-5.8c3.4-1.4,7-2.1,10.8-2.1\n\t\t\tc3.8,0,7.4,0.7,10.8,2.1c3.4,1.4,6.3,3.4,8.7,5.8c2.5,2.5,4.4,5.4,5.8,8.7c1.4,3.4,2.1,7,2.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.6,1.6-8.8,1.6c-6,0-11-1.9-14.8-5.8c-3.8-3.9-5.8-8.8-5.8-14.9v-33.3\n\t\t\tH828z\"\n />\n <path\n d=\"M929.9,193c0,3.8-0.7,7.4-2.1,10.7c-1.4,3.3-3.3,6.2-5.7,8.7c-2.4,2.5-5.3,4.4-8.6,5.8c-3.3,1.4-6.9,2.1-10.7,2.1\n\t\t\tc-3,0-5.8-0.5-8.5-1.4s-5.2-2.2-7.4-4v4.5h-10.3v-72.8l10.4-2.3v27c2.2-1.9,4.7-3.3,7.4-4.3c2.7-1,5.6-1.5,8.7-1.5\n\t\t\tc3.7,0,7.2,0.7,10.5,2.1c3.3,1.4,6.1,3.4,8.5,5.8c2.4,2.5,4.3,5.4,5.7,8.7C929.2,185.7,929.9,189.3,929.9,193z M901.7,174.8\n\t\t\tc-3.1,0-5.8,0.6-8.3,1.7c-2.5,1.1-4.6,2.6-6.3,4.6v24.1c1.7,1.9,3.8,3.4,6.3,4.5c2.6,1.1,5.3,1.7,8.3,1.7c5.1,0,9.4-1.8,12.8-5.3\n\t\t\tc3.4-3.5,5.1-7.8,5.1-12.9c0-5.2-1.8-9.6-5.3-13.1C911,176.6,906.7,174.8,901.7,174.8z\"\n />\n </g>\n <g>\n <g>\n <path\n className=\"st1\"\n d=\"M129,85c12.5,0,30.6-2.6,30.6-17.5c0-1.2,0-2.3-0.3-3.4l-7.4-32.4c-1.7-7.1-3.2-10.3-15.7-16.6\n\t\t\t\tC126.4,10.2,105.3,2,99,2c-5.8,0-7.5,7.5-14.4,7.5c-6.7,0-11.6-5.6-17.9-5.6c-6,0-9.9,4.1-12.9,12.5c0,0-8.4,23.7-9.5,27.2\n\t\t\t\tC44,44.3,44,45,44,45.5C44,54.8,80.3,85,129,85 M161.5,73.6c1.7,8.2,1.7,9.1,1.7,10.1c0,14-15.7,21.8-36.4,21.8\n\t\t\t\tC80,105.5,39.1,78.1,39.1,60c0-2.8,0.6-5.4,1.5-7.3C23.8,53.5,2,56.5,2,75.7C2,107.2,76.6,146,135.7,146\n\t\t\t\tc45.3,0,56.7-20.5,56.7-36.6C192.3,96.6,181.4,82.2,161.5,73.6\"\n />\n <path\n d=\"M161.5,73.6c1.7,8.2,1.7,9.1,1.7,10.1c0,14-15.7,21.8-36.4,21.8C80,105.5,39.1,78.1,39.1,60c0-2.8,0.6-5.4,1.5-7.3\n\t\t\t\tl3.7-9.1C44,44.3,44,45,44,45.5C44,54.8,80.3,85,129,85c12.5,0,30.6-2.6,30.6-17.5c0-1.2,0-2.3-0.3-3.4L161.5,73.6z\"\n />\n </g>\n <path\n d=\"M581.2,94.3c0,11.9,7.2,17.7,20.2,17.7c3.2,0,8.6-0.7,11.9-1.7V96.5c-2.8,0.8-4.9,1.2-7.7,1.2c-5.4,0-7.4-1.7-7.4-6.7\n\t\t\tV69.8h15.6V55.6h-15.6v-18l-17,3.7v14.3H570v14.2h11.3V94.3z M528.3,94.6c0-3.7,3.7-5.5,9.3-5.5c3.7,0,7,0.5,10.1,1.3v7.2\n\t\t\tc-3.2,1.8-6.8,2.6-10.6,2.6C531.6,100.2,528.3,98.1,528.3,94.6 M533.5,112.2c6,0,10.8-1.3,15.4-4.3v3.4h16.8V75.6\n\t\t\tc0-13.6-9.1-21-24.4-21c-8.5,0-16.9,2-26,6.1l6.1,12.5c6.5-2.7,12-4.4,16.8-4.4c7,0,10.6,2.7,10.6,8.3v2.7\n\t\t\tc-4-1.1-8.2-1.6-12.6-1.6c-14.3,0-22.9,6-22.9,16.7C513.3,104.7,521.1,112.2,533.5,112.2 M441.1,111.2h18.1V82.4h30.3v28.8h18.1\n\t\t\tV37.6h-18.1v28.3h-30.3V37.6h-18.1V111.2z M372.1,83.4c0-8,6.3-14.1,14.6-14.1c4.6,0,8.8,1.6,11.8,4.3V93c-3,2.9-7,4.4-11.8,4.4\n\t\t\tC378.5,97.5,372.1,91.4,372.1,83.4 M398.7,111.2h16.8V33.9l-17,3.7v20.9c-4.2-2.4-9-3.7-14.2-3.7c-16.2,0-28.9,12.5-28.9,28.5\n\t\t\tc0,16,12.5,28.6,28.4,28.6c5.5,0,10.6-1.7,14.9-4.8V111.2z M321.5,68.5c5.4,0,9.9,3.5,11.7,8.8H310\n\t\t\tC311.7,71.8,315.9,68.5,321.5,68.5 M292.8,83.5c0,16.2,13.3,28.8,30.3,28.8c9.4,0,16.2-2.5,23.2-8.4l-11.3-10\n\t\t\tc-2.6,2.7-6.5,4.2-11.1,4.2c-6.3,0-11.5-3.5-13.7-8.8h39.6V85c0-17.7-11.9-30.4-28.1-30.4C305.6,54.7,292.8,67.3,292.8,83.5\n\t\t\t M263.5,53.1c6,0,9.4,3.8,9.4,8.3s-3.4,8.3-9.4,8.3h-17.9V53.1H263.5z M227.5,111.2h18.1V84.4h13.8l13.9,26.8h20.2l-16.2-29.4\n\t\t\tc8.7-3.8,13.9-11.7,13.9-20.7c0-13.3-10.4-23.5-26-23.5h-37.7V111.2z\"\n />\n </g>\n </g>\n </svg>\n);\nconst DarkThemeLogoSVG = () => (\n <svg\n version=\"1.1\"\n id=\"Logos\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 931.8 244\"\n enableBackground=\"new 0 0 931.8 244\"\n xmlSpace=\"preserve\"\n height={40}\n width={150}\n >\n <style type=\"text/css\">\n {`\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#EE0000;}\n `}\n </style>\n <g>\n <g>\n <path\n className=\"st0\"\n d=\"M228.7,219.5v-72.8h25.7c5.5,0,10.7,0.9,15.4,2.8c4.7,1.9,8.8,4.4,12.2,7.7c3.4,3.3,6,7.1,8,11.6\n\t\t\tc1.9,4.5,2.9,9.3,2.9,14.4c0,5.1-1,9.9-2.9,14.4c-1.9,4.4-4.6,8.3-8,11.5c-3.4,3.2-7.5,5.8-12.2,7.6c-4.7,1.9-9.8,2.8-15.4,2.8\n\t\t\tH228.7z M254.5,156.5h-15v53.2h15c3.8,0,7.4-0.7,10.7-2c3.3-1.4,6.1-3.2,8.5-5.6c2.4-2.4,4.3-5.2,5.7-8.4\n\t\t\tc1.4-3.2,2.1-6.7,2.1-10.5s-0.7-7.2-2.1-10.5c-1.4-3.3-3.3-6.1-5.7-8.5c-2.4-2.4-5.2-4.3-8.5-5.7\n\t\t\tC261.9,157.2,258.4,156.5,254.5,156.5z\"\n />\n <path\n className=\"st0\"\n d=\"M300.7,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3H311c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C301.4,200.5,300.7,196.9,300.7,193z M327,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C334.2,175.9,330.8,174.5,327,174.5z\"\n />\n <path\n className=\"st0\"\n d=\"M377.7,219.5l-22.9-52.9h11.4l16.5,39.6l16.5-39.6h11.1l-22.9,52.9H377.7z\"\n />\n <path\n className=\"st0\"\n d=\"M412.4,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3h-41.8c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C413.1,200.5,412.4,196.9,412.4,193z M438.7,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C445.9,175.9,442.5,174.5,438.7,174.5z\"\n />\n <path className=\"st0\" d=\"M484.7,144.5v75.1h-10.4v-72.8L484.7,144.5z\" />\n <path\n className=\"st0\"\n d=\"M494.5,193c0-3.8,0.7-7.4,2.1-10.8c1.4-3.4,3.4-6.3,5.9-8.7c2.5-2.5,5.4-4.4,8.8-5.8c3.4-1.4,7-2.1,10.8-2.1\n\t\t\tc3.8,0,7.4,0.7,10.8,2.1c3.4,1.4,6.3,3.4,8.7,5.8c2.5,2.5,4.4,5.4,5.8,8.7c1.4,3.4,2.1,7,2.1,10.8c0,3.9-0.7,7.5-2.1,10.9\n\t\t\tc-1.4,3.4-3.4,6.3-5.8,8.7c-2.5,2.5-5.4,4.4-8.7,5.8c-3.4,1.4-7,2.1-10.8,2.1c-3.8,0-7.4-0.7-10.8-2.1c-3.4-1.4-6.3-3.4-8.8-5.8\n\t\t\tc-2.5-2.5-4.5-5.4-5.9-8.7C495.2,200.5,494.5,196.9,494.5,193z M539.4,193c0-5.1-1.7-9.5-5.1-13c-3.4-3.5-7.5-5.3-12.3-5.3\n\t\t\ts-8.9,1.8-12.3,5.3c-3.4,3.5-5.1,7.9-5.1,13c0,5.1,1.7,9.5,5,13.1c3.4,3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0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C620.7,200.5,620,196.9,620,193z M646.3,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C653.5,175.9,650.1,174.5,646.3,174.5z\"\n />\n <path\n className=\"st0\"\n d=\"M681.9,219.5v-52.9h10.4v6.6c1.7-2.6,3.9-4.6,6.4-5.8c2.6-1.2,5.2-1.9,8-1.9c1.2,0,2.2,0.1,3.1,0.2\n\t\t\tc0.9,0.1,1.6,0.3,2.3,0.6v9.4c-0.8-0.3-1.8-0.5-2.9-0.8c-1.1-0.2-2.2-0.4-3.3-0.4c-2.8,0-5.4,0.7-7.8,2.2\n\t\t\tc-2.4,1.5-4.4,3.9-5.8,7.3v35.5H681.9z\"\n />\n <path\n className=\"st0\"\n d=\"M743.7,219.5v-72.8h10.9v31.2h38.7v-31.2h10.9v72.8h-10.9v-31.7h-38.7v31.7H743.7z\"\n />\n <path\n className=\"st0\"\n d=\"M828,166.6v31.5c0,4.1,1.2,7.3,3.5,9.8c2.4,2.4,5.6,3.6,9.7,3.6c2.8,0,5.3-0.6,7.5-1.8\n\t\t\tc2.2-1.2,4.1-2.9,5.5-5.1v-38.1h10.4v52.9h-10.4v-5.3c-2.1,2.1-4.5,3.7-7.1,4.7c-2.7,1.1-5.6,1.6-8.8,1.6c-6,0-11-1.9-14.8-5.8\n\t\t\tc-3.8-3.9-5.8-8.8-5.8-14.9v-33.3H828z\"\n />\n <path\n className=\"st0\"\n d=\"M929.9,193c0,3.8-0.7,7.4-2.1,10.7c-1.4,3.3-3.3,6.2-5.7,8.7c-2.4,2.5-5.3,4.4-8.6,5.8\n\t\t\tc-3.3,1.4-6.9,2.1-10.7,2.1c-3,0-5.8-0.5-8.5-1.4s-5.2-2.2-7.4-4v4.5h-10.3v-72.8l10.4-2.3v27c2.2-1.9,4.7-3.3,7.4-4.3\n\t\t\tc2.7-1,5.6-1.5,8.7-1.5c3.7,0,7.2,0.7,10.5,2.1c3.3,1.4,6.1,3.4,8.5,5.8c2.4,2.5,4.3,5.4,5.7,8.7\n\t\t\tC929.2,185.7,929.9,189.3,929.9,193z M901.7,174.8c-3.1,0-5.8,0.6-8.3,1.7c-2.5,1.1-4.6,2.6-6.3,4.6v24.1c1.7,1.9,3.8,3.4,6.3,4.5\n\t\t\tc2.6,1.1,5.3,1.7,8.3,1.7c5.1,0,9.4-1.8,12.8-5.3c3.4-3.5,5.1-7.8,5.1-12.9c0-5.2-1.8-9.6-5.3-13.1\n\t\t\tC911,176.6,906.7,174.8,901.7,174.8z\"\n />\n </g>\n <g>\n <g>\n <path\n className=\"st0\"\n d=\"M129,85c12.5,0,30.6-2.6,30.6-17.5c0-1.2,0-2.3-0.3-3.4l-7.4-32.4c-1.7-7.1-3.2-10.3-15.7-16.6\n\t\t\t\tC126.4,10.2,105.3,2,99,2c-5.8,0-7.5,7.5-14.4,7.5c-6.7,0-11.6-5.6-17.9-5.6c-6,0-9.9,4.1-12.9,12.5c0,0-8.4,23.7-9.5,27.2\n\t\t\t\tC44,44.3,44,45,44,45.5C44,54.8,80.3,85,129,85 M161.5,73.6c1.7,8.2,1.7,9.1,1.7,10.1c0,14-15.7,21.8-36.4,21.8\n\t\t\t\tC80,105.5,39.1,78.1,39.1,60c0-2.8,0.6-5.4,1.5-7.3C23.8,53.5,2,56.5,2,75.7C2,107.2,76.6,146,135.7,146\n\t\t\t\tc45.3,0,56.7-20.5,56.7-36.6C192.3,96.6,181.4,82.2,161.5,73.6\"\n />\n </g>\n <path\n className=\"st0\"\n d=\"M581.2,94.3c0,11.9,7.2,17.7,20.2,17.7c3.2,0,8.6-0.7,11.9-1.7V96.5c-2.8,0.8-4.9,1.2-7.7,1.2\n\t\t\tc-5.4,0-7.4-1.7-7.4-6.7V69.8h15.6V55.6h-15.6v-18l-17,3.7v14.3H570v14.2h11.3V94.3z M528.3,94.6c0-3.7,3.7-5.5,9.3-5.5\n\t\t\tc3.7,0,7,0.5,10.1,1.3v7.2c-3.2,1.8-6.8,2.6-10.6,2.6C531.6,100.2,528.3,98.1,528.3,94.6 M533.5,112.2c6,0,10.8-1.3,15.4-4.3v3.4\n\t\t\th16.8V75.6c0-13.6-9.1-21-24.4-21c-8.5,0-16.9,2-26,6.1l6.1,12.5c6.5-2.7,12-4.4,16.8-4.4c7,0,10.6,2.7,10.6,8.3v2.7\n\t\t\tc-4-1.1-8.2-1.6-12.6-1.6c-14.3,0-22.9,6-22.9,16.7C513.3,104.7,521.1,112.2,533.5,112.2 M441.1,111.2h18.1V82.4h30.3v28.8h18.1\n\t\t\tV37.6h-18.1v28.3h-30.3V37.6h-18.1V111.2z M372.1,83.4c0-8,6.3-14.1,14.6-14.1c4.6,0,8.8,1.6,11.8,4.3V93c-3,2.9-7,4.4-11.8,4.4\n\t\t\tC378.5,97.5,372.1,91.4,372.1,83.4 M398.7,111.2h16.8V33.9l-17,3.7v20.9c-4.2-2.4-9-3.7-14.2-3.7c-16.2,0-28.9,12.5-28.9,28.5\n\t\t\tc0,16,12.5,28.6,28.4,28.6c5.5,0,10.6-1.7,14.9-4.8V111.2z M321.5,68.5c5.4,0,9.9,3.5,11.7,8.8H310\n\t\t\tC311.7,71.8,315.9,68.5,321.5,68.5 M292.8,83.5c0,16.2,13.3,28.8,30.3,28.8c9.4,0,16.2-2.5,23.2-8.4l-11.3-10\n\t\t\tc-2.6,2.7-6.5,4.2-11.1,4.2c-6.3,0-11.5-3.5-13.7-8.8h39.6V85c0-17.7-11.9-30.4-28.1-30.4C305.6,54.7,292.8,67.3,292.8,83.5\n\t\t\t M263.5,53.1c6,0,9.4,3.8,9.4,8.3s-3.4,8.3-9.4,8.3h-17.9V53.1H263.5z M227.5,111.2h18.1V84.4h13.8l13.9,26.8h20.2l-16.2-29.4\n\t\t\tc8.7-3.8,13.9-11.7,13.9-20.7c0-13.3-10.4-23.5-26-23.5h-37.7V111.2z\"\n />\n </g>\n </g>\n </svg>\n);\nconst DefaultLogo = () => {\n const theme = useTheme();\n const isDarkMode = theme.palette.mode === 'dark';\n return isDarkMode ? <DarkThemeLogoSVG /> : <LightThemeLogoSVG />;\n};\n\nexport default DefaultLogo;\n"],"names":[],"mappings":";;;AAmBA,MAAM,oBAAoB,sBACxB,KAAA,CAAA,aAAA;AAAA,EAAC,KAAA;AAAA,EAAA;AAAA,IACC,OAAQ,EAAA,KAAA;AAAA,IACR,EAAG,EAAA,OAAA;AAAA,IACH,KAAM,EAAA,4BAAA;AAAA,IACN,UAAW,EAAA,8BAAA;AAAA,IACX,CAAE,EAAA,KAAA;AAAA,IACF,CAAE,EAAA,KAAA;AAAA,IACF,OAAQ,EAAA,eAAA;AAAA,IACR,gBAAiB,EAAA,mBAAA;AAAA,IACjB,QAAS,EAAA,UAAA;AAAA,IACT,MAAQ,EAAA,EAAA;AAAA,IACR,KAAO,EAAA;AAAA,GAAA;AAAA,kBAEP,KAAA,CAAA,aAAA,CAAC,OAAM,EAAA,EAAA,IAAA,EAAK,UACT,EAAA,EAAA;AAAA;AAAA;AAAA,EAIH,CAAA,CAAA;AAAA,kBACA,KAAA,CAAA,aAAA,CAAC,GACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,GACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,CAAE,EAAA;AAAA;AAAA,GAMJ,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,CAAE,EAAA;AAAA;AAAA,GAMJ,kBAAA,KAAA,CAAA,aAAA,CAAC,MAAK,EAAA,EAAA,CAAA,EAAE,2EAA0E,CAClF,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,CAAE,EAAA;AAAA;AAAA,GAMJ,kBAAA,KAAA,CAAA,aAAA,CAAC,MAAK,EAAA,E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AAC1C,EAAA,OAAO,UAAa,mBAAA,KAAA,CAAA,aAAA,CAAC,gBAAiB,EAAA,IAAA,CAAA,uCAAM,iBAAkB,EAAA,IAAA,CAAA;AAChE;;;;"}
1
+ {"version":3,"file":"DefaultLogo.esm.js","sources":["../../../src/components/CompanyLogo/DefaultLogo.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useTheme } from '@mui/material/styles';\nimport type { ThemeConfig } from '@red-hat-developer-hub/backstage-plugin-theme';\n\nconst LightThemeLogoSVG = () => (\n <svg\n version=\"1.1\"\n id=\"Logos\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 931.8 244\"\n enableBackground=\"new 0 0 931.8 244\"\n xmlSpace=\"preserve\"\n height={40}\n width={150}\n >\n <style type=\"text/css\">\n {`\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#EE0000;}\n `}\n </style>\n <g>\n <g>\n <path\n d=\"M228.7,219.5v-72.8h25.7c5.5,0,10.7,0.9,15.4,2.8c4.7,1.9,8.8,4.4,12.2,7.7c3.4,3.3,6,7.1,8,11.6\n\t\t\tc1.9,4.5,2.9,9.3,2.9,14.4c0,5.1-1,9.9-2.9,14.4c-1.9,4.4-4.6,8.3-8,11.5c-3.4,3.2-7.5,5.8-12.2,7.6c-4.7,1.9-9.8,2.8-15.4,2.8\n\t\t\tH228.7z M254.5,156.5h-15v53.2h15c3.8,0,7.4-0.7,10.7-2c3.3-1.4,6.1-3.2,8.5-5.6c2.4-2.4,4.3-5.2,5.7-8.4\n\t\t\tc1.4-3.2,2.1-6.7,2.1-10.5s-0.7-7.2-2.1-10.5c-1.4-3.3-3.3-6.1-5.7-8.5c-2.4-2.4-5.2-4.3-8.5-5.7\n\t\t\tC261.9,157.2,258.4,156.5,254.5,156.5z\"\n />\n <path\n d=\"M300.7,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3H311c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C301.4,200.5,300.7,196.9,300.7,193z M327,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C334.2,175.9,330.8,174.5,327,174.5z\"\n />\n <path d=\"M377.7,219.5l-22.9-52.9h11.4l16.5,39.6l16.5-39.6h11.1l-22.9,52.9H377.7z\" />\n <path\n d=\"M412.4,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3h-41.8c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C413.1,200.5,412.4,196.9,412.4,193z M438.7,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C445.9,175.9,442.5,174.5,438.7,174.5z\"\n />\n <path d=\"M484.7,144.5v75.1h-10.4v-72.8L484.7,144.5z\" />\n <path\n d=\"M494.5,193c0-3.8,0.7-7.4,2.1-10.8c1.4-3.4,3.4-6.3,5.9-8.7c2.5-2.5,5.4-4.4,8.8-5.8c3.4-1.4,7-2.1,10.8-2.1\n\t\t\tc3.8,0,7.4,0.7,10.8,2.1c3.4,1.4,6.3,3.4,8.7,5.8c2.5,2.5,4.4,5.4,5.8,8.7c1.4,3.4,2.1,7,2.1,10.8c0,3.9-0.7,7.5-2.1,10.9\n\t\t\tc-1.4,3.4-3.4,6.3-5.8,8.7c-2.5,2.5-5.4,4.4-8.7,5.8c-3.4,1.4-7,2.1-10.8,2.1c-3.8,0-7.4-0.7-10.8-2.1c-3.4-1.4-6.3-3.4-8.8-5.8\n\t\t\tc-2.5-2.5-4.5-5.4-5.9-8.7C495.2,200.5,494.5,196.9,494.5,193z M539.4,193c0-5.1-1.7-9.5-5.1-13c-3.4-3.5-7.5-5.3-12.3-5.3\n\t\t\ts-8.9,1.8-12.3,5.3c-3.4,3.5-5.1,7.9-5.1,13c0,5.1,1.7,9.5,5,13.1c3.4,3.6,7.5,5.4,12.3,5.4c4.8,0,8.9-1.8,12.3-5.4\n\t\t\tC537.7,202.5,539.4,198.2,539.4,193z\"\n />\n <path\n d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-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C653.5,175.9,650.1,174.5,646.3,174.5z\"\n />\n <path\n d=\"M681.9,219.5v-52.9h10.4v6.6c1.7-2.6,3.9-4.6,6.4-5.8c2.6-1.2,5.2-1.9,8-1.9c1.2,0,2.2,0.1,3.1,0.2\n\t\t\tc0.9,0.1,1.6,0.3,2.3,0.6v9.4c-0.8-0.3-1.8-0.5-2.9-0.8c-1.1-0.2-2.2-0.4-3.3-0.4c-2.8,0-5.4,0.7-7.8,2.2\n\t\t\tc-2.4,1.5-4.4,3.9-5.8,7.3v35.5H681.9z\"\n />\n <path d=\"M743.7,219.5v-72.8h10.9v31.2h38.7v-31.2h10.9v72.8h-10.9v-31.7h-38.7v31.7H743.7z\" />\n <path\n d=\"M828,166.6v31.5c0,4.1,1.2,7.3,3.5,9.8c2.4,2.4,5.6,3.6,9.7,3.6c2.8,0,5.3-0.6,7.5-1.8c2.2-1.2,4.1-2.9,5.5-5.1v-38.1\n\t\t\th10.4v52.9h-10.4v-5.3c-2.1,2.1-4.5,3.7-7.1,4.7c-2.7,1.1-5.6,1.6-8.8,1.6c-6,0-11-1.9-14.8-5.8c-3.8-3.9-5.8-8.8-5.8-14.9v-33.3\n\t\t\tH828z\"\n />\n <path\n d=\"M929.9,193c0,3.8-0.7,7.4-2.1,10.7c-1.4,3.3-3.3,6.2-5.7,8.7c-2.4,2.5-5.3,4.4-8.6,5.8c-3.3,1.4-6.9,2.1-10.7,2.1\n\t\t\tc-3,0-5.8-0.5-8.5-1.4s-5.2-2.2-7.4-4v4.5h-10.3v-72.8l10.4-2.3v27c2.2-1.9,4.7-3.3,7.4-4.3c2.7-1,5.6-1.5,8.7-1.5\n\t\t\tc3.7,0,7.2,0.7,10.5,2.1c3.3,1.4,6.1,3.4,8.5,5.8c2.4,2.5,4.3,5.4,5.7,8.7C929.2,185.7,929.9,189.3,929.9,193z M901.7,174.8\n\t\t\tc-3.1,0-5.8,0.6-8.3,1.7c-2.5,1.1-4.6,2.6-6.3,4.6v24.1c1.7,1.9,3.8,3.4,6.3,4.5c2.6,1.1,5.3,1.7,8.3,1.7c5.1,0,9.4-1.8,12.8-5.3\n\t\t\tc3.4-3.5,5.1-7.8,5.1-12.9c0-5.2-1.8-9.6-5.3-13.1C911,176.6,906.7,174.8,901.7,174.8z\"\n />\n </g>\n <g>\n <g>\n <path\n className=\"st1\"\n d=\"M129,85c12.5,0,30.6-2.6,30.6-17.5c0-1.2,0-2.3-0.3-3.4l-7.4-32.4c-1.7-7.1-3.2-10.3-15.7-16.6\n\t\t\t\tC126.4,10.2,105.3,2,99,2c-5.8,0-7.5,7.5-14.4,7.5c-6.7,0-11.6-5.6-17.9-5.6c-6,0-9.9,4.1-12.9,12.5c0,0-8.4,23.7-9.5,27.2\n\t\t\t\tC44,44.3,44,45,44,45.5C44,54.8,80.3,85,129,85 M161.5,73.6c1.7,8.2,1.7,9.1,1.7,10.1c0,14-15.7,21.8-36.4,21.8\n\t\t\t\tC80,105.5,39.1,78.1,39.1,60c0-2.8,0.6-5.4,1.5-7.3C23.8,53.5,2,56.5,2,75.7C2,107.2,76.6,146,135.7,146\n\t\t\t\tc45.3,0,56.7-20.5,56.7-36.6C192.3,96.6,181.4,82.2,161.5,73.6\"\n />\n <path\n d=\"M161.5,73.6c1.7,8.2,1.7,9.1,1.7,10.1c0,14-15.7,21.8-36.4,21.8C80,105.5,39.1,78.1,39.1,60c0-2.8,0.6-5.4,1.5-7.3\n\t\t\t\tl3.7-9.1C44,44.3,44,45,44,45.5C44,54.8,80.3,85,129,85c12.5,0,30.6-2.6,30.6-17.5c0-1.2,0-2.3-0.3-3.4L161.5,73.6z\"\n />\n </g>\n <path\n d=\"M581.2,94.3c0,11.9,7.2,17.7,20.2,17.7c3.2,0,8.6-0.7,11.9-1.7V96.5c-2.8,0.8-4.9,1.2-7.7,1.2c-5.4,0-7.4-1.7-7.4-6.7\n\t\t\tV69.8h15.6V55.6h-15.6v-18l-17,3.7v14.3H570v14.2h11.3V94.3z M528.3,94.6c0-3.7,3.7-5.5,9.3-5.5c3.7,0,7,0.5,10.1,1.3v7.2\n\t\t\tc-3.2,1.8-6.8,2.6-10.6,2.6C531.6,100.2,528.3,98.1,528.3,94.6 M533.5,112.2c6,0,10.8-1.3,15.4-4.3v3.4h16.8V75.6\n\t\t\tc0-13.6-9.1-21-24.4-21c-8.5,0-16.9,2-26,6.1l6.1,12.5c6.5-2.7,12-4.4,16.8-4.4c7,0,10.6,2.7,10.6,8.3v2.7\n\t\t\tc-4-1.1-8.2-1.6-12.6-1.6c-14.3,0-22.9,6-22.9,16.7C513.3,104.7,521.1,112.2,533.5,112.2 M441.1,111.2h18.1V82.4h30.3v28.8h18.1\n\t\t\tV37.6h-18.1v28.3h-30.3V37.6h-18.1V111.2z M372.1,83.4c0-8,6.3-14.1,14.6-14.1c4.6,0,8.8,1.6,11.8,4.3V93c-3,2.9-7,4.4-11.8,4.4\n\t\t\tC378.5,97.5,372.1,91.4,372.1,83.4 M398.7,111.2h16.8V33.9l-17,3.7v20.9c-4.2-2.4-9-3.7-14.2-3.7c-16.2,0-28.9,12.5-28.9,28.5\n\t\t\tc0,16,12.5,28.6,28.4,28.6c5.5,0,10.6-1.7,14.9-4.8V111.2z M321.5,68.5c5.4,0,9.9,3.5,11.7,8.8H310\n\t\t\tC311.7,71.8,315.9,68.5,321.5,68.5 M292.8,83.5c0,16.2,13.3,28.8,30.3,28.8c9.4,0,16.2-2.5,23.2-8.4l-11.3-10\n\t\t\tc-2.6,2.7-6.5,4.2-11.1,4.2c-6.3,0-11.5-3.5-13.7-8.8h39.6V85c0-17.7-11.9-30.4-28.1-30.4C305.6,54.7,292.8,67.3,292.8,83.5\n\t\t\t M263.5,53.1c6,0,9.4,3.8,9.4,8.3s-3.4,8.3-9.4,8.3h-17.9V53.1H263.5z M227.5,111.2h18.1V84.4h13.8l13.9,26.8h20.2l-16.2-29.4\n\t\t\tc8.7-3.8,13.9-11.7,13.9-20.7c0-13.3-10.4-23.5-26-23.5h-37.7V111.2z\"\n />\n </g>\n </g>\n </svg>\n);\nconst DarkThemeLogoSVG = () => (\n <svg\n version=\"1.1\"\n id=\"Logos\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 931.8 244\"\n enableBackground=\"new 0 0 931.8 244\"\n xmlSpace=\"preserve\"\n height={40}\n width={150}\n >\n <style type=\"text/css\">\n {`\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#EE0000;}\n `}\n </style>\n <g>\n <g>\n <path\n className=\"st0\"\n d=\"M228.7,219.5v-72.8h25.7c5.5,0,10.7,0.9,15.4,2.8c4.7,1.9,8.8,4.4,12.2,7.7c3.4,3.3,6,7.1,8,11.6\n\t\t\tc1.9,4.5,2.9,9.3,2.9,14.4c0,5.1-1,9.9-2.9,14.4c-1.9,4.4-4.6,8.3-8,11.5c-3.4,3.2-7.5,5.8-12.2,7.6c-4.7,1.9-9.8,2.8-15.4,2.8\n\t\t\tH228.7z M254.5,156.5h-15v53.2h15c3.8,0,7.4-0.7,10.7-2c3.3-1.4,6.1-3.2,8.5-5.6c2.4-2.4,4.3-5.2,5.7-8.4\n\t\t\tc1.4-3.2,2.1-6.7,2.1-10.5s-0.7-7.2-2.1-10.5c-1.4-3.3-3.3-6.1-5.7-8.5c-2.4-2.4-5.2-4.3-8.5-5.7\n\t\t\tC261.9,157.2,258.4,156.5,254.5,156.5z\"\n />\n <path\n className=\"st0\"\n d=\"M300.7,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3H311c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C301.4,200.5,300.7,196.9,300.7,193z M327,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C334.2,175.9,330.8,174.5,327,174.5z\"\n />\n <path\n className=\"st0\"\n d=\"M377.7,219.5l-22.9-52.9h11.4l16.5,39.6l16.5-39.6h11.1l-22.9,52.9H377.7z\"\n />\n <path\n className=\"st0\"\n d=\"M412.4,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3h-41.8c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C413.1,200.5,412.4,196.9,412.4,193z M438.7,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C445.9,175.9,442.5,174.5,438.7,174.5z\"\n />\n <path className=\"st0\" d=\"M484.7,144.5v75.1h-10.4v-72.8L484.7,144.5z\" />\n <path\n className=\"st0\"\n d=\"M494.5,193c0-3.8,0.7-7.4,2.1-10.8c1.4-3.4,3.4-6.3,5.9-8.7c2.5-2.5,5.4-4.4,8.8-5.8c3.4-1.4,7-2.1,10.8-2.1\n\t\t\tc3.8,0,7.4,0.7,10.8,2.1c3.4,1.4,6.3,3.4,8.7,5.8c2.5,2.5,4.4,5.4,5.8,8.7c1.4,3.4,2.1,7,2.1,10.8c0,3.9-0.7,7.5-2.1,10.9\n\t\t\tc-1.4,3.4-3.4,6.3-5.8,8.7c-2.5,2.5-5.4,4.4-8.7,5.8c-3.4,1.4-7,2.1-10.8,2.1c-3.8,0-7.4-0.7-10.8-2.1c-3.4-1.4-6.3-3.4-8.8-5.8\n\t\t\tc-2.5-2.5-4.5-5.4-5.9-8.7C495.2,200.5,494.5,196.9,494.5,193z M539.4,193c0-5.1-1.7-9.5-5.1-13c-3.4-3.5-7.5-5.3-12.3-5.3\n\t\t\ts-8.9,1.8-12.3,5.3c-3.4,3.5-5.1,7.9-5.1,13c0,5.1,1.7,9.5,5,13.1c3.4,3.6,7.5,5.4,12.3,5.4c4.8,0,8.9-1.8,12.3-5.4\n\t\t\tC537.7,202.5,539.4,198.2,539.4,193z\"\n />\n <path\n className=\"st0\"\n d=\"M559.3,241.1v-74.5h10.3v5c2.2-1.9,4.7-3.3,7.5-4.3c2.8-1,5.7-1.5,8.7-1.5c3.7,0,7.2,0.7,10.5,2.1\n\t\t\tc3.3,1.4,6.1,3.4,8.5,5.8c2.4,2.5,4.3,5.4,5.7,8.7c1.4,3.3,2.1,6.9,2.1,10.6c0,3.8-0.7,7.4-2.1,10.7c-1.4,3.3-3.3,6.2-5.7,8.7\n\t\t\tc-2.4,2.5-5.3,4.4-8.6,5.8c-3.3,1.4-6.9,2.1-10.7,2.1c-3,0-5.8-0.5-8.5-1.4c-2.7-0.9-5.1-2.2-7.3-3.8v25.9H559.3z M584.3,174.8\n\t\t\tc-3.1,0-5.8,0.6-8.3,1.7c-2.5,1.1-4.6,2.6-6.3,4.6v24.1c1.7,1.9,3.8,3.4,6.3,4.5c2.6,1.1,5.3,1.7,8.3,1.7c5.1,0,9.4-1.8,12.8-5.3\n\t\t\tc3.4-3.5,5.1-7.8,5.1-12.9c0-5.2-1.8-9.6-5.3-13.1C593.6,176.6,589.3,174.8,584.3,174.8z\"\n />\n <path\n className=\"st0\"\n d=\"M620,193c0-3.7,0.7-7.3,2-10.6c1.4-3.3,3.2-6.2,5.6-8.7c2.4-2.5,5.2-4.4,8.4-5.8c3.2-1.4,6.7-2.1,10.5-2.1\n\t\t\tc3.6,0,7,0.7,10.1,2.1c3.2,1.4,5.9,3.4,8.1,5.8c2.3,2.5,4,5.4,5.4,8.8c1.3,3.4,2,7,2,10.9v3h-41.8c0.7,4.4,2.7,8,6,10.9\n\t\t\tc3.3,2.9,7.3,4.3,11.9,4.3c2.6,0,5-0.4,7.4-1.2c2.4-0.8,4.4-2,6-3.4l6.7,6.6c-3.1,2.4-6.3,4.2-9.6,5.3c-3.3,1.1-6.9,1.7-10.9,1.7\n\t\t\tc-3.9,0-7.5-0.7-10.9-2.1c-3.4-1.4-6.3-3.3-8.8-5.8c-2.5-2.4-4.5-5.3-5.9-8.7C620.7,200.5,620,196.9,620,193z M646.3,174.5\n\t\t\tc-4,0-7.5,1.3-10.4,4c-2.9,2.6-4.8,6-5.5,10.2h31.4c-0.7-4-2.5-7.4-5.4-10.1C653.5,175.9,650.1,174.5,646.3,174.5z\"\n />\n <path\n className=\"st0\"\n d=\"M681.9,219.5v-52.9h10.4v6.6c1.7-2.6,3.9-4.6,6.4-5.8c2.6-1.2,5.2-1.9,8-1.9c1.2,0,2.2,0.1,3.1,0.2\n\t\t\tc0.9,0.1,1.6,0.3,2.3,0.6v9.4c-0.8-0.3-1.8-0.5-2.9-0.8c-1.1-0.2-2.2-0.4-3.3-0.4c-2.8,0-5.4,0.7-7.8,2.2\n\t\t\tc-2.4,1.5-4.4,3.9-5.8,7.3v35.5H681.9z\"\n />\n <path\n className=\"st0\"\n d=\"M743.7,219.5v-72.8h10.9v31.2h38.7v-31.2h10.9v72.8h-10.9v-31.7h-38.7v31.7H743.7z\"\n />\n <path\n className=\"st0\"\n d=\"M828,166.6v31.5c0,4.1,1.2,7.3,3.5,9.8c2.4,2.4,5.6,3.6,9.7,3.6c2.8,0,5.3-0.6,7.5-1.8\n\t\t\tc2.2-1.2,4.1-2.9,5.5-5.1v-38.1h10.4v52.9h-10.4v-5.3c-2.1,2.1-4.5,3.7-7.1,4.7c-2.7,1.1-5.6,1.6-8.8,1.6c-6,0-11-1.9-14.8-5.8\n\t\t\tc-3.8-3.9-5.8-8.8-5.8-14.9v-33.3H828z\"\n />\n <path\n className=\"st0\"\n d=\"M929.9,193c0,3.8-0.7,7.4-2.1,10.7c-1.4,3.3-3.3,6.2-5.7,8.7c-2.4,2.5-5.3,4.4-8.6,5.8\n\t\t\tc-3.3,1.4-6.9,2.1-10.7,2.1c-3,0-5.8-0.5-8.5-1.4s-5.2-2.2-7.4-4v4.5h-10.3v-72.8l10.4-2.3v27c2.2-1.9,4.7-3.3,7.4-4.3\n\t\t\tc2.7-1,5.6-1.5,8.7-1.5c3.7,0,7.2,0.7,10.5,2.1c3.3,1.4,6.1,3.4,8.5,5.8c2.4,2.5,4.3,5.4,5.7,8.7\n\t\t\tC929.2,185.7,929.9,189.3,929.9,193z M901.7,174.8c-3.1,0-5.8,0.6-8.3,1.7c-2.5,1.1-4.6,2.6-6.3,4.6v24.1c1.7,1.9,3.8,3.4,6.3,4.5\n\t\t\tc2.6,1.1,5.3,1.7,8.3,1.7c5.1,0,9.4-1.8,12.8-5.3c3.4-3.5,5.1-7.8,5.1-12.9c0-5.2-1.8-9.6-5.3-13.1\n\t\t\tC911,176.6,906.7,174.8,901.7,174.8z\"\n />\n </g>\n <g>\n <g>\n <path\n className=\"st0\"\n d=\"M129,85c12.5,0,30.6-2.6,30.6-17.5c0-1.2,0-2.3-0.3-3.4l-7.4-32.4c-1.7-7.1-3.2-10.3-15.7-16.6\n\t\t\t\tC126.4,10.2,105.3,2,99,2c-5.8,0-7.5,7.5-14.4,7.5c-6.7,0-11.6-5.6-17.9-5.6c-6,0-9.9,4.1-12.9,12.5c0,0-8.4,23.7-9.5,27.2\n\t\t\t\tC44,44.3,44,45,44,45.5C44,54.8,80.3,85,129,85 M161.5,73.6c1.7,8.2,1.7,9.1,1.7,10.1c0,14-15.7,21.8-36.4,21.8\n\t\t\t\tC80,105.5,39.1,78.1,39.1,60c0-2.8,0.6-5.4,1.5-7.3C23.8,53.5,2,56.5,2,75.7C2,107.2,76.6,146,135.7,146\n\t\t\t\tc45.3,0,56.7-20.5,56.7-36.6C192.3,96.6,181.4,82.2,161.5,73.6\"\n />\n </g>\n <path\n className=\"st0\"\n d=\"M581.2,94.3c0,11.9,7.2,17.7,20.2,17.7c3.2,0,8.6-0.7,11.9-1.7V96.5c-2.8,0.8-4.9,1.2-7.7,1.2\n\t\t\tc-5.4,0-7.4-1.7-7.4-6.7V69.8h15.6V55.6h-15.6v-18l-17,3.7v14.3H570v14.2h11.3V94.3z M528.3,94.6c0-3.7,3.7-5.5,9.3-5.5\n\t\t\tc3.7,0,7,0.5,10.1,1.3v7.2c-3.2,1.8-6.8,2.6-10.6,2.6C531.6,100.2,528.3,98.1,528.3,94.6 M533.5,112.2c6,0,10.8-1.3,15.4-4.3v3.4\n\t\t\th16.8V75.6c0-13.6-9.1-21-24.4-21c-8.5,0-16.9,2-26,6.1l6.1,12.5c6.5-2.7,12-4.4,16.8-4.4c7,0,10.6,2.7,10.6,8.3v2.7\n\t\t\tc-4-1.1-8.2-1.6-12.6-1.6c-14.3,0-22.9,6-22.9,16.7C513.3,104.7,521.1,112.2,533.5,112.2 M441.1,111.2h18.1V82.4h30.3v28.8h18.1\n\t\t\tV37.6h-18.1v28.3h-30.3V37.6h-18.1V111.2z M372.1,83.4c0-8,6.3-14.1,14.6-14.1c4.6,0,8.8,1.6,11.8,4.3V93c-3,2.9-7,4.4-11.8,4.4\n\t\t\tC378.5,97.5,372.1,91.4,372.1,83.4 M398.7,111.2h16.8V33.9l-17,3.7v20.9c-4.2-2.4-9-3.7-14.2-3.7c-16.2,0-28.9,12.5-28.9,28.5\n\t\t\tc0,16,12.5,28.6,28.4,28.6c5.5,0,10.6-1.7,14.9-4.8V111.2z M321.5,68.5c5.4,0,9.9,3.5,11.7,8.8H310\n\t\t\tC311.7,71.8,315.9,68.5,321.5,68.5 M292.8,83.5c0,16.2,13.3,28.8,30.3,28.8c9.4,0,16.2-2.5,23.2-8.4l-11.3-10\n\t\t\tc-2.6,2.7-6.5,4.2-11.1,4.2c-6.3,0-11.5-3.5-13.7-8.8h39.6V85c0-17.7-11.9-30.4-28.1-30.4C305.6,54.7,292.8,67.3,292.8,83.5\n\t\t\t M263.5,53.1c6,0,9.4,3.8,9.4,8.3s-3.4,8.3-9.4,8.3h-17.9V53.1H263.5z M227.5,111.2h18.1V84.4h13.8l13.9,26.8h20.2l-16.2-29.4\n\t\t\tc8.7-3.8,13.9-11.7,13.9-20.7c0-13.3-10.4-23.5-26-23.5h-37.7V111.2z\"\n />\n </g>\n </g>\n </svg>\n);\nconst DefaultLogo = () => {\n const theme = useTheme();\n const isDarkMode =\n (theme as ThemeConfig)?.palette?.rhdh?.general?.appBarBackgroundScheme ===\n 'dark';\n return isDarkMode ? <DarkThemeLogoSVG /> : <LightThemeLogoSVG />;\n};\n\nexport default DefaultLogo;\n"],"names":[],"mappings":";;;AAmBA,MAAM,oBAAoB,sBACxB,IAAA;AAAA,EAAC,KAAA;AAAA,EAAA;AAAA,IACC,OAAQ,EAAA,KAAA;AAAA,IACR,EAAG,EAAA,OAAA;AAAA,IACH,KAAM,EAAA,4BAAA;AAAA,IACN,UAAW,EAAA,8BAAA;AAAA,IACX,CAAE,EAAA,KAAA;AAAA,IACF,CAAE,EAAA,KAAA;AAAA,IACF,OAAQ,EAAA,eAAA;AAAA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MAAA;AAAA,YAAA;AAAA,cACC,SAAU,EAAA,KAAA;AAAA,cACV,CAAE,EAAA;AAAA;AAAA,WAGJ;AAAA,0BACA,GAAA;AAAA,YAAC,MAAA;AAAA,YAAA;AAAA,cACC,SAAU,EAAA,KAAA;AAAA,cACV,CAAE,EAAA;AAAA;AAAA;AAMJ,SACF,EAAA,CAAA;AAAA,6BACC,GACC,EAAA,EAAA,QAAA,EAAA;AAAA,0BAAA,GAAA,CAAC,GACC,EAAA,EAAA,QAAA,kBAAA,GAAA;AAAA,YAAC,MAAA;AAAA,YAAA;AAAA,cACC,SAAU,EAAA,KAAA;AAAA,cACV,CAAE,EAAA;AAAA;AAAA,WAMN,EAAA,CAAA;AAAA,0BACA,GAAA;AAAA,YAAC,MAAA;AAAA,YAAA;AAAA,cACC,SAAU,EAAA,KAAA;AAAA,cACV,CAAE,EAAA;AAAA;AAAA;AAYJ,SACF,EAAA;AAAA,OACF,EAAA;AAAA;AAAA;AACF,CAAA;AAEF,MAAM,cAAc,MAAM;AACxB,EAAA,MAAM,QAAQ,QAAS,EAAA;AACvB,EAAA,MAAM,UACH,GAAA,KAAA,EAAuB,OAAS,EAAA,IAAA,EAAM,SAAS,sBAChD,KAAA,MAAA;AACF,EAAA,OAAO,UAAa,mBAAA,GAAA,CAAC,gBAAiB,EAAA,EAAA,CAAA,uBAAM,iBAAkB,EAAA,EAAA,CAAA;AAChE;;;;"}
@@ -1,13 +1,13 @@
1
- import React from 'react';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import Divider$1 from '@mui/material/Divider';
3
3
 
4
4
  const Divider = ({ layout }) => {
5
- return /* @__PURE__ */ React.createElement(
5
+ return /* @__PURE__ */ jsx(
6
6
  Divider$1,
7
7
  {
8
8
  orientation: "vertical",
9
9
  flexItem: true,
10
- sx: { borderColor: "#383838", marginX: 1, ...layout }
10
+ sx: { borderColor: "inherit", opacity: 0.25, marginX: 1, ...layout }
11
11
  }
12
12
  );
13
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.esm.js","sources":["../../../src/components/Divider/Divider.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\n\nimport MUIDivider from '@mui/material/Divider';\n\n/**\n * @public\n */\nexport interface DividerProps {\n layout?: React.CSSProperties;\n}\n\n/**\n * @public\n */\nexport const Divider = ({ layout }: DividerProps) => {\n return (\n <MUIDivider\n orientation=\"vertical\"\n flexItem\n sx={{ borderColor: '#383838', marginX: 1, ...layout }}\n />\n );\n};\n"],"names":["MUIDivider"],"mappings":";;;AA8BO,MAAM,OAAU,GAAA,CAAC,EAAE,MAAA,EAA2B,KAAA;AACnD,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAACA,SAAA;AAAA,IAAA;AAAA,MACC,WAAY,EAAA,UAAA;AAAA,MACZ,QAAQ,EAAA,IAAA;AAAA,MACR,IAAI,EAAE,WAAA,EAAa,WAAW,OAAS,EAAA,CAAA,EAAG,GAAG,MAAO;AAAA;AAAA,GACtD;AAEJ;;;;"}
1
+ {"version":3,"file":"Divider.esm.js","sources":["../../../src/components/Divider/Divider.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { CSSProperties } from 'react';\nimport MUIDivider from '@mui/material/Divider';\n\n/**\n * @public\n */\nexport interface DividerProps {\n layout?: CSSProperties;\n}\n\n/**\n * @public\n */\nexport const Divider = ({ layout }: DividerProps) => {\n return (\n <MUIDivider\n orientation=\"vertical\"\n flexItem\n sx={{ borderColor: 'inherit', opacity: 0.25, marginX: 1, ...layout }}\n />\n );\n};\n"],"names":["MUIDivider"],"mappings":";;;AA6BO,MAAM,OAAU,GAAA,CAAC,EAAE,MAAA,EAA2B,KAAA;AACnD,EACE,uBAAA,GAAA;AAAA,IAACA,SAAA;AAAA,IAAA;AAAA,MACC,WAAY,EAAA,UAAA;AAAA,MACZ,QAAQ,EAAA,IAAA;AAAA,MACR,EAAA,EAAI,EAAE,WAAa,EAAA,SAAA,EAAW,SAAS,IAAM,EAAA,OAAA,EAAS,CAAG,EAAA,GAAG,MAAO;AAAA;AAAA,GACrE;AAEJ;;;;"}
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { useGlobalHeaderMountPoints } from '../hooks/useGlobalHeaderMountPoints.esm.js';
3
3
  import { GlobalHeaderComponent } from './GlobalHeaderComponent.esm.js';
4
4
 
5
5
  const GlobalHeader = () => {
6
6
  const allGlobalHeaderMountPoints = useGlobalHeaderMountPoints();
7
- return /* @__PURE__ */ React.createElement(
7
+ return /* @__PURE__ */ jsx(
8
8
  GlobalHeaderComponent,
9
9
  {
10
10
  globalHeaderMountPoints: allGlobalHeaderMountPoints ?? []
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalHeader.esm.js","sources":["../../src/components/GlobalHeader.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport { useGlobalHeaderMountPoints } from '../hooks/useGlobalHeaderMountPoints';\nimport { GlobalHeaderComponent } from './GlobalHeaderComponent';\n\nexport const GlobalHeader = () => {\n const allGlobalHeaderMountPoints = useGlobalHeaderMountPoints();\n\n return (\n <GlobalHeaderComponent\n globalHeaderMountPoints={allGlobalHeaderMountPoints ?? []}\n />\n );\n};\n"],"names":[],"mappings":";;;;AAoBO,MAAM,eAAe,MAAM;AAChC,EAAA,MAAM,6BAA6B,0BAA2B,EAAA;AAE9D,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MACC,uBAAA,EAAyB,8BAA8B;AAAC;AAAA,GAC1D;AAEJ;;;;"}
1
+ {"version":3,"file":"GlobalHeader.esm.js","sources":["../../src/components/GlobalHeader.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useGlobalHeaderMountPoints } from '../hooks/useGlobalHeaderMountPoints';\nimport { GlobalHeaderComponent } from './GlobalHeaderComponent';\n\nexport const GlobalHeader = () => {\n const allGlobalHeaderMountPoints = useGlobalHeaderMountPoints();\n\n return (\n <GlobalHeaderComponent\n globalHeaderMountPoints={allGlobalHeaderMountPoints ?? []}\n />\n );\n};\n"],"names":[],"mappings":";;;;AAmBO,MAAM,eAAe,MAAM;AAChC,EAAA,MAAM,6BAA6B,0BAA2B,EAAA;AAE9D,EACE,uBAAA,GAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MACC,uBAAA,EAAyB,8BAA8B;AAAC;AAAA,GAC1D;AAEJ;;;;"}
@@ -1,4 +1,5 @@
1
- import React, { useMemo } from 'react';
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { useMemo } from 'react';
2
3
  import { ErrorBoundary } from '@backstage/core-components';
3
4
  import AppBar from '@mui/material/AppBar';
4
5
  import Toolbar from '@mui/material/Toolbar';
@@ -13,22 +14,22 @@ const GlobalHeaderComponent = ({
13
14
  const filteredAndSorted = globalHeaderMountPoints.filter((component) => (component.config?.priority ?? 0) > -1).sort((a, b) => (b.config?.priority ?? 0) - (a.config?.priority ?? 0));
14
15
  return filteredAndSorted;
15
16
  }, [globalHeaderMountPoints]);
16
- return /* @__PURE__ */ React.createElement(AppBar, { position: "sticky", component: "nav", id: "global-header" }, /* @__PURE__ */ React.createElement(
17
+ return /* @__PURE__ */ jsx(AppBar, { position: "sticky", component: "nav", id: "global-header", children: /* @__PURE__ */ jsx(
17
18
  Toolbar,
18
19
  {
19
20
  sx: {
20
21
  gap: 1,
21
22
  color: (theme) => theme.rhdh?.general.appBarForegroundColor ?? theme.palette.text.primary
22
- }
23
- },
24
- mountPoints.map((mountPoint, index) => /* @__PURE__ */ React.createElement(ErrorBoundary, { key: `header-component-${index}` }, /* @__PURE__ */ React.createElement(
25
- mountPoint.Component,
26
- {
27
- ...mountPoint.config?.props,
28
- layout: mountPoint.config?.layout
29
- }
30
- )))
31
- ));
23
+ },
24
+ children: mountPoints.map((mountPoint, index) => /* @__PURE__ */ jsx(ErrorBoundary, { children: /* @__PURE__ */ jsx(
25
+ mountPoint.Component,
26
+ {
27
+ ...mountPoint.config?.props,
28
+ layout: mountPoint.config?.layout
29
+ }
30
+ ) }, `header-component-${index}`))
31
+ }
32
+ ) });
32
33
  };
33
34
 
34
35
  export { GlobalHeaderComponent };
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalHeaderComponent.esm.js","sources":["../../src/components/GlobalHeaderComponent.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { useMemo } from 'react';\n\nimport { ErrorBoundary } from '@backstage/core-components';\n\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\n\nimport { GlobalHeaderComponentMountPoint } from '../types';\n\n/**\n * Global Header Component properties\n * @public\n */\nexport interface GlobalHeaderComponentProps {\n globalHeaderMountPoints: GlobalHeaderComponentMountPoint[];\n}\n\nexport const GlobalHeaderComponent = ({\n globalHeaderMountPoints,\n}: GlobalHeaderComponentProps) => {\n const mountPoints = useMemo(() => {\n if (!globalHeaderMountPoints) {\n return [];\n }\n\n const filteredAndSorted = globalHeaderMountPoints\n .filter(component => (component.config?.priority ?? 0) > -1)\n .sort((a, b) => (b.config?.priority ?? 0) - (a.config?.priority ?? 0));\n\n return filteredAndSorted;\n }, [globalHeaderMountPoints]);\n\n return (\n <AppBar position=\"sticky\" component=\"nav\" id=\"global-header\">\n <Toolbar\n sx={{\n gap: 1,\n color: theme =>\n (theme as any).rhdh?.general.appBarForegroundColor ??\n theme.palette.text.primary,\n }}\n >\n {mountPoints.map((mountPoint, index) => (\n <ErrorBoundary key={`header-component-${index}`}>\n <mountPoint.Component\n {...mountPoint.config?.props}\n layout={mountPoint.config?.layout}\n />\n </ErrorBoundary>\n ))}\n </Toolbar>\n </AppBar>\n );\n};\n"],"names":[],"mappings":";;;;;AAiCO,MAAM,wBAAwB,CAAC;AAAA,EACpC;AACF,CAAkC,KAAA;AAChC,EAAM,MAA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ensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useMemo } from 'react';\n\nimport { ErrorBoundary } from '@backstage/core-components';\n\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\n\nimport { GlobalHeaderComponentMountPoint } from '../types';\n\n/**\n * Global Header Component properties\n * @public\n */\nexport interface GlobalHeaderComponentProps {\n globalHeaderMountPoints: GlobalHeaderComponentMountPoint[];\n}\n\nexport const GlobalHeaderComponent = ({\n globalHeaderMountPoints,\n}: GlobalHeaderComponentProps) => {\n const mountPoints = useMemo(() => {\n if (!globalHeaderMountPoints) {\n return [];\n }\n\n const filteredAndSorted = globalHeaderMountPoints\n .filter(component => (component.config?.priority ?? 0) > -1)\n .sort((a, b) => (b.config?.priority ?? 0) - (a.config?.priority ?? 0));\n\n return filteredAndSorted;\n }, [globalHeaderMountPoints]);\n\n return (\n <AppBar position=\"sticky\" component=\"nav\" id=\"global-header\">\n <Toolbar\n sx={{\n gap: 1,\n color: theme =>\n (theme as any).rhdh?.general.appBarForegroundColor ??\n theme.palette.text.primary,\n }}\n >\n {mountPoints.map((mountPoint, index) => (\n <ErrorBoundary key={`header-component-${index}`}>\n <mountPoint.Component\n {...mountPoint.config?.props}\n layout={mountPoint.config?.layout}\n />\n </ErrorBoundary>\n ))}\n </Toolbar>\n </AppBar>\n );\n};\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,wBAAwB,CAAC;AAAA,EACpC;AACF,CAAkC,KAAA;AAChC,EAAM,MAAA,WAAA,GAAc,QAAQ,MAAM;AAChC,IAAA,IAAI,CAAC,uBAAyB,EAAA;AAC5B,MAAA,OAAO,EAAC;AAAA;AAGV,IAAM,MAAA,iBAAA,GAAoB,wBACvB,MAAO,CAAA,CAAA,SAAA,KAAA,CAAc,UAAU,MAAQ,EAAA,QAAA,IAAY,KAAK,CAAE,CAAA,CAAA,CAC1D,KAAK,CAAC,CAAA,EAAG,OAAO,CAAE,CAAA,MAAA,EAAQ,YAAY,CAAM,KAAA,CAAA,CAAE,MAAQ,EAAA,QAAA,IAAY,CAAE,CAAA,CAAA;AAEvE,IAAO,OAAA,iBAAA;AAAA,GACT,EAAG,CAAC,uBAAuB,CAAC,CAAA;AAE5B,EAAA,2BACG,MAAO,EAAA,EAAA,QAAA,EAAS,UAAS,SAAU,EAAA,KAAA,EAAM,IAAG,eAC3C,EAAA,QAAA,kBAAA,GAAA;AAAA,IAAC,OAAA;AAAA,IAAA;AAAA,MACC,EAAI,EAAA;AAAA,QACF,GAAK,EAAA,CAAA;AAAA,QACL,KAAA,EAAO,WACJ,KAAc,CAAA,IAAA,EAAM,QAAQ,qBAC7B,IAAA,KAAA,CAAM,QAAQ,IAAK,CAAA;AAAA,OACvB;AAAA,MAEC,sBAAY,GAAI,CAAA,CAAC,UAAY,EAAA,KAAA,yBAC3B,aACC,EAAA,EAAA,QAAA,kBAAA,GAAA;AAAA,QAAC,UAAW,CAAA,SAAA;AAAA,QAAX;AAAA,UACE,GAAG,WAAW,MAAQ,EAAA,KAAA;AAAA,UACvB,MAAA,EAAQ,WAAW,MAAQ,EAAA;AAAA;AAAA,OAHX,EAAA,EAAA,CAAA,iBAAA,EAAoB,KAAK,CAAA,CAK7C,CACD;AAAA;AAAA,GAEL,EAAA,CAAA;AAEJ;;;;"}
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { jsx } from 'react/jsx-runtime';
2
2
  import { LinkButton } from '@backstage/core-components';
3
3
  import Box from '@mui/material/Box';
4
4
  import Tooltip from '@mui/material/Tooltip';
@@ -17,24 +17,24 @@ const HeaderButton = ({
17
17
  to,
18
18
  layout
19
19
  }) => {
20
- const button = /* @__PURE__ */ React.createElement(
20
+ const button = /* @__PURE__ */ jsx(
21
21
  LinkButton,
22
22
  {
23
23
  color,
24
24
  size,
25
25
  variant,
26
26
  "aria-label": ariaLabel,
27
- startIcon: startIcon ? /* @__PURE__ */ React.createElement(HeaderIcon, { icon: startIcon, size }) : null,
28
- endIcon: endIcon ? /* @__PURE__ */ React.createElement(HeaderIcon, { icon: endIcon, size }) : null,
27
+ startIcon: startIcon ? /* @__PURE__ */ jsx(HeaderIcon, { icon: startIcon, size }) : null,
28
+ endIcon: endIcon ? /* @__PURE__ */ jsx(HeaderIcon, { icon: endIcon, size }) : null,
29
29
  externalLinkIcon,
30
- to
31
- },
32
- title
30
+ to,
31
+ children: title
32
+ }
33
33
  );
34
34
  if (tooltip) {
35
- return /* @__PURE__ */ React.createElement(Box, { sx: layout }, /* @__PURE__ */ React.createElement(Tooltip, { title: tooltip }, /* @__PURE__ */ React.createElement("div", null, button)));
35
+ return /* @__PURE__ */ jsx(Box, { sx: layout, children: /* @__PURE__ */ jsx(Tooltip, { title: tooltip, children: /* @__PURE__ */ jsx("div", { children: button }) }) });
36
36
  }
37
- return /* @__PURE__ */ React.createElement(Box, { sx: layout }, button);
37
+ return /* @__PURE__ */ jsx(Box, { sx: layout, children: button });
38
38
  };
39
39
 
40
40
  export { HeaderButton };
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderButton.esm.js","sources":["../../../src/components/HeaderButton/HeaderButton.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\n\nimport { LinkButton } from '@backstage/core-components';\n\nimport Box from '@mui/material/Box';\nimport Tooltip from '@mui/material/Tooltip';\nimport { HeaderIcon } from '../HeaderIcon/HeaderIcon';\n\n/**\n * @public\n */\nexport interface HeaderButtonProps {\n title: string;\n tooltip?: string;\n color?: 'inherit' | 'primary' | 'secondary' | 'default';\n size?: 'small' | 'medium' | 'large';\n variant?: 'text' | 'outlined' | 'contained';\n ariaLabel?: string;\n startIcon?: string;\n endIcon?: string;\n externalLinkIcon?: boolean;\n to: string;\n layout?: React.CSSProperties;\n}\n\n/**\n * @public\n */\nexport const HeaderButton = ({\n title,\n tooltip,\n color = 'inherit',\n size = 'small',\n variant,\n ariaLabel,\n startIcon,\n endIcon,\n externalLinkIcon = true,\n to,\n layout,\n}: HeaderButtonProps) => {\n const button = (\n <LinkButton\n color={color}\n size={size}\n variant={variant}\n aria-label={ariaLabel}\n startIcon={startIcon ? <HeaderIcon icon={startIcon} size={size} /> : null}\n endIcon={endIcon ? <HeaderIcon icon={endIcon} size={size} /> : null}\n externalLinkIcon={externalLinkIcon}\n to={to}\n >\n {title}\n </LinkButton>\n );\n\n if (tooltip) {\n return (\n <Box sx={layout}>\n <Tooltip title={tooltip}>\n <div>{button}</div>\n </Tooltip>\n </Box>\n );\n }\n\n return <Box sx={layout}>{button}</Box>;\n};\n"],"names":[],"mappings":";;;;;;AA4CO,MAAM,eAAe,CAAC;AAAA,EAC3B,KAAA;AAAA,EACA,OAAA;AAAA,EACA,KAAQ,GAAA,SAAA;AAAA,EACR,IAAO,GAAA,OAAA;AAAA,EACP,OAAA;AAAA,EACA,SAAA;AAAA,EACA,SAAA;AAAA,EACA,OAAA;AAAA,EACA,gBAAmB,GAAA,IAAA;AAAA,EACnB,EAAA;AAAA,EACA;AACF,CAAyB,KAAA;AACvB,EAAA,MAAM,MACJ,mBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACC,KAAA;AAAA,MACA,IAAA;AAAA,MACA,OAAA;AAAA,MACA,YAAY,EAAA,SAAA;AAAA,MACZ,WAAW,SAAY,mBAAA,KAAA,CAAA,aAAA,CAAC,cAAW,IAAM,EAAA,SAAA,EAAW,MAAY,CAAK,GAAA,IAAA;AAAA,MACrE,SAAS,OAAU,mBAAA,KAAA,CAAA,aAAA,CAAC,cAAW,IAAM,EAAA,OAAA,EAAS,MAAY,CAAK,GAAA,IAAA;AAAA,MAC/D,gBAAA;AAAA,MACA;AAAA,KAAA;AAAA,IAEC;AAAA,GACH;AAGF,EAAA,IAAI,OAAS,EAAA;AACX,IAAA,uBACG,KAAA,CAAA,aAAA,CAAA,GAAA,EAAA,EAAI,EAAI,EAAA,MAAA,EAAA,kBACN,KAAA,CAAA,aAAA,CAAA,OAAA,EAAA,EAAQ,KAAO,EAAA,OAAA,EAAA,kBACb,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA,EAAK,MAAO,CACf,CACF,CAAA;AAAA;AAIJ,EAAA,uBAAQ,KAAA,CAAA,aAAA,CAAA,GAAA,EAAA,EAAI,EAAI,EAAA,MAAA,EAAA,EAAS,MAAO,CAAA;AAClC;;;;"}
1
+ {"version":3,"file":"HeaderButton.esm.js","sources":["../../../src/components/HeaderButton/HeaderButton.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { CSSProperties } from 'react';\nimport { LinkButton } from '@backstage/core-components';\n\nimport Box from '@mui/material/Box';\nimport Tooltip from '@mui/material/Tooltip';\nimport { HeaderIcon } from '../HeaderIcon/HeaderIcon';\n\n/**\n * @public\n */\nexport interface HeaderButtonProps {\n title: string;\n tooltip?: string;\n color?: 'inherit' | 'primary' | 'secondary' | 'default';\n size?: 'small' | 'medium' | 'large';\n variant?: 'text' | 'outlined' | 'contained';\n ariaLabel?: string;\n startIcon?: string;\n endIcon?: string;\n externalLinkIcon?: boolean;\n to: string;\n layout?: CSSProperties;\n}\n\n/**\n * @public\n */\nexport const HeaderButton = ({\n title,\n tooltip,\n color = 'inherit',\n size = 'small',\n variant,\n ariaLabel,\n startIcon,\n endIcon,\n externalLinkIcon = true,\n to,\n layout,\n}: HeaderButtonProps) => {\n const button = (\n <LinkButton\n color={color}\n size={size}\n variant={variant}\n aria-label={ariaLabel}\n startIcon={startIcon ? <HeaderIcon icon={startIcon} size={size} /> : null}\n endIcon={endIcon ? <HeaderIcon icon={endIcon} size={size} /> : null}\n externalLinkIcon={externalLinkIcon}\n to={to}\n >\n {title}\n </LinkButton>\n );\n\n if (tooltip) {\n return (\n <Box sx={layout}>\n <Tooltip title={tooltip}>\n <div>{button}</div>\n </Tooltip>\n </Box>\n );\n }\n\n return <Box sx={layout}>{button}</Box>;\n};\n"],"names":[],"mappings":";;;;;;AA2CO,MAAM,eAAe,CAAC;AAAA,EAC3B,KAAA;AAAA,EACA,OAAA;AAAA,EACA,KAAQ,GAAA,SAAA;AAAA,EACR,IAAO,GAAA,OAAA;AAAA,EACP,OAAA;AAAA,EACA,SAAA;AAAA,EACA,SAAA;AAAA,EACA,OAAA;AAAA,EACA,gBAAmB,GAAA,IAAA;AAAA,EACnB,EAAA;AAAA,EACA;AACF,CAAyB,KAAA;AACvB,EAAA,MAAM,MACJ,mBAAA,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACC,KAAA;AAAA,MACA,IAAA;AAAA,MACA,OAAA;AAAA,MACA,YAAY,EAAA,SAAA;AAAA,MACZ,WAAW,SAAY,mBAAA,GAAA,CAAC,cAAW,IAAM,EAAA,SAAA,EAAW,MAAY,CAAK,GAAA,IAAA;AAAA,MACrE,SAAS,OAAU,mBAAA,GAAA,CAAC,cAAW,IAAM,EAAA,OAAA,EAAS,MAAY,CAAK,GAAA,IAAA;AAAA,MAC/D,gBAAA;AAAA,MACA,EAAA;AAAA,MAEC,QAAA,EAAA;AAAA;AAAA,GACH;AAGF,EAAA,IAAI,OAAS,EAAA;AACX,IAAA,uBACG,GAAA,CAAA,GAAA,EAAA,EAAI,EAAI,EAAA,MAAA,EACP,QAAC,kBAAA,GAAA,CAAA,OAAA,EAAA,EAAQ,KAAO,EAAA,OAAA,EACd,QAAC,kBAAA,GAAA,CAAA,KAAA,EAAA,EAAK,QAAO,EAAA,MAAA,EAAA,CAAA,EACf,CACF,EAAA,CAAA;AAAA;AAIJ,EAAA,uBAAQ,GAAA,CAAA,GAAA,EAAA,EAAI,EAAI,EAAA,MAAA,EAAS,QAAO,EAAA,MAAA,EAAA,CAAA;AAClC;;;;"}
@@ -1,4 +1,5 @@
1
- import React, { useMemo } from 'react';
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { useMemo } from 'react';
2
3
  import AppsIcon from '@mui/icons-material/Apps';
3
4
  import AppRegistrationIcon from '@mui/icons-material/AppRegistration';
4
5
  import { useApplicationLauncherDropdownMountPoints } from '../../hooks/useApplicationLauncherDropdownMountPoints.esm.js';
@@ -34,42 +35,42 @@ const ApplicationLauncherDropdown = () => {
34
35
  return groupedSections;
35
36
  }, [mountPoints]);
36
37
  const sections = Object.entries(sectionsObject);
37
- return /* @__PURE__ */ React.createElement(
38
+ return /* @__PURE__ */ jsx(
38
39
  HeaderDropdownComponent,
39
40
  {
40
- buttonContent: /* @__PURE__ */ React.createElement(AppsIcon, null),
41
+ buttonContent: /* @__PURE__ */ jsx(AppsIcon, {}),
41
42
  tooltip: "Application launcher",
42
43
  isIconButton: true,
43
44
  onOpen: handleOpen,
44
45
  onClose: handleClose,
45
- anchorEl
46
- },
47
- sections.length > 0 ? sections.map(
48
- ([section, { sectionLink, sectionLinkLabel, items }], index) => /* @__PURE__ */ React.createElement(
49
- MenuSection,
46
+ anchorEl,
47
+ children: sections.length > 0 ? sections.map(
48
+ ([section, { sectionLink, sectionLinkLabel, items }], index) => /* @__PURE__ */ jsx(
49
+ MenuSection,
50
+ {
51
+ sectionLabel: section,
52
+ optionalLink: sectionLink,
53
+ optionalLinkLabel: sectionLinkLabel,
54
+ items,
55
+ handleClose,
56
+ hideDivider: index === sections.length - 1
57
+ },
58
+ section
59
+ )
60
+ ) : /* @__PURE__ */ jsx(
61
+ DropdownEmptyState,
50
62
  {
51
- key: section,
52
- sectionLabel: section,
53
- optionalLink: sectionLink,
54
- optionalLinkLabel: sectionLinkLabel,
55
- items,
56
- handleClose,
57
- hideDivider: index === sections.length - 1
63
+ title: "No application links configured",
64
+ subTitle: "Configure application links in dynamic plugin config for quick access from here.",
65
+ icon: /* @__PURE__ */ jsx(
66
+ AppRegistrationIcon,
67
+ {
68
+ sx: { fontSize: 64, color: "text.disabled" }
69
+ }
70
+ )
58
71
  }
59
72
  )
60
- ) : /* @__PURE__ */ React.createElement(
61
- DropdownEmptyState,
62
- {
63
- title: "No application links configured",
64
- subTitle: "Configure application links in dynamic plugin config for quick access from here.",
65
- icon: /* @__PURE__ */ React.createElement(
66
- AppRegistrationIcon,
67
- {
68
- sx: { fontSize: 64, color: "text.disabled" }
69
- }
70
- )
71
- }
72
- )
73
+ }
73
74
  );
74
75
  };
75
76
 
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationLauncherDropdown.esm.js","sources":["../../../src/components/HeaderDropdownComponent/ApplicationLauncherDropdown.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React, { useMemo } from 'react';\n\nimport AppsIcon from '@mui/icons-material/Apps';\nimport AppRegistrationIcon from '@mui/icons-material/AppRegistration';\n\nimport { useApplicationLauncherDropdownMountPoints } from '../../hooks/useApplicationLauncherDropdownMountPoints';\nimport { useDropdownManager } from '../../hooks';\nimport { HeaderDropdownComponent } from './HeaderDropdownComponent';\nimport { MenuSection } from './MenuSection';\nimport { DropdownEmptyState } from './DropdownEmptyState';\n\nexport const ApplicationLauncherDropdown = () => {\n const { anchorEl, handleOpen, handleClose } = useDropdownManager();\n\n const mountPoints = useApplicationLauncherDropdownMountPoints();\n\n const sectionsObject = useMemo(() => {\n const groupedSections: Record<\n string,\n { sectionLink?: string; sectionLinkLabel?: string; items: any[] }\n > = {};\n\n (mountPoints ?? []).forEach(mp => {\n const section = mp.config?.section ?? '';\n const sectionLink = mp.config?.sectionLink ?? '';\n const sectionLinkLabel = mp.config?.sectionLinkLabel ?? '';\n\n if (!groupedSections[section]) {\n groupedSections[section] = { sectionLink, sectionLinkLabel, items: [] };\n }\n groupedSections[section].items.push({\n Component: mp.Component,\n icon: mp.config?.props?.icon,\n label: mp.config?.props?.title,\n link: mp.config?.props?.link,\n external: mp.config?.props?.external ?? false,\n priority: mp.config?.priority ?? 0,\n });\n });\n\n Object.values(groupedSections).forEach(section => {\n section.items.sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));\n });\n\n return groupedSections;\n }, [mountPoints]);\n\n const sections = Object.entries(sectionsObject);\n\n return (\n <HeaderDropdownComponent\n buttonContent={<AppsIcon />}\n tooltip=\"Application launcher\"\n isIconButton\n onOpen={handleOpen}\n onClose={handleClose}\n anchorEl={anchorEl}\n >\n {sections.length > 0 ? (\n sections.map(\n ([section, { sectionLink, sectionLinkLabel, items }], index) => (\n <MenuSection\n key={section}\n sectionLabel={section}\n optionalLink={sectionLink}\n optionalLinkLabel={sectionLinkLabel}\n items={items}\n handleClose={handleClose}\n hideDivider={index === sections.length - 1}\n />\n ),\n )\n ) : (\n <DropdownEmptyState\n title=\"No application links configured\"\n subTitle=\"Configure application links in dynamic plugin config for quick access from here.\"\n icon={\n <AppRegistrationIcon\n sx={{ fontSize: 64, color: 'text.disabled' }}\n />\n }\n />\n )}\n </HeaderDropdownComponent>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;AA0BO,MAAM,8BAA8B,MAAM;AAC/C,EAAA,MAAM,EAAE,QAAA,EAAU,UAAY,EAAA,WAAA,KAAgB,kBAAmB,EAAA;AAEjE,EAAA,MAAM,cAAc,yCAA0C,EAAA;AAE9D,EAAM,MAAA,cAAA,GAAiB,QAAQ,MAAM;AACnC,IAAA,MAAM,kBAGF,EAAC;AAEL,IAAA,CAAC,WAAe,IAAA,EAAI,EAAA,OAAA,CAAQ,CAAM,EAAA,KAAA;AAChC,MAAM,MAAA,OAAA,GAAU,EAAG,CAAA,MAAA,EAAQ,OAAW,IAAA,EAAA;AACtC,MAAM,MAAA,WAAA,GAAc,EAAG,CAAA,MAAA,EAAQ,WAAe,IAAA,EAAA;AAC9C,MAAM,MAAA,gBAAA,GAAmB,EAAG,CAAA,MAAA,EAAQ,gBAAoB,IAAA,EAAA;AAExD,MAAI,IAAA,CAAC,eAAgB,CAAA,OAAO,CAAG,EAAA;AAC7B,QAAA,eAAA,CAAgB,OAAO,CAAI,GAAA,EAAE,aAAa,gBAAkB,EAAA,KAAA,EAAO,EAAG,EAAA;AAAA;AAExE,MAAgB,eAAA,CAAA,OAAO,CAAE,CAAA,KAAA,CAAM,IAAK,CAAA;AAAA,QAClC,WAAW,EAAG,CAAA,SAAA;AAAA,QACd,IAAA,EAAM,EAAG,CAAA,MAAA,EAAQ,KAAO,EAAA,IAAA;AAAA,QACxB,KAAA,EAAO,EAAG,CAAA,MAAA,EAAQ,KAAO,EAAA,KAAA;AAAA,QACzB,IAAA,EAAM,EAAG,CAAA,MAAA,EAAQ,KAAO,EAAA,IAAA;AAAA,QACxB,QAAU,EAAA,EAAA,CAAG,MAAQ,EAAA,KAAA,EAAO,QAAY,IAAA,KA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AAAA,MAAC,kBAAA;AAAA,MAAA;AAAA,QACC,KAAM,EAAA,iCAAA;AAAA,QACN,QAAS,EAAA,kFAAA;AAAA,QACT,IACE,kBAAA,KAAA,CAAA,aAAA;AAAA,UAAC,mBAAA;AAAA,UAAA;AAAA,YACC,EAAI,EAAA,EAAE,QAAU,EAAA,EAAA,EAAI,OAAO,eAAgB;AAAA;AAAA;AAC7C;AAAA;AAEJ,GAEJ;AAEJ;;;;"}
1
+ {"version":3,"file":"ApplicationLauncherDropdown.esm.js","sources":["../../../src/components/HeaderDropdownComponent/ApplicationLauncherDropdown.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { useMemo } from 'react';\n\nimport AppsIcon from '@mui/icons-material/Apps';\nimport AppRegistrationIcon from '@mui/icons-material/AppRegistration';\n\nimport { useApplicationLauncherDropdownMountPoints } from '../../hooks/useApplicationLauncherDropdownMountPoints';\nimport { useDropdownManager } from '../../hooks';\nimport { HeaderDropdownComponent } from './HeaderDropdownComponent';\nimport { MenuSection } from './MenuSection';\nimport { DropdownEmptyState } from './DropdownEmptyState';\n\nexport const ApplicationLauncherDropdown = () => {\n const { anchorEl, handleOpen, handleClose } = useDropdownManager();\n\n const mountPoints = useApplicationLauncherDropdownMountPoints();\n\n const sectionsObject = useMemo(() => {\n const groupedSections: Record<\n string,\n { sectionLink?: string; sectionLinkLabel?: string; items: any[] }\n > = {};\n\n (mountPoints ?? []).forEach(mp => {\n const section = mp.config?.section ?? '';\n const sectionLink = mp.config?.sectionLink ?? '';\n const sectionLinkLabel = mp.config?.sectionLinkLabel ?? '';\n\n if (!groupedSections[section]) {\n groupedSections[section] = { sectionLink, sectionLinkLabel, items: [] };\n }\n groupedSections[section].items.push({\n Component: mp.Component,\n icon: mp.config?.props?.icon,\n label: mp.config?.props?.title,\n link: mp.config?.props?.link,\n external: mp.config?.props?.external ?? false,\n priority: mp.config?.priority ?? 0,\n });\n });\n\n Object.values(groupedSections).forEach(section => {\n section.items.sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));\n });\n\n return groupedSections;\n }, [mountPoints]);\n\n const sections = Object.entries(sectionsObject);\n\n return (\n <HeaderDropdownComponent\n buttonContent={<AppsIcon />}\n tooltip=\"Application launcher\"\n isIconButton\n onOpen={handleOpen}\n onClose={handleClose}\n anchorEl={anchorEl}\n >\n {sections.length > 0 ? (\n sections.map(\n ([section, { sectionLink, sectionLinkLabel, items }], index) => (\n <MenuSection\n key={section}\n sectionLabel={section}\n optionalLink={sectionLink}\n optionalLinkLabel={sectionLinkLabel}\n items={items}\n handleClose={handleClose}\n hideDivider={index === sections.length - 1}\n />\n ),\n )\n ) : (\n <DropdownEmptyState\n title=\"No application links configured\"\n subTitle=\"Configure application links in dynamic plugin config for quick access from here.\"\n icon={\n <AppRegistrationIcon\n sx={{ fontSize: 64, color: 'text.disabled' }}\n />\n }\n />\n )}\n </HeaderDropdownComponent>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AA0BO,MAAM,8BAA8B,MAAM;AAC/C,EAAA,MAAM,EAAE,QAAA,EAAU,UAAY,EAAA,WAAA,KAAgB,kBAAmB,EAAA;AAEjE,EAAA,MAAM,cAAc,yCAA0C,EAAA;AAE9D,EAAM,MAAA,cAAA,GAAiB,QAAQ,MAAM;AACnC,IAAA,MAAM,kBAGF,EAAC;AAEL,IAAA,CAAC,WAAe,IAAA,EAAI,EAAA,OAAA,CAAQ,CAAM,EAAA,KAAA;AAChC,MAAM,MAAA,OAAA,GAAU,EAAG,CAAA,MAAA,EAAQ,OAAW,IAAA,EAAA;AACtC,MAA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A,MACC,aAAA,sBAAgB,QAAS,EAAA,EAAA,CAAA;AAAA,MACzB,OAAQ,EAAA,sBAAA;AAAA,MACR,YAAY,EAAA,IAAA;AAAA,MACZ,MAAQ,EAAA,UAAA;AAAA,MACR,OAAS,EAAA,WAAA;AAAA,MACT,QAAA;AAAA,MAEC,QAAA,EAAA,QAAA,CAAS,MAAS,GAAA,CAAA,GACjB,QAAS,CAAA,GAAA;AAAA,QACP,CAAC,CAAC,OAAS,EAAA,EAAE,aAAa,gBAAkB,EAAA,KAAA,EAAO,CAAA,EAAG,KACpD,qBAAA,GAAA;AAAA,UAAC,WAAA;AAAA,UAAA;AAAA,YAEC,YAAc,EAAA,OAAA;AAAA,YACd,YAAc,EAAA,WAAA;AAAA,YACd,iBAAmB,EAAA,gBAAA;AAAA,YACnB,KAAA;AAAA,YACA,WAAA;AAAA,YACA,WAAA,EAAa,KAAU,KAAA,QAAA,CAAS,MAAS,GAAA;AAAA,WAAA;AAAA,UANpC;AAAA;AAOP,OAIJ,mBAAA,GAAA;AAAA,QAAC,kBAAA;AAAA,QAAA;AAAA,UACC,KAAM,EAAA,iCAAA;AAAA,UACN,QAAS,EAAA,kFAAA;AAAA,UACT,IACE,kBAAA,GAAA;AAAA,YAAC,mBAAA;AAAA,YAAA;AAAA,cACC,EAAI,EAAA,EAAE,QAAU,EAAA,EAAA,EAAI,OAAO,eAAgB;AAAA;AAAA;AAC7C;AAAA;AAEJ;AAAA,GAEJ;AAEJ;;;;"}
@@ -1,4 +1,5 @@
1
- import React, { useMemo } from 'react';
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import { useMemo } from 'react';
2
3
  import ArrowDropDownOutlinedIcon from '@mui/icons-material/ArrowDropDownOutlined';
3
4
  import { useCreateDropdownMountPoints } from '../../hooks/useCreateDropdownMountPoints.esm.js';
4
5
  import { useDropdownManager } from '../../hooks/useDropdownManager.esm.js';
@@ -17,10 +18,13 @@ const CreateDropdown = ({ layout }) => {
17
18
  if (menuSections.length === 0) {
18
19
  return null;
19
20
  }
20
- return /* @__PURE__ */ React.createElement(
21
+ return /* @__PURE__ */ jsx(
21
22
  HeaderDropdownComponent,
22
23
  {
23
- buttonContent: /* @__PURE__ */ React.createElement(Box, { sx: { display: "flex", alignItems: "center" } }, "Self-service ", /* @__PURE__ */ React.createElement(ArrowDropDownOutlinedIcon, { sx: { ml: 1 } })),
24
+ buttonContent: /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center" }, children: [
25
+ "Self-service ",
26
+ /* @__PURE__ */ jsx(ArrowDropDownOutlinedIcon, { sx: { ml: 1 } })
27
+ ] }),
24
28
  buttonProps: {
25
29
  variant: "outlined",
26
30
  sx: {
@@ -30,16 +34,16 @@ const CreateDropdown = ({ layout }) => {
30
34
  },
31
35
  onOpen: handleOpen,
32
36
  onClose: handleClose,
33
- anchorEl
34
- },
35
- menuSections.map((section, index) => /* @__PURE__ */ React.createElement(
36
- section.Component,
37
- {
38
- key: `menu-section-${index.toString()}`,
39
- hideDivider: index === menuSections.length - 1,
40
- handleClose
41
- }
42
- ))
37
+ anchorEl,
38
+ children: menuSections.map((section, index) => /* @__PURE__ */ jsx(
39
+ section.Component,
40
+ {
41
+ hideDivider: index === menuSections.length - 1,
42
+ handleClose
43
+ },
44
+ `menu-section-${index.toString()}`
45
+ ))
46
+ }
43
47
  );
44
48
  };
45
49
 
@@ -1 +1 @@
1
- {"version":3,"file":"CreateDropdown.esm.js","sources":["../../../src/components/HeaderDropdownComponent/CreateDropdown.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { useMemo } from 'react';\n\nimport ArrowDropDownOutlinedIcon from '@mui/icons-material/ArrowDropDownOutlined';\n\nimport { MenuItemConfig } from './MenuSection';\nimport { useCreateDropdownMountPoints } from '../../hooks/useCreateDropdownMountPoints';\nimport { useDropdownManager } from '../../hooks';\nimport { HeaderDropdownComponent } from './HeaderDropdownComponent';\nimport Box from '@mui/material/Box';\n\n/**\n * @public\n * Props for each dropdown section component\n */\ninterface SectionComponentProps {\n handleClose: () => void;\n hideDivider: boolean;\n items?: MenuItemConfig[];\n}\n\n/**\n * @public\n * Props for Create Dropdown\n */\nexport interface CreateDropdownProps {\n layout?: React.CSSProperties;\n}\n\nexport const CreateDropdown = ({ layout }: CreateDropdownProps) => {\n const { anchorEl, handleOpen, handleClose } = useDropdownManager();\n\n const createDropdownMountPoints = useCreateDropdownMountPoints();\n\n const menuSections = useMemo(() => {\n return (createDropdownMountPoints ?? [])\n .map(mp => ({\n Component: mp.Component as React.ComponentType<SectionComponentProps>,\n priority: mp.config?.priority ?? 0,\n }))\n .sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));\n }, [createDropdownMountPoints]);\n\n if (menuSections.length === 0) {\n return null;\n }\n\n return (\n <HeaderDropdownComponent\n buttonContent={\n <Box sx={{ display: 'flex', alignItems: 'center' }}>\n Self-service <ArrowDropDownOutlinedIcon sx={{ ml: 1 }} />\n </Box>\n }\n buttonProps={{\n variant: 'outlined',\n sx: {\n color: 'inherit',\n ...layout,\n },\n }}\n onOpen={handleOpen}\n onClose={handleClose}\n anchorEl={anchorEl}\n >\n {menuSections.map((section, index) => (\n <section.Component\n key={`menu-section-${index.toString()}`}\n hideDivider={index === menuSections.length - 1}\n handleClose={handleClose}\n />\n ))}\n </HeaderDropdownComponent>\n );\n};\n"],"names":[],"mappings":";;;;;;;AA4CO,MAAM,cAAiB,GAAA,CAAC,EAAE,MAAA,EAAkC,KAAA;AACjE,EAAA,MAAM,EAAE,QAAA,EAAU,UAAY,EAAA,WAAA,KAA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B,KAAM,CAAA,QAAA,EAAU,CAAA,CAAA;AAAA,QACrC,WAAA,EAAa,KAAU,KAAA,YAAA,CAAa,MAAS,GAAA,CAAA;AAAA,QAC7C;AAAA;AAAA,KAEH;AAAA,GACH;AAEJ;;;;"}
1
+ {"version":3,"file":"CreateDropdown.esm.js","sources":["../../../src/components/HeaderDropdownComponent/CreateDropdown.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useMemo } from 'react';\nimport type { CSSProperties, ComponentType } from 'react';\n\nimport ArrowDropDownOutlinedIcon from '@mui/icons-material/ArrowDropDownOutlined';\n\nimport { MenuItemConfig } from './MenuSection';\nimport { useCreateDropdownMountPoints } from '../../hooks/useCreateDropdownMountPoints';\nimport { useDropdownManager } from '../../hooks';\nimport { HeaderDropdownComponent } from './HeaderDropdownComponent';\nimport Box from '@mui/material/Box';\n\n/**\n * @public\n * Props for each dropdown section component\n */\ninterface SectionComponentProps {\n handleClose: () => void;\n hideDivider: boolean;\n items?: MenuItemConfig[];\n}\n\n/**\n * @public\n * Props for Create Dropdown\n */\nexport interface CreateDropdownProps {\n layout?: CSSProperties;\n}\n\nexport const CreateDropdown = ({ layout }: CreateDropdownProps) => {\n const { anchorEl, handleOpen, handleClose } = useDropdownManager();\n\n const createDropdownMountPoints = useCreateDropdownMountPoints();\n\n const menuSections = useMemo(() => {\n return (createDropdownMountPoints ?? [])\n .map(mp => ({\n Component: mp.Component as ComponentType<SectionComponentProps>,\n priority: mp.config?.priority ?? 0,\n }))\n .sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));\n }, [createDropdownMountPoints]);\n\n if (menuSections.length === 0) {\n return null;\n }\n\n return (\n <HeaderDropdownComponent\n buttonContent={\n <Box sx={{ display: 'flex', alignItems: 'center' }}>\n Self-service <ArrowDropDownOutlinedIcon sx={{ ml: 1 }} />\n </Box>\n }\n buttonProps={{\n variant: 'outlined',\n sx: {\n color: 'inherit',\n ...layout,\n },\n }}\n onOpen={handleOpen}\n onClose={handleClose}\n anchorEl={anchorEl}\n >\n {menuSections.map((section, index) => (\n <section.Component\n key={`menu-section-${index.toString()}`}\n hideDivider={index === menuSections.length - 1}\n handleClose={handleClose}\n />\n ))}\n </HeaderDropdownComponent>\n );\n};\n"],"names":[],"mappings":";;;;;;;;AA6CO,MAAM,cAAiB,GAAA,CAAC,EAAE,MAAA,EAAkC,KAAA;AACjE,EAAA,MAAM,EAAE,QAAA,EAAU,UAAY,EAAA,WAAA,KAAgB,kBAAmB,EAAA;AAEjE,EAAA,MAAM,4BAA4B,4BAA6B,EAAA;AAE/D,EAAM,MAAA,YAAA,GAAe,QAAQ,MAAM;AACjC,IAAA,OAAA,CAAQ,yBAA6B,IAAA,EAClC,EAAA,GAAA,CAAI,CAAO,EAAA,MAAA;AAAA,MACV,WAAW,EAAG,CAAA,SAAA;AAAA,MACd,QAAA,EAAU,EAAG,CAAA,MAAA,EAAQ,QAAY,IAAA;AAAA,KACnC,CAAE,CACD,CAAA,IAAA,CAAK,CAAC,CAAA,EAAG,CAAO,KAAA,CAAA,CAAA,CAAE,QAAY,IAAA,CAAA,KAAM,CAAE,CAAA,QAAA,IAAY,CAAE,CAAA,CAAA;AAAA,GACzD,EAAG,CAAC,yBAAyB,CAAC,CAAA;AAE9B,EAAI,IAAA,YAAA,CAAa,WAAW,CAAG,EAAA;AAC7B,IAAO,OAAA,IAAA;AAAA;AAGT,EACE,uBAAA,GAAA;AAAA,IAAC,uBAAA;AAAA,IAAA;AAAA,MACC,aAAA,uBACG,GAAI,EAAA,EAAA,EAAA,EAAI,EAAE,OAAS,EAAA,MAAA,EAAQ,UAAY,EAAA,QAAA,EAAY,EAAA,QAAA,EAAA;AAAA,QAAA,eAAA;AAAA,4BACpC,yBAA0B,EAAA,EAAA,EAAA,EAAI,EAAE,EAAA,EAAI,GAAK,EAAA;AAAA,OACzD,EAAA,CAAA;AAAA,MAEF,WAAa,EAAA;AAAA,QACX,OAAS,EAAA,UAAA;AAAA,QACT,EAAI,EAAA;AAAA,UACF,KAAO,EAAA,SAAA;AAAA,UACP,GAAG;AAAA;AACL,OACF;AAAA,MACA,MAAQ,EAAA,UAAA;AAAA,MACR,OAAS,EAAA,WAAA;AAAA,MACT,QAAA;AAAA,MAEC,QAAa,EAAA,YAAA,CAAA,GAAA,CAAI,CAAC,OAAA,EAAS,KAC1B,qBAAA,GAAA;AAAA,QAAC,OAAQ,CAAA,SAAA;AAAA,QAAR;AAAA,UAEC,WAAA,EAAa,KAAU,KAAA,YAAA,CAAa,MAAS,GAAA,CAAA;AAAA,UAC7C;AAAA,SAAA;AAAA,QAFK,CAAA,aAAA,EAAgB,KAAM,CAAA,QAAA,EAAU,CAAA;AAAA,OAIxC;AAAA;AAAA,GACH;AAEJ;;;;"}
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import Box from '@mui/material/Box';
3
3
  import Typography from '@mui/material/Typography';
4
4
  import { InfoCard } from '@backstage/core-components';
@@ -8,7 +8,7 @@ const DropdownEmptyState = ({
8
8
  subTitle,
9
9
  icon
10
10
  }) => {
11
- return /* @__PURE__ */ React.createElement(InfoCard, null, /* @__PURE__ */ React.createElement(
11
+ return /* @__PURE__ */ jsx(InfoCard, { children: /* @__PURE__ */ jsxs(
12
12
  Box,
13
13
  {
14
14
  sx: {
@@ -23,19 +23,21 @@ const DropdownEmptyState = ({
23
23
  maxWidth: 300,
24
24
  // Set max width to constrain text expansion
25
25
  mx: "auto"
26
- }
27
- },
28
- icon,
29
- /* @__PURE__ */ React.createElement(Typography, { variant: "h6", sx: { mt: 2, color: "text.primary" } }, title),
30
- /* @__PURE__ */ React.createElement(
31
- Typography,
32
- {
33
- variant: "body2",
34
- sx: { mt: 1, color: "text.secondary", maxWidth: 250 }
35
26
  },
36
- subTitle
37
- )
38
- ));
27
+ children: [
28
+ icon,
29
+ /* @__PURE__ */ jsx(Typography, { variant: "h6", sx: { mt: 2, color: "text.primary" }, children: title }),
30
+ /* @__PURE__ */ jsx(
31
+ Typography,
32
+ {
33
+ variant: "body2",
34
+ sx: { mt: 1, color: "text.secondary", maxWidth: 250 },
35
+ children: subTitle
36
+ }
37
+ )
38
+ ]
39
+ }
40
+ ) });
39
41
  };
40
42
 
41
43
  export { DropdownEmptyState };
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownEmptyState.esm.js","sources":["../../../src/components/HeaderDropdownComponent/DropdownEmptyState.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from 'react';\nimport Box from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport { InfoCard } from '@backstage/core-components';\n\n/**\n * @public\n * Props for dropdown empty state\n */\ninterface DropdownEmptyStateProps {\n title: string;\n subTitle: string;\n icon: React.ReactNode;\n}\n\nexport const DropdownEmptyState: React.FC<DropdownEmptyStateProps> = ({\n title,\n subTitle,\n icon,\n}) => {\n return (\n <InfoCard>\n <Box\n sx={{\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n py: 4,\n px: 2, // Added padding to control width\n maxWidth: 300, // Set max width to constrain text expansion\n mx: 'auto',\n }}\n >\n {icon}\n <Typography variant=\"h6\" sx={{ mt: 2, color: 'text.primary' }}>\n {title}\n </Typography>\n <Typography\n variant=\"body2\"\n sx={{ mt: 1, color: 'text.secondary', maxWidth: 250 }}\n >\n {subTitle}\n </Typography>\n </Box>\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;AA8BO,MAAM,qBAAwD,CAAC;AAAA,EACpE,KAAA;AAAA,EACA,QAAA;AAAA,EACA;AACF,CAAM,KAAA;AACJ,EAAA,2CACG,QACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,GAAA;AAAA,IAAA;AAAA,MACC,EAAI,EAAA;AAAA,QACF,OAAS,EAAA,MAAA;AAAA,QACT,aAAe,EAAA,QAAA;AAAA,QACf,UAAY,EAAA,QAAA;AAAA,QACZ,cAAgB,EAAA,QAAA;AAAA,QAChB,SAAW,EAAA,QAAA;AAAA,QACX,EAAI,EAAA,CAAA;AAAA,QACJ,EAAI,EAAA,CAAA;AAAA;AAAA,QACJ,QAAU,EAAA,GAAA;AAAA;AAAA,QACV,EAAI,EAAA;AAAA;AACN,KAAA;AAAA,IAEC,IAAA;AAAA,oBACD,KAAA,CAAA,aAAA,CAAC,UAAW,EAAA,EAAA,OAAA,EAAQ,IAAK,EAAA,EAAA,EAAI,EAAE,EAAA,EAAI,CAAG,EAAA,KAAA,EAAO,cAAe,EAAA,EAAA,EACzD,KACH,CAAA;AAAA,oBACA,KAAA,CAAA,aAAA;AAAA,MAAC,UAAA;AAAA,MAAA;AAAA,QACC,OAAQ,EAAA,OAAA;AAAA,QACR,IAAI,EAAE,EAAA,EAAI,GAAG,KAAO,EAAA,gBAAA,EAAkB,UAAU,GAAI;AAAA,OAAA;AAAA,MAEnD;AAAA;AACH,GAEJ,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"DropdownEmptyState.esm.js","sources":["../../../src/components/HeaderDropdownComponent/DropdownEmptyState.tsx"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { ReactNode, FC } from 'react';\nimport Box from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport { InfoCard } from '@backstage/core-components';\n\n/**\n * @public\n * Props for dropdown empty state\n */\ninterface DropdownEmptyStateProps {\n title: string;\n subTitle: string;\n icon: ReactNode;\n}\n\nexport const DropdownEmptyState: FC<DropdownEmptyStateProps> = ({\n title,\n subTitle,\n icon,\n}) => {\n return (\n <InfoCard>\n <Box\n sx={{\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n py: 4,\n px: 2, // Added padding to control width\n maxWidth: 300, // Set max width to constrain text expansion\n mx: 'auto',\n }}\n >\n {icon}\n <Typography variant=\"h6\" sx={{ mt: 2, color: 'text.primary' }}>\n {title}\n </Typography>\n <Typography\n variant=\"body2\"\n sx={{ mt: 1, color: 'text.secondary', maxWidth: 250 }}\n >\n {subTitle}\n </Typography>\n </Box>\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;AA8BO,MAAM,qBAAkD,CAAC;AAAA,EAC9D,KAAA;AAAA,EACA,QAAA;AAAA,EACA;AACF,CAAM,KAAA;AACJ,EAAA,2BACG,QACC,EAAA,EAAA,QAAA,kBAAA,IAAA;AAAA,IAAC,GAAA;AAAA,IAAA;AAAA,MACC,EAAI,EAAA;AAAA,QACF,OAAS,EAAA,MAAA;AAAA,QACT,aAAe,EAAA,QAAA;AAAA,QACf,UAAY,EAAA,QAAA;AAAA,QACZ,cAAgB,EAAA,QAAA;AAAA,QAChB,SAAW,EAAA,QAAA;AAAA,QACX,EAAI,EAAA,CAAA;AAAA,QACJ,EAAI,EAAA,CAAA;AAAA;AAAA,QACJ,QAAU,EAAA,GAAA;AAAA;AAAA,QACV,EAAI,EAAA;AAAA,OACN;AAAA,MAEC,QAAA,EAAA;AAAA,QAAA,IAAA;AAAA,wBACD,GAAA,CAAC,UAAW,EAAA,EAAA,OAAA,EAAQ,IAAK,EAAA,EAAA,EAAI,EAAE,EAAA,EAAI,CAAG,EAAA,KAAA,EAAO,cAAe,EAAA,EACzD,QACH,EAAA,KAAA,EAAA,CAAA;AAAA,wBACA,GAAA;AAAA,UAAC,UAAA;AAAA,UAAA;AAAA,YACC,OAAQ,EAAA,OAAA;AAAA,YACR,IAAI,EAAE,EAAA,EAAI,GAAG,KAAO,EAAA,gBAAA,EAAkB,UAAU,GAAI,EAAA;AAAA,YAEnD,QAAA,EAAA;AAAA;AAAA;AACH;AAAA;AAAA,GAEJ,EAAA,CAAA;AAEJ;;;;"}
@@ -1,4 +1,5 @@
1
- import React, { useId } from 'react';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { useId } from 'react';
2
3
  import Menu from '@mui/material/Menu';
3
4
  import Button from '@mui/material/Button';
4
5
  import Box from '@mui/material/Box';
@@ -47,34 +48,37 @@ const HeaderDropdownComponent = ({
47
48
  "aria-controls": id,
48
49
  "aria-expanded": anchorEl ? true : void 0
49
50
  };
50
- return /* @__PURE__ */ React.createElement(Box, null, /* @__PURE__ */ React.createElement(Tooltip, { title: tooltip }, isIconButton ? /* @__PURE__ */ React.createElement(IconButton, { ...commonButtonProps, color: "inherit", size }, buttonContent) : /* @__PURE__ */ React.createElement(Button, { disableRipple: true, disableTouchRipple: true, ...commonButtonProps }, buttonContent)), /* @__PURE__ */ React.createElement(
51
- Menu,
52
- {
53
- id: `${id}-menu`,
54
- anchorEl,
55
- keepMounted: true,
56
- open: Boolean(anchorEl),
57
- onClose,
58
- anchorOrigin: {
59
- vertical: "bottom",
60
- horizontal: "center"
61
- },
62
- transformOrigin: {
63
- vertical: "top",
64
- horizontal: "center"
65
- },
66
- sx: {
67
- '& ul[class*="MuiMenu-list"]': {
68
- py: 0
69
- }
70
- },
71
- MenuListProps: {
72
- "aria-labelledby": id,
73
- sx: (theme) => menuListStyle(theme)
51
+ return /* @__PURE__ */ jsxs(Box, { children: [
52
+ /* @__PURE__ */ jsx(Tooltip, { title: tooltip, children: isIconButton ? /* @__PURE__ */ jsx(IconButton, { ...commonButtonProps, color: "inherit", size, children: buttonContent }) : /* @__PURE__ */ jsx(Button, { disableRipple: true, disableTouchRipple: true, ...commonButtonProps, children: buttonContent }) }),
53
+ /* @__PURE__ */ jsx(
54
+ Menu,
55
+ {
56
+ id: `${id}-menu`,
57
+ anchorEl,
58
+ keepMounted: true,
59
+ open: Boolean(anchorEl),
60
+ onClose,
61
+ anchorOrigin: {
62
+ vertical: "bottom",
63
+ horizontal: "center"
64
+ },
65
+ transformOrigin: {
66
+ vertical: "top",
67
+ horizontal: "center"
68
+ },
69
+ sx: {
70
+ '& ul[class*="MuiMenu-list"]': {
71
+ py: 0
72
+ }
73
+ },
74
+ MenuListProps: {
75
+ "aria-labelledby": id,
76
+ sx: (theme) => menuListStyle(theme)
77
+ },
78
+ children
74
79
  }
75
- },
76
- children
77
- ));
80
+ )
81
+ ] });
78
82
  };
79
83
 
80
84
  export { HeaderDropdownComponent };