@gooddata/sdk-ui-ext 11.32.0-alpha.0 → 11.32.0-alpha.2

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 (68) hide show
  1. package/NOTICE +3 -3
  2. package/esm/index.d.ts +4 -1
  3. package/esm/index.d.ts.map +1 -1
  4. package/esm/index.js +2 -0
  5. package/esm/index.js.map +1 -1
  6. package/esm/insightPicker/InsightPicker.d.ts +18 -0
  7. package/esm/insightPicker/InsightPicker.d.ts.map +1 -0
  8. package/esm/insightPicker/InsightPicker.js +29 -0
  9. package/esm/insightPicker/InsightPicker.js.map +1 -0
  10. package/esm/insightPicker/InsightPickerCore.d.ts +3 -0
  11. package/esm/insightPicker/InsightPickerCore.d.ts.map +1 -0
  12. package/esm/insightPicker/InsightPickerCore.js +117 -0
  13. package/esm/insightPicker/InsightPickerCore.js.map +1 -0
  14. package/esm/insightPicker/InsightPickerFilterBar.d.ts +21 -0
  15. package/esm/insightPicker/InsightPickerFilterBar.d.ts.map +1 -0
  16. package/esm/insightPicker/InsightPickerFilterBar.js +46 -0
  17. package/esm/insightPicker/InsightPickerFilterBar.js.map +1 -0
  18. package/esm/insightPicker/InsightPickerMenu.d.ts +10 -0
  19. package/esm/insightPicker/InsightPickerMenu.d.ts.map +1 -0
  20. package/esm/insightPicker/InsightPickerMenu.js +22 -0
  21. package/esm/insightPicker/InsightPickerMenu.js.map +1 -0
  22. package/esm/insightPicker/InsightPickerRow.d.ts +17 -0
  23. package/esm/insightPicker/InsightPickerRow.d.ts.map +1 -0
  24. package/esm/insightPicker/InsightPickerRow.js +19 -0
  25. package/esm/insightPicker/InsightPickerRow.js.map +1 -0
  26. package/esm/insightPicker/InsightPickerSortDropdown.d.ts +9 -0
  27. package/esm/insightPicker/InsightPickerSortDropdown.d.ts.map +1 -0
  28. package/esm/insightPicker/InsightPickerSortDropdown.js +29 -0
  29. package/esm/insightPicker/InsightPickerSortDropdown.js.map +1 -0
  30. package/esm/insightPicker/messages.d.ts +60 -0
  31. package/esm/insightPicker/messages.d.ts.map +1 -0
  32. package/esm/insightPicker/messages.js +62 -0
  33. package/esm/insightPicker/messages.js.map +1 -0
  34. package/esm/insightPicker/types.d.ts +107 -0
  35. package/esm/insightPicker/types.d.ts.map +1 -0
  36. package/esm/insightPicker/types.js +3 -0
  37. package/esm/insightPicker/types.js.map +1 -0
  38. package/esm/insightPicker/useInsightPickerFilters.d.ts +17 -0
  39. package/esm/insightPicker/useInsightPickerFilters.d.ts.map +1 -0
  40. package/esm/insightPicker/useInsightPickerFilters.js +55 -0
  41. package/esm/insightPicker/useInsightPickerFilters.js.map +1 -0
  42. package/esm/insightPicker/useInsightPickerHybridSearch.d.ts +25 -0
  43. package/esm/insightPicker/useInsightPickerHybridSearch.d.ts.map +1 -0
  44. package/esm/insightPicker/useInsightPickerHybridSearch.js +66 -0
  45. package/esm/insightPicker/useInsightPickerHybridSearch.js.map +1 -0
  46. package/esm/insightPicker/useInsightPickerState.d.ts +21 -0
  47. package/esm/insightPicker/useInsightPickerState.d.ts.map +1 -0
  48. package/esm/insightPicker/useInsightPickerState.js +49 -0
  49. package/esm/insightPicker/useInsightPickerState.js.map +1 -0
  50. package/esm/internal/components/insightList/useInsightPagedList.d.ts +33 -1
  51. package/esm/internal/components/insightList/useInsightPagedList.d.ts.map +1 -1
  52. package/esm/internal/components/insightList/useInsightPagedList.js +37 -9
  53. package/esm/internal/components/insightList/useInsightPagedList.js.map +1 -1
  54. package/esm/internal/index.d.ts +1 -1
  55. package/esm/internal/index.d.ts.map +1 -1
  56. package/esm/internal/index.js.map +1 -1
  57. package/esm/internal/translations/en-US.localization-bundle.d.ts +76 -0
  58. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  59. package/esm/internal/translations/en-US.localization-bundle.js +76 -0
  60. package/esm/internal/translations/en-US.localization-bundle.js.map +1 -1
  61. package/esm/sdk-ui-ext.d.ts +183 -1
  62. package/package.json +21 -20
  63. package/styles/css/main.css +160 -0
  64. package/styles/css/main.css.map +1 -1
  65. package/styles/internal/css/insightPicker.css +161 -0
  66. package/styles/internal/css/insightPicker.css.map +1 -0
  67. package/styles/internal/scss/insightPicker.scss +189 -0
  68. package/styles/scss/main.scss +1 -0
@@ -0,0 +1,189 @@
1
+ // (C) 2026 GoodData Corporation
2
+
3
+ .gd-ui-ext-insight-picker .gd-ui-kit-chip {
4
+ font-size: 12px;
5
+ }
6
+
7
+ .gd-ui-ext-insight-picker-search {
8
+ padding: 0 10px 10px;
9
+ }
10
+
11
+ .gd-ui-ext-insight-picker-row {
12
+ display: grid;
13
+ grid-template-columns: 1fr;
14
+ align-items: center;
15
+ cursor: pointer;
16
+ padding-right: 10px;
17
+
18
+ &--with-menu {
19
+ grid-template-columns: 1fr auto;
20
+ }
21
+
22
+ &:hover {
23
+ background-color: var(--gd-palette-complementary-2, #ebeff4);
24
+
25
+ // Override the item's own hover so the whole row is uniform
26
+ .gd-visualizations-list-item:hover {
27
+ background-color: transparent;
28
+ }
29
+ }
30
+
31
+ // When the row contains the selected item, use the selected hover color
32
+ // for the entire row so there's no gray gap around the blue item
33
+ &:hover:has(.gd-visualizations-list-item.is-selected) {
34
+ background-color: var(--gd-palette-primary-dimmed, #e8f7fc);
35
+
36
+ .gd-visualizations-list-item.is-selected:hover {
37
+ background-color: transparent;
38
+ }
39
+ }
40
+ }
41
+
42
+ .gd-ui-ext-insight-picker-filter-bar {
43
+ display: flex;
44
+ align-items: center;
45
+ gap: 10px;
46
+ padding: 0 10px 10px;
47
+
48
+ &-label {
49
+ display: flex;
50
+ align-items: center;
51
+ gap: 5px;
52
+ flex-shrink: 0;
53
+ font-size: 12px;
54
+ line-height: 20px;
55
+ color: var(--gd-palette-complementary-6, #94a1ad);
56
+ white-space: nowrap;
57
+ }
58
+
59
+ &-filters {
60
+ flex: 1;
61
+ display: flex;
62
+ align-items: center;
63
+ gap: 10px;
64
+ min-width: 0;
65
+ }
66
+ }
67
+
68
+ // Sort dropdown trigger
69
+ .gd-ui-ext-insight-picker-sort {
70
+ display: flex;
71
+ align-items: center;
72
+ flex-shrink: 0;
73
+ }
74
+
75
+ .gd-ui-ext-insight-picker-sort-button {
76
+ display: flex;
77
+ align-items: center;
78
+ gap: 5px;
79
+ padding: 4px 8px;
80
+ border: none;
81
+ border-radius: 3px;
82
+ background: transparent;
83
+ cursor: pointer;
84
+ white-space: nowrap;
85
+
86
+ &:hover {
87
+ background-color: var(--gd-palette-complementary-2, #ebeff4);
88
+ }
89
+ }
90
+
91
+ .gd-ui-ext-insight-picker-sort-label {
92
+ font-size: 12px;
93
+ line-height: normal;
94
+ color: var(--gd-palette-complementary-6, #94a1ad);
95
+ }
96
+
97
+ .gd-ui-ext-insight-picker-sort-popup {
98
+ .gd-list-item {
99
+ width: 100%;
100
+ }
101
+ }
102
+
103
+ .gd-ui-ext-insight-picker-sort-header {
104
+ display: flex;
105
+ align-items: center;
106
+ height: 36px;
107
+ padding: 0 10px;
108
+ background-color: var(--gd-palette-complementary-2, #ebeff4);
109
+ font-size: 11px;
110
+ font-weight: 700;
111
+ letter-spacing: 0.5px;
112
+ text-transform: uppercase;
113
+ color: var(--gd-palette-complementary-6, #94a1ad);
114
+ }
115
+
116
+ // Author filter dropdown
117
+ .gd-ui-ext-insight-picker-author-filter {
118
+ width: 220px;
119
+ background: var(--gd-palette-complementary-0, #fff);
120
+ border-radius: 3px;
121
+ box-shadow:
122
+ 0 1px 3px 0 rgba(20, 56, 93, 0.1),
123
+ 0 2px 9px 0 rgba(20, 56, 93, 0.15);
124
+
125
+ &__header {
126
+ display: flex;
127
+ align-items: center;
128
+ height: 36px;
129
+ padding: 0 10px;
130
+ background-color: var(--gd-palette-complementary-2, #ebeff4);
131
+ font-size: 11px;
132
+ font-weight: 700;
133
+ letter-spacing: 0.5px;
134
+ color: var(--gd-palette-complementary-6, #94a1ad);
135
+ }
136
+
137
+ &__search {
138
+ padding: 10px;
139
+
140
+ .gd-input-field {
141
+ width: 100%;
142
+ }
143
+ }
144
+
145
+ &__list {
146
+ max-height: 200px;
147
+ overflow-y: auto;
148
+ overscroll-behavior: contain;
149
+ padding: 0 5px;
150
+ }
151
+
152
+ &__option {
153
+ display: flex;
154
+ align-items: center;
155
+ gap: 8px;
156
+ padding: 6px 5px;
157
+ cursor: pointer;
158
+ font-size: 14px;
159
+ line-height: 20px;
160
+ color: var(--gd-palette-complementary-8, #464e56);
161
+ border-radius: 3px;
162
+
163
+ &:hover {
164
+ background-color: var(--gd-palette-complementary-1, #f5f8fa);
165
+ }
166
+
167
+ &--all {
168
+ border-bottom: 1px solid var(--gd-palette-complementary-3, #dde4eb);
169
+ margin-bottom: 2px;
170
+ padding-bottom: 8px;
171
+ }
172
+ }
173
+
174
+ &__footer {
175
+ display: flex;
176
+ justify-content: flex-end;
177
+ gap: 8px;
178
+ padding: 10px;
179
+ border-top: 1px solid var(--gd-palette-complementary-3, #dde4eb);
180
+ }
181
+ }
182
+
183
+ .gd-list-item.gd-ui-ext-insight-picker-menu-destructive {
184
+ &:hover,
185
+ &.is-focused {
186
+ color: var(--gd-palette-error-base, #e54d42);
187
+ background-color: var(--gd-palette-error-dimmed, #fcedec);
188
+ }
189
+ }
@@ -6,3 +6,4 @@
6
6
  @use "../internal/scss/attribute_hierarchies";
7
7
  @use "../../src/notificationsPanel/notificationPanel.scss";
8
8
  @use "../automations/automations.scss";
9
+ @use "../internal/scss/insightPicker";