impact-ui 4.0.7-alpha.2 → 4.0.8

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 (76) hide show
  1. package/dist/_virtual/index13.js +2 -2
  2. package/dist/_virtual/index14.js +2 -2
  3. package/dist/_virtual/index2.js +2 -2
  4. package/dist/_virtual/index3.js +2 -4
  5. package/dist/_virtual/index4.js +3 -3
  6. package/dist/_virtual/index5.js +4 -2
  7. package/dist/components/ButtonGroup/index.js +1 -1
  8. package/dist/components/Chatbot/Chatbot.types.d.ts +1 -12
  9. package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
  10. package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
  11. package/dist/components/Chatbot/chatInput.js +4 -22
  12. package/dist/components/Chatbot/chatbotModuleMenu.d.ts +1 -1
  13. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
  14. package/dist/components/Chatbot/chatbotModuleMenu.js +186 -162
  15. package/dist/components/Chatbot/conversationScreen.d.ts +1 -1
  16. package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
  17. package/dist/components/Chatbot/conversationScreen.js +3 -7
  18. package/dist/components/Chatbot/customScreen.d.ts +1 -1
  19. package/dist/components/Chatbot/customScreen.d.ts.map +1 -1
  20. package/dist/components/Chatbot/customScreen.js +25 -26
  21. package/dist/components/Chatbot/index.d.ts.map +1 -1
  22. package/dist/components/Chatbot/index.js +240 -330
  23. package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
  24. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  25. package/dist/components/Chatbot/newChatComponent.js +2 -5
  26. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts +6 -2
  27. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
  28. package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -6
  29. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +2 -2
  30. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +1 -1
  31. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  32. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
  33. package/dist/components/KeyboardShortCuts/ShortcutModal.js +5 -4
  34. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  35. package/dist/components/KeyboardShortCuts/index.js +1 -1
  36. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  37. package/dist/components/Menu/IconMenuItem.d.ts.map +1 -1
  38. package/dist/components/Menu/IconMenuItem.js +1 -2
  39. package/dist/components/Menu/MenuHeaderInfo.js +1 -1
  40. package/dist/components/Menu/NestedMenuItem.js +2 -2
  41. package/dist/components/Menu/index.js +1 -1
  42. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  43. package/dist/components/RadioButtonGroup/index.js +1 -1
  44. package/dist/components/Slider/index.js +1 -1
  45. package/dist/components/Table/index.d.ts +2 -1
  46. package/dist/components/Table/index.d.ts.map +1 -1
  47. package/dist/components/Table/index.js +1 -1
  48. package/dist/components/Table/tableFunctions.d.ts.map +1 -1
  49. package/dist/components/Table/tableFunctions.js +19 -9
  50. package/dist/components/TableOld/index.d.ts.map +1 -1
  51. package/dist/components/TableOld/index.js +1 -2
  52. package/dist/components/TableOld/tableFunctions.d.ts.map +1 -1
  53. package/dist/components/TableOld/tableFunctions.js +19 -9
  54. package/dist/dev/productGroupTableData.d.ts +363 -0
  55. package/dist/dev/productGroupTableData.d.ts.map +1 -0
  56. package/dist/locales/de-DE.json.d.ts +2 -0
  57. package/dist/locales/de-DE.json.js +2 -0
  58. package/dist/locales/en-US.json.d.ts +2 -0
  59. package/dist/locales/en-US.json.js +2 -0
  60. package/dist/mcp-component-registry.json +1 -1
  61. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  62. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  63. package/dist/node_modules/prop-types/index.js +1 -1
  64. package/dist/node_modules/react-is/index.js +1 -1
  65. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  66. package/dist/utils/index.d.ts +0 -1
  67. package/dist/utils/index.d.ts.map +1 -1
  68. package/package.json +1 -1
  69. package/dist/hooks/useDraggableResizable.d.ts +0 -104
  70. package/dist/hooks/useDraggableResizable.d.ts.map +0 -1
  71. package/dist/hooks/useDraggableResizable.js +0 -323
  72. package/dist/hooks/useMediaQuery.d.ts +0 -9
  73. package/dist/hooks/useMediaQuery.d.ts.map +0 -1
  74. package/dist/utils/onResize.d.ts +0 -24
  75. package/dist/utils/onResize.d.ts.map +0 -1
  76. package/dist/utils/onResize.js +0 -28
@@ -1 +1 @@
1
- {"version":3,"file":"tableFunctions.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/tableFunctions.tsx"],"names":[],"mappings":"AAoDA,eAAO,MAAM,oBAAoB,GAAI,WAAM,SAQ1C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,WAAM,EAAE,aAAQ,SAK5C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,WAAM,SAK9C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,eAAU,EAAE,WAAM,EAAE,QAAG,SAM/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsItC,CAAC;AAiEF,eAAO,MAAM,OAAO,mFA0xClB,CAAC;AAEH,eAAO,MAAM,yBAAyB,GAAI,iBAAY,WAgBrD,CAAC"}
1
+ {"version":3,"file":"tableFunctions.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/tableFunctions.tsx"],"names":[],"mappings":"AAoDA,eAAO,MAAM,oBAAoB,GAAI,WAAM,SAQ1C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,WAAM,EAAE,aAAQ,SAK5C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,WAAM,SAK9C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,eAAU,EAAE,WAAM,EAAE,QAAG,SAM/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsItC,CAAC;AAiEF,eAAO,MAAM,OAAO,mFAkyClB,CAAC;AAEH,eAAO,MAAM,yBAAyB,GAAI,iBAAY,WAgBrD,CAAC"}
@@ -1234,17 +1234,27 @@ const Columns = forwardRef((props, ref) => {
1234
1234
  }
1235
1235
  ),
1236
1236
  /* @__PURE__ */ jsxs("div", { className: "table-setting-column-search-container", children: [
1237
- /* @__PURE__ */ jsx(IconButton, { style: { padding: "5px" }, onClick: toggleColumnCollapse, children: collapsedColumn ? /* @__PURE__ */ jsx(default_1$3, {}) : /* @__PURE__ */ jsx(default_1, {}) }),
1238
- /* @__PURE__ */ jsx(Checkbox, { checked: allColumnVisibility, onChange: onAllColumnCheckBoxChange }),
1239
- /* @__PURE__ */ jsx(
1240
- Input,
1237
+ /* @__PURE__ */ jsx("span", { className: "table-setting-column-collapse-slot", children: /* @__PURE__ */ jsx(
1238
+ IconButton,
1241
1239
  {
1242
- placeholder: t("common.search"),
1243
- rightIcon: /* @__PURE__ */ jsx(default_1$2, {}),
1244
- value: searchText,
1245
- onChange: handleSearchChange
1240
+ "aria-label": collapsedColumn ? "Expand columns" : "Collapse columns",
1241
+ className: "table-setting-column-collapse-btn",
1242
+ onClick: toggleColumnCollapse,
1243
+ children: collapsedColumn ? /* @__PURE__ */ jsx(default_1$3, {}) : /* @__PURE__ */ jsx(default_1, {})
1246
1244
  }
1247
- )
1245
+ ) }),
1246
+ /* @__PURE__ */ jsxs("div", { className: "table-setting-column-search-controls", children: [
1247
+ /* @__PURE__ */ jsx(Checkbox, { checked: allColumnVisibility, onChange: onAllColumnCheckBoxChange }),
1248
+ /* @__PURE__ */ jsx(
1249
+ Input,
1250
+ {
1251
+ placeholder: t("common.search"),
1252
+ rightIcon: /* @__PURE__ */ jsx(default_1$2, {}),
1253
+ value: searchText,
1254
+ onChange: handleSearchChange
1255
+ }
1256
+ )
1257
+ ] })
1248
1258
  ] }),
1249
1259
  !collapsedColumn && /* @__PURE__ */ jsx(
1250
1260
  "div",
@@ -0,0 +1,363 @@
1
+ export declare const rowData: {
2
+ product_group_id: number;
3
+ product_group_name: string;
4
+ product_group_description: string;
5
+ product_group_type: string;
6
+ created_by_user: string;
7
+ modified_by_user: string;
8
+ created_at: string;
9
+ modified_at: string;
10
+ group_under_process: number;
11
+ products_count: number;
12
+ markdown_products_count: number;
13
+ strategies_count: number;
14
+ promos_count: number;
15
+ is_excluded_in_event: boolean;
16
+ currency_symbols: never[];
17
+ source_application: string;
18
+ l0_name: string;
19
+ l1_name: string;
20
+ l2_name: string;
21
+ is_centrally_managed: boolean;
22
+ price_list_code: string;
23
+ markets: string[];
24
+ }[];
25
+ export declare const columnDefs: ({
26
+ field: string;
27
+ colId: string;
28
+ headerName: string;
29
+ sortable: boolean;
30
+ filter: boolean;
31
+ resizable: boolean;
32
+ editable: boolean;
33
+ hide: boolean;
34
+ pinned: string;
35
+ width: number;
36
+ minWidth: number;
37
+ enableRowGroup: boolean;
38
+ enablePivot: boolean;
39
+ enableValue: boolean;
40
+ rowDrag: boolean;
41
+ checkboxSelection: boolean;
42
+ headerCheckboxSelection: boolean;
43
+ headerCheckboxSelectionFilteredOnly: boolean;
44
+ autoHeight: boolean;
45
+ wrapText: boolean;
46
+ suppressSizeToFit: boolean;
47
+ suppressAutoSize: boolean;
48
+ suppressMenu: boolean;
49
+ suppressMovable: boolean;
50
+ lockPinned: boolean;
51
+ lockVisible: boolean;
52
+ type: string;
53
+ isSearchable: boolean;
54
+ advanceSearchEnabled: boolean;
55
+ formatter?: undefined;
56
+ _formatterCode?: undefined;
57
+ cellRendererParams?: undefined;
58
+ cellDataType?: undefined;
59
+ filterParams?: undefined;
60
+ flex?: undefined;
61
+ } | {
62
+ field: string;
63
+ colId: string;
64
+ headerName: string;
65
+ sortable: boolean;
66
+ filter: string;
67
+ resizable: boolean;
68
+ editable: boolean;
69
+ hide: boolean;
70
+ pinned: string;
71
+ minWidth: number;
72
+ enableRowGroup: boolean;
73
+ enablePivot: boolean;
74
+ enableValue: boolean;
75
+ rowDrag: boolean;
76
+ checkboxSelection: boolean;
77
+ headerCheckboxSelection: boolean;
78
+ autoHeight: boolean;
79
+ wrapText: boolean;
80
+ suppressSizeToFit: boolean;
81
+ suppressAutoSize: boolean;
82
+ suppressMenu: boolean;
83
+ suppressMovable: boolean;
84
+ lockPinned: boolean;
85
+ lockVisible: boolean;
86
+ type: string;
87
+ isSearchable: boolean;
88
+ advanceSearchEnabled: boolean;
89
+ formatter: string;
90
+ _formatterCode: string;
91
+ cellRendererParams: {
92
+ icons: {
93
+ processing: {
94
+ key: string;
95
+ trueValue: number;
96
+ };
97
+ };
98
+ disableKey?: undefined;
99
+ disableOperator?: undefined;
100
+ };
101
+ width?: undefined;
102
+ headerCheckboxSelectionFilteredOnly?: undefined;
103
+ cellDataType?: undefined;
104
+ filterParams?: undefined;
105
+ flex?: undefined;
106
+ } | {
107
+ field: string;
108
+ colId: string;
109
+ headerName: string;
110
+ sortable: boolean;
111
+ filter: string;
112
+ resizable: boolean;
113
+ editable: boolean;
114
+ hide: boolean;
115
+ width: number;
116
+ minWidth: number;
117
+ enableRowGroup: boolean;
118
+ enablePivot: boolean;
119
+ enableValue: boolean;
120
+ rowDrag: boolean;
121
+ checkboxSelection: boolean;
122
+ headerCheckboxSelection: boolean;
123
+ autoHeight: boolean;
124
+ wrapText: boolean;
125
+ suppressSizeToFit: boolean;
126
+ suppressAutoSize: boolean;
127
+ suppressMenu: boolean;
128
+ suppressMovable: boolean;
129
+ lockPinned: boolean;
130
+ lockVisible: boolean;
131
+ type: string;
132
+ isSearchable: boolean;
133
+ advanceSearchEnabled: boolean;
134
+ formatter: string;
135
+ _formatterCode: string;
136
+ pinned?: undefined;
137
+ headerCheckboxSelectionFilteredOnly?: undefined;
138
+ cellRendererParams?: undefined;
139
+ cellDataType?: undefined;
140
+ filterParams?: undefined;
141
+ flex?: undefined;
142
+ } | {
143
+ field: string;
144
+ colId: string;
145
+ headerName: string;
146
+ sortable: boolean;
147
+ filter: string;
148
+ resizable: boolean;
149
+ editable: boolean;
150
+ hide: boolean;
151
+ width: number;
152
+ minWidth: number;
153
+ enableRowGroup: boolean;
154
+ enablePivot: boolean;
155
+ enableValue: boolean;
156
+ rowDrag: boolean;
157
+ checkboxSelection: boolean;
158
+ headerCheckboxSelection: boolean;
159
+ autoHeight: boolean;
160
+ wrapText: boolean;
161
+ suppressSizeToFit: boolean;
162
+ suppressAutoSize: boolean;
163
+ suppressMenu: boolean;
164
+ suppressMovable: boolean;
165
+ lockPinned: boolean;
166
+ lockVisible: boolean;
167
+ cellDataType: string;
168
+ type: string;
169
+ isSearchable: boolean;
170
+ advanceSearchEnabled: boolean;
171
+ formatter: string;
172
+ _formatterCode: string;
173
+ pinned?: undefined;
174
+ headerCheckboxSelectionFilteredOnly?: undefined;
175
+ cellRendererParams?: undefined;
176
+ filterParams?: undefined;
177
+ flex?: undefined;
178
+ } | {
179
+ field: string;
180
+ colId: string;
181
+ headerName: string;
182
+ sortable: boolean;
183
+ filter: string;
184
+ resizable: boolean;
185
+ editable: boolean;
186
+ hide: boolean;
187
+ width: number;
188
+ minWidth: number;
189
+ enableRowGroup: boolean;
190
+ enablePivot: boolean;
191
+ enableValue: boolean;
192
+ rowDrag: boolean;
193
+ checkboxSelection: boolean;
194
+ headerCheckboxSelection: boolean;
195
+ autoHeight: boolean;
196
+ wrapText: boolean;
197
+ suppressSizeToFit: boolean;
198
+ suppressAutoSize: boolean;
199
+ suppressMenu: boolean;
200
+ suppressMovable: boolean;
201
+ lockPinned: boolean;
202
+ lockVisible: boolean;
203
+ cellDataType: string;
204
+ type: string;
205
+ isSearchable: boolean;
206
+ advanceSearchEnabled: boolean;
207
+ pinned?: undefined;
208
+ headerCheckboxSelectionFilteredOnly?: undefined;
209
+ formatter?: undefined;
210
+ _formatterCode?: undefined;
211
+ cellRendererParams?: undefined;
212
+ filterParams?: undefined;
213
+ flex?: undefined;
214
+ } | {
215
+ field: string;
216
+ colId: string;
217
+ headerName: string;
218
+ sortable: boolean;
219
+ filter: string;
220
+ resizable: boolean;
221
+ editable: boolean;
222
+ hide: boolean;
223
+ width: number;
224
+ minWidth: number;
225
+ enableRowGroup: boolean;
226
+ enablePivot: boolean;
227
+ enableValue: boolean;
228
+ rowDrag: boolean;
229
+ checkboxSelection: boolean;
230
+ headerCheckboxSelection: boolean;
231
+ autoHeight: boolean;
232
+ wrapText: boolean;
233
+ suppressSizeToFit: boolean;
234
+ suppressAutoSize: boolean;
235
+ suppressMenu: boolean;
236
+ suppressMovable: boolean;
237
+ lockPinned: boolean;
238
+ lockVisible: boolean;
239
+ type: string;
240
+ isSearchable: boolean;
241
+ advanceSearchEnabled: boolean;
242
+ pinned?: undefined;
243
+ headerCheckboxSelectionFilteredOnly?: undefined;
244
+ formatter?: undefined;
245
+ _formatterCode?: undefined;
246
+ cellRendererParams?: undefined;
247
+ cellDataType?: undefined;
248
+ filterParams?: undefined;
249
+ flex?: undefined;
250
+ } | {
251
+ field: string;
252
+ colId: string;
253
+ headerName: string;
254
+ sortable: boolean;
255
+ filter: string;
256
+ resizable: boolean;
257
+ editable: boolean;
258
+ hide: boolean;
259
+ minWidth: number;
260
+ enableRowGroup: boolean;
261
+ enablePivot: boolean;
262
+ enableValue: boolean;
263
+ rowDrag: boolean;
264
+ checkboxSelection: boolean;
265
+ headerCheckboxSelection: boolean;
266
+ autoHeight: boolean;
267
+ wrapText: boolean;
268
+ suppressSizeToFit: boolean;
269
+ suppressAutoSize: boolean;
270
+ suppressMenu: boolean;
271
+ suppressMovable: boolean;
272
+ lockPinned: boolean;
273
+ lockVisible: boolean;
274
+ type: string;
275
+ isSearchable: boolean;
276
+ advanceSearchEnabled: boolean;
277
+ formatter: string;
278
+ _formatterCode: string;
279
+ pinned?: undefined;
280
+ width?: undefined;
281
+ headerCheckboxSelectionFilteredOnly?: undefined;
282
+ cellRendererParams?: undefined;
283
+ cellDataType?: undefined;
284
+ filterParams?: undefined;
285
+ flex?: undefined;
286
+ } | {
287
+ field: string;
288
+ colId: string;
289
+ headerName: string;
290
+ sortable: boolean;
291
+ filter: string;
292
+ resizable: boolean;
293
+ editable: boolean;
294
+ hide: boolean;
295
+ width: number;
296
+ minWidth: number;
297
+ enableRowGroup: boolean;
298
+ enablePivot: boolean;
299
+ enableValue: boolean;
300
+ rowDrag: boolean;
301
+ checkboxSelection: boolean;
302
+ headerCheckboxSelection: boolean;
303
+ autoHeight: boolean;
304
+ wrapText: boolean;
305
+ suppressSizeToFit: boolean;
306
+ suppressAutoSize: boolean;
307
+ suppressMenu: boolean;
308
+ suppressMovable: boolean;
309
+ lockPinned: boolean;
310
+ lockVisible: boolean;
311
+ type: string;
312
+ isSearchable: boolean;
313
+ advanceSearchEnabled: boolean;
314
+ formatter: string;
315
+ _formatterCode: string;
316
+ filterParams: {};
317
+ pinned?: undefined;
318
+ headerCheckboxSelectionFilteredOnly?: undefined;
319
+ cellRendererParams?: undefined;
320
+ cellDataType?: undefined;
321
+ flex?: undefined;
322
+ } | {
323
+ field: string;
324
+ colId: string;
325
+ headerName: string;
326
+ sortable: boolean;
327
+ filter: string;
328
+ resizable: boolean;
329
+ editable: boolean;
330
+ hide: boolean;
331
+ minWidth: number;
332
+ flex: number;
333
+ enableRowGroup: boolean;
334
+ enablePivot: boolean;
335
+ enableValue: boolean;
336
+ rowDrag: boolean;
337
+ checkboxSelection: boolean;
338
+ headerCheckboxSelection: boolean;
339
+ autoHeight: boolean;
340
+ wrapText: boolean;
341
+ suppressSizeToFit: boolean;
342
+ suppressAutoSize: boolean;
343
+ suppressMenu: boolean;
344
+ suppressMovable: boolean;
345
+ lockPinned: boolean;
346
+ lockVisible: boolean;
347
+ type: string;
348
+ isSearchable: boolean;
349
+ advanceSearchEnabled: boolean;
350
+ formatter: string;
351
+ _formatterCode: string;
352
+ cellRendererParams: {
353
+ disableKey: string;
354
+ disableOperator: string;
355
+ icons?: undefined;
356
+ };
357
+ pinned?: undefined;
358
+ width?: undefined;
359
+ headerCheckboxSelectionFilteredOnly?: undefined;
360
+ cellDataType?: undefined;
361
+ filterParams?: undefined;
362
+ })[];
363
+ //# sourceMappingURL=productGroupTableData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productGroupTableData.d.ts","sourceRoot":"","sources":["../../src/dev/productGroupTableData.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;GA0lBnB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6dtB,CAAC"}
@@ -529,6 +529,8 @@ declare const _default: {
529
529
  "keyboardShortcuts.tutorial.step3.text": "Tastaturkürzel-Panel öffnen mit",
530
530
  "keyboardShortcuts.allSet.title": "Alles bereit!",
531
531
  "keyboardShortcuts.allSet.description": "Tastaturkürzel stehen bereit. Schneller, flüssiger arbeiten.",
532
+ "keyboardShortcuts.modal.footer.press": "Drücken Sie",
533
+ "keyboardShortcuts.modal.footer.closeHint": "um Modal oder Panel zu schließen",
532
534
 
533
535
  "fileUpload.headerTitle": "Datei hochladen",
534
536
  "fileUpload.subtitleOne": "Bis zu {count} Datei hochladbar",
@@ -475,6 +475,8 @@ const deDE = {
475
475
  "keyboardShortcuts.tutorial.step3.text": "Tastaturkürzel-Panel öffnen mit",
476
476
  "keyboardShortcuts.allSet.title": "Alles bereit!",
477
477
  "keyboardShortcuts.allSet.description": "Tastaturkürzel stehen bereit. Schneller, flüssiger arbeiten.",
478
+ "keyboardShortcuts.modal.footer.press": "Drücken Sie",
479
+ "keyboardShortcuts.modal.footer.closeHint": "um Modal oder Panel zu schließen",
478
480
  "fileUpload.headerTitle": "Datei hochladen",
479
481
  "fileUpload.subtitleOne": "Bis zu {count} Datei hochladbar",
480
482
  "fileUpload.subtitleMany": "Bis zu {count} Dateien hochladbar",
@@ -528,6 +528,8 @@ declare const _default: {
528
528
  "keyboardShortcuts.tutorial.step3.text": "Open keyboard shortcut panel by pressing",
529
529
  "keyboardShortcuts.allSet.title": "You're All Set!",
530
530
  "keyboardShortcuts.allSet.description": "Keyboard shortcuts are now at your fingertips. Enjoy a faster, smoother workflow.",
531
+ "keyboardShortcuts.modal.footer.press": "Press",
532
+ "keyboardShortcuts.modal.footer.closeHint": "to close modal or panel",
531
533
 
532
534
  "fileUpload.headerTitle": "Upload Your File",
533
535
  "fileUpload.subtitleOne": "You can upload up to {count} file",
@@ -475,6 +475,8 @@ const enUS = {
475
475
  "keyboardShortcuts.tutorial.step3.text": "Open keyboard shortcut panel by pressing",
476
476
  "keyboardShortcuts.allSet.title": "You're All Set!",
477
477
  "keyboardShortcuts.allSet.description": "Keyboard shortcuts are now at your fingertips. Enjoy a faster, smoother workflow.",
478
+ "keyboardShortcuts.modal.footer.press": "Press",
479
+ "keyboardShortcuts.modal.footer.closeHint": "to close modal or panel",
478
480
  "fileUpload.headerTitle": "Upload Your File",
479
481
  "fileUpload.subtitleOne": "You can upload up to {count} file",
480
482
  "fileUpload.subtitleMany": "You can upload up to {count} files",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "generatedAt": "2026-09-02T05:50:00.298Z",
3
+ "generatedAt": "2026-09-02T14:26:13.613Z",
4
4
  "components": {
5
5
  "Menu": {
6
6
  "title": "Components/Menu",
@@ -1,7 +1,7 @@
1
1
  import { __exports as colorManipulator } from "../../../_virtual/colorManipulator.js";
2
2
  import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
- import require$$1 from "../../../_virtual/index3.js";
4
- import require$$2 from "../../../_virtual/index4.js";
3
+ import require$$1 from "../../../_virtual/index4.js";
4
+ import require$$2 from "../../../_virtual/index5.js";
5
5
  var _interopRequireDefault = require$$0;
6
6
  Object.defineProperty(colorManipulator, "__esModule", {
7
7
  value: true
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from "../../../../_virtual/index13.js";
1
+ import { __module as reactIs } from "../../../../_virtual/index14.js";
2
2
  import { __require as requireReactIs_production_min } from "./cjs/react-is.production.min.js";
3
3
  import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
4
4
  if (process.env.NODE_ENV === "production") {
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as propTypes } from "../../_virtual/index2.js";
2
+ import { __module as propTypes } from "../../_virtual/index3.js";
3
3
  import { __require as requireReactIs } from "./node_modules/react-is/index.js";
4
4
  import { __require as requireFactoryWithTypeCheckers } from "./factoryWithTypeCheckers.js";
5
5
  import { __require as requireFactoryWithThrowingShims } from "./factoryWithThrowingShims.js";
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from "../../_virtual/index5.js";
1
+ import { __module as reactIs } from "../../_virtual/index2.js";
2
2
  import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
3
3
  import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
4
4
  if (process.env.NODE_ENV === "production") {
@@ -1,4 +1,4 @@
1
- import { __exports as dist } from "../../../_virtual/index14.js";
1
+ import { __exports as dist } from "../../../_virtual/index13.js";
2
2
  import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
3
  import { __require as requireArray_prototype_flat } from "../../array.prototype.flat/index.js";
4
4
  import { __require as requireGlobalCache } from "../../global-cache/index.js";
@@ -10,7 +10,6 @@
10
10
  */
11
11
  export { getUserAvatarColor, DEFAULT_AVATAR_COLORS } from './avatarColor';
12
12
  export { debounce } from './debounce';
13
- export { getSize, onResize, type ElementSize } from './onResize';
14
13
  export { toInnerHTML, type InnerHTML } from './html';
15
14
  export { TEXT_FILTER_OPTIONS, NON_TEXT_FILTER_OPTIONS, DATE_FILTER_OPTIONS, convertToOptions, getAllowedColumns, hasDuplicateColumns, isColumnSelectionDuplicate, isViewNameUnique, toSentenceCase, type FilterOption, type ColumnOption, type ColumnDefinition, type FormFilter, type FormValues, type FilterField, type SavedView, } from './helper';
16
15
  export { useTextOverflow } from './useTextOverflow';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAG1E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAGjE,OAAO,EAAE,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGrD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,SAAS,GACf,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAG1E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGrD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,SAAS,GACf,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impact-ui",
3
- "version": "4.0.7-alpha.2",
3
+ "version": "4.0.8",
4
4
  "description": "Impact Analytics UI library",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",
@@ -1,104 +0,0 @@
1
- import { KeyboardEvent as ReactKeyboardEvent, PointerEvent as ReactPointerEvent } from 'react';
2
-
3
- export interface Rect {
4
- x: number;
5
- y: number;
6
- width: number;
7
- height: number;
8
- }
9
- export type ResizeDirection = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
10
- export declare const BOTTOM_VIEWPORT_MARGIN = 24;
11
- export interface ViewportMargin {
12
- top: number;
13
- right: number;
14
- bottom: number;
15
- left: number;
16
- }
17
- /** Accepts a single number (all sides) or per-side overrides. */
18
- export type ViewportMarginInput = number | Partial<ViewportMargin>;
19
- export interface UseDraggableResizableOptions {
20
- /** Starting position/size. Only read once on mount (use `setRect`/`collapseTo` to change later). */
21
- initialRect: Rect;
22
- minWidth?: number;
23
- minHeight?: number;
24
- maxWidth?: number;
25
- maxHeight?: number;
26
- /**
27
- * Gap kept clear between the panel and the viewport edges while dragging/resizing, so it
28
- * stops short of the edge instead of touching it. Pass a number for a uniform margin, or
29
- * per-side values (e.g. `{ top: 56, bottom: 24 }` to also clear a fixed app header).
30
- * Pass `0` for docked panels that should sit flush with the viewport.
31
- * @default 0
32
- */
33
- viewportMargin?: ViewportMarginInput;
34
- /** Disables both dragging and resizing (e.g. while in a "full width" mode). */
35
- disabled?: boolean;
36
- onChange?: (rect: Rect) => void;
37
- onDragEnd?: (rect: Rect) => void;
38
- onResizeEnd?: (rect: Rect) => void;
39
- }
40
- export interface HandleProps {
41
- onPointerDown: (e: ReactPointerEvent) => void;
42
- onKeyDown: (e: ReactKeyboardEvent) => void;
43
- }
44
- /** Viewport corner the collapsed panel is pinned to. */
45
- export type CollapseAnchor = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
46
- export interface CollapseOptions {
47
- /** @default 'bottom-right' */
48
- anchor?: CollapseAnchor;
49
- /**
50
- * Margin to inset the collapsed panel from the viewport edges. Pass this when the margin
51
- * changes in the same event that triggers the collapse - the `viewportMargin` *prop* is
52
- * still the pre-update value at that point (React batches state), so relying on it would
53
- * anchor against the wrong gap.
54
- */
55
- viewportMargin?: ViewportMarginInput;
56
- }
57
- export interface UseDraggableResizableResult {
58
- rect: Rect;
59
- isDragging: boolean;
60
- isResizing: boolean;
61
- isCollapsed: boolean;
62
- setRect: (updater: Rect | ((prev: Rect) => Rect)) => void;
63
- /** Spread onto the element that should act as the "title bar" drag handle. */
64
- dragHandleProps: HandleProps;
65
- /** Spread onto one of the 8 resize handle elements. */
66
- getResizeHandleProps: (direction: ResizeDirection) => HandleProps & {
67
- role: 'separator';
68
- tabIndex: 0;
69
- 'aria-orientation': 'horizontal' | 'vertical';
70
- };
71
- /**
72
- * Shrink to a fixed compact size pinned to a viewport corner (default: bottom-right),
73
- * remembering the current rect so `restore()` can bring it back.
74
- */
75
- collapseTo: (size: {
76
- width: number;
77
- height: number;
78
- }, options?: CollapseOptions) => void;
79
- /** Restore the rect that was active before the last `collapseTo` call. */
80
- restore: () => void;
81
- }
82
- /**
83
- * Headless drag + 8-direction resize behavior for a floating panel (think: Google Meet's
84
- * pop-out mini window). Framework-agnostic logic lives here so any component (chatbot,
85
- * modal, side panel, etc.) can opt in just by spreading `dragHandleProps` /
86
- * `getResizeHandleProps(direction)` onto its own markup.
87
- *
88
- * Implementation notes (see chat discussion for rationale):
89
- * - Uses Pointer Events + `setPointerCapture` (works for mouse, touch, and pen) instead of
90
- * plain `mousedown`/`mousemove`, and keeps receiving events on the same element even if the
91
- * pointer moves faster than layout, so there is no need for `document`-level listeners.
92
- * - Batches state updates via `requestAnimationFrame` so dragging/resizing doesn't trigger a
93
- * React re-render on every single pixel of pointer movement.
94
- * - Clamps the rect to the viewport (recomputed on every move, not just drag-start) so the
95
- * panel can never be dragged/resized off-screen on any edge, and always keeps a small margin
96
- * clear at the bottom of the viewport.
97
- * - Toggles a `no-select`/`col-resize`-style class on `<body>` while interacting, and always
98
- * cleans up listeners + that class on `pointerup`/`pointercancel` and on unmount, even if the
99
- * consumer unmounts mid-drag.
100
- * - Resize handles expose `role="separator"` + keyboard nudging (arrow keys, Shift for a
101
- * larger step) for accessibility.
102
- */
103
- export declare function useDraggableResizable({ initialRect, minWidth, minHeight, maxWidth, maxHeight, viewportMargin, disabled, onChange, onDragEnd, onResizeEnd, }: UseDraggableResizableOptions): UseDraggableResizableResult;
104
- //# sourceMappingURL=useDraggableResizable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDraggableResizable.d.ts","sourceRoot":"","sources":["../../src/hooks/useDraggableResizable.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,aAAa,IAAI,kBAAkB,EACxC,KAAK,YAAY,IAAI,iBAAiB,EACvC,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,IAAI;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MA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