@gooddata/sdk-ui-dashboard 11.43.0-alpha.5 → 11.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.d.ts.map +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/index.d.ts +2 -2
  5. package/esm/index.d.ts.map +1 -1
  6. package/esm/index.js +2 -2
  7. package/esm/presentation/automations/{_staging/alerting → alerting}/AlertingManagementDialog.d.ts +1 -1
  8. package/esm/presentation/automations/alerting/AlertingManagementDialog.d.ts.map +1 -0
  9. package/esm/presentation/automations/{_staging/alerting → alerting}/AlertingManagementDialog.js +1 -1
  10. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.d.ts.map +1 -0
  11. package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.js +8 -9
  12. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.d.ts.map +1 -0
  13. package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.js +17 -29
  14. package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +1 -1
  15. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts.map +1 -0
  16. package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +9 -28
  17. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -0
  18. package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/components/Alert.js +15 -18
  19. package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +1 -1
  20. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +1 -0
  21. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts.map +1 -0
  22. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts.map +1 -1
  23. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js +2 -2
  24. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +1 -0
  25. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +31 -0
  26. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.test.d.ts +2 -0
  27. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.test.d.ts.map +1 -0
  28. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.test.js +39 -0
  29. package/esm/presentation/automations/alerting/hooks/useAlertingDialogAccessibility.d.ts.map +1 -0
  30. package/esm/presentation/automations/alerting/hooks/useAlertingDialogAccessibility.js +11 -0
  31. package/esm/presentation/automations/connectors/AlertingConnector.d.ts +6 -3
  32. package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
  33. package/esm/presentation/automations/connectors/AlertingConnector.js +75 -12
  34. package/esm/presentation/automations/connectors/AlertingConnector.test.d.ts +2 -0
  35. package/esm/presentation/automations/connectors/AlertingConnector.test.d.ts.map +1 -0
  36. package/esm/presentation/automations/connectors/AlertingConnector.test.js +152 -0
  37. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.d.ts +11 -0
  38. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.d.ts.map +1 -0
  39. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.js +20 -0
  40. package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.d.ts +3 -0
  41. package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.d.ts.map +1 -0
  42. package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.js +131 -0
  43. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.d.ts.map +1 -1
  44. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.js +4 -1
  45. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.test.js +2 -0
  46. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts +27 -0
  47. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts.map +1 -0
  48. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.js +11 -0
  49. package/esm/presentation/automations/contexts/AutomationsContext.d.ts +1 -0
  50. package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
  51. package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.test.js +1 -0
  52. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts.map +1 -1
  53. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js +3 -17
  54. package/esm/presentation/dashboard/components/DashboardRenderer.js +1 -1
  55. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +1 -1
  56. package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
  57. package/esm/presentation/widget/insight/configuration/InsightAlerts.js +8 -1
  58. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.d.ts.map +1 -1
  59. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.test.d.ts +2 -0
  60. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.test.d.ts.map +1 -0
  61. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.test.js +124 -0
  62. package/esm/sdk-ui-dashboard.d.ts +6 -1
  63. package/package.json +20 -20
  64. package/esm/presentation/automations/_staging/alerting/AlertingManagementDialog.d.ts.map +0 -1
  65. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.d.ts.map +0 -1
  66. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.d.ts.map +0 -1
  67. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts.map +0 -1
  68. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +0 -1
  69. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +0 -1
  70. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts.map +0 -1
  71. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts +0 -11
  72. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts.map +0 -1
  73. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js +0 -38
  74. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +0 -1
  75. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +0 -50
  76. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/hooks/useAlertValidation.d.ts +0 -7
  77. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/hooks/useAlertValidation.d.ts.map +0 -1
  78. package/esm/presentation/automations/_staging/alerting/DefaultAlertingManagementDialog/hooks/useAlertValidation.js +0 -30
  79. package/esm/presentation/automations/_staging/alerting/hooks/useAlertingDialogAccessibility.d.ts.map +0 -1
  80. package/esm/presentation/automations/_staging/alerting/hooks/useAlertingDialogAccessibility.js +0 -12
  81. /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.d.ts +0 -0
  82. /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.d.ts +0 -0
  83. /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/components/Alert.d.ts +0 -0
  84. /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/components/AlertDropdown.js +0 -0
  85. /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/components/AlertsList.d.ts +0 -0
  86. /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/components/AlertsList.js +0 -0
  87. /package/esm/presentation/automations/{_staging/alerting → alerting}/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +0 -0
  88. /package/esm/presentation/automations/{_staging/alerting → alerting}/hooks/useAlertingDialogAccessibility.d.ts +0 -0
@@ -1,12 +0,0 @@
1
- // (C) 2025-2026 GoodData Corporation
2
- import { useMemo } from "react";
3
- import { DEFAULT_MENU_BUTTON_ID } from "../../../../../_staging/accessibility/elementId.js";
4
- import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
5
- import { selectAlertingDialogReturnFocusTo } from "../../../../../model/store/ui/uiSelectors.js";
6
- export const useAlertingDialogAccessibility = () => {
7
- const alertingDialogReturnFocusTo = useDashboardSelector(selectAlertingDialogReturnFocusTo);
8
- const returnFocusTo = useMemo(() => alertingDialogReturnFocusTo || DEFAULT_MENU_BUTTON_ID, [alertingDialogReturnFocusTo]);
9
- return {
10
- returnFocusTo,
11
- };
12
- };