@gooddata/sdk-ui-dashboard 11.51.0-alpha.5 → 11.51.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 (42) 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/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  5. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +17 -4
  6. package/esm/model/store/filterViews/filterViewsReducers.d.ts +13 -1
  7. package/esm/model/store/filterViews/filterViewsReducers.d.ts.map +1 -1
  8. package/esm/model/store/filterViews/filterViewsReducers.js +46 -0
  9. package/esm/model/store/filterViews/filterViewsState.d.ts +22 -0
  10. package/esm/model/store/filterViews/filterViewsState.d.ts.map +1 -1
  11. package/esm/model/store/filterViews/index.d.ts +3 -0
  12. package/esm/model/store/filterViews/index.d.ts.map +1 -1
  13. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  14. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +2 -1
  15. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts +1 -3
  16. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts.map +1 -1
  17. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +2 -2
  18. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts +1 -2
  19. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts.map +1 -1
  20. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js +2 -2
  21. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +1 -2
  22. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
  23. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +2 -2
  24. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +1 -2
  25. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
  26. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +2 -2
  27. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +11 -6
  28. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  29. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.d.ts.map +1 -1
  30. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.js +12 -3
  31. package/esm/presentation/automations/scheduledEmail/utils/pdfPageSize.d.ts +1 -2
  32. package/esm/presentation/automations/scheduledEmail/utils/pdfPageSize.d.ts.map +1 -1
  33. package/esm/presentation/automations/scheduledEmail/utils/pdfPageSize.js +12 -3
  34. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +1 -6
  35. package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
  36. package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +19 -16
  37. package/package.json +21 -21
  38. package/styles/css/filterBar.css +15 -44
  39. package/styles/css/filterBar.css.map +1 -1
  40. package/styles/css/main.css +15 -44
  41. package/styles/css/main.css.map +1 -1
  42. package/styles/scss/filterBar.scss +17 -62
@@ -153,11 +153,7 @@ $attribute-filter-drag-handle-left: 10px;
153
153
  $default_space: 3px;
154
154
 
155
155
  position: relative;
156
- display: flex;
157
- align-items: stretch;
158
- flex-wrap: wrap;
159
156
  width: calc(100% - 150px); // minus filters configuration buttons panel width
160
- min-height: variables.$filter-bar-height;
161
157
  margin-right: variables.$scrollbar-width;
162
158
 
163
159
  .apply-all-at-once & {
@@ -352,6 +348,13 @@ $attribute-filter-drag-handle-left: 10px;
352
348
  }
353
349
  }
354
350
 
351
+ .dash-filters-toolbar {
352
+ display: flex;
353
+ align-items: stretch;
354
+ flex-wrap: wrap;
355
+ min-height: variables.$filter-bar-height;
356
+ }
357
+
355
358
  .filter-bar-dropzone-container {
356
359
  position: relative;
357
360
  flex-grow: 1;
@@ -544,6 +547,10 @@ $attribute-filter-drag-handle-left: 10px;
544
547
  align-items: start;
545
548
  justify-content: center;
546
549
  height: 100%;
550
+ // the tertiary "My views" button has no side padding, this keeps it aligned
551
+ // with the .dash-header-options-button in the top bar
552
+ padding-right: 10px;
553
+ gap: 10px;
547
554
  }
548
555
 
549
556
  // --- Filter Views configuration panel open button
@@ -551,78 +558,26 @@ $attribute-filter-drag-handle-left: 10px;
551
558
  .gd-filter-views {
552
559
  display: flex;
553
560
  align-items: center;
561
+ gap: 10px;
554
562
  }
555
563
 
556
- .gd-button-primary.gd-filter-views-button {
557
- border: 0;
558
- box-shadow: none;
559
- color: var(--gd-palette-complementary-6);
560
- background: variables.$gd-dashboards-content-backgroundColor;
561
- font-size: 14px;
564
+ .gd-filter-views-button {
565
+ display: flex;
566
+ align-items: center;
562
567
 
563
568
  // can be removed when filters apply modes feature flag is enabled
564
569
  &.deprecated-margin-top {
565
570
  margin-top: 7px;
566
571
  }
567
-
568
- // override .button behavior so text and icon does not "jump" (simulate pressed button)
569
- &:not(.disabled):not(.gd-button-link) {
570
- &:active {
571
- &::before,
572
- &::after {
573
- top: 1px;
574
- }
575
-
576
- .gd-button-text {
577
- top: 1px;
578
- }
579
-
580
- .gd-button-icon {
581
- margin-top: 1px;
582
- color: var(--gd-palette-primary-base);
583
- }
584
- }
585
- }
586
-
587
- &:not(.disabled):not(.gd-button-link):hover {
588
- .gd-button-icon {
589
- color: var(--gd-palette-primary-base);
590
- }
591
-
592
- color: var(--gd-palette-complementary-8);
593
- }
594
-
595
- .gd-button-icon {
596
- color: var(--gd-palette-complementary-5);
597
- // A little hack. The My views button is using the outdated <Button> component.
598
- // This brings the visuals in line with the <UiButton> used in the All tabs component.
599
- /* stylelint-disable-next-line declaration-no-important */
600
- margin: 0 -8px 0 6px !important;
601
- }
602
-
603
- .gd-filter-views-button__label {
604
- text-decoration: underline;
605
- }
606
572
  }
607
573
 
608
574
  .gd-dash-content--density-compact {
609
575
  .filter-bar-configuration {
610
576
  align-items: center;
611
- padding-right: 10px;
612
577
  }
613
578
 
614
- .gd-button-primary.gd-filter-views-button {
615
- &.deprecated-margin-top {
616
- margin-top: 0;
617
- }
618
- }
619
- }
620
-
621
- .gd-button-primary.gd-filter-views-button--open {
622
- color: kit-variables.$gd-color-text;
623
-
624
- .gd-button-icon::before {
625
- color: kit-variables.$gd-color-highlight;
579
+ .gd-filter-views-button.deprecated-margin-top {
580
+ margin-top: 0;
626
581
  }
627
582
  }
628
583