@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.
- package/NOTICE +59 -9
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +3 -4
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -4
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +2 -0
- package/esm/model/store/config/configSelectors.d.ts +12 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +16 -0
- package/esm/model/store/drill/drillReducers.d.ts.map +1 -1
- package/esm/model/store/drill/drillReducers.js +2 -1
- package/esm/model/types/commonTypes.d.ts +21 -0
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +4 -3
- package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.d.ts +1 -5
- package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.js +1 -5
- package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
- package/esm/presentation/automations/alerting/types.d.ts +1 -15
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +0 -26
- package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AlertingDialogContext.js +0 -26
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +0 -9
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +0 -9
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +4 -3
- package/esm/presentation/automations/scheduledEmail/types.d.ts +1 -15
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/filters/conversions.d.ts +6 -6
- package/esm/presentation/automations/shared/filters/conversions.d.ts.map +1 -1
- package/esm/presentation/automations/shared/filters/conversions.js +48 -30
- package/esm/presentation/automations/shared/filters/index.d.ts +1 -1
- package/esm/presentation/automations/shared/filters/index.d.ts.map +1 -1
- package/esm/presentation/automations/shared/filters/index.js +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +10 -0
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +5 -2
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.d.ts +2 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.js +2 -2
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +3 -3
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts +2 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.js +3 -2
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +9 -5
- package/esm/presentation/dashboard/components/DashboardSkeleton.d.ts +5 -0
- package/esm/presentation/dashboard/components/DashboardSkeleton.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardSkeleton.js +30 -0
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js +3 -3
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js +2 -2
- package/esm/presentation/dragAndDrop/types.d.ts +2 -0
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +7 -1
- package/esm/presentation/insightList/types.d.ts +1 -0
- package/esm/presentation/insightList/types.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/cancelButton/DefaultCancelButton.d.ts +1 -1
- package/esm/presentation/topBar/buttonBar/button/cancelButton/DefaultCancelButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/cancelButton/DefaultCancelButton.js +3 -2
- package/esm/presentation/topBar/buttonBar/button/cancelButton/types.d.ts +1 -0
- package/esm/presentation/topBar/buttonBar/button/cancelButton/types.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/cancelButton/types.js +1 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js +3 -2
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.js +5 -2
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/types.d.ts +1 -0
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/types.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/types.js +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.js +3 -1
- package/esm/presentation/topBar/buttonBar/button/settingButton/DefaultSettingButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/settingButton/DefaultSettingButton.js +3 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.d.ts +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.js +5 -2
- package/esm/presentation/topBar/buttonBar/button/shareButton/types.d.ts +1 -0
- package/esm/presentation/topBar/buttonBar/button/shareButton/types.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/types.js +1 -0
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +7 -2
- package/esm/presentation/topBar/menuButton/types.d.ts +4 -0
- package/esm/presentation/topBar/menuButton/types.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/DateDatasetDropdown.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/DateDatasetDropdown.js +93 -27
- package/esm/presentation/widget/common/configuration/utils.d.ts +3 -0
- package/esm/presentation/widget/common/configuration/utils.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/utils.js +14 -2
- package/esm/sdk-ui-dashboard.d.ts +49 -96
- package/package.json +21 -21
- package/styles/css/dashboard.css +118 -0
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +118 -44
- package/styles/css/main.css.map +1 -1
- 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 {
|