@gooddata/sdk-ui-dashboard 11.40.0-alpha.3 → 11.40.0-alpha.4
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 +118 -78
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.js +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.js +2 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.js +9 -2
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.d.ts +21 -0
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.js +112 -0
- package/esm/presentation/dragAndDrop/types.d.ts +1 -0
- package/esm/sdk-ui-dashboard.d.ts +1 -0
- package/package.json +24 -24
- package/styles/css/main.css +73 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/sidebar.css +73 -0
- package/styles/css/sidebar.css.map +1 -1
- package/styles/scss/sidebar.scss +94 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.40.0-alpha.
|
|
3
|
+
"version": "11.40.0-alpha.4",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
"ts-invariant": "0.10.3",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
62
|
"uuid": "11.1.0",
|
|
63
|
-
"@gooddata/sdk-backend-base": "11.40.0-alpha.
|
|
64
|
-
"@gooddata/sdk-backend-spi": "11.40.0-alpha.
|
|
65
|
-
"@gooddata/sdk-
|
|
66
|
-
"@gooddata/sdk-
|
|
67
|
-
"@gooddata/sdk-ui-charts": "11.40.0-alpha.
|
|
68
|
-
"@gooddata/sdk-ui-ext": "11.40.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-
|
|
70
|
-
"@gooddata/sdk-ui-
|
|
71
|
-
"@gooddata/sdk-ui-
|
|
72
|
-
"@gooddata/sdk-ui-pivot": "11.40.0-alpha.
|
|
73
|
-
"@gooddata/sdk-ui-
|
|
74
|
-
"@gooddata/sdk-ui-
|
|
75
|
-
"@gooddata/util": "11.40.0-alpha.
|
|
63
|
+
"@gooddata/sdk-backend-base": "11.40.0-alpha.4",
|
|
64
|
+
"@gooddata/sdk-backend-spi": "11.40.0-alpha.4",
|
|
65
|
+
"@gooddata/sdk-model": "11.40.0-alpha.4",
|
|
66
|
+
"@gooddata/sdk-ui": "11.40.0-alpha.4",
|
|
67
|
+
"@gooddata/sdk-ui-charts": "11.40.0-alpha.4",
|
|
68
|
+
"@gooddata/sdk-ui-ext": "11.40.0-alpha.4",
|
|
69
|
+
"@gooddata/sdk-ui-filters": "11.40.0-alpha.4",
|
|
70
|
+
"@gooddata/sdk-ui-geo": "11.40.0-alpha.4",
|
|
71
|
+
"@gooddata/sdk-ui-kit": "11.40.0-alpha.4",
|
|
72
|
+
"@gooddata/sdk-ui-pivot": "11.40.0-alpha.4",
|
|
73
|
+
"@gooddata/sdk-ui-vis-commons": "11.40.0-alpha.4",
|
|
74
|
+
"@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.4",
|
|
75
|
+
"@gooddata/util": "11.40.0-alpha.4"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -106,9 +106,9 @@
|
|
|
106
106
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
107
107
|
"happy-dom": "18.0.1",
|
|
108
108
|
"npm-run-all": "^4.1.5",
|
|
109
|
-
"oxfmt": "0.
|
|
110
|
-
"oxlint": "
|
|
111
|
-
"oxlint-tsgolint": "0.
|
|
109
|
+
"oxfmt": "0.52.0",
|
|
110
|
+
"oxlint": "1.51.0",
|
|
111
|
+
"oxlint-tsgolint": "0.15.0",
|
|
112
112
|
"raf": "3.4.1",
|
|
113
113
|
"react": "19.1.1",
|
|
114
114
|
"react-dom": "19.1.1",
|
|
@@ -116,14 +116,14 @@
|
|
|
116
116
|
"stylelint": "^16.26.1",
|
|
117
117
|
"svgo": "^2.8.0",
|
|
118
118
|
"typescript": "5.9.3",
|
|
119
|
-
"vitest": "4.1.
|
|
119
|
+
"vitest": "4.1.8",
|
|
120
120
|
"vitest-dom": "0.1.1",
|
|
121
|
-
"@gooddata/
|
|
122
|
-
"@gooddata/
|
|
123
|
-
"@gooddata/oxlint-config": "11.40.0-alpha.
|
|
124
|
-
"@gooddata/
|
|
125
|
-
"@gooddata/
|
|
126
|
-
"@gooddata/stylelint-config": "11.40.0-alpha.
|
|
121
|
+
"@gooddata/eslint-config": "11.40.0-alpha.4",
|
|
122
|
+
"@gooddata/i18n-toolkit": "11.40.0-alpha.4",
|
|
123
|
+
"@gooddata/oxlint-config": "11.40.0-alpha.4",
|
|
124
|
+
"@gooddata/reference-workspace": "11.40.0-alpha.4",
|
|
125
|
+
"@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.4",
|
|
126
|
+
"@gooddata/stylelint-config": "11.40.0-alpha.4"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
|
129
129
|
"react": "^18.0.0 || ^19.0.0",
|
package/styles/css/main.css
CHANGED
|
@@ -30783,6 +30783,79 @@ figure {
|
|
|
30783
30783
|
height: 100vh;
|
|
30784
30784
|
border-right: 1px solid var(--gd-palette-complementary-3, #dde4eb);
|
|
30785
30785
|
}
|
|
30786
|
+
.gd-sidebar-container--resizable {
|
|
30787
|
+
min-width: 230px;
|
|
30788
|
+
width: 100%;
|
|
30789
|
+
}
|
|
30790
|
+
|
|
30791
|
+
.gd-resizable-sidebar {
|
|
30792
|
+
display: flex;
|
|
30793
|
+
flex-direction: column;
|
|
30794
|
+
flex: 0 0 auto;
|
|
30795
|
+
}
|
|
30796
|
+
.gd-resizable-sidebar--dragging, .gd-resizable-sidebar:has(.gd-resizable-sidebar__handle:focus) {
|
|
30797
|
+
z-index: 9999;
|
|
30798
|
+
}
|
|
30799
|
+
.gd-resizable-sidebar__handle {
|
|
30800
|
+
opacity: 0;
|
|
30801
|
+
position: absolute;
|
|
30802
|
+
top: 0;
|
|
30803
|
+
bottom: 0;
|
|
30804
|
+
transform: translateX(calc(var(--drag-x, 0) - 50%));
|
|
30805
|
+
z-index: 2;
|
|
30806
|
+
display: flex;
|
|
30807
|
+
align-items: center;
|
|
30808
|
+
justify-content: center;
|
|
30809
|
+
width: 6px;
|
|
30810
|
+
background: transparent;
|
|
30811
|
+
border: 0;
|
|
30812
|
+
cursor: col-resize;
|
|
30813
|
+
touch-action: none;
|
|
30814
|
+
}
|
|
30815
|
+
.gd-resizable-sidebar__handle:focus {
|
|
30816
|
+
outline: none;
|
|
30817
|
+
}
|
|
30818
|
+
.gd-resizable-sidebar__handle:disabled {
|
|
30819
|
+
cursor: initial;
|
|
30820
|
+
}
|
|
30821
|
+
.gd-resizable-sidebar__handle--dragging {
|
|
30822
|
+
opacity: 1;
|
|
30823
|
+
}
|
|
30824
|
+
.gd-resizable-sidebar--resizable:hover .gd-resizable-sidebar__handle, .gd-resizable-sidebar--resizable:focus-within .gd-resizable-sidebar__handle {
|
|
30825
|
+
opacity: 1;
|
|
30826
|
+
}
|
|
30827
|
+
.gd-resizable-sidebar__handle-grip {
|
|
30828
|
+
display: flex;
|
|
30829
|
+
align-items: center;
|
|
30830
|
+
justify-content: center;
|
|
30831
|
+
gap: 10px;
|
|
30832
|
+
height: 25px;
|
|
30833
|
+
padding: 5px 3px;
|
|
30834
|
+
background: var(--gd-palette-complementary-0);
|
|
30835
|
+
border: 1px solid var(--gd-palette-complementary-5);
|
|
30836
|
+
border-radius: 2px;
|
|
30837
|
+
}
|
|
30838
|
+
.gd-resizable-sidebar--dragging .gd-resizable-sidebar__handle-grip, .gd-resizable-sidebar__handle:focus .gd-resizable-sidebar__handle-grip {
|
|
30839
|
+
border: 2px solid #14b2e2;
|
|
30840
|
+
border-radius: 3px;
|
|
30841
|
+
}
|
|
30842
|
+
.gd-resizable-sidebar--dragging .gd-resizable-sidebar__handle-grip::after, .gd-resizable-sidebar__handle:focus .gd-resizable-sidebar__handle-grip::after {
|
|
30843
|
+
content: "";
|
|
30844
|
+
position: absolute;
|
|
30845
|
+
top: 0;
|
|
30846
|
+
bottom: 0;
|
|
30847
|
+
left: 50%;
|
|
30848
|
+
transform: translateX(-50%);
|
|
30849
|
+
z-index: -1;
|
|
30850
|
+
width: 2px;
|
|
30851
|
+
background: #14b2e2;
|
|
30852
|
+
box-shadow: 0 0 0 4px var(--gd-palette-primary-base-t85, rgba(20, 178, 226, 0.15));
|
|
30853
|
+
}
|
|
30854
|
+
|
|
30855
|
+
body:has(.gd-resizable-sidebar--dragging),
|
|
30856
|
+
body:has(.gd-resizable-sidebar--dragging) * {
|
|
30857
|
+
cursor: col-resize;
|
|
30858
|
+
}
|
|
30786
30859
|
|
|
30787
30860
|
.add-item-panel {
|
|
30788
30861
|
padding: 0 7px;
|