@gooddata/sdk-ui-dashboard 10.9.0-alpha.27 → 10.9.0-alpha.29

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 (71) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/model/react/useDashboardAlerts.d.ts +2 -4
  4. package/esm/model/react/useDashboardAlerts.d.ts.map +1 -1
  5. package/esm/model/react/useDashboardAlerts.js +6 -29
  6. package/esm/model/react/useDashboardAlerts.js.map +1 -1
  7. package/esm/model/react/useDashboardScheduledEmails.d.ts +2 -4
  8. package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
  9. package/esm/model/react/useDashboardScheduledEmails.js +6 -29
  10. package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
  11. package/esm/model/store/automations/automationsSelectors.js +1 -1
  12. package/esm/model/store/automations/automationsSelectors.js.map +1 -1
  13. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  14. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +10 -9
  15. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js.map +1 -1
  16. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -1
  17. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +4 -5
  18. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -1
  19. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +1 -1
  20. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +25 -22
  21. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js.map +1 -1
  22. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts.map +1 -1
  23. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js +2 -5
  24. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js.map +1 -1
  25. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.d.ts.map +1 -1
  26. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js +2 -5
  27. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js.map +1 -1
  28. package/esm/presentation/localization/bundles/en-US.json +10 -0
  29. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
  30. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +3 -8
  31. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
  32. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +2 -2
  33. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -1
  34. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +7 -7
  35. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -1
  36. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +3 -1
  37. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
  38. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +18 -5
  39. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
  40. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +1 -0
  41. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -1
  42. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +2 -2
  43. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -1
  44. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
  45. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +7 -3
  46. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
  47. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts +19 -8
  48. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -1
  49. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +11 -0
  50. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js.map +1 -1
  51. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.d.ts +0 -6
  52. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.d.ts.map +1 -1
  53. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.js +0 -6
  54. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.js.map +1 -1
  55. package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
  56. package/esm/presentation/widget/insight/configuration/InsightAlerts.js +3 -7
  57. package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
  58. package/esm/presentation/widget/insight/index.d.ts +1 -1
  59. package/esm/presentation/widget/insight/index.d.ts.map +1 -1
  60. package/esm/presentation/widget/insight/index.js +1 -1
  61. package/esm/presentation/widget/insight/index.js.map +1 -1
  62. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
  63. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +2 -5
  64. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  65. package/esm/sdk-ui-dashboard.d.ts +32 -23
  66. package/package.json +16 -15
  67. package/styles/css/alerting.css +72 -0
  68. package/styles/css/alerting.css.map +1 -1
  69. package/styles/css/main.css +72 -0
  70. package/styles/css/main.css.map +1 -1
  71. package/styles/scss/alerting.scss +35 -0
@@ -18053,12 +18053,10 @@ export declare type UseCustomWidgetInsightDataViewCallbacks = UseCancelablePromi
18053
18053
  *
18054
18054
  * @alpha
18055
18055
  */
18056
- export declare const useDashboardAlerts: ({ dashboard }: {
18057
- dashboard?: string | undefined;
18058
- }) => {
18056
+ export declare const useDashboardAlerts: () => {
18059
18057
  webhooks: Webhooks_2;
18060
18058
  automations: IAutomationMetadataObject[];
18061
- alertingLoadError: any;
18059
+ alertingLoadError: GoodDataSdkError | undefined;
18062
18060
  alertingToEdit: {
18063
18061
  alert: IAutomationMetadataObject;
18064
18062
  widget: IInsightWidget | undefined;
@@ -18529,14 +18527,12 @@ export declare type UseDashboardQueryProcessingResult<TQueryCreatorArgs extends
18529
18527
  *
18530
18528
  * @alpha
18531
18529
  */
18532
- export declare const useDashboardScheduledEmails: ({ dashboard }: {
18533
- dashboard?: string | undefined;
18534
- }) => {
18530
+ export declare const useDashboardScheduledEmails: () => {
18535
18531
  webhooks: Webhooks_2;
18536
18532
  users: Users_2;
18537
18533
  automations: IAutomationMetadataObject[];
18538
18534
  automationsCount: number;
18539
- schedulingLoadError: any;
18535
+ schedulingLoadError: GoodDataSdkError | undefined;
18540
18536
  numberOfAvailableWebhooks: number;
18541
18537
  isScheduleLoading: boolean;
18542
18538
  isScheduledEmailingVisible: boolean;
@@ -18848,6 +18844,34 @@ export declare interface UserState {
18848
18844
  user?: IUser;
18849
18845
  }
18850
18846
 
18847
+ /**
18848
+ * @internal
18849
+ * @param onCreateSuccess - callback to be called when alert is created successfully
18850
+ * @param onCreateError - callback to be called when alert creation fails
18851
+ * @param onUpdateSuccess - callback to be called when alert is updated successfully
18852
+ * @param onUpdateError - callback to be called when alert update fails
18853
+ * @param onPauseSuccess - callback to be called when alert is paused successfully
18854
+ * @param onPauseError - callback to be called when alert pausing fails
18855
+ * @param onResumeSuccess - callback to be called when alert is resumed successfully
18856
+ * @param onResumeError - callback to be called when alert resuming fails
18857
+ */
18858
+ export declare function useSaveAlertToBackend({ onCreateSuccess, onCreateError, onUpdateSuccess, onUpdateError, onPauseSuccess, onPauseError, onResumeSuccess, onResumeError, }: {
18859
+ onCreateSuccess?: () => void;
18860
+ onCreateError?: (error: Error) => void;
18861
+ onUpdateSuccess?: () => void;
18862
+ onUpdateError?: (error: Error) => void;
18863
+ onPauseSuccess?: () => void;
18864
+ onPauseError?: (error: Error) => void;
18865
+ onResumeSuccess?: () => void;
18866
+ onResumeError?: (error: Error) => void;
18867
+ }): {
18868
+ handleCreateAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
18869
+ handleUpdateAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
18870
+ handlePauseAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
18871
+ handleResumeAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
18872
+ isSavingAlert: boolean;
18873
+ };
18874
+
18851
18875
  /**
18852
18876
  * @internal
18853
18877
  */
@@ -18873,21 +18897,6 @@ export declare function useShareButtonProps(): IShareButtonProps;
18873
18897
  */
18874
18898
  export declare const useTopBarProps: () => ITopBarProps;
18875
18899
 
18876
- /**
18877
- * @internal
18878
- * @param onBeforeRun - callback to be called before the command is run
18879
- * @param onSuccess - callback to be called when the command is successfully processed
18880
- * @param onError - callback to be called when the command processing fails
18881
- */
18882
- export declare const useUpdateAlert: ({ onBeforeRun, onSuccess, onError, }?: {
18883
- onBeforeRun?: ((alertToSave: IAutomationMetadataObject) => void) | undefined;
18884
- onSuccess?: (() => void) | undefined;
18885
- onError?: ((error: any) => void) | undefined;
18886
- }) => {
18887
- save: (alertToSave: IAutomationMetadataObject) => void;
18888
- savingStatus?: CommandProcessingStatus | undefined;
18889
- };
18890
-
18891
18900
  /**
18892
18901
  * @internal
18893
18902
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.9.0-alpha.27",
3
+ "version": "10.9.0-alpha.29",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,6 +46,7 @@
46
46
  "react-grid-system": "^8.1.4",
47
47
  "react-intl": "^6.4.1",
48
48
  "react-lines-ellipsis": "^0.15.0",
49
+ "react-loading-skeleton": "^3.4.0",
49
50
  "react-measure": "^2.5.2",
50
51
  "react-redux": "^7.2.4",
51
52
  "react-select": "^5.7.3",
@@ -55,17 +56,17 @@
55
56
  "ts-invariant": "^0.7.5",
56
57
  "tslib": "^2.5.0",
57
58
  "uuid": "^8.3.2",
58
- "@gooddata/sdk-backend-base": "10.9.0-alpha.27",
59
- "@gooddata/sdk-backend-spi": "10.9.0-alpha.27",
60
- "@gooddata/sdk-model": "10.9.0-alpha.27",
61
- "@gooddata/sdk-ui": "10.9.0-alpha.27",
62
- "@gooddata/sdk-ui-ext": "10.9.0-alpha.27",
63
- "@gooddata/sdk-ui-filters": "10.9.0-alpha.27",
64
- "@gooddata/sdk-ui-geo": "10.9.0-alpha.27",
65
- "@gooddata/sdk-ui-kit": "10.9.0-alpha.27",
66
- "@gooddata/sdk-ui-theme-provider": "10.9.0-alpha.27",
67
- "@gooddata/util": "10.9.0-alpha.27",
68
- "@gooddata/sdk-ui-vis-commons": "10.9.0-alpha.27"
59
+ "@gooddata/sdk-backend-base": "10.9.0-alpha.29",
60
+ "@gooddata/sdk-backend-spi": "10.9.0-alpha.29",
61
+ "@gooddata/sdk-ui-ext": "10.9.0-alpha.29",
62
+ "@gooddata/sdk-model": "10.9.0-alpha.29",
63
+ "@gooddata/sdk-ui": "10.9.0-alpha.29",
64
+ "@gooddata/sdk-ui-geo": "10.9.0-alpha.29",
65
+ "@gooddata/sdk-ui-filters": "10.9.0-alpha.29",
66
+ "@gooddata/sdk-ui-theme-provider": "10.9.0-alpha.29",
67
+ "@gooddata/sdk-ui-kit": "10.9.0-alpha.29",
68
+ "@gooddata/sdk-ui-vis-commons": "10.9.0-alpha.29",
69
+ "@gooddata/util": "10.9.0-alpha.29"
69
70
  },
70
71
  "peerDependencies": {
71
72
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -118,9 +119,9 @@
118
119
  "typescript": "5.3.3",
119
120
  "vitest": "1.0.4",
120
121
  "vitest-dom": "0.1.1",
121
- "@gooddata/i18n-toolkit": "10.9.0-alpha.27",
122
- "@gooddata/reference-workspace": "10.9.0-alpha.27",
123
- "@gooddata/sdk-backend-mockingbird": "10.9.0-alpha.27"
122
+ "@gooddata/i18n-toolkit": "10.9.0-alpha.29",
123
+ "@gooddata/reference-workspace": "10.9.0-alpha.29",
124
+ "@gooddata/sdk-backend-mockingbird": "10.9.0-alpha.29"
124
125
  },
125
126
  "scripts": {
126
127
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
@@ -1,3 +1,47 @@
1
+ @keyframes react-loading-skeleton {
2
+ 100% {
3
+ transform: translateX(100%);
4
+ }
5
+ }
6
+ .react-loading-skeleton {
7
+ --base-color: #ebebeb;
8
+ --highlight-color: #f5f5f5;
9
+ --animation-duration: 1.5s;
10
+ --animation-direction: normal;
11
+ --pseudo-element-display: block; /* Enable animation */
12
+ background-color: var(--base-color);
13
+ width: 100%;
14
+ border-radius: 0.25rem;
15
+ display: inline-flex;
16
+ line-height: 1;
17
+ position: relative;
18
+ user-select: none;
19
+ overflow: hidden;
20
+ }
21
+
22
+ .react-loading-skeleton::after {
23
+ content: " ";
24
+ display: var(--pseudo-element-display);
25
+ position: absolute;
26
+ top: 0;
27
+ left: 0;
28
+ right: 0;
29
+ height: 100%;
30
+ background-repeat: no-repeat;
31
+ background-image: linear-gradient(90deg, var(--base-color), var(--highlight-color), var(--base-color));
32
+ transform: translateX(-100%);
33
+ animation-name: react-loading-skeleton;
34
+ animation-direction: var(--animation-direction);
35
+ animation-duration: var(--animation-duration);
36
+ animation-timing-function: ease-in-out;
37
+ animation-iteration-count: infinite;
38
+ }
39
+
40
+ @media (prefers-reduced-motion) {
41
+ .react-loading-skeleton {
42
+ --pseudo-element-display: none; /* Disable animation */
43
+ }
44
+ }
1
45
  .gd-alerts-list {
2
46
  width: 100%;
3
47
  }
@@ -5,10 +49,38 @@
5
49
  .gd-alerts-list__items {
6
50
  padding: 10px 0 10px 0;
7
51
  }
52
+ .gd-alerts-list__items .skeleton-flex {
53
+ flex: 1;
54
+ }
55
+ .gd-alerts-list__items .skeleton-margin {
56
+ margin-left: 10px;
57
+ }
58
+ .gd-alerts-list__items .gd-react-loading-skeleton-wrapper {
59
+ display: flex;
60
+ align-items: center;
61
+ justify-content: center;
62
+ padding: 10px;
63
+ }
64
+ .gd-alerts-list__items .gd-react-loading-skeleton.react-loading-skeleton {
65
+ --base-color: var(--gd-dashboards-title-borderColor, var(--gd-palette-complementary-2, #ebeff4));
66
+ --highlight-color: var(
67
+ --gd-dashboards-content-backgroundColor,
68
+ var(--gd-palette-complementary-0, #fff)
69
+ );
70
+ }
8
71
 
9
72
  .gd-alerts-list__buttons {
10
73
  padding: 10px 0;
11
74
  }
75
+ .gd-alerts-list__buttons .gd-alerts-list__add-button {
76
+ font-weight: 400;
77
+ font-size: 12px;
78
+ line-height: 18px;
79
+ padding-left: 28px;
80
+ }
81
+ .gd-alerts-list__buttons .gd-alerts-list__add-button::before {
82
+ font-size: 15px;
83
+ }
12
84
 
13
85
  .gd-alerts-list-item {
14
86
  display: flex;
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AAOA;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAMJ;EACI;EACA;EACA;EACA;;AAEA;EACI,kBCgFgB;;;AD5ExB;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBCmEoB;EDlEpB;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA,OClCY;EDmCZ;;;AAGJ;EACI;EACA;EACA,OChDmB;EDiDnB;EACA;;;AAMJ;EACI;EACA;EACA,OCpDY;EDqDZ;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;AAEA;AAOA;;AANA;AAAA;EAEI;EACA;;AAIJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI,OCrGmB;;;AD2GvB;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAMJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;AAEA;EACI;;;AAOR;EACI;;;AAGJ;EACI;;;AAMJ;EACI;;;AAKJ;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;;AAOR;EACI;;;AAMJ;EACI;EACA;EACA;;AAEA;EAEI,kBCrGe;;ADwGnB;EACI;EACA;EACA;EACA;EACA;;;AAKJ;EACI,OClPY;EDmPZ,kBClMkB","file":"alerting.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../node_modules/react-loading-skeleton/dist/skeleton.css","../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAMA;EAEA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AC3CJ;EACI;;;AAGJ;EACI;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;AAAA;AAAA;AAAA;;;AAOR;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAQZ;EACI;EACA;EACA;EACA;;AAEA;EACI,kBC6CgB;;;ADzCxB;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBCgCoB;ED/BpB;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA,OCrEY;EDsEZ;;;AAGJ;EACI;EACA;EACA,OCnFmB;EDoFnB;EACA;;;AAMJ;EACI;EACA;EACA,OCvFY;EDwFZ;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;AAEA;AAOA;;AANA;AAAA;EAEI;EACA;;AAIJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI,OCxImB;;;AD8IvB;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAMJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;AAEA;EACI;;;AAOR;EACI;;;AAGJ;EACI;;;AAMJ;EACI;;;AAKJ;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;;AAOR;EACI;;;AAMJ;EACI;EACA;EACA;;AAEA;EAEI,kBCxIe;;AD2InB;EACI;EACA;EACA;EACA;EACA;;;AAKJ;EACI,OCrRY;EDsRZ,kBCrOkB","file":"alerting.css"}
@@ -24297,6 +24297,50 @@ div.gd-empty-item-bubble {
24297
24297
  gap: 8px;
24298
24298
  }
24299
24299
 
24300
+ @keyframes react-loading-skeleton {
24301
+ 100% {
24302
+ transform: translateX(100%);
24303
+ }
24304
+ }
24305
+ .react-loading-skeleton {
24306
+ --base-color: #ebebeb;
24307
+ --highlight-color: #f5f5f5;
24308
+ --animation-duration: 1.5s;
24309
+ --animation-direction: normal;
24310
+ --pseudo-element-display: block; /* Enable animation */
24311
+ background-color: var(--base-color);
24312
+ width: 100%;
24313
+ border-radius: 0.25rem;
24314
+ display: inline-flex;
24315
+ line-height: 1;
24316
+ position: relative;
24317
+ user-select: none;
24318
+ overflow: hidden;
24319
+ }
24320
+
24321
+ .react-loading-skeleton::after {
24322
+ content: " ";
24323
+ display: var(--pseudo-element-display);
24324
+ position: absolute;
24325
+ top: 0;
24326
+ left: 0;
24327
+ right: 0;
24328
+ height: 100%;
24329
+ background-repeat: no-repeat;
24330
+ background-image: linear-gradient(90deg, var(--base-color), var(--highlight-color), var(--base-color));
24331
+ transform: translateX(-100%);
24332
+ animation-name: react-loading-skeleton;
24333
+ animation-direction: var(--animation-direction);
24334
+ animation-duration: var(--animation-duration);
24335
+ animation-timing-function: ease-in-out;
24336
+ animation-iteration-count: infinite;
24337
+ }
24338
+
24339
+ @media (prefers-reduced-motion) {
24340
+ .react-loading-skeleton {
24341
+ --pseudo-element-display: none; /* Disable animation */
24342
+ }
24343
+ }
24300
24344
  .gd-alerts-list {
24301
24345
  width: 100%;
24302
24346
  }
@@ -24304,10 +24348,38 @@ div.gd-empty-item-bubble {
24304
24348
  .gd-alerts-list__items {
24305
24349
  padding: 10px 0 10px 0;
24306
24350
  }
24351
+ .gd-alerts-list__items .skeleton-flex {
24352
+ flex: 1;
24353
+ }
24354
+ .gd-alerts-list__items .skeleton-margin {
24355
+ margin-left: 10px;
24356
+ }
24357
+ .gd-alerts-list__items .gd-react-loading-skeleton-wrapper {
24358
+ display: flex;
24359
+ align-items: center;
24360
+ justify-content: center;
24361
+ padding: 10px;
24362
+ }
24363
+ .gd-alerts-list__items .gd-react-loading-skeleton.react-loading-skeleton {
24364
+ --base-color: var(--gd-dashboards-title-borderColor, var(--gd-palette-complementary-2, #ebeff4));
24365
+ --highlight-color: var(
24366
+ --gd-dashboards-content-backgroundColor,
24367
+ var(--gd-palette-complementary-0, #fff)
24368
+ );
24369
+ }
24307
24370
 
24308
24371
  .gd-alerts-list__buttons {
24309
24372
  padding: 10px 0;
24310
24373
  }
24374
+ .gd-alerts-list__buttons .gd-alerts-list__add-button {
24375
+ font-weight: 400;
24376
+ font-size: 12px;
24377
+ line-height: 18px;
24378
+ padding-left: 28px;
24379
+ }
24380
+ .gd-alerts-list__buttons .gd-alerts-list__add-button::before {
24381
+ font-size: 15px;
24382
+ }
24311
24383
 
24312
24384
  .gd-alerts-list-item {
24313
24385
  display: flex;