@gooddata/sdk-ui-dashboard 10.33.0-alpha.74 → 10.33.0-alpha.76

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 (41) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/_staging/layout/sizing.js +1 -1
  4. package/esm/_staging/layout/sizing.js.map +1 -1
  5. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts +3 -1
  6. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
  7. package/esm/presentation/dragAndDrop/LayoutResizeContext.js +6 -2
  8. package/esm/presentation/dragAndDrop/LayoutResizeContext.js.map +1 -1
  9. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +1 -1
  10. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
  11. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.d.ts +8 -0
  12. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.d.ts.map +1 -0
  13. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.js +23 -0
  14. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.js.map +1 -0
  15. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -1
  16. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +2 -1
  17. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
  18. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
  19. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +4 -4
  20. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
  21. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js +1 -1
  22. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
  23. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js +1 -1
  24. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
  25. package/package.json +15 -15
  26. package/styles/css/dragAndDrop.css +3 -0
  27. package/styles/css/dragAndDrop.css.map +1 -1
  28. package/styles/css/main.css +71 -15
  29. package/styles/css/main.css.map +1 -1
  30. package/styles/css/resizing.css +68 -15
  31. package/styles/css/resizing.css.map +1 -1
  32. package/styles/scss/dragAndDrop.scss +4 -0
  33. package/styles/scss/resizing.scss +82 -13
  34. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +0 -9
  35. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +0 -1
  36. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +0 -16
  37. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +0 -1
  38. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +0 -3
  39. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +0 -1
  40. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +0 -20
  41. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +0 -1
@@ -21413,6 +21413,9 @@ figure {
21413
21413
  background: var(--gd-palette-complementary-1-from-theme, rgba(201, 213, 224, 0.05));
21414
21414
  text-align: center;
21415
21415
  }
21416
+ .drag-info-placeholder-box.drag-info-empty-nested-layout {
21417
+ padding: 0;
21418
+ }
21416
21419
  .drag-info-placeholder-box h2 {
21417
21420
  font-weight: bold;
21418
21421
  font-size: 20px;
@@ -24833,7 +24836,6 @@ figure {
24833
24836
  top: 0;
24834
24837
  right: 20px;
24835
24838
  bottom: 100%;
24836
- width: 0;
24837
24839
  height: 100%;
24838
24840
  }
24839
24841
 
@@ -24848,8 +24850,8 @@ figure {
24848
24850
  .dash-width-resizer-hotspot,
24849
24851
  .resizer-drag-preview {
24850
24852
  display: flex;
24851
- width: 40px;
24852
- padding: 0 0 0 5px;
24853
+ justify-content: center;
24854
+ width: 20px;
24853
24855
  cursor: col-resize;
24854
24856
  }
24855
24857
 
@@ -25006,9 +25008,6 @@ figure {
25006
25008
  background: var(--gd-dashboards-content-backgroundColor-from-theme, var(--gd-palette-complementary-0-from-theme, rgba(255, 255, 255, 0.95)));
25007
25009
  }
25008
25010
 
25009
- .gd-grid-layout-width-resizer-drag-preview {
25010
- padding: 0 0 0 10px;
25011
- }
25012
25011
  .gd-grid-layout-width-resizer-drag-preview.gd-first-container-row-widget .gd-fluidlayout-width-resizer__container {
25013
25012
  padding-top: 0;
25014
25013
  }
@@ -25020,16 +25019,15 @@ figure {
25020
25019
  }
25021
25020
  .gd-grid-layout-resizer-drag-preview .gd-fluidlayout-width-resizer,
25022
25021
  .gd-grid-layout .gd-fluidlayout-width-resizer {
25023
- padding: 4px 0;
25024
25022
  display: flex;
25025
25023
  flex-direction: column;
25026
25024
  border-radius: 4px;
25025
+ align-items: center;
25027
25026
  }
25028
25027
  .gd-grid-layout-resizer-drag-preview .gd-fluidlayout-width-resizer .width-resizer-line,
25029
25028
  .gd-grid-layout .gd-fluidlayout-width-resizer .width-resizer-line {
25030
25029
  flex: 1 0 auto;
25031
25030
  width: 0;
25032
- margin-left: 4px;
25033
25031
  height: unset;
25034
25032
  }
25035
25033
  .gd-grid-layout-resizer-drag-preview .dash-height-resizer-container,
@@ -25084,17 +25082,20 @@ figure {
25084
25082
  }
25085
25083
 
25086
25084
  .gd-grid-layout .dash-width-resizer-container {
25087
- position: relative;
25088
- left: -10px;
25089
- right: 0;
25090
- width: 0;
25085
+ position: absolute;
25086
+ right: -20px;
25087
+ width: 20px;
25088
+ display: flex;
25089
+ justify-content: center;
25091
25090
  }
25092
25091
  .gd-grid-layout .dash-width-resizer-container.gd-first-container-row-widget .gd-fluidlayout-width-resizer__container {
25093
25092
  padding-top: 0;
25094
25093
  }
25095
25094
  .gd-grid-layout .gd-fluidlayout-width-resizer__container {
25096
25095
  background: var(--gd-dashboards-content-backgroundColor, var(--gd-palette-complementary-0, #fff));
25097
- width: 100%;
25096
+ width: 20px;
25097
+ display: flex;
25098
+ justify-content: center;
25098
25099
  }
25099
25100
  .gd-grid-layout .dash-height-resizer-hotspot {
25100
25101
  position: absolute;
@@ -25118,9 +25119,10 @@ figure {
25118
25119
  }
25119
25120
 
25120
25121
  .sdk-edit-mode-on .gd-grid-layout .dash-width-resizer-hotspot {
25121
- position: unset;
25122
+ position: static;
25122
25123
  width: 20px;
25123
- padding: 0 0 0 10px;
25124
+ display: flex;
25125
+ justify-content: center;
25124
25126
  }
25125
25127
  .sdk-edit-mode-on .gd-grid-layout .gd-resize-overlay-text {
25126
25128
  right: -10px;
@@ -25153,6 +25155,60 @@ figure {
25153
25155
  left: unset;
25154
25156
  }
25155
25157
 
25158
+ .gd-grid-layout-ruler {
25159
+ --bullet-size: 6px;
25160
+ --bullet-size-active: 9px;
25161
+ --gap: 20px;
25162
+ padding: 20px 0 20px var(--gap);
25163
+ position: absolute;
25164
+ left: 0;
25165
+ right: 0;
25166
+ display: flex;
25167
+ }
25168
+ .gd-grid-layout-ruler__grid {
25169
+ flex-grow: 1;
25170
+ flex-shrink: 0;
25171
+ display: grid;
25172
+ gap: var(--gap);
25173
+ grid-template-columns: repeat(var(--columns-num), 1fr);
25174
+ grid-template-rows: auto;
25175
+ justify-content: start;
25176
+ align-items: stretch;
25177
+ }
25178
+ .gd-grid-layout-ruler__bullet-container {
25179
+ width: var(--gap);
25180
+ display: flex;
25181
+ justify-content: center;
25182
+ align-items: center;
25183
+ position: relative;
25184
+ left: calc(var(--gap) * -1);
25185
+ }
25186
+ .gd-grid-layout-ruler__bullet-container--last {
25187
+ left: 0;
25188
+ }
25189
+ .gd-grid-layout-ruler__bullet {
25190
+ width: var(--bullet-size);
25191
+ height: var(--bullet-size);
25192
+ border-radius: 100%;
25193
+ background-color: var(--gd-palette-complementary-6-from-theme, #b0beca);
25194
+ position: absolute;
25195
+ opacity: 0;
25196
+ transform: translateY(-20px);
25197
+ transition: transform 0.2s ease-out, opacity 0.1s ease-in, width 0.1s ease-out, height 0.1s ease-out;
25198
+ }
25199
+ .gd-grid-layout-ruler--active .gd-grid-layout-ruler__bullet {
25200
+ opacity: 1;
25201
+ transform: translateY(0);
25202
+ }
25203
+ .gd-grid-layout-ruler__bullet--active {
25204
+ background-color: var(--gd-palette-primary-base, #14b2e2);
25205
+ width: var(--bullet-size-active);
25206
+ height: var(--bullet-size-active);
25207
+ }
25208
+ .gd-grid-layout-ruler__bullet--initial {
25209
+ background-color: var(--gd-palette-complementary-9, #000);
25210
+ }
25211
+
25156
25212
  .gd-drill-origin-selector .dropdown-button {
25157
25213
  font-size: 12px;
25158
25214
  display: inline-block;