@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
@@ -21671,6 +21671,50 @@ figure {
21671
21671
 
21672
21672
  /* allow vendor prefixes and disable max length */
21673
21673
  /* allow vendor prefixes and disable max length */
21674
+ @keyframes react-loading-skeleton {
21675
+ 100% {
21676
+ transform: translateX(100%);
21677
+ }
21678
+ }
21679
+ .react-loading-skeleton {
21680
+ --base-color: #ebebeb;
21681
+ --highlight-color: #f5f5f5;
21682
+ --animation-duration: 1.5s;
21683
+ --animation-direction: normal;
21684
+ --pseudo-element-display: block; /* Enable animation */
21685
+ background-color: var(--base-color);
21686
+ width: 100%;
21687
+ border-radius: 0.25rem;
21688
+ display: inline-flex;
21689
+ line-height: 1;
21690
+ position: relative;
21691
+ user-select: none;
21692
+ overflow: hidden;
21693
+ }
21694
+
21695
+ .react-loading-skeleton::after {
21696
+ content: " ";
21697
+ display: var(--pseudo-element-display);
21698
+ position: absolute;
21699
+ top: 0;
21700
+ left: 0;
21701
+ right: 0;
21702
+ height: 100%;
21703
+ background-repeat: no-repeat;
21704
+ background-image: var(--custom-highlight-background, linear-gradient(90deg, var(--base-color) 0%, var(--highlight-color) 50%, var(--base-color) 100%));
21705
+ transform: translateX(-100%);
21706
+ animation-name: react-loading-skeleton;
21707
+ animation-direction: var(--animation-direction);
21708
+ animation-duration: var(--animation-duration);
21709
+ animation-timing-function: ease-in-out;
21710
+ animation-iteration-count: infinite;
21711
+ }
21712
+
21713
+ @media (prefers-reduced-motion) {
21714
+ .react-loading-skeleton {
21715
+ --pseudo-element-display: none; /* Disable animation */
21716
+ }
21717
+ }
21674
21718
  /* ==========================================================================
21675
21719
  Variables, mixins, silent classes etc.
21676
21720
  ========================================================================== */
@@ -24305,6 +24349,80 @@ figure {
24305
24349
  .gd-dashboards-root.gd-flex-container {
24306
24350
  flex-flow: row nowrap;
24307
24351
  }
24352
+ .gd-dashboards-root.gd-flex-container.sdk-dashboard-generating .sdk-dashboard-navigation-placeholder {
24353
+ display: none;
24354
+ }
24355
+
24356
+ .sdk-dashboard-generating .sdk-dashboard-skeleton {
24357
+ margin: -15px -20px 0 -20px;
24358
+ height: 100%;
24359
+ }
24360
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-skeleton-wrapper {
24361
+ display: flex;
24362
+ flex-direction: column;
24363
+ }
24364
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-skeleton-top-bar {
24365
+ display: flex;
24366
+ justify-content: space-between;
24367
+ align-items: center;
24368
+ height: 48px;
24369
+ padding-left: 15px;
24370
+ padding-right: 11px;
24371
+ border-bottom: 1px solid var(--gd-palette-complementary-3, #dde4eb);
24372
+ border-bottom-color: var(--gd-dashboards-title-borderColor, var(--gd-palette-complementary-3, #dde4eb));
24373
+ }
24374
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-skeleton-top-bar .gd-top-bar-buttons {
24375
+ display: flex;
24376
+ flex-direction: row;
24377
+ align-items: center;
24378
+ gap: 10px;
24379
+ height: 48px;
24380
+ }
24381
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-skeleton-filter-bar {
24382
+ display: flex;
24383
+ justify-content: flex-start;
24384
+ gap: 10px;
24385
+ height: 56px;
24386
+ padding-left: 15px;
24387
+ border-bottom: 1px solid var(--gd-palette-complementary-3, #dde4eb);
24388
+ border-bottom-color: var(--gd-dashboards-filterBar-borderColor, var(--gd-palette-complementary-3, #dde4eb));
24389
+ }
24390
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-skeleton-filter-bar .gd-skeleton-filter {
24391
+ display: flex;
24392
+ justify-content: flex-start;
24393
+ flex-direction: column;
24394
+ height: 41px;
24395
+ padding-top: 5px;
24396
+ }
24397
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-dash-content {
24398
+ flex-grow: 1;
24399
+ flex-basis: 0;
24400
+ }
24401
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-skeleton-content {
24402
+ display: flex;
24403
+ flex: 1;
24404
+ gap: 20px;
24405
+ padding: 30px;
24406
+ }
24407
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .skeleton-flex {
24408
+ flex: 1;
24409
+ }
24410
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-react-loading-skeleton.react-loading-skeleton {
24411
+ --base-color: var(
24412
+ --gd-dashboards-title-borderColor-from-theme,
24413
+ var(--gd-palette-complementary-2, #ebeff4)
24414
+ );
24415
+ --highlight-color: var(
24416
+ --gd-dashboards-content-backgroundColor,
24417
+ var(--gd-palette-complementary-0, #fff)
24418
+ );
24419
+ }
24420
+ @media (forced-colors: active) {
24421
+ .sdk-dashboard-generating .sdk-dashboard-skeleton .gd-react-loading-skeleton.react-loading-skeleton {
24422
+ --base-color: canvastext;
24423
+ --highlight-color: canvas;
24424
+ }
24425
+ }
24308
24426
 
24309
24427
  .gd-dash-content {
24310
24428
  flex: 1;
@@ -30459,50 +30577,6 @@ figure {
30459
30577
  visibility: hidden;
30460
30578
  }
30461
30579
 
30462
- @keyframes react-loading-skeleton {
30463
- 100% {
30464
- transform: translateX(100%);
30465
- }
30466
- }
30467
- .react-loading-skeleton {
30468
- --base-color: #ebebeb;
30469
- --highlight-color: #f5f5f5;
30470
- --animation-duration: 1.5s;
30471
- --animation-direction: normal;
30472
- --pseudo-element-display: block; /* Enable animation */
30473
- background-color: var(--base-color);
30474
- width: 100%;
30475
- border-radius: 0.25rem;
30476
- display: inline-flex;
30477
- line-height: 1;
30478
- position: relative;
30479
- user-select: none;
30480
- overflow: hidden;
30481
- }
30482
-
30483
- .react-loading-skeleton::after {
30484
- content: " ";
30485
- display: var(--pseudo-element-display);
30486
- position: absolute;
30487
- top: 0;
30488
- left: 0;
30489
- right: 0;
30490
- height: 100%;
30491
- background-repeat: no-repeat;
30492
- background-image: var(--custom-highlight-background, linear-gradient(90deg, var(--base-color) 0%, var(--highlight-color) 50%, var(--base-color) 100%));
30493
- transform: translateX(-100%);
30494
- animation-name: react-loading-skeleton;
30495
- animation-direction: var(--animation-direction);
30496
- animation-duration: var(--animation-duration);
30497
- animation-timing-function: ease-in-out;
30498
- animation-iteration-count: infinite;
30499
- }
30500
-
30501
- @media (prefers-reduced-motion) {
30502
- .react-loading-skeleton {
30503
- --pseudo-element-display: none; /* Disable animation */
30504
- }
30505
- }
30506
30580
  .gd-alerts-list {
30507
30581
  width: 100%;
30508
30582
  }