@drodil/backstage-plugin-qeta-react 3.0.1 → 3.1.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 (29) hide show
  1. package/dist/components/AnswerCard/AnswerCard.esm.js +1 -1
  2. package/dist/components/AnswerCard/AnswerCard.esm.js.map +1 -1
  3. package/dist/components/ArticleContent/ArticleButtons.esm.js +18 -15
  4. package/dist/components/ArticleContent/ArticleButtons.esm.js.map +1 -1
  5. package/dist/components/ArticleContent/ArticleContent.esm.js +32 -27
  6. package/dist/components/ArticleContent/ArticleContent.esm.js.map +1 -1
  7. package/dist/components/Buttons/VoteButtons.esm.js +2 -1
  8. package/dist/components/Buttons/VoteButtons.esm.js.map +1 -1
  9. package/dist/components/CommentSection/CommentList.esm.js +2 -9
  10. package/dist/components/CommentSection/CommentList.esm.js.map +1 -1
  11. package/dist/components/LeftMenu/LeftMenu.esm.js +128 -0
  12. package/dist/components/LeftMenu/LeftMenu.esm.js.map +1 -0
  13. package/dist/components/LeftMenu/LeftMenuButton.esm.js +75 -0
  14. package/dist/components/LeftMenu/LeftMenuButton.esm.js.map +1 -0
  15. package/dist/components/MarkdownEditor/MarkdownEditor.esm.js +64 -3
  16. package/dist/components/MarkdownEditor/MarkdownEditor.esm.js.map +1 -1
  17. package/dist/components/MarkdownRenderer/MarkdownRenderer.esm.js.map +1 -1
  18. package/dist/components/PostsContainer/PostListItem.esm.js +1 -2
  19. package/dist/components/PostsContainer/PostListItem.esm.js.map +1 -1
  20. package/dist/components/QuestionCard/QuestionCard.esm.js +1 -7
  21. package/dist/components/QuestionCard/QuestionCard.esm.js.map +1 -1
  22. package/dist/components/StatsChart/StatsChart.esm.js +125 -92
  23. package/dist/components/StatsChart/StatsChart.esm.js.map +1 -1
  24. package/dist/index.d.ts +37 -3
  25. package/dist/index.esm.js +2 -0
  26. package/dist/index.esm.js.map +1 -1
  27. package/dist/utils/hooks.esm.js +151 -220
  28. package/dist/utils/hooks.esm.js.map +1 -1
  29. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -7,6 +7,8 @@ import * as react_use_lib_useAsyncFn from 'react-use/lib/useAsyncFn';
7
7
  import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
8
8
  import { LinkProps } from '@backstage/core-components';
9
9
  import { SvgIconProps } from '@material-ui/core';
10
+ import { Overrides } from '@material-ui/core/styles/overrides';
11
+ import { StyleRules } from '@material-ui/core/styles/withStyles';
10
12
 
11
13
  declare const qetaRouteRef: _backstage_core_plugin_api.RouteRef<undefined>;
12
14
  declare const askRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
@@ -371,7 +373,7 @@ declare function useQetaApi<T>(f: (api: QetaApi) => Promise<T>, deps?: any[]): {
371
373
  value: T;
372
374
  };
373
375
  declare function useIdentityApi<T>(f: (api: IdentityApi) => Promise<T>, deps?: any[]): react_use_lib_useAsyncFn.AsyncState<T>;
374
- declare const useStyles: (props?: any) => _material_ui_styles.ClassNameMap<"deleteModal" | "leftMenu" | "filterPanel" | "marginLeft" | "marginRight" | "selectedMenuItem" | "nonSelectedMenuItem" | "headerImage" | "markdownEditor" | "markdownEditorError" | "markdownContent" | "successColor" | "questionDivider" | "questionCard" | "questionCardVote" | "questionCardContent" | "questionListItem" | "questionListItemStats" | "questionListItemContent" | "questionListItemAuthor" | "questionListItemAvatar" | "answerCardContent" | "questionCardAuthor" | "questionListPagination" | "postButton" | "questionsPerPageInput" | "questionsPerPage" | "postHighlightListContainer" | "postHighlightList" | "questionCardMetadata" | "questionCardActions" | "noPadding" | "menuIcon" | "authorLink" | "highlight" | "@keyframes highlight" | "dateFilter">;
376
+ declare const useStyles: (props?: any) => _material_ui_styles.ClassNameMap<"deleteModal" | "filterPanel" | "headerImage" | "marginLeft" | "marginRight" | "successColor" | "questionDivider" | "questionCard" | "questionCardVote" | "questionCardContent" | "questionListItem" | "questionListItemStats" | "questionListItemContent" | "questionListItemAuthor" | "questionListItemAvatar" | "answerCardContent" | "questionCardAuthor" | "questionListPagination" | "postButton" | "questionsPerPageInput" | "questionsPerPage" | "postHighlightListContainer" | "postHighlightList" | "questionCardMetadata" | "questionCardActions" | "noPadding" | "authorLink" | "highlight" | "@keyframes highlight" | "dateFilter">;
375
377
 
376
378
  declare const PostsContainer: (props: PaginatedPostsProps) => React.JSX.Element;
377
379
 
@@ -472,6 +474,7 @@ declare const PostHighlightList: (props: {
472
474
  postType?: PostType;
473
475
  }) => React.JSX.Element;
474
476
 
477
+ type QetaMarkdownContentClassKey = 'markdown';
475
478
  declare const MarkdownRenderer: (props: {
476
479
  content: string;
477
480
  className?: string;
@@ -537,6 +540,7 @@ declare const QuestionsTable: (props: {
537
540
  quickFilter?: QuickFilterType;
538
541
  }) => React.JSX.Element;
539
542
 
543
+ type QetaStatsChartClassKey = 'tooltipLabel' | 'tooltipWrapper' | 'xAxis' | 'lineChart' | 'barChart';
540
544
  declare const StatsChart: (props: {
541
545
  data: GlobalStat[] | UserStat[];
542
546
  }) => React.JSX.Element;
@@ -561,10 +565,11 @@ declare const UsersGrid: () => React.JSX.Element;
561
565
 
562
566
  declare const PostsGrid: (props: PaginatedPostsProps) => React.JSX.Element;
563
567
 
568
+ type QetaArticleContentClassKey = 'content' | 'headerImage' | 'commentSection';
564
569
  declare const ArticleContent: (props: {
565
570
  post: PostResponse;
566
571
  views: number;
567
- }) => React.JSX.Element | null;
572
+ }) => React.JSX.Element;
568
573
 
569
574
  type CollectionFormProps = {
570
575
  id?: string;
@@ -578,4 +583,33 @@ declare const CollectionCard: (props: {
578
583
  collection: Collection;
579
584
  }) => React.JSX.Element;
580
585
 
581
- export { AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, BackToArticlesButton, BackToCollectionsButton, BackToQuestionsButton, CollectionCard, CollectionForm, CollectionsGrid, CreateCollectionButton, DeleteModal, EntitiesGrid, EntityFollowButton, FilterPanel, FollowedEntitiesList, FollowedTagsList, ImpactCard, MarkdownRenderer, PostForm, PostHighlightList, PostList, PostListItem, PostsCard, PostsContainer, PostsGrid, QuestionCard, QuestionsTable, RelativeTimeWithTooltip, StatsChart, SummaryStatsGrid, TagFollowButton, TagsGrid, TopRankingUsers, TrophyIcon, UpdatedByLink, UserLink, UsersGrid, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, editArticleRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, qetaApiRef, qetaRouteRef, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useIdentityApi, useQetaApi, useStyles, useTranslation, userRouteRef, usersRouteRef, writeRouteRef };
586
+ type QetaLeftMenuClassKey = 'leftMenu' | 'inPopup' | 'outsidePopup' | 'selectedMenuItem' | 'nonSelectedMenuItem' | 'menuIcon';
587
+ declare const LeftMenu: (props: {
588
+ onKeyDown?: (event: React.KeyboardEvent) => void;
589
+ autoFocusItem?: boolean;
590
+ onClick?: (event: React.MouseEvent<EventTarget>) => void;
591
+ inPopup?: boolean;
592
+ }) => React.JSX.Element;
593
+
594
+ declare const LeftMenuButton: () => React.JSX.Element;
595
+
596
+ type QetaVoteButtonsClassKey = 'qetaCorrectAnswerSelected' | 'qetaCorrectAnswer' | 'voteButtonContainer';
597
+
598
+ type QetaArticleButtonsClassKey = 'container' | 'scoreText';
599
+
600
+ type QetaMarkdownEditorClassKey = 'markdownEditor' | 'markdownEditorError' | 'markdownPreview';
601
+
602
+ type QetaComponentsNameToClassKey = {
603
+ QetaLeftMenu: QetaLeftMenuClassKey;
604
+ QetaArticleButtons: QetaArticleButtonsClassKey;
605
+ QetaMarkdownContent: QetaMarkdownContentClassKey;
606
+ QetaArticle: QetaArticleContentClassKey;
607
+ QetaVoteButtons: QetaVoteButtonsClassKey;
608
+ QetaStatsChart: QetaStatsChartClassKey;
609
+ QetaMarkdownEditor: QetaMarkdownEditorClassKey;
610
+ };
611
+ type QetaOverrides = Overrides & {
612
+ [Name in keyof QetaComponentsNameToClassKey]?: Partial<StyleRules<QetaComponentsNameToClassKey[Name]>>;
613
+ };
614
+
615
+ export { AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, BackToArticlesButton, BackToCollectionsButton, BackToQuestionsButton, CollectionCard, CollectionForm, CollectionsGrid, CreateCollectionButton, DeleteModal, EntitiesGrid, EntityFollowButton, FilterPanel, FollowedEntitiesList, FollowedTagsList, ImpactCard, LeftMenu, LeftMenuButton, MarkdownRenderer, PostForm, PostHighlightList, PostList, PostListItem, PostsCard, PostsContainer, PostsGrid, type QetaLeftMenuClassKey, type QetaOverrides, QuestionCard, QuestionsTable, RelativeTimeWithTooltip, StatsChart, SummaryStatsGrid, TagFollowButton, TagsGrid, TopRankingUsers, TrophyIcon, UpdatedByLink, UserLink, UsersGrid, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, editArticleRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, qetaApiRef, qetaRouteRef, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useIdentityApi, useQetaApi, useStyles, useTranslation, userRouteRef, usersRouteRef, writeRouteRef };
package/dist/index.esm.js CHANGED
@@ -42,5 +42,7 @@ export { ArticleContent } from './components/ArticleContent/ArticleContent.esm.j
42
42
  export { CollectionForm } from './components/CollectionForm/CollectionForm.esm.js';
43
43
  export { CollectionsGrid } from './components/CollectionsGrid/CollectionsGrid.esm.js';
44
44
  export { CollectionCard } from './components/CollectionCard/CollectionCard.esm.js';
45
+ export { LeftMenu } from './components/LeftMenu/LeftMenu.esm.js';
46
+ export { LeftMenuButton } from './components/LeftMenu/LeftMenuButton.esm.js';
45
47
  export { useIdentityApi, useQetaApi, useStyles, useTranslation } from './utils/hooks.esm.js';
46
48
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -310,242 +310,173 @@ function useIsDarkTheme() {
310
310
  const theme = useMemo(() => appThemeApi.getActiveThemeId(), [appThemeApi]);
311
311
  return Boolean(themes.find((t) => t.id === theme)?.variant === "dark");
312
312
  }
313
- const useStyles = makeStyles((theme) => {
314
- return {
315
- leftMenu: {
316
- top: "0",
317
- width: "165px"
318
- },
319
- selectedMenuItem: {
320
- color: theme.palette.primary.contrastText,
321
- backgroundColor: theme.palette.primary.light,
322
- borderRadius: theme.shape.borderRadius,
323
- "&:hover": {
324
- backgroundColor: theme.palette.primary.dark
313
+ const useStyles = makeStyles(
314
+ (theme) => {
315
+ return {
316
+ headerImage: {
317
+ marginTop: "1rem",
318
+ marginBottom: "1rem",
319
+ width: "100%",
320
+ height: "250px",
321
+ objectFit: "cover",
322
+ border: `1px solid ${theme.palette.background.paper}`,
323
+ boxShadow: theme.shadows[1]
325
324
  },
326
- "& svg": {
327
- color: theme.palette.primary.contrastText
328
- }
329
- },
330
- nonSelectedMenuItem: {
331
- backgroundColor: "initial"
332
- },
333
- headerImage: {
334
- width: "100%",
335
- height: "250px",
336
- objectFit: "cover"
337
- },
338
- markdownEditor: {
339
- backgroundColor: "initial",
340
- color: theme.palette.text.primary,
341
- border: `1px solid ${theme.palette.action.disabled}`,
342
- borderRadius: theme.shape.borderRadius,
343
- "&:hover": {
344
- borderColor: theme.palette.action.active
325
+ successColor: {
326
+ color: theme.palette.success.main
345
327
  },
346
- "&:focus-within": {
347
- borderColor: theme.palette.primary.main
328
+ questionDivider: {
329
+ marginTop: theme.spacing(2),
330
+ marginBottom: theme.spacing(2)
348
331
  },
349
- "& .mde-header": {
350
- backgroundColor: "initial",
351
- color: theme.palette.text.primary,
352
- borderBottom: `1px solid ${theme.palette.action.selected}`,
353
- "& .mde-tabs button, .mde-header-item > button": {
354
- color: `${theme.palette.text.primary} !important`
355
- }
332
+ questionCard: {
333
+ marginBottom: theme.spacing(1),
334
+ position: "relative"
356
335
  },
357
- "& .mde-preview-content": {
358
- padding: "10px"
336
+ questionCardVote: {
337
+ textAlign: "center",
338
+ width: "32px",
339
+ marginRight: "20px",
340
+ marginLeft: "5px",
341
+ display: "inline-block",
342
+ verticalAlign: "top"
359
343
  },
360
- "& .mde-text, .mde-preview": {
361
- fontSize: theme.typography.body1.fontSize,
362
- fontFamily: theme.typography.body1.fontFamily,
363
- lineHeight: theme.typography.body1.lineHeight
344
+ questionCardContent: {
345
+ minHeight: "160px"
364
346
  },
365
- "& .mde-text": {
366
- backgroundColor: "initial",
367
- color: theme.palette.text.primary,
368
- outline: "none"
347
+ questionListItem: {
348
+ padding: "0.7rem",
349
+ paddingBottom: "1.4rem"
369
350
  },
370
- "& .image-tip": {
371
- color: theme.palette.text.primary,
372
- backgroundColor: "initial"
373
- }
374
- },
375
- markdownEditorError: {
376
- border: `1px solid ${theme.palette.error.main} !important`
377
- },
378
- markdownContent: {
379
- "& *": {
380
- wordBreak: "break-word"
351
+ questionListItemStats: {
352
+ width: "70px",
353
+ textAlign: "right",
354
+ marginRight: "5px",
355
+ display: "inline-block",
356
+ verticalAlign: "top"
381
357
  },
382
- "&.inline": {
383
- display: "inline-block"
358
+ questionListItemContent: {
359
+ display: "inline-block",
360
+ width: "calc(100% - 80px)"
384
361
  },
385
- "& > :first-child": {
386
- marginTop: "0px !important"
362
+ questionListItemAuthor: {
363
+ display: "inline",
364
+ float: "right"
387
365
  },
388
- "& > :last-child": {
389
- marginBottom: "0px !important"
366
+ questionListItemAvatar: {
367
+ display: "inline-flex !important",
368
+ marginRight: "0.25rem",
369
+ fontSize: "1rem",
370
+ maxWidth: "1rem",
371
+ maxHeight: "1rem"
390
372
  },
391
- ...theme.overrides?.BackstageMarkdownContent
392
- },
393
- successColor: {
394
- color: theme.palette.success.main
395
- },
396
- questionDivider: {
397
- marginTop: theme.spacing(2),
398
- marginBottom: theme.spacing(2)
399
- },
400
- questionCard: {
401
- marginBottom: theme.spacing(1),
402
- position: "relative"
403
- },
404
- questionCardVote: {
405
- textAlign: "center",
406
- width: "32px",
407
- marginRight: "20px",
408
- marginLeft: "5px",
409
- display: "inline-block",
410
- verticalAlign: "top"
411
- },
412
- questionCardContent: {
413
- minHeight: "160px"
414
- },
415
- questionListItem: {
416
- padding: "0.7rem",
417
- paddingBottom: "1.4rem"
418
- },
419
- questionListItemStats: {
420
- width: "70px",
421
- textAlign: "right",
422
- marginRight: "5px",
423
- display: "inline-block",
424
- verticalAlign: "top"
425
- },
426
- questionListItemContent: {
427
- display: "inline-block",
428
- width: "calc(100% - 80px)"
429
- },
430
- questionListItemAuthor: {
431
- display: "inline",
432
- float: "right"
433
- },
434
- questionListItemAvatar: {
435
- display: "inline-flex !important",
436
- marginRight: "0.25rem",
437
- fontSize: "1rem",
438
- maxWidth: "1rem",
439
- maxHeight: "1rem"
440
- },
441
- answerCardContent: {
442
- display: "inline-block",
443
- width: "calc(100% - 70px)"
444
- },
445
- questionCardAuthor: {
446
- padding: theme.spacing(1),
447
- float: "right",
448
- maxWidth: "200px",
449
- border: `1px solid ${theme.palette.action.selected}`,
450
- "& .avatar": {
451
- width: theme.spacing(3),
452
- height: theme.spacing(3),
453
- fontSize: "1rem"
454
- }
455
- },
456
- questionListPagination: {
457
- marginTop: theme.spacing(2)
458
- },
459
- postButton: {
460
- marginTop: theme.spacing(1),
461
- marginBottom: theme.spacing(1)
462
- },
463
- questionsPerPageInput: {
464
- paddingTop: "10px"
465
- },
466
- questionsPerPage: {
467
- marginRight: theme.spacing(3)
468
- },
469
- postHighlightListContainer: {
470
- width: "100%",
471
- backgroundColor: theme.palette.background.paper,
472
- border: `1px solid ${theme.palette.action.selected}`,
473
- borderRadius: theme.shape.borderRadius,
474
- "&:not(:first-child)": {
373
+ answerCardContent: {
374
+ display: "inline-block",
375
+ width: "calc(100% - 70px)"
376
+ },
377
+ questionCardAuthor: {
378
+ padding: theme.spacing(1),
379
+ float: "right",
380
+ maxWidth: "200px",
381
+ border: `1px solid ${theme.palette.action.selected}`,
382
+ "& .avatar": {
383
+ width: theme.spacing(3),
384
+ height: theme.spacing(3),
385
+ fontSize: "1rem"
386
+ }
387
+ },
388
+ questionListPagination: {
475
389
  marginTop: theme.spacing(2)
476
- }
477
- },
478
- postHighlightList: {
479
- paddingBottom: "0px",
480
- "& p": {
481
- marginTop: "0",
482
- marginBottom: "0"
483
- }
484
- },
485
- filterPanel: {
486
- border: `1px solid ${theme.palette.action.selected}`,
487
- borderRadius: theme.shape.borderRadius,
488
- padding: theme.spacing(3)
489
- },
490
- questionCardMetadata: {
491
- marginTop: theme.spacing(3)
492
- },
493
- marginRight: {
494
- marginRight: theme.spacing(1)
495
- },
496
- marginLeft: {
497
- marginLeft: theme.spacing(1)
498
- },
499
- questionCardActions: {
500
- marginTop: theme.spacing(2),
501
- "& a": {
390
+ },
391
+ postButton: {
392
+ marginTop: theme.spacing(1),
393
+ marginBottom: theme.spacing(1)
394
+ },
395
+ questionsPerPageInput: {
396
+ paddingTop: "10px"
397
+ },
398
+ questionsPerPage: {
399
+ marginRight: theme.spacing(3)
400
+ },
401
+ postHighlightListContainer: {
402
+ width: "100%",
403
+ backgroundColor: theme.palette.background.paper,
404
+ border: `1px solid ${theme.palette.action.selected}`,
405
+ borderRadius: theme.shape.borderRadius,
406
+ "&:not(:first-child)": {
407
+ marginTop: theme.spacing(2)
408
+ }
409
+ },
410
+ postHighlightList: {
411
+ paddingBottom: "0px",
412
+ "& p": {
413
+ marginTop: "0",
414
+ marginBottom: "0"
415
+ }
416
+ },
417
+ filterPanel: {
418
+ border: `1px solid ${theme.palette.action.selected}`,
419
+ borderRadius: theme.shape.borderRadius,
420
+ padding: theme.spacing(3)
421
+ },
422
+ questionCardMetadata: {
423
+ marginTop: theme.spacing(3)
424
+ },
425
+ marginRight: {
502
426
  marginRight: theme.spacing(1)
503
- }
504
- },
505
- noPadding: {
506
- padding: `0 !important`
507
- },
508
- menuIcon: {
509
- minWidth: "26px"
510
- },
511
- deleteModal: {
512
- position: "absolute",
513
- top: "20%",
514
- left: "50%",
515
- transform: "translate(-50%, -50%)",
516
- width: 400,
517
- backgroundColor: theme.palette.background.default,
518
- border: `1px solid ${theme.palette.action.selected}`,
519
- borderRadius: theme.shape.borderRadius,
520
- padding: theme.spacing(2),
521
- "& button": {
427
+ },
428
+ marginLeft: {
429
+ marginLeft: theme.spacing(1)
430
+ },
431
+ questionCardActions: {
522
432
  marginTop: theme.spacing(2),
523
- float: "right"
524
- }
525
- },
526
- authorLink: {
527
- textOverflow: "ellipsis",
528
- overflow: "hidden",
529
- whiteSpace: "nowrap"
530
- },
531
- highlight: {
532
- animation: "$highlight 2s"
533
- },
534
- "@keyframes highlight": {
535
- "0%": {
536
- boxShadow: `0px 0px 0px 3px ${theme.palette.secondary.light}`
433
+ "& a": {
434
+ marginRight: theme.spacing(1)
435
+ }
436
+ },
437
+ noPadding: {
438
+ padding: `0 !important`
439
+ },
440
+ deleteModal: {
441
+ position: "absolute",
442
+ top: "20%",
443
+ left: "50%",
444
+ transform: "translate(-50%, -50%)",
445
+ width: 400,
446
+ backgroundColor: theme.palette.background.default,
447
+ border: `1px solid ${theme.palette.action.selected}`,
448
+ borderRadius: theme.shape.borderRadius,
449
+ padding: theme.spacing(2),
450
+ "& button": {
451
+ marginTop: theme.spacing(2),
452
+ float: "right"
453
+ }
454
+ },
455
+ authorLink: {
456
+ textOverflow: "ellipsis",
457
+ overflow: "hidden",
458
+ whiteSpace: "nowrap"
537
459
  },
538
- "100%": {
539
- boxShadow: "none"
460
+ highlight: {
461
+ animation: "$highlight 2s"
462
+ },
463
+ "@keyframes highlight": {
464
+ "0%": {
465
+ boxShadow: `0px 0px 0px 3px ${theme.palette.secondary.light}`
466
+ },
467
+ "100%": {
468
+ boxShadow: "none"
469
+ }
470
+ },
471
+ dateFilter: {
472
+ minWidth: "200px",
473
+ marginTop: theme.spacing(2),
474
+ marginBottom: theme.spacing(2)
540
475
  }
541
- },
542
- dateFilter: {
543
- minWidth: "200px",
544
- marginTop: theme.spacing(2),
545
- marginBottom: theme.spacing(2)
546
- }
547
- };
548
- });
476
+ };
477
+ },
478
+ { name: "Qeta" }
479
+ );
549
480
  const useBaseUrl = () => {
550
481
  try {
551
482
  const config = useApi(configApiRef);