@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
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import React$1 from 'react';
1
+ import { CSSProperties, ComponentType } from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
4
 
5
5
  /**
@@ -8,7 +8,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
8
8
  interface CompanyLogoProps {
9
9
  logo?: string;
10
10
  to?: string;
11
- layout?: React$1.CSSProperties;
11
+ layout?: CSSProperties;
12
12
  }
13
13
 
14
14
  /**
@@ -26,7 +26,7 @@ interface NotificationBannerProps {
26
26
  textColor?: string;
27
27
  backgroundColor?: string;
28
28
  borderColor?: string;
29
- layout?: React$1.CSSProperties;
29
+ layout?: CSSProperties;
30
30
  dismiss?: NotificationBannerDismiss;
31
31
  }
32
32
 
@@ -40,7 +40,7 @@ interface NotificationButtonProps {
40
40
  size?: 'small' | 'medium' | 'large';
41
41
  badgeColor?: 'primary' | 'secondary' | 'default' | 'error' | 'info' | 'success' | 'warning';
42
42
  to?: string;
43
- layout?: React$1.CSSProperties;
43
+ layout?: CSSProperties;
44
44
  }
45
45
 
46
46
  /**
@@ -52,14 +52,14 @@ interface SupportButtonProps {
52
52
  color?: 'inherit' | 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
53
53
  size?: 'small' | 'medium' | 'large';
54
54
  to?: string;
55
- layout?: React$1.CSSProperties;
55
+ layout?: CSSProperties;
56
56
  }
57
57
 
58
58
  /**
59
59
  * @public
60
60
  */
61
61
  interface DividerProps {
62
- layout?: React$1.CSSProperties;
62
+ layout?: CSSProperties;
63
63
  }
64
64
 
65
65
  /**
@@ -68,7 +68,7 @@ interface DividerProps {
68
68
  interface SpacerProps {
69
69
  growFactor?: number;
70
70
  minWidth?: number | string;
71
- layout?: React$1.CSSProperties;
71
+ layout?: CSSProperties;
72
72
  }
73
73
 
74
74
  /**
@@ -82,7 +82,7 @@ interface HeaderIconButtonProps {
82
82
  size?: 'small' | 'medium' | 'large';
83
83
  ariaLabel?: string;
84
84
  to: string;
85
- layout?: React$1.CSSProperties;
85
+ layout?: CSSProperties;
86
86
  }
87
87
 
88
88
  /**
@@ -91,7 +91,7 @@ interface HeaderIconButtonProps {
91
91
  interface HeaderIconProps {
92
92
  icon: string;
93
93
  size?: 'small' | 'medium' | 'large';
94
- layout?: React$1.CSSProperties;
94
+ layout?: CSSProperties;
95
95
  }
96
96
 
97
97
  /**
@@ -108,7 +108,7 @@ interface HeaderButtonProps {
108
108
  endIcon?: string;
109
109
  externalLinkIcon?: boolean;
110
110
  to: string;
111
- layout?: React$1.CSSProperties;
111
+ layout?: CSSProperties;
112
112
  }
113
113
 
114
114
  /**
@@ -125,12 +125,12 @@ interface GlobalHeaderComponentMountPointConfig {
125
125
  * @public
126
126
  */
127
127
  interface GlobalHeaderComponentMountPoint {
128
- Component: React.ComponentType<{
129
- layout?: React.CSSProperties;
128
+ Component: ComponentType<{
129
+ layout?: CSSProperties;
130
130
  }>;
131
131
  config?: GlobalHeaderComponentMountPointConfig & {
132
132
  props?: Record<string, any>;
133
- layout?: React.CSSProperties;
133
+ layout?: CSSProperties;
134
134
  };
135
135
  }
136
136
 
@@ -179,7 +179,7 @@ type RegisterAComponentSectionProps = {
179
179
  * Props for Create Dropdown
180
180
  */
181
181
  interface CreateDropdownProps {
182
- layout?: React$1.CSSProperties;
182
+ layout?: CSSProperties;
183
183
  }
184
184
 
185
185
  /**
@@ -187,7 +187,7 @@ interface CreateDropdownProps {
187
187
  * Props for Profile Dropdown
188
188
  */
189
189
  interface ProfileDropdownProps {
190
- layout?: React$1.CSSProperties;
190
+ layout?: CSSProperties;
191
191
  }
192
192
 
193
193
  /**
@@ -196,7 +196,7 @@ interface ProfileDropdownProps {
196
196
  * @public
197
197
  */
198
198
  interface MenuItemConfig {
199
- Component: React$1.ComponentType<MenuItemLinkProps | {}>;
199
+ Component: ComponentType<MenuItemLinkProps | {}>;
200
200
  label: string;
201
201
  icon?: string;
202
202
  subLabel?: string;
@@ -221,110 +221,110 @@ declare const globalHeaderPlugin: _backstage_core_plugin_api.BackstagePlugin<{},
221
221
  *
222
222
  * @public
223
223
  */
224
- declare const GlobalHeader: () => React$1.JSX.Element;
224
+ declare const GlobalHeader: () => react_jsx_runtime.JSX.Element;
225
225
  /**
226
226
  * Global Header Component
227
227
  *
228
228
  * @public
229
229
  */
230
- declare const GlobalHeaderComponent: React$1.ComponentType<GlobalHeaderComponentProps>;
230
+ declare const GlobalHeaderComponent: ComponentType<GlobalHeaderComponentProps>;
231
231
  /**
232
232
  * @public
233
233
  */
234
- declare const HeaderButton: ({ title, tooltip, color, size, variant, ariaLabel, startIcon, endIcon, externalLinkIcon, to, layout, }: HeaderButtonProps) => React$1.JSX.Element;
234
+ declare const HeaderButton: ({ title, tooltip, color, size, variant, ariaLabel, startIcon, endIcon, externalLinkIcon, to, layout, }: HeaderButtonProps) => react_jsx_runtime.JSX.Element;
235
235
  /**
236
236
  * @public
237
237
  */
238
- declare const HeaderIcon: ({ icon, size, layout, }: HeaderIconProps) => React$1.JSX.Element | null;
238
+ declare const HeaderIcon: ({ icon, size, layout, }: HeaderIconProps) => react_jsx_runtime.JSX.Element | null;
239
239
  /**
240
240
  * @public
241
241
  */
242
- declare const HeaderIconButton: ({ title, icon, tooltip, color, size, ariaLabel, to, layout, }: HeaderIconButtonProps) => React$1.JSX.Element;
242
+ declare const HeaderIconButton: ({ title, icon, tooltip, color, size, ariaLabel, to, layout, }: HeaderIconButtonProps) => react_jsx_runtime.JSX.Element;
243
243
  /**
244
244
  * Search Component
245
245
  *
246
246
  * @public
247
247
  */
248
- declare const SearchComponent: React$1.ComponentType;
248
+ declare const SearchComponent: ComponentType;
249
249
  /**
250
250
  * Create Dropdown
251
251
  *
252
252
  * @public
253
253
  */
254
- declare const CreateDropdown: React$1.ComponentType<CreateDropdownProps>;
254
+ declare const CreateDropdown: ComponentType<CreateDropdownProps>;
255
255
  /**
256
256
  * Profile Dropdown
257
257
  *
258
258
  * @public
259
259
  */
260
- declare const ProfileDropdown: React$1.ComponentType<ProfileDropdownProps>;
260
+ declare const ProfileDropdown: ComponentType<ProfileDropdownProps>;
261
261
  /**
262
262
  * Software Templates List
263
263
  *
264
264
  * @public
265
265
  */
266
- declare const SoftwareTemplatesSection: React$1.ComponentType<SoftwareTemplatesSectionProps>;
266
+ declare const SoftwareTemplatesSection: ComponentType<SoftwareTemplatesSectionProps>;
267
267
  /**
268
268
  * Register A Component Link
269
269
  *
270
270
  * @public
271
271
  */
272
- declare const RegisterAComponentSection: React$1.ComponentType<RegisterAComponentSectionProps>;
272
+ declare const RegisterAComponentSection: ComponentType<RegisterAComponentSectionProps>;
273
273
  /**
274
274
  * Header Link
275
275
  *
276
276
  * @public
277
277
  */
278
- declare const MenuItemLink: React$1.ComponentType<MenuItemLinkProps>;
278
+ declare const MenuItemLink: ComponentType<MenuItemLinkProps>;
279
279
  /**
280
280
  * Header Logout Button
281
281
  *
282
282
  * @public
283
283
  */
284
- declare const LogoutButton: React$1.ComponentType;
284
+ declare const LogoutButton: ComponentType;
285
285
  /**
286
- * Spacer component that allow users to add a flexibel spacing between components.
286
+ * Spacer component that allow users to add a flexible spacing between components.
287
287
  *
288
288
  * Supports two props: `growFactor` with default 1 and `minWidth` width default 8 pixels.
289
289
  *
290
290
  * @public
291
291
  */
292
- declare const Spacer: ({ growFactor, minWidth, layout, }: SpacerProps) => React$1.JSX.Element;
292
+ declare const Spacer: ({ growFactor, minWidth, layout, }: SpacerProps) => react_jsx_runtime.JSX.Element;
293
293
  /**
294
294
  * @public
295
295
  */
296
- declare const Divider: ({ layout }: DividerProps) => React$1.JSX.Element;
296
+ declare const Divider: ({ layout }: DividerProps) => react_jsx_runtime.JSX.Element;
297
297
  /**
298
298
  * @public
299
299
  */
300
- declare const SupportButton: ({ title, tooltip, color, size, to, layout, }: SupportButtonProps) => React$1.JSX.Element | null;
300
+ declare const SupportButton: ({ title, tooltip, color, size, to, layout, }: SupportButtonProps) => react_jsx_runtime.JSX.Element | null;
301
301
  /**
302
302
  * @public
303
303
  */
304
- declare const NotificationButton: ({ title, tooltip, color, size, badgeColor, to, layout, }: NotificationButtonProps) => React$1.JSX.Element | null;
304
+ declare const NotificationButton: ({ title, tooltip, color, size, badgeColor, to, layout, }: NotificationButtonProps) => react_jsx_runtime.JSX.Element | null;
305
305
  /**
306
306
  * NotificationBanner
307
307
  *
308
308
  * @public
309
309
  */
310
- declare const NotificationBanner: (props: NotificationBannerProps) => React$1.JSX.Element | null;
310
+ declare const NotificationBanner: (props: NotificationBannerProps) => react_jsx_runtime.JSX.Element | null;
311
311
  /**
312
312
  * Starred Dropdown
313
313
  *
314
314
  * @public
315
315
  */
316
- declare const StarredDropdown: () => React$1.JSX.Element;
316
+ declare const StarredDropdown: () => react_jsx_runtime.JSX.Element;
317
317
  /**
318
318
  * Application Launcher Dropdown
319
319
  *
320
320
  * @public
321
321
  */
322
- declare const ApplicationLauncherDropdown: () => React$1.JSX.Element;
322
+ declare const ApplicationLauncherDropdown: () => react_jsx_runtime.JSX.Element;
323
323
  /**
324
324
  * Company Logo
325
325
  *
326
326
  * @public
327
327
  */
328
- declare const CompanyLogo: ({ logo, to }: CompanyLogoProps) => React$1.JSX.Element;
328
+ declare const CompanyLogo: ({ logo, to }: CompanyLogoProps) => react_jsx_runtime.JSX.Element;
329
329
 
330
330
  export { ApplicationLauncherDropdown, CompanyLogo, type CompanyLogoProps, CreateDropdown, type CreateDropdownProps, Divider, type DividerProps, GlobalHeader, GlobalHeaderComponent, type GlobalHeaderComponentMountPoint, type GlobalHeaderComponentMountPointConfig, type GlobalHeaderComponentProps, HeaderButton, type HeaderButtonProps, HeaderIcon, HeaderIconButton, type HeaderIconButtonProps, type HeaderIconProps, LogoutButton, type MenuItemConfig, MenuItemLink, type MenuItemLinkProps, NotificationBanner, type NotificationBannerDismiss, type NotificationBannerProps, NotificationButton, type NotificationButtonProps, ProfileDropdown, type ProfileDropdownProps, RegisterAComponentSection, type RegisterAComponentSectionProps, SearchComponent, SoftwareTemplatesSection, type SoftwareTemplatesSectionProps, Spacer, type SpacerProps, StarredDropdown, SupportButton, type SupportButtonProps, defaultGlobalHeaderComponentsMountPoints, globalHeaderPlugin };
@@ -1,11 +1,12 @@
1
1
  import { createPlugin, createComponentExtension } from '@backstage/core-plugin-api';
2
- import 'react';
2
+ import 'react/jsx-runtime';
3
3
  import '@mui/material/MenuItem';
4
4
  import '@mui/material/Typography';
5
5
  import '@mui/material/Box';
6
6
  import '@mui/material/Icon';
7
7
  import '@mui/material/styles';
8
8
  import '@mui/icons-material/Launch';
9
+ import 'react';
9
10
  import '@mui/icons-material/ArrowDropDownOutlined';
10
11
  import '@scalprum/react-core';
11
12
  import '@mui/material/Menu';
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.ts"],"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 {\n createPlugin,\n createComponentExtension,\n} from '@backstage/core-plugin-api';\n\nimport { GlobalHeaderComponentProps } from './components/GlobalHeaderComponent';\nimport { MenuItemLinkProps } from './components/MenuItemLink/MenuItemLink';\nimport { SoftwareTemplatesSectionProps } from './components/HeaderDropdownComponent/SoftwareTemplatesSection';\nimport { RegisterAComponentSectionProps } from './components/HeaderDropdownComponent/RegisterAComponentSection';\nimport { CreateDropdownProps } from './components/HeaderDropdownComponent/CreateDropdown';\nimport { ProfileDropdownProps } from './components/HeaderDropdownComponent/ProfileDropdown';\n\nexport type { GlobalHeaderComponentProps } from './components/GlobalHeaderComponent';\n\nexport type { HeaderButtonProps } from './components/HeaderButton/HeaderButton';\nexport type { HeaderIconProps } from './components/HeaderIcon/HeaderIcon';\nexport type { HeaderIconButtonProps } from './components/HeaderIconButton/HeaderIconButton';\nexport type { CreateDropdownProps } from './components/HeaderDropdownComponent/CreateDropdown';\nexport type { ProfileDropdownProps } from './components/HeaderDropdownComponent/ProfileDropdown';\n\nexport type { MenuItemLinkProps } from './components/MenuItemLink/MenuItemLink';\nexport type { MenuItemConfig } from './components/HeaderDropdownComponent/MenuSection';\nexport type { SoftwareTemplatesSectionProps } from './components/HeaderDropdownComponent/SoftwareTemplatesSection';\nexport type { RegisterAComponentSectionProps } from './components/HeaderDropdownComponent/RegisterAComponentSection';\nexport type { DividerProps } from './components/Divider/Divider';\nexport type { SpacerProps } from './components/Spacer/Spacer';\nexport type { SupportButtonProps } from './components/SupportButton/SupportButton';\nexport type { NotificationButtonProps } from './components/NotificationButton/NotificationButton';\nexport type { CompanyLogoProps } from './components/CompanyLogo/CompanyLogo';\n\nexport type {\n NotificationBannerProps,\n NotificationBannerDismiss,\n} from './components/NotificationBanner';\n\nexport type {\n GlobalHeaderComponentMountPoint,\n GlobalHeaderComponentMountPointConfig,\n} from './types';\n\nexport { defaultGlobalHeaderComponentsMountPoints } from './defaultMountPoints/defaultMountPoints';\n\n/**\n * Global Header Plugin\n *\n * @public\n */\nexport const globalHeaderPlugin = createPlugin({\n id: 'global-header',\n});\n\n/**\n * Global Header\n *\n * @public\n */\nexport const GlobalHeader = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'GlobalHeader',\n component: {\n lazy: () => import('./components/GlobalHeader').then(m => m.GlobalHeader),\n },\n }),\n);\n\n/**\n * Global Header Component\n *\n * @public\n */\nexport const GlobalHeaderComponent: React.ComponentType<GlobalHeaderComponentProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'GlobalHeaderComponent',\n component: {\n lazy: () =>\n import('./components/GlobalHeaderComponent').then(\n m => m.GlobalHeaderComponent,\n ),\n },\n }),\n );\n\n/**\n * @public\n */\nexport const HeaderButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'HeaderButton',\n component: {\n lazy: () =>\n import('./components/HeaderButton/HeaderButton').then(\n m => m.HeaderButton,\n ),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const HeaderIcon = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'HeaderIcon',\n component: {\n lazy: () =>\n import('./components/HeaderIcon/HeaderIcon').then(m => m.HeaderIcon),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const HeaderIconButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'HeaderIconButton',\n component: {\n lazy: () =>\n import('./components/HeaderIconButton/HeaderIconButton').then(\n m => m.HeaderIconButton,\n ),\n },\n }),\n);\n\n/**\n * Search Component\n *\n * @public\n */\nexport const SearchComponent: React.ComponentType = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'SearchComponent',\n component: {\n lazy: () =>\n import('./components/SearchComponent/SearchComponent').then(\n m => m.SearchComponent,\n ),\n },\n }),\n);\n\n/**\n * Create Dropdown\n *\n * @public\n */\nexport const CreateDropdown: React.ComponentType<CreateDropdownProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'CreateDropdown',\n component: {\n lazy: () =>\n import('./components/HeaderDropdownComponent/CreateDropdown').then(\n m => m.CreateDropdown,\n ),\n },\n }),\n );\n\n/**\n * Profile Dropdown\n *\n * @public\n */\nexport const ProfileDropdown: React.ComponentType<ProfileDropdownProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'ProfileDropdown',\n component: {\n lazy: () =>\n import('./components/HeaderDropdownComponent/ProfileDropdown').then(\n m => m.ProfileDropdown,\n ),\n },\n }),\n );\n\n/**\n * Software Templates List\n *\n * @public\n */\nexport const SoftwareTemplatesSection: React.ComponentType<SoftwareTemplatesSectionProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'SoftwareTemplatesSection',\n component: {\n lazy: () =>\n import(\n './components/HeaderDropdownComponent/SoftwareTemplatesSection'\n ).then(m => m.SoftwareTemplatesSection),\n },\n }),\n );\n\n/**\n * Register A Component Link\n *\n * @public\n */\nexport const RegisterAComponentSection: React.ComponentType<RegisterAComponentSectionProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'RegisterAComponentSection',\n component: {\n lazy: () =>\n import(\n './components/HeaderDropdownComponent/RegisterAComponentSection'\n ).then(m => m.RegisterAComponentSection),\n },\n }),\n );\n\n/**\n * Header Link\n *\n * @public\n */\nexport const MenuItemLink: React.ComponentType<MenuItemLinkProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'MenuItemLink',\n component: {\n lazy: () =>\n import('./components/MenuItemLink/MenuItemLink').then(\n m => m.MenuItemLink,\n ),\n },\n }),\n );\n\n/**\n * Header Logout Button\n *\n * @public\n */\nexport const LogoutButton: React.ComponentType = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'LogoutButton',\n component: {\n lazy: () =>\n import('./components/LogoutButton/LogoutButton').then(\n m => m.LogoutButton,\n ),\n },\n }),\n);\n\n/**\n * Spacer component that allow users to add a flexibel spacing between components.\n *\n * Supports two props: `growFactor` with default 1 and `minWidth` width default 8 pixels.\n *\n * @public\n */\nexport const Spacer = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'Spacer',\n component: {\n lazy: () => import('./components/Spacer/Spacer').then(m => m.Spacer),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const Divider = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'Divider',\n component: {\n lazy: () => import('./components/Divider/Divider').then(m => m.Divider),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const SupportButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'SupportButton',\n component: {\n lazy: () =>\n import('./components/SupportButton/SupportButton').then(\n m => m.SupportButton,\n ),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const NotificationButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'NotificationButton',\n component: {\n lazy: () =>\n import('./components/NotificationButton/NotificationButton').then(\n m => m.NotificationButton,\n ),\n },\n }),\n);\n\n/**\n * NotificationBanner\n *\n * @public\n */\nexport const NotificationBanner = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'NotificationBanner',\n component: {\n lazy: () =>\n import('./components/NotificationBanner').then(\n m => m.NotificationBanner,\n ),\n },\n }),\n);\n\n/**\n * Starred Dropdown\n *\n * @public\n */\nexport const StarredDropdown = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'StarredDropdown',\n component: {\n lazy: () =>\n import('./components/HeaderDropdownComponent/StarredDropdown').then(\n m => m.StarredDropdown,\n ),\n },\n }),\n);\n\n/**\n * Application Launcher Dropdown\n *\n * @public\n */\nexport const ApplicationLauncherDropdown = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'ApplicationLauncherDropdown',\n component: {\n lazy: () =>\n import(\n './components/HeaderDropdownComponent/ApplicationLauncherDropdown'\n ).then(m => m.ApplicationLauncherDropdown),\n },\n }),\n);\n\n/**\n * Company Logo\n *\n * @public\n */\nexport const CompanyLogo = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'CompanyLogo',\n component: {\n lazy: () =>\n import('./components/CompanyLogo/CompanyLogo').then(m => m.CompanyLogo),\n },\n }),\n);\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEO,MAAM,qBAAqB,YAAa,CAAA;AAAA,EAC7C,EAAI,EAAA;AACN,CAAC;AAOM,MAAM,eAAe,kBAAmB,CAAA,OAAA;AAAA,EAC7C,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,cAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM,MAAM,OAAO,kCAA2B,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,YAAY;AAAA;AAC1E,GACD;AACH;AAOO,MAAM,wBACX,kBAAmB,CAAA,OAAA;AAAA,EACjB,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,uBAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAM,EAAA,MACJ,OAAO,2CAAoC,CAAE,CAAA,IAAA;AAAA,QAC3C,OAAK,CAAE,CAAA;AAAA;AACT;AACJ,GACD;AACH;AAKK,MAAM,eAAe,kBAAmB,CAAA,OAAA;AAAA,EAC7C,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,cAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAM,EAAA,MACJ,OAAO,+CAAwC,CAAE,CAAA,IAAA;AAAA,QAC/C,OAAK,CAAE,CAAA;AAAA;AACT;AACJ,GACD;AACH;AAKO,MAAM,aAAa,kBAAmB,CAAA,OAAA;AAAA,EAC3C,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,YAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM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AAyB,CAAA;AAAA,IACvB,IAAM,EAAA,aAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM,MACJ,OAAO,6CAAsC,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,WAAW;AAAA;AAC1E,GACD;AACH;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../src/plugin.ts"],"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 { ComponentType } from 'react';\n\nimport {\n createPlugin,\n createComponentExtension,\n} from '@backstage/core-plugin-api';\n\nimport { GlobalHeaderComponentProps } from './components/GlobalHeaderComponent';\nimport { MenuItemLinkProps } from './components/MenuItemLink/MenuItemLink';\nimport { SoftwareTemplatesSectionProps } from './components/HeaderDropdownComponent/SoftwareTemplatesSection';\nimport { RegisterAComponentSectionProps } from './components/HeaderDropdownComponent/RegisterAComponentSection';\nimport { CreateDropdownProps } from './components/HeaderDropdownComponent/CreateDropdown';\nimport { ProfileDropdownProps } from './components/HeaderDropdownComponent/ProfileDropdown';\n\nexport type { GlobalHeaderComponentProps } from './components/GlobalHeaderComponent';\n\nexport type { HeaderButtonProps } from './components/HeaderButton/HeaderButton';\nexport type { HeaderIconProps } from './components/HeaderIcon/HeaderIcon';\nexport type { HeaderIconButtonProps } from './components/HeaderIconButton/HeaderIconButton';\nexport type { CreateDropdownProps } from './components/HeaderDropdownComponent/CreateDropdown';\nexport type { ProfileDropdownProps } from './components/HeaderDropdownComponent/ProfileDropdown';\n\nexport type { MenuItemLinkProps } from './components/MenuItemLink/MenuItemLink';\nexport type { MenuItemConfig } from './components/HeaderDropdownComponent/MenuSection';\nexport type { SoftwareTemplatesSectionProps } from './components/HeaderDropdownComponent/SoftwareTemplatesSection';\nexport type { RegisterAComponentSectionProps } from './components/HeaderDropdownComponent/RegisterAComponentSection';\nexport type { DividerProps } from './components/Divider/Divider';\nexport type { SpacerProps } from './components/Spacer/Spacer';\nexport type { SupportButtonProps } from './components/SupportButton/SupportButton';\nexport type { NotificationButtonProps } from './components/NotificationButton/NotificationButton';\nexport type { CompanyLogoProps } from './components/CompanyLogo/CompanyLogo';\n\nexport type {\n NotificationBannerProps,\n NotificationBannerDismiss,\n} from './components/NotificationBanner';\n\nexport type {\n GlobalHeaderComponentMountPoint,\n GlobalHeaderComponentMountPointConfig,\n} from './types';\n\nexport { defaultGlobalHeaderComponentsMountPoints } from './defaultMountPoints/defaultMountPoints';\n\n/**\n * Global Header Plugin\n *\n * @public\n */\nexport const globalHeaderPlugin = createPlugin({\n id: 'global-header',\n});\n\n/**\n * Global Header\n *\n * @public\n */\nexport const GlobalHeader = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'GlobalHeader',\n component: {\n lazy: () => import('./components/GlobalHeader').then(m => m.GlobalHeader),\n },\n }),\n);\n\n/**\n * Global Header Component\n *\n * @public\n */\nexport const GlobalHeaderComponent: ComponentType<GlobalHeaderComponentProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'GlobalHeaderComponent',\n component: {\n lazy: () =>\n import('./components/GlobalHeaderComponent').then(\n m => m.GlobalHeaderComponent,\n ),\n },\n }),\n );\n\n/**\n * @public\n */\nexport const HeaderButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'HeaderButton',\n component: {\n lazy: () =>\n import('./components/HeaderButton/HeaderButton').then(\n m => m.HeaderButton,\n ),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const HeaderIcon = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'HeaderIcon',\n component: {\n lazy: () =>\n import('./components/HeaderIcon/HeaderIcon').then(m => m.HeaderIcon),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const HeaderIconButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'HeaderIconButton',\n component: {\n lazy: () =>\n import('./components/HeaderIconButton/HeaderIconButton').then(\n m => m.HeaderIconButton,\n ),\n },\n }),\n);\n\n/**\n * Search Component\n *\n * @public\n */\nexport const SearchComponent: ComponentType = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'SearchComponent',\n component: {\n lazy: () =>\n import('./components/SearchComponent/SearchComponent').then(\n m => m.SearchComponent,\n ),\n },\n }),\n);\n\n/**\n * Create Dropdown\n *\n * @public\n */\nexport const CreateDropdown: ComponentType<CreateDropdownProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'CreateDropdown',\n component: {\n lazy: () =>\n import('./components/HeaderDropdownComponent/CreateDropdown').then(\n m => m.CreateDropdown,\n ),\n },\n }),\n );\n\n/**\n * Profile Dropdown\n *\n * @public\n */\nexport const ProfileDropdown: ComponentType<ProfileDropdownProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'ProfileDropdown',\n component: {\n lazy: () =>\n import('./components/HeaderDropdownComponent/ProfileDropdown').then(\n m => m.ProfileDropdown,\n ),\n },\n }),\n );\n\n/**\n * Software Templates List\n *\n * @public\n */\nexport const SoftwareTemplatesSection: ComponentType<SoftwareTemplatesSectionProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'SoftwareTemplatesSection',\n component: {\n lazy: () =>\n import(\n './components/HeaderDropdownComponent/SoftwareTemplatesSection'\n ).then(m => m.SoftwareTemplatesSection),\n },\n }),\n );\n\n/**\n * Register A Component Link\n *\n * @public\n */\nexport const RegisterAComponentSection: ComponentType<RegisterAComponentSectionProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'RegisterAComponentSection',\n component: {\n lazy: () =>\n import(\n './components/HeaderDropdownComponent/RegisterAComponentSection'\n ).then(m => m.RegisterAComponentSection),\n },\n }),\n );\n\n/**\n * Header Link\n *\n * @public\n */\nexport const MenuItemLink: ComponentType<MenuItemLinkProps> =\n globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'MenuItemLink',\n component: {\n lazy: () =>\n import('./components/MenuItemLink/MenuItemLink').then(\n m => m.MenuItemLink,\n ),\n },\n }),\n );\n\n/**\n * Header Logout Button\n *\n * @public\n */\nexport const LogoutButton: ComponentType = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'LogoutButton',\n component: {\n lazy: () =>\n import('./components/LogoutButton/LogoutButton').then(\n m => m.LogoutButton,\n ),\n },\n }),\n);\n\n/**\n * Spacer component that allow users to add a flexible spacing between components.\n *\n * Supports two props: `growFactor` with default 1 and `minWidth` width default 8 pixels.\n *\n * @public\n */\nexport const Spacer = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'Spacer',\n component: {\n lazy: () => import('./components/Spacer/Spacer').then(m => m.Spacer),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const Divider = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'Divider',\n component: {\n lazy: () => import('./components/Divider/Divider').then(m => m.Divider),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const SupportButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'SupportButton',\n component: {\n lazy: () =>\n import('./components/SupportButton/SupportButton').then(\n m => m.SupportButton,\n ),\n },\n }),\n);\n\n/**\n * @public\n */\nexport const NotificationButton = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'NotificationButton',\n component: {\n lazy: () =>\n import('./components/NotificationButton/NotificationButton').then(\n m => m.NotificationButton,\n ),\n },\n }),\n);\n\n/**\n * NotificationBanner\n *\n * @public\n */\nexport const NotificationBanner = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'NotificationBanner',\n component: {\n lazy: () =>\n import('./components/NotificationBanner').then(\n m => m.NotificationBanner,\n ),\n },\n }),\n);\n\n/**\n * Starred Dropdown\n *\n * @public\n */\nexport const StarredDropdown = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'StarredDropdown',\n component: {\n lazy: () =>\n import('./components/HeaderDropdownComponent/StarredDropdown').then(\n m => m.StarredDropdown,\n ),\n },\n }),\n);\n\n/**\n * Application Launcher Dropdown\n *\n * @public\n */\nexport const ApplicationLauncherDropdown = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'ApplicationLauncherDropdown',\n component: {\n lazy: () =>\n import(\n './components/HeaderDropdownComponent/ApplicationLauncherDropdown'\n ).then(m => m.ApplicationLauncherDropdown),\n },\n }),\n);\n\n/**\n * Company Logo\n *\n * @public\n */\nexport const CompanyLogo = globalHeaderPlugin.provide(\n createComponentExtension({\n name: 'CompanyLogo',\n component: {\n lazy: () =>\n import('./components/CompanyLogo/CompanyLogo').then(m => m.CompanyLogo),\n },\n }),\n);\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEO,MAAM,qBAAqB,YAAa,CAAA;AAAA,EAC7C,EAAI,EAAA;AACN,CAAC;AAOM,MAAM,eAAe,kBAAmB,CAAA,OAAA;AAAA,EAC7C,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,cAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM,MAAM,OAAO,kCAA2B,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,YAAY;AAAA;AAC1E,GACD;AACH;AAOO,MAAM,wBACX,kBAAmB,CAAA,OAAA;AAAA,EACjB,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,uBAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAM,EAAA,MACJ,OAAO,2CAAoC,CAAE,CAAA,IAAA;AAAA,QAC3C,OAAK,CAAE,CAAA;AAAA;AACT;AACJ,GACD;AACH;AAKK,MAAM,eAAe,kBAAmB,CAAA,OAAA;AAAA,EAC7C,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,cAAA;AAAA,IACN,SAAW,EAAA;AAAA,M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OAAA;AAAA,EAC5D,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,6BAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM,MACJ,OACE,yEACF,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,2BAA2B;AAAA;AAC7C,GACD;AACH;AAOO,MAAM,cAAc,kBAAmB,CAAA,OAAA;AAAA,EAC5C,wBAAyB,CAAA;AAAA,IACvB,IAAM,EAAA,aAAA;AAAA,IACN,SAAW,EAAA;AAAA,MACT,IAAA,EAAM,MACJ,OAAO,6CAAsC,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,WAAW;AAAA;AAC1E,GACD;AACH;;;;"}
@@ -1,31 +1,31 @@
1
- import React from 'react';
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
2
  import Typography from '@mui/material/Typography';
3
3
 
4
4
  const highlightMatch = (text, query) => {
5
- if (!query) return /* @__PURE__ */ React.createElement(React.Fragment, null, text);
5
+ if (!query) return /* @__PURE__ */ jsx(Fragment, { children: text });
6
6
  const escapeRegex = (input) => input.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
7
7
  const escapedQuery = escapeRegex(query);
8
8
  const regex = new RegExp(`(${escapedQuery})`, "i");
9
9
  const parts = text.split(regex);
10
- return /* @__PURE__ */ React.createElement(React.Fragment, null, parts.map(
11
- (part, index) => regex.test(part) ? /* @__PURE__ */ React.createElement(
10
+ return /* @__PURE__ */ jsx(Fragment, { children: parts.map(
11
+ (part, index) => regex.test(part) ? /* @__PURE__ */ jsx(
12
12
  Typography,
13
13
  {
14
- key: `${part}-${index}`,
15
14
  component: "span",
16
- sx: { fontWeight: "normal" }
15
+ sx: { fontWeight: "normal" },
16
+ children: part
17
17
  },
18
- part
19
- ) : /* @__PURE__ */ React.createElement(
18
+ `${part}-${index}`
19
+ ) : /* @__PURE__ */ jsx(
20
20
  Typography,
21
21
  {
22
- key: `${part}-${index}`,
23
22
  component: "span",
24
- sx: { fontWeight: "bold" }
23
+ sx: { fontWeight: "bold" },
24
+ children: part
25
25
  },
26
- part
26
+ `${part}-${index}`
27
27
  )
28
- ));
28
+ ) });
29
29
  };
30
30
  const createSearchLink = (searchTerm) => {
31
31
  return `/search?query=${encodeURIComponent(searchTerm)}`;
@@ -1 +1 @@
1
- {"version":3,"file":"stringUtils.esm.js","sources":["../../src/utils/stringUtils.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 Typography from '@mui/material/Typography';\n\n/**\n * Highlights the substring that matches the query term.\n * @param text The full text to render.\n * @param query The query term to highlight.\n * @returns JSX.Element with highlighted matching substring.\n */\nexport const highlightMatch = (text: string, query: string) => {\n if (!query) return <>{text}</>;\n\n const escapeRegex = (input: string) =>\n input.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n const escapedQuery = escapeRegex(query);\n\n const regex = new RegExp(`(${escapedQuery})`, 'i');\n const parts = text.split(regex);\n\n return (\n <>\n {parts.map((part, index) =>\n regex.test(part) ? (\n <Typography\n key={`${part}-${index}`}\n component=\"span\"\n sx={{ fontWeight: 'normal' }}\n >\n {part}\n </Typography>\n ) : (\n <Typography\n key={`${part}-${index}`}\n component=\"span\"\n sx={{ fontWeight: 'bold' }}\n >\n {part}\n </Typography>\n ),\n )}\n </>\n );\n};\n\nexport const createSearchLink = (searchTerm: string) => {\n return `/search?query=${encodeURIComponent(searchTerm)}`;\n};\n"],"names":[],"mappings":";;;AAyBa,MAAA,cAAA,GAAiB,CAAC,IAAA,EAAc,KAAkB,KAAA;AAC7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/*\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 Typography from '@mui/material/Typography';\n\n/**\n * Highlights the substring that matches the query term.\n * @param text The full text to render.\n * @param query The query term to highlight.\n * @returns JSX.Element with highlighted matching substring.\n */\nexport const highlightMatch = (text: string, query: string) => {\n if (!query) return <>{text}</>;\n\n const escapeRegex = (input: string) =>\n input.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n const escapedQuery = escapeRegex(query);\n\n const regex = new RegExp(`(${escapedQuery})`, 'i');\n const parts = text.split(regex);\n\n return (\n <>\n {parts.map((part, index) =>\n regex.test(part) ? (\n <Typography\n key={`${part}-${index}`}\n component=\"span\"\n sx={{ fontWeight: 'normal' }}\n >\n {part}\n </Typography>\n ) : (\n <Typography\n key={`${part}-${index}`}\n component=\"span\"\n sx={{ fontWeight: 'bold' }}\n >\n {part}\n </Typography>\n ),\n )}\n </>\n );\n};\n\nexport const createSearchLink = (searchTerm: string) => {\n return `/search?query=${encodeURIComponent(searchTerm)}`;\n};\n"],"names":[],"mappings":";;;AAwBa,MAAA,cAAA,GAAiB,CAAC,IAAA,EAAc,KAAkB,KAAA;AAC7D,EAAA,IAAI,CAAC,KAAA,EAAc,uBAAA,GAAA,CAAA,QAAA,EAAA,EAAG,QAAK,EAAA,IAAA,EAAA,CAAA;AAE3B,EAAA,MAAM,cAAc,CAAC,KAAA,KACnB,KAAM,CAAA,OAAA,CAAQ,uBAAuB,MAAM,CAAA;AAC7C,EAAM,MAAA,YAAA,GAAe,YAAY,KAAK,CAAA;AAEtC,EAAA,MAAM,QAAQ,IAAI,MAAA,CAAO,CAAI,CAAA,EAAA,YAAY,KAAK,GAAG,CAAA;AACjD,EAAM,MAAA,KAAA,GAAQ,IAAK,CAAA,KAAA,CAAM,KAAK,CAAA;AAE9B,EAAA,uCAEK,QAAM,EAAA,KAAA,CAAA,GAAA;AAAA,IAAI,CAAC,IAAM,EAAA,KAAA,KAChB,KAAM,CAAA,IAAA,CAAK,IAAI,CACb,mBAAA,GAAA;AAAA,MAAC,UAAA;AAAA,MAAA;AAAA,QAEC,SAAU,EAAA,MAAA;AAAA,QACV,EAAA,EAAI,EAAE,UAAA,EAAY,QAAS,EAAA;AAAA,QAE1B,QAAA,EAAA;AAAA,OAAA;AAAA,MAJI,CAAA,EAAG,IAAI,CAAA,CAAA,EAAI,KAAK,CAAA;AAAA,KAOvB,mBAAA,GAAA;AAAA,MAAC,UAAA;AAAA,MAAA;AAAA,QAEC,SAAU,EAAA,MAAA;AAAA,QACV,EAAA,EAAI,EAAE,UAAA,EAAY,MAAO,EAAA;AAAA,QAExB,QAAA,EAAA;AAAA,OAAA;AAAA,MAJI,CAAA,EAAG,IAAI,CAAA,CAAA,EAAI,KAAK,CAAA;AAAA;AAKvB,GAGN,EAAA,CAAA;AAEJ;AAEa,MAAA,gBAAA,GAAmB,CAAC,UAAuB,KAAA;AACtD,EAAO,OAAA,CAAA,cAAA,EAAiB,kBAAmB,CAAA,UAAU,CAAC,CAAA,CAAA;AACxD;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-global-header",
3
- "version": "1.8.0",
3
+ "version": "1.10.1",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -33,22 +33,22 @@
33
33
  "postpack": "backstage-cli package postpack"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/catalog-model": "^1.7.3",
37
- "@backstage/core-components": "^0.16.4",
38
- "@backstage/core-plugin-api": "^1.10.4",
39
- "@backstage/plugin-catalog-react": "^1.15.2",
40
- "@backstage/plugin-notifications": "^0.5.2",
36
+ "@backstage/catalog-model": "^1.7.4",
37
+ "@backstage/core-components": "^0.17.2",
38
+ "@backstage/core-plugin-api": "^1.10.7",
39
+ "@backstage/plugin-catalog-react": "^1.18.0",
40
+ "@backstage/plugin-notifications": "^0.5.5",
41
41
  "@backstage/plugin-notifications-common": "^0.0.8",
42
- "@backstage/plugin-search": "^1.4.23",
43
- "@backstage/plugin-search-backend": "^1.8.2",
44
- "@backstage/plugin-search-backend-module-catalog": "^0.3.1",
45
- "@backstage/plugin-search-backend-module-pg": "^0.5.41",
46
- "@backstage/plugin-search-backend-module-techdocs": "^0.3.6",
47
- "@backstage/plugin-search-common": "^1.2.17",
48
- "@backstage/plugin-search-react": "^1.8.6",
49
- "@backstage/plugin-signals-react": "^0.0.10",
50
- "@backstage/plugin-user-settings": "^0.8.19",
51
- "@backstage/theme": "^0.6.4",
42
+ "@backstage/plugin-search": "^1.4.26",
43
+ "@backstage/plugin-search-backend": "^2.0.2",
44
+ "@backstage/plugin-search-backend-module-catalog": "^0.3.4",
45
+ "@backstage/plugin-search-backend-module-pg": "^0.5.44",
46
+ "@backstage/plugin-search-backend-module-techdocs": "^0.4.2",
47
+ "@backstage/plugin-search-common": "^1.2.18",
48
+ "@backstage/plugin-search-react": "^1.9.0",
49
+ "@backstage/plugin-signals-react": "^0.0.13",
50
+ "@backstage/plugin-user-settings": "^0.8.22",
51
+ "@backstage/theme": "^0.6.6",
52
52
  "@mui/icons-material": "5.17.1",
53
53
  "@mui/material": "5.17.1",
54
54
  "@mui/styled-engine": "5.16.14",
@@ -60,15 +60,15 @@
60
60
  "react-router-dom": "^6.0.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@backstage/cli": "^0.30.0",
63
+ "@backstage/cli": "^0.32.1",
64
64
  "@backstage/config": "^1.3.2",
65
- "@backstage/core-app-api": "^1.15.5",
66
- "@backstage/dev-utils": "^1.1.7",
67
- "@backstage/frontend-test-utils": "^0.2.6",
68
- "@backstage/plugin-search-common": "^1.2.17",
69
- "@backstage/test-utils": "^1.7.5",
65
+ "@backstage/core-app-api": "^1.17.0",
66
+ "@backstage/dev-utils": "^1.1.10",
67
+ "@backstage/frontend-test-utils": "^0.3.2",
68
+ "@backstage/plugin-search-common": "^1.2.18",
69
+ "@backstage/test-utils": "^1.7.8",
70
70
  "@openshift/dynamic-plugin-sdk": "^5.0.1",
71
- "@red-hat-developer-hub/backstage-plugin-theme": "^0.8.1",
71
+ "@red-hat-developer-hub/backstage-plugin-theme": "^0.9.0",
72
72
  "@testing-library/jest-dom": "^6.0.0",
73
73
  "@testing-library/react": "^14.0.0",
74
74
  "@testing-library/user-event": "^14.0.0",
@@ -90,8 +90,8 @@
90
90
  "configSchema": "config.d.ts",
91
91
  "typesVersions": {
92
92
  "*": {
93
- "index": [
94
- "dist/index.d.ts"
93
+ "package.json": [
94
+ "package.json"
95
95
  ]
96
96
  }
97
97
  },