@gooddata/sdk-ui-dashboard 11.48.0-alpha.0 → 11.48.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 (100) hide show
  1. package/NOTICE +1 -1
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/dateFilterConfig/validation.d.ts.map +1 -1
  5. package/esm/_staging/dateFilterConfig/validation.js +6 -5
  6. package/esm/index.d.ts +1 -1
  7. package/esm/index.d.ts.map +1 -1
  8. package/esm/index.js +1 -1
  9. package/esm/kdaDialog/components/KdaFooter.js +1 -1
  10. package/esm/kdaDialog/components/columns/driverColumn.js +1 -1
  11. package/esm/kdaDialog/composition/KeyDriversPanel.d.ts.map +1 -1
  12. package/esm/kdaDialog/composition/KeyDriversPanel.js +5 -1
  13. package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.d.ts.map +1 -1
  14. package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.js +2 -1
  15. package/esm/model/store/config/configSelectors.d.ts +0 -12
  16. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  17. package/esm/model/store/config/configSelectors.js +0 -16
  18. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.d.ts.map +1 -1
  19. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.js +1 -7
  20. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.test.js +0 -2
  21. package/esm/presentation/automations/contexts/AutomationsContext.d.ts +0 -2
  22. package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
  23. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  24. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +3 -6
  25. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts +1 -2
  26. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts.map +1 -1
  27. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js +2 -5
  28. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +1 -2
  29. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
  30. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +2 -2
  31. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -3
  32. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  33. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +12 -21
  34. package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.test.js +0 -2
  35. package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts +1 -1
  36. package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
  37. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts +1 -1
  38. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
  39. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +4 -4
  40. package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
  41. package/esm/presentation/dashboard/components/DashboardInner.js +1 -0
  42. package/esm/presentation/filterBar/measureValueFilter/MeasureValueFilterConfiguration.d.ts.map +1 -1
  43. package/esm/presentation/filterBar/measureValueFilter/MeasureValueFilterConfiguration.js +3 -1
  44. package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
  45. package/esm/presentation/widget/common/useInsightExport.js +24 -44
  46. package/esm/presentation/widget/description/DescriptionClickTrigger.d.ts.map +1 -1
  47. package/esm/presentation/widget/description/DescriptionClickTrigger.js +6 -5
  48. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.js +2 -2
  49. package/esm/presentation/widget/showAsTableButton/DefaultShowAsTableButton/ShowAsTableButton.d.ts.map +1 -1
  50. package/esm/presentation/widget/showAsTableButton/DefaultShowAsTableButton/ShowAsTableButton.js +2 -2
  51. package/esm/sdk-ui-dashboard.d.ts +0 -7
  52. package/package.json +21 -21
  53. package/styles/css/alerting.css.map +1 -1
  54. package/styles/css/configurationPanel.css.map +1 -1
  55. package/styles/css/dashboard.css +94 -394
  56. package/styles/css/dashboard.css.map +1 -1
  57. package/styles/css/dashboardNestedLayoutToolbar.css.map +1 -1
  58. package/styles/css/dragAndDrop.css.map +1 -1
  59. package/styles/css/drillConfigPanel.css.map +1 -1
  60. package/styles/css/drillDialog.css.map +1 -1
  61. package/styles/css/drillSelect.css.map +1 -1
  62. package/styles/css/export.css +5 -0
  63. package/styles/css/export.css.map +1 -1
  64. package/styles/css/filterBar.css +4 -12
  65. package/styles/css/filterBar.css.map +1 -1
  66. package/styles/css/floatingToolbar.css.map +1 -1
  67. package/styles/css/grouped-navigation.css.map +1 -1
  68. package/styles/css/kdaDialog.css +2 -1
  69. package/styles/css/kdaDialog.css.map +1 -1
  70. package/styles/css/kpi.css.map +1 -1
  71. package/styles/css/kpi_alert_dialog.css.map +1 -1
  72. package/styles/css/layout.css +42 -24
  73. package/styles/css/layout.css.map +1 -1
  74. package/styles/css/main.css +108 -407
  75. package/styles/css/main.css.map +1 -1
  76. package/styles/css/notifications_channels_dialog.css.map +1 -1
  77. package/styles/css/resizing.css.map +1 -1
  78. package/styles/css/richTextWidget.css.map +1 -1
  79. package/styles/css/sidebar.css.map +1 -1
  80. package/styles/css/toolbar.css.map +1 -1
  81. package/styles/css/topBar.css.map +1 -1
  82. package/styles/css/visualization.css.map +1 -1
  83. package/styles/css/visualizationSwitcherHeader.css.map +1 -1
  84. package/styles/css/visualizationSwitcherToolbar.css.map +1 -1
  85. package/styles/css/visualizationSwitcherWidget.css.map +1 -1
  86. package/styles/scss/_variables.scss +1 -0
  87. package/styles/scss/_zIndexes.scss +0 -1
  88. package/styles/scss/dashboard.scss +78 -354
  89. package/styles/scss/export.scss +7 -0
  90. package/styles/scss/filterBar.scss +4 -11
  91. package/styles/scss/kdaDialog.scss +3 -1
  92. package/styles/scss/layout.scss +49 -34
  93. package/esm/assets/alert-bell-na.svg +0 -1
  94. package/esm/assets/trash.svg +0 -1
  95. package/styles/css/item-states-mixin.css +0 -3
  96. package/styles/css/item-states-mixin.css.map +0 -1
  97. package/styles/css/item-states.css +0 -106
  98. package/styles/css/item-states.css.map +0 -1
  99. package/styles/scss/item-states-mixin.scss +0 -54
  100. package/styles/scss/item-states.scss +0 -65
@@ -12,15 +12,10 @@ $attribute-filter-drag-handle-left: 10px;
12
12
  position: relative;
13
13
 
14
14
  .show-all {
15
- position: absolute;
16
- bottom: -25px;
17
- left: 50%;
18
- display: block;
19
- transform: translateX(-50%);
20
-
21
- @media #{kit-variables.$xsmall-only}, #{kit-variables.$small-only} {
22
- z-index: zIndexes.$filterbar-show-all;
23
- }
15
+ position: relative;
16
+ margin-top: -1px; // Move "Show all" button on top of filter border
17
+ display: flex;
18
+ justify-content: center;
24
19
  }
25
20
 
26
21
  .gd-filter-button-custom-icon-wrapper {
@@ -222,8 +217,6 @@ $attribute-filter-drag-handle-left: 10px;
222
217
  }
223
218
 
224
219
  .button-filter-bar-show-all {
225
- position: relative;
226
- top: -2px;
227
220
  height: 24px;
228
221
  padding: 5px 24px;
229
222
  border: variables.$nav-border;
@@ -388,6 +388,8 @@
388
388
  justify-content: flex-end;
389
389
  width: 100%;
390
390
 
391
+ --gd-icon-fill-color: var(--gd-palette-complementary-6);
392
+
391
393
  .gd-ui-kit-button__text {
392
394
  flex-grow: 1;
393
395
  text-align: left;
@@ -948,7 +950,7 @@
948
950
  padding: 5px 10px;
949
951
  align-items: center;
950
952
  justify-content: space-between;
951
- width: calc(100% - 20px);
953
+ width: 100%;
952
954
  height: 32px;
953
955
  cursor: pointer;
954
956
 
@@ -56,9 +56,9 @@ $gd-dashboards-section-description-color: var(
56
56
  &::after {
57
57
  content: "";
58
58
  position: absolute;
59
- right: 10px;
60
- bottom: 5px;
61
- left: 10px;
59
+ right: 0;
60
+ bottom: -5px;
61
+ left: 0;
62
62
  height: 0;
63
63
  border-bottom: 1px dashed kit-variables.$gd-color-disabled;
64
64
  }
@@ -94,34 +94,31 @@ $gd-dashboards-section-description-color: var(
94
94
  }
95
95
 
96
96
  .gd-fluid-layout-row-header {
97
- padding-right: 20px;
98
- padding-left: 20px;
99
97
  text-align: center;
100
98
 
101
- .gd-fluid-layout-row-header-container {
102
- margin-top: 16px;
103
- }
104
-
105
99
  @media #{kit-variables.$medium-up} {
106
- padding-right: 0;
107
- padding-left: 0;
108
100
  text-align: left;
109
101
  }
110
102
 
111
103
  .gd-row-header-view {
104
+ display: flex;
105
+ flex-direction: column;
106
+ gap: 4px;
107
+
112
108
  .title {
113
- padding: 3px 5px;
109
+ padding: 0 5px 3px;
114
110
  white-space: pre-wrap;
115
111
  overflow-wrap: break-word;
116
112
  }
117
113
 
118
114
  .description {
119
- padding: 4px 5px 2px;
115
+ padding: 0 5px 7px;
120
116
  }
121
117
  }
122
118
 
123
119
  .gd-row-header-title-wrapper {
124
120
  display: flex;
121
+ align-items: center;
125
122
 
126
123
  h2,
127
124
  h3 {
@@ -131,13 +128,18 @@ $gd-dashboards-section-description-color: var(
131
128
  &::before,
132
129
  &::after {
133
130
  content: "";
134
- position: relative;
135
- top: 16px;
136
131
  flex: 1 1 auto;
137
132
  height: 0;
138
133
  border-top: 1px solid $gd-dashboards-section-title-lineColor;
139
134
  }
140
135
 
136
+ // Move lines slightly down in edit mode.
137
+ &.gd-editable-label-container::before,
138
+ &.gd-editable-label-container::after {
139
+ position: relative;
140
+ top: 2px;
141
+ }
142
+
141
143
  &::before {
142
144
  margin-right: 20px;
143
145
  }
@@ -458,22 +460,10 @@ $gd-dashboards-section-description-color: var(
458
460
  color: kit-variables.$gd-color-state-blank;
459
461
  }
460
462
  }
461
-
462
- .gd-row-header-view {
463
- .description {
464
- padding: 4px 5px 15px; // add bottom padding after section description, same as fluid layout
465
- }
466
- }
467
463
  }
468
464
 
469
465
  .gd-fluid-layout-row-header-container--with-headers {
470
- margin-top: 16px;
471
- }
472
-
473
- .gd-dashboard-nested-layout-content:not(.is-dragging-widget) {
474
- .gd-fluid-layout-row-header-container--no-headers {
475
- margin-top: 0;
476
- }
466
+ margin-top: 4px; // Create a bit of space between editable header and top row separator (that appears on header edit or when dragging visualization/container)
477
467
  }
478
468
 
479
469
  .gd-fluidlayout-column-container {
@@ -487,6 +477,14 @@ $gd-dashboards-section-description-color: var(
487
477
  column-gap: 20px;
488
478
  grid-auto-rows: min-content; // do not render empty row for potential next grid item (chrome weird behavior)
489
479
  flex-grow: 1; // take the whole width of the page (parent flex container).
480
+
481
+ /**
482
+ * Row separators (by default invisible) in edit mode already create spaces between items so no need to enlarge it even more there.
483
+ * Use :where selector to not mess up with specificity.
484
+ */
485
+ :where(.sdk-view-mode-on) & {
486
+ row-gap: 20px;
487
+ }
490
488
  }
491
489
 
492
490
  .gd-grid-layout__container--nested {
@@ -498,6 +496,18 @@ $gd-dashboards-section-description-color: var(
498
496
  position: relative; // necessary to contain plugin overlay inside of the element
499
497
  display: grid;
500
498
  grid-template-columns: subgrid;
499
+
500
+ /**
501
+ * Doing grid gaps in edit mode is problematical because there are lots of exceptions (such as row separators, width/height resizers) where the gaps shouldn't be,
502
+ * so scope it only to view mode. Use :where selector to not mess up with specificity.
503
+ */
504
+ :where(.sdk-view-mode-on) & {
505
+ row-gap: 20px;
506
+
507
+ .gd-fluid-layout-row-header {
508
+ margin-bottom: -20px;
509
+ }
510
+ }
501
511
  }
502
512
 
503
513
  .gd-grid-layout__item {
@@ -510,6 +520,11 @@ $gd-dashboards-section-description-color: var(
510
520
  max-height: inherit;
511
521
  overflow: hidden;
512
522
  }
523
+
524
+ // Some grid items are empty (have no content), which creates unneeded gaps when doing `row-gap`. Remove such elements from the flow.
525
+ &:empty {
526
+ display: none;
527
+ }
513
528
  }
514
529
 
515
530
  // generate classes for grid span from 1 to 12
@@ -543,12 +558,10 @@ $gd-dashboards-section-description-color: var(
543
558
  .gd-grid-layout__section {
544
559
  column-gap: 6px;
545
560
  row-gap: 6px;
546
- }
547
561
 
548
- // Hidden items (isHidden=true) render with height:0 but still occupy a grid row,
549
- // triggering row-gap before the next item. Hide them from grid flow entirely.
550
- .gd-grid-layout__item:empty {
551
- display: none;
562
+ .gd-fluid-layout-row-header {
563
+ margin-bottom: -6px;
564
+ }
552
565
  }
553
566
 
554
567
  // Nested layout containers have a JS-computed minHeight (inline style) based on gridHeight × row size.
@@ -577,8 +590,10 @@ $gd-dashboards-section-description-color: var(
577
590
  .gd-grid-layout {
578
591
  .gd-fluid-layout-row-header {
579
592
  .gd-row-header-view {
593
+ gap: 0;
594
+
580
595
  .description {
581
- padding: 0;
596
+ padding: 0 0 4px 0;
582
597
  font-size: 12px;
583
598
  // stylelint-disable-next-line max-nesting-depth
584
599
  .gd-rich-text-content {
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-40 -40 100 100"><path d="M9 18c.907 0 1.703-.332 2.344-.973a3.224 3.224 0 0 0 .973-2.344v-.088c.42-.023.84-.067 1.238-.089.398-.044.774-.088 1.128-.133 1.283-.154 2.1-.353 2.52-.574.421-.222.664-.443.753-.664.022-.088.044-.221.044-.42 0-.199-.088-.398-.31-.62a6.936 6.936 0 0 1-.995-1.26c-.31-.442-.575-.928-.818-1.415a15.829 15.829 0 0 1-.663-1.526c-.2-.53-.398-1.039-.597-1.548-.023-.088-.066-.154-.089-.22l-.862.862c.154.42.332.862.508 1.304.222.531.443 1.062.708 1.57.244.531.53 1.018.863 1.504.31.487.685.929 1.083 1.349a5.121 5.121 0 0 1-.752.265c-.376.11-.95.2-1.725.288-.73.088-1.548.155-2.454.199-.907.044-1.858.066-2.853.066-.641 0-1.238-.022-1.835-.044l-1.504 1.504c.066.774.376 1.46.951 2.034A3.224 3.224 0 0 0 9 18zm-2.211-3.361c.353.022.707.022 1.083.022h2.256c.376 0 .73-.022 1.083-.022v.044c0 .62-.22 1.15-.641 1.57-.42.42-.95.641-1.57.641-.62 0-1.15-.22-1.57-.641a2.15 2.15 0 0 1-.641-1.57zm-3.583-.288c-1.216-.154-2.012-.353-2.41-.575-.398-.22-.663-.442-.752-.663a1.687 1.687 0 0 1-.044-.42c0-.2.088-.398.31-.62.376-.375.707-.795.995-1.26.31-.442.575-.929.818-1.415s.464-.995.663-1.526c.2-.53.398-1.04.597-1.548.31-.774.597-1.526.885-2.233a8.142 8.142 0 0 1 1.061-1.88c.465-.663.995-1.15 1.614-1.46A4.454 4.454 0 0 1 8.978.266c.752 0 1.437.155 2.034.487.597.331 1.15.818 1.615 1.46.287.397.663 1.06.972 1.68L16.983.509l.818.818-16.474 16.54-.818-.818zm.973-.973 8.624-8.624c-.31-.663-.774-1.526-1.061-1.924a3.542 3.542 0 0 0-1.172-1.06c-.442-.243-.95-.376-1.57-.376-.62 0-1.128.133-1.57.376-.442.243-.818.62-1.15 1.061a7.962 7.962 0 0 0-.929 1.681c-.265.663-.575 1.393-.884 2.233-.2.509-.398 1.018-.597 1.57a19.597 19.597 0 0 1-.708 1.57c-.243.531-.53 1.018-.862 1.504a9.11 9.11 0 0 1-1.084 1.35c.133.065.376.154.752.264.288.089 1.283.31 2.211.376z" paint-order="stroke markers fill" transform="matrix(5.5 0 0 5.50001 -39.5 -39.5)" fill="#b0beca" stroke="#b0beca" stroke-width=".182"/></svg>
@@ -1 +0,0 @@
1
- <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M15.457 2.707c.363 0 .677.132.94.396.264.263.396.577.396.94v.914c0 .293-.082.554-.246.782-.164.229-.381.39-.65.484v11.32c0 .375-.132.694-.396.958a1.305 1.305 0 0 1-.958.395h-9c-.363 0-.677-.131-.94-.395a1.305 1.305 0 0 1-.396-.958V6.223a1.36 1.36 0 0 1-.66-.484 1.277 1.277 0 0 1-.254-.782v-.914c0-.363.132-.677.395-.94.264-.264.583-.396.958-.396h3.147V2.25c0-.375.132-.694.395-.958.264-.264.583-.396.958-.396h1.811c.363 0 .677.132.94.396.264.264.396.583.396.958v.457h3.164Zm-6.75-.457v.457h2.69V2.25a.442.442 0 0 0-.132-.325.422.422 0 0 0-.308-.132h-1.81a.422.422 0 0 0-.308.132.442.442 0 0 0-.132.325ZM14.543 18a.442.442 0 0 0 .325-.132.442.442 0 0 0 .132-.325V6.293H5.104v11.25a.44.44 0 0 0 .131.325c.088.088.19.132.308.132h9Zm1.353-13.043v-.914a.422.422 0 0 0-.131-.308.422.422 0 0 0-.308-.131H4.647a.422.422 0 0 0-.308.131.422.422 0 0 0-.132.308v.914c0 .117.044.22.132.308a.42.42 0 0 0 .307.131h10.811c.117 0 .22-.043.308-.131a.422.422 0 0 0 .131-.308Zm-4.146 2.25c.129 0 .237.044.325.132a.42.42 0 0 1 .132.307v9a.442.442 0 0 1-.132.326.442.442 0 0 1-.325.132.442.442 0 0 1-.325-.132.442.442 0 0 1-.132-.326v-9c0-.117.044-.22.132-.307a.442.442 0 0 1 .325-.132Zm-3.396 0c.117 0 .22.044.307.132a.42.42 0 0 1 .132.307v9a.442.442 0 0 1-.132.326.422.422 0 0 1-.307.132.442.442 0 0 1-.326-.132.442.442 0 0 1-.132-.326v-9c0-.117.044-.22.132-.307a.442.442 0 0 1 .326-.132Z" fill="#FFF" stroke="#FFF" stroke-width=".3"/></svg>
@@ -1,3 +0,0 @@
1
-
2
-
3
- /*# sourceMappingURL=item-states-mixin.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":[],"names":[],"mappings":"","file":"item-states-mixin.css"}
@@ -1,106 +0,0 @@
1
- .dash-item:hover .has-set-alert .dash-item-action-alert {
2
- color: var(--gd-palette-primary-base, #14b2e2);
3
- background-color: var(--gd-palette-primary-dimmed, #e8f7fc);
4
- }
5
- .dash-item .has-set-alert .dash-item-action-alert {
6
- color: var(--gd-palette-primary-base, #14b2e2);
7
- background-color: transparent;
8
- }
9
- .dash-item .has-set-alert .dash-item-action-alert:hover:not(.disabled) {
10
- color: var(--gd-palette-complementary-0, #fff);
11
- background-color: var(--gd-palette-primary-base, #14b2e2);
12
- }
13
- .dash-item .has-set-alert.is-alert-dialog {
14
- border-color: var(--gd-palette-primary-base, #14b2e2);
15
- }
16
- .dash-item .has-set-alert.is-alert-dialog .dash-item-action-alert, .dash-item .has-set-alert.is-alert-dialog .dash-item-action-alert:hover, .dash-item .has-set-alert.is-alert-dialog:hover .dash-item-action-alert, .dash-item .has-set-alert.is-alert-dialog:hover .dash-item-action-alert:hover, .dash-item .has-set-alert.is-alert-highlighted .dash-item-action-alert, .dash-item .has-set-alert.is-alert-highlighted .dash-item-action-alert:hover, .dash-item .has-set-alert.is-alert-highlighted:hover .dash-item-action-alert, .dash-item .has-set-alert.is-alert-highlighted:hover .dash-item-action-alert:hover {
17
- color: var(--gd-palette-complementary-0, #fff);
18
- background-color: var(--gd-palette-primary-base, #14b2e2);
19
- }
20
-
21
- .dash-item:hover .is-alert-dialog .dash-item-action-alert {
22
- color: var(--gd-palette-complementary-0, #fff);
23
- background-color: var(--gd-palette-primary-base, #14b2e2);
24
- }
25
- .dash-item .is-alert-dialog .dash-item-action-alert {
26
- color: transparent;
27
- background-color: transparent;
28
- }
29
- .dash-item .is-alert-dialog .dash-item-action-alert:hover:not(.disabled) {
30
- color: var(--gd-palette-complementary-0, #fff);
31
- background-color: var(--gd-palette-primary-base, #14b2e2);
32
- }
33
- .dash-item .is-alert-dialog.is-alert-dialog {
34
- border-color: var(--gd-palette-primary-base, #14b2e2);
35
- }
36
- .dash-item .is-alert-dialog.is-alert-dialog .dash-item-action-alert, .dash-item .is-alert-dialog.is-alert-dialog .dash-item-action-alert:hover, .dash-item .is-alert-dialog.is-alert-dialog:hover .dash-item-action-alert, .dash-item .is-alert-dialog.is-alert-dialog:hover .dash-item-action-alert:hover, .dash-item .is-alert-dialog.is-alert-highlighted .dash-item-action-alert, .dash-item .is-alert-dialog.is-alert-highlighted .dash-item-action-alert:hover, .dash-item .is-alert-dialog.is-alert-highlighted:hover .dash-item-action-alert, .dash-item .is-alert-dialog.is-alert-highlighted:hover .dash-item-action-alert:hover {
37
- color: var(--gd-palette-complementary-0, #fff);
38
- background-color: var(--gd-palette-primary-base, #14b2e2);
39
- }
40
-
41
- .dash-item:hover .is-alert-highlighted .dash-item-action-alert {
42
- color: var(--gd-palette-complementary-0, #fff);
43
- background-color: var(--gd-palette-primary-base, #14b2e2);
44
- }
45
- .dash-item .is-alert-highlighted .dash-item-action-alert {
46
- color: var(--gd-palette-complementary-0, #fff);
47
- background-color: var(--gd-palette-primary-base, #14b2e2);
48
- }
49
- .dash-item .is-alert-highlighted .dash-item-action-alert:hover:not(.disabled) {
50
- color: var(--gd-palette-complementary-0, #fff);
51
- background-color: var(--gd-palette-primary-base, #14b2e2);
52
- }
53
- .dash-item .is-alert-highlighted.is-alert-dialog {
54
- border-color: var(--gd-palette-primary-base, #14b2e2);
55
- }
56
- .dash-item .is-alert-highlighted.is-alert-dialog .dash-item-action-alert, .dash-item .is-alert-highlighted.is-alert-dialog .dash-item-action-alert:hover, .dash-item .is-alert-highlighted.is-alert-dialog:hover .dash-item-action-alert, .dash-item .is-alert-highlighted.is-alert-dialog:hover .dash-item-action-alert:hover, .dash-item .is-alert-highlighted.is-alert-highlighted .dash-item-action-alert, .dash-item .is-alert-highlighted.is-alert-highlighted .dash-item-action-alert:hover, .dash-item .is-alert-highlighted.is-alert-highlighted:hover .dash-item-action-alert, .dash-item .is-alert-highlighted.is-alert-highlighted:hover .dash-item-action-alert:hover {
57
- color: var(--gd-palette-complementary-0, #fff);
58
- background-color: var(--gd-palette-primary-base, #14b2e2);
59
- }
60
-
61
- .dash-item:hover .is-alert-triggered .dash-item-action-alert {
62
- color: var(--gd-palette-warning-dimmed40, #8a6434);
63
- background-color: var(--gd-palette-warning-base-t50, rgba(241, 134, 0, 0.5));
64
- }
65
- .dash-item .is-alert-triggered .dash-item-action-alert {
66
- color: var(--gd-palette-warning-dimmed40, #8a6434);
67
- background-color: var(--gd-palette-warning-base-t50, rgba(241, 134, 0, 0.5));
68
- }
69
- .dash-item .is-alert-triggered .dash-item-action-alert:hover:not(.disabled) {
70
- color: var(--gd-palette-warning-text-dimmed, #685945);
71
- background-color: var(--gd-palette-warning-base, #f18600);
72
- }
73
- .dash-item .is-alert-triggered.is-alert-dialog {
74
- border-color: var(--gd-palette-warning-base, #f18600);
75
- }
76
- .dash-item .is-alert-triggered.is-alert-dialog .dash-item-action-alert, .dash-item .is-alert-triggered.is-alert-dialog .dash-item-action-alert:hover, .dash-item .is-alert-triggered.is-alert-dialog:hover .dash-item-action-alert, .dash-item .is-alert-triggered.is-alert-dialog:hover .dash-item-action-alert:hover, .dash-item .is-alert-triggered.is-alert-highlighted .dash-item-action-alert, .dash-item .is-alert-triggered.is-alert-highlighted .dash-item-action-alert:hover, .dash-item .is-alert-triggered.is-alert-highlighted:hover .dash-item-action-alert, .dash-item .is-alert-triggered.is-alert-highlighted:hover .dash-item-action-alert:hover {
77
- color: var(--gd-palette-warning-text-dimmed, #685945);
78
- background-color: var(--gd-palette-warning-base, #f18600);
79
- }
80
-
81
- .dash-item:hover .is-alert-broken .dash-item-action-alert {
82
- color: var(--gd-palette-error-base, #e54d42);
83
- background-color: var(--gd-palette-error-dimmed, #fcedec);
84
- }
85
- .dash-item .is-alert-broken .dash-item-action-alert {
86
- color: var(--gd-palette-error-base, #e54d42);
87
- background-color: transparent;
88
- }
89
- .dash-item .is-alert-broken .dash-item-action-alert:hover:not(.disabled) {
90
- color: var(--gd-palette-complementary-0, #fff);
91
- background-color: var(--gd-palette-error-base, #e54d42);
92
- }
93
- .dash-item .is-alert-broken.is-alert-dialog {
94
- border-color: var(--gd-palette-error-base, #e54d42);
95
- }
96
- .dash-item .is-alert-broken.is-alert-dialog .dash-item-action-alert, .dash-item .is-alert-broken.is-alert-dialog .dash-item-action-alert:hover, .dash-item .is-alert-broken.is-alert-dialog:hover .dash-item-action-alert, .dash-item .is-alert-broken.is-alert-dialog:hover .dash-item-action-alert:hover, .dash-item .is-alert-broken.is-alert-highlighted .dash-item-action-alert, .dash-item .is-alert-broken.is-alert-highlighted .dash-item-action-alert:hover, .dash-item .is-alert-broken.is-alert-highlighted:hover .dash-item-action-alert, .dash-item .is-alert-broken.is-alert-highlighted:hover .dash-item-action-alert:hover {
97
- color: var(--gd-palette-complementary-0, #fff);
98
- background-color: var(--gd-palette-error-base, #e54d42);
99
- }
100
-
101
- .dash-item .is-alert-evaluating .dash-item-action-alert {
102
- color: var(--gd-palette-complementary-5, #b0beca);
103
- background-color: var(--gd-palette-complementary-0, #fff);
104
- }
105
-
106
- /*# sourceMappingURL=item-states.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["../scss/item-states-mixin.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss","../scss/item-states.scss"],"names":[],"mappings":"AAaY;EACI,OCiCU;EDhCV,kBCmCY;;AD9BhB;EACI,OC0BU;EDzBV,kBEZZ;;AFcY;EACI,OCeE;EDdF,kBCqBM;;ADjBd;EACI,cCgBU;;ADJF;EAEI,OCLN;EDMM,kBCCF;;;ADlCd;EACI,OC0BM;EDzBN,kBCgCU;;AD3Bd;EACI,OEFZ;EFGY,kBEFZ;;AFIY;EACI,OCeE;EDdF,kBCqBM;;ADjBd;EACI,cCgBU;;ADJF;EAEI,OCLN;EDMM,kBCCF;;;ADlCd;EACI,OC0BM;EDzBN,kBCgCU;;AD3Bd;EACI,OCmBM;EDlBN,kBCyBU;;ADvBV;EACI,OCeE;EDdF,kBCqBM;;ADjBd;EACI,cCgBU;;ADJF;EAEI,OCLN;EDMM,kBCCF;;;ADlCd;EACI,OCmFgB;EDlFhB,kBC0Ec;;ADrElB;EACI,OC4EgB;ED3EhB,kBCmEc;;ADjEd;EACI,OCoEK;EDnEL,kBCsDM;;ADlDd;EACI,cCiDU;;ADrCF;EAEI,OCgDH;ED/CG,kBCkCF;;;ADnEd;EACI,OCkDQ;EDjDR,kBCmDU;;AD9Cd;EACI,OC2CQ;ED1CR,kBE4BZ;;AF1BY;EACI,OCFH;EDGG,kBCsCI;;ADlCZ;EACI,cCiCQ;;ADrBA;EAEI,OCtBX;EDuBW,kBCkBJ;;;AD5CZ;EACI,OCMI;EDLJ,kBCCC","file":"item-states.css"}
@@ -1,54 +0,0 @@
1
- // (C) 2007-2019 GoodData Corporation
2
-
3
- @mixin item-state(
4
- $state-name,
5
- $alert-normal-color,
6
- $alert-normal-bg,
7
- $alert-hover-color: null,
8
- $alert-hover-bg: null,
9
- $item-hover-alert-color: null,
10
- $item-hover-alert-bg: null
11
- ) {
12
- .dash-item {
13
- &:hover .#{$state-name} {
14
- .dash-item-action-alert {
15
- color: $item-hover-alert-color;
16
- background-color: $item-hover-alert-bg;
17
- }
18
- }
19
-
20
- .#{$state-name} {
21
- .dash-item-action-alert {
22
- color: $alert-normal-color;
23
- background-color: $alert-normal-bg;
24
-
25
- &:hover:not(.disabled) {
26
- color: $alert-hover-color;
27
- background-color: $alert-hover-bg;
28
- }
29
- }
30
-
31
- &.is-alert-dialog {
32
- border-color: $alert-hover-bg;
33
- }
34
-
35
- &.is-alert-dialog,
36
- &.is-alert-highlighted {
37
- &,
38
- &:hover {
39
- // overwrite
40
- // stylelint-disable-next-line max-nesting-depth
41
- .dash-item-action-alert {
42
- // overwrite
43
- // stylelint-disable-next-line max-nesting-depth
44
- &,
45
- &:hover {
46
- color: $alert-hover-color;
47
- background-color: $alert-hover-bg;
48
- }
49
- }
50
- }
51
- }
52
- }
53
- }
54
- }
@@ -1,65 +0,0 @@
1
- // (C) 2020 GoodData Corporation
2
- @use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
3
-
4
- @use "item-states-mixin";
5
-
6
- // allow custom indentation
7
- // stylelint-disable indentation, at-rule-empty-line-before
8
- @include item-states-mixin.item-state(
9
- "has-set-alert",
10
- kit-variables.$gd-palette-primary-base,
11
- transparent,
12
- kit-variables.$gd-color-text-light,
13
- kit-variables.$gd-palette-primary-base,
14
- kit-variables.$gd-palette-primary-base,
15
- kit-variables.$gd-palette-primary-dimmed
16
- );
17
-
18
- @include item-states-mixin.item-state(
19
- "is-alert-dialog",
20
- transparent,
21
- transparent,
22
- kit-variables.$gd-color-text-light,
23
- kit-variables.$gd-palette-primary-base,
24
- kit-variables.$gd-color-text-light,
25
- kit-variables.$gd-palette-primary-base
26
- );
27
-
28
- @include item-states-mixin.item-state(
29
- "is-alert-highlighted",
30
- kit-variables.$gd-color-text-light,
31
- kit-variables.$gd-palette-primary-base,
32
- kit-variables.$gd-color-text-light,
33
- kit-variables.$gd-palette-primary-base,
34
- kit-variables.$gd-color-text-light,
35
- kit-variables.$gd-palette-primary-base
36
- );
37
-
38
- @include item-states-mixin.item-state(
39
- "is-alert-triggered",
40
- kit-variables.$gd-color-warning-label-dimmed,
41
- kit-variables.$gd-palette-warning-base-t50,
42
- kit-variables.$gd-color-warning-label,
43
- kit-variables.$gd-palette-warning-base,
44
- kit-variables.$gd-color-warning-label-dimmed,
45
- kit-variables.$gd-palette-warning-base-t50
46
- );
47
-
48
- @include item-states-mixin.item-state(
49
- "is-alert-broken",
50
- kit-variables.$gd-palette-error-base,
51
- transparent,
52
- kit-variables.$gd-color-white,
53
- kit-variables.$gd-palette-error-base,
54
- kit-variables.$gd-palette-error-base,
55
- kit-variables.$gd-palette-error-dimmed
56
- );
57
-
58
- @include item-states-mixin.item-state(
59
- "is-alert-evaluating",
60
- kit-variables.$gd-color-disabled,
61
- kit-variables.$gd-color-white
62
- );
63
-
64
- // allow custom indentation
65
- // stylelint-enable indentation, at-rule-empty-line-before