@gooddata/sdk-ui-dashboard 11.52.0 → 11.53.0-alpha.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 (114) hide show
  1. package/NOTICE +59 -9
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/index.d.ts +3 -4
  6. package/esm/index.d.ts.map +1 -1
  7. package/esm/index.js +3 -4
  8. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
  9. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +2 -0
  10. package/esm/model/store/config/configSelectors.d.ts +12 -0
  11. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  12. package/esm/model/store/config/configSelectors.js +16 -0
  13. package/esm/model/store/drill/drillReducers.d.ts.map +1 -1
  14. package/esm/model/store/drill/drillReducers.js +2 -1
  15. package/esm/model/types/commonTypes.d.ts +21 -0
  16. package/esm/model/types/commonTypes.d.ts.map +1 -1
  17. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +1 -1
  18. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  19. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +4 -3
  20. package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.d.ts +1 -5
  21. package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.d.ts.map +1 -1
  22. package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.js +1 -5
  23. package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
  24. package/esm/presentation/automations/alerting/types.d.ts +1 -15
  25. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  26. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +0 -26
  27. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts.map +1 -1
  28. package/esm/presentation/automations/contexts/AlertingDialogContext.js +0 -26
  29. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +0 -9
  30. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts.map +1 -1
  31. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +0 -9
  32. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +1 -1
  33. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  34. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +4 -3
  35. package/esm/presentation/automations/scheduledEmail/types.d.ts +1 -15
  36. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  37. package/esm/presentation/automations/shared/filters/conversions.d.ts +6 -6
  38. package/esm/presentation/automations/shared/filters/conversions.d.ts.map +1 -1
  39. package/esm/presentation/automations/shared/filters/conversions.js +48 -30
  40. package/esm/presentation/automations/shared/filters/index.d.ts +1 -1
  41. package/esm/presentation/automations/shared/filters/index.d.ts.map +1 -1
  42. package/esm/presentation/automations/shared/filters/index.js +1 -1
  43. package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts +1 -1
  44. package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
  45. package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +10 -0
  46. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
  47. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +5 -2
  48. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.d.ts +2 -1
  49. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.d.ts.map +1 -1
  50. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.js +2 -2
  51. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts +1 -1
  52. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
  53. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +3 -3
  54. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts +2 -1
  55. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts.map +1 -1
  56. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.js +3 -2
  57. package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
  58. package/esm/presentation/dashboard/components/DashboardInner.js +9 -5
  59. package/esm/presentation/dashboard/components/DashboardSkeleton.d.ts +5 -0
  60. package/esm/presentation/dashboard/components/DashboardSkeleton.d.ts.map +1 -0
  61. package/esm/presentation/dashboard/components/DashboardSkeleton.js +30 -0
  62. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts +1 -1
  63. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts.map +1 -1
  64. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js +3 -3
  65. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts +1 -0
  66. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts.map +1 -1
  67. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js +2 -2
  68. package/esm/presentation/dragAndDrop/types.d.ts +2 -0
  69. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  70. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  71. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +7 -1
  72. package/esm/presentation/insightList/types.d.ts +1 -0
  73. package/esm/presentation/insightList/types.d.ts.map +1 -1
  74. package/esm/presentation/topBar/buttonBar/button/cancelButton/DefaultCancelButton.d.ts +1 -1
  75. package/esm/presentation/topBar/buttonBar/button/cancelButton/DefaultCancelButton.d.ts.map +1 -1
  76. package/esm/presentation/topBar/buttonBar/button/cancelButton/DefaultCancelButton.js +3 -2
  77. package/esm/presentation/topBar/buttonBar/button/cancelButton/types.d.ts +1 -0
  78. package/esm/presentation/topBar/buttonBar/button/cancelButton/types.d.ts.map +1 -1
  79. package/esm/presentation/topBar/buttonBar/button/cancelButton/types.js +1 -1
  80. package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.d.ts.map +1 -1
  81. package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js +3 -2
  82. package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts +1 -1
  83. package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts.map +1 -1
  84. package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.js +5 -2
  85. package/esm/presentation/topBar/buttonBar/button/saveAsButton/types.d.ts +1 -0
  86. package/esm/presentation/topBar/buttonBar/button/saveAsButton/types.d.ts.map +1 -1
  87. package/esm/presentation/topBar/buttonBar/button/saveAsButton/types.js +1 -1
  88. package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.d.ts.map +1 -1
  89. package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.js +3 -1
  90. package/esm/presentation/topBar/buttonBar/button/settingButton/DefaultSettingButton.d.ts.map +1 -1
  91. package/esm/presentation/topBar/buttonBar/button/settingButton/DefaultSettingButton.js +3 -1
  92. package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.d.ts +1 -1
  93. package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.d.ts.map +1 -1
  94. package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.js +5 -2
  95. package/esm/presentation/topBar/buttonBar/button/shareButton/types.d.ts +1 -0
  96. package/esm/presentation/topBar/buttonBar/button/shareButton/types.d.ts.map +1 -1
  97. package/esm/presentation/topBar/buttonBar/button/shareButton/types.js +1 -0
  98. package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts +1 -1
  99. package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
  100. package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +7 -2
  101. package/esm/presentation/topBar/menuButton/types.d.ts +4 -0
  102. package/esm/presentation/topBar/menuButton/types.d.ts.map +1 -1
  103. package/esm/presentation/widget/common/configuration/DateDatasetDropdown.d.ts.map +1 -1
  104. package/esm/presentation/widget/common/configuration/DateDatasetDropdown.js +93 -27
  105. package/esm/presentation/widget/common/configuration/utils.d.ts +3 -0
  106. package/esm/presentation/widget/common/configuration/utils.d.ts.map +1 -1
  107. package/esm/presentation/widget/common/configuration/utils.js +14 -2
  108. package/esm/sdk-ui-dashboard.d.ts +49 -96
  109. package/package.json +21 -21
  110. package/styles/css/dashboard.css +118 -0
  111. package/styles/css/dashboard.css.map +1 -1
  112. package/styles/css/main.css +118 -44
  113. package/styles/css/main.css.map +1 -1
  114. package/styles/scss/dashboard.scss +96 -0
@@ -1,6 +1,7 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
2
  @use "sass:math";
3
3
  @use "@gooddata/sdk-ui-kit/styles/scss/mixins";
4
+ @use "react-loading-skeleton/dist/skeleton.css";
4
5
 
5
6
  @use "variables";
6
7
  @use "layout";
@@ -32,6 +33,101 @@ $dashboard-menu-item-icon-color: var(--gd-palette-complementary-5-from-theme, #b
32
33
  // Keep this compound selector; don't reduce to a single class.
33
34
  .gd-dashboards-root.gd-flex-container {
34
35
  flex-flow: row nowrap;
36
+
37
+ &.sdk-dashboard-generating {
38
+ .sdk-dashboard-navigation-placeholder {
39
+ display: none;
40
+ }
41
+ }
42
+ }
43
+
44
+ .sdk-dashboard-generating .sdk-dashboard-skeleton {
45
+ margin: -15px -20px 0 -20px;
46
+ height: 100%;
47
+
48
+ .gd-skeleton-wrapper {
49
+ display: flex;
50
+ flex-direction: column;
51
+ }
52
+
53
+ .gd-skeleton-top-bar {
54
+ display: flex;
55
+ justify-content: space-between;
56
+ align-items: center;
57
+ height: 48px;
58
+ padding-left: 15px;
59
+ padding-right: 11px;
60
+ border-bottom: 1px solid var(--gd-palette-complementary-3, #dde4eb);
61
+ border-bottom-color: var(
62
+ --gd-dashboards-title-borderColor,
63
+ var(--gd-palette-complementary-3, #dde4eb)
64
+ );
65
+
66
+ .gd-top-bar-buttons {
67
+ display: flex;
68
+ flex-direction: row;
69
+ align-items: center;
70
+ gap: 10px;
71
+ height: 48px;
72
+ }
73
+ }
74
+
75
+ .gd-skeleton-filter-bar {
76
+ display: flex;
77
+ justify-content: flex-start;
78
+ gap: 10px;
79
+ height: 56px;
80
+ padding-left: 15px;
81
+ border-bottom: 1px solid var(--gd-palette-complementary-3, #dde4eb);
82
+ border-bottom-color: var(
83
+ --gd-dashboards-filterBar-borderColor,
84
+ var(--gd-palette-complementary-3, #dde4eb)
85
+ );
86
+ .gd-skeleton-filter {
87
+ display: flex;
88
+ justify-content: flex-start;
89
+ flex-direction: column;
90
+ height: 41px;
91
+ padding-top: 5px;
92
+ }
93
+ }
94
+
95
+ .gd-dash-content {
96
+ // The skeleton markup puts the kit `gd-flex-item` class on `.gd-dash-content`, so kit's
97
+ // `.gd-flex-item { flex: 0 0 auto }` ties `.gd-dash-content { flex: 1 1 100% }` (both 0,1,0)
98
+ // and wins by source order — non-deterministic under module federation. When kit wins,
99
+ // flex-grow:0 + flex-basis:0 collapses the content to a too-narrow skeleton. This compound
100
+ // selector (0,2,0) out-specifies kit so the content always stretches. Keep flex-grow here.
101
+ flex-grow: 1;
102
+ flex-basis: 0;
103
+ }
104
+
105
+ .gd-skeleton-content {
106
+ display: flex;
107
+ flex: 1;
108
+ gap: 20px;
109
+ padding: 30px;
110
+ }
111
+
112
+ .skeleton-flex {
113
+ flex: 1;
114
+ }
115
+
116
+ .gd-react-loading-skeleton.react-loading-skeleton {
117
+ --base-color: var(
118
+ --gd-dashboards-title-borderColor-from-theme,
119
+ var(--gd-palette-complementary-2, #ebeff4)
120
+ );
121
+ --highlight-color: var(
122
+ --gd-dashboards-content-backgroundColor,
123
+ var(--gd-palette-complementary-0, #fff)
124
+ );
125
+
126
+ @media (forced-colors: active) {
127
+ --base-color: canvastext;
128
+ --highlight-color: canvas;
129
+ }
130
+ }
35
131
  }
36
132
 
37
133
  .gd-dash-content {