@visns-studio/visns-components 5.10.2 → 5.10.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/README.md +42 -1
- package/package.json +3 -3
- package/src/components/crm/DataGrid.jsx +707 -2686
- package/src/components/crm/Field.jsx +0 -2
- package/src/components/crm/cells/CellWithTooltip.jsx +138 -0
- package/src/components/crm/columns/ColumnRenderers.jsx +1358 -0
- package/src/components/crm/controls/AudioPlayer.jsx +19 -0
- package/src/components/crm/controls/AutoRefreshControls.jsx +37 -0
- package/src/components/crm/controls/DataGridSearch.jsx +238 -0
- package/src/components/crm/modals/GalleryModal.jsx +405 -0
- package/src/components/crm/styles/DataGrid.module.scss +296 -0
- package/src/components/crm/styles/global-datagrid.css +21 -0
- package/src/index.js +11 -0
|
@@ -26,6 +26,27 @@
|
|
|
26
26
|
padding: 6px 8px !important; /* Reduced from default padding */
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
/* Word wrap enabled cells - specific class for columns with wordWrap: true */
|
|
30
|
+
.InovuaReactDataGrid__cell.cell-word-wrap,
|
|
31
|
+
.InovuaReactDataGrid__cell.cell-word-wrap > *,
|
|
32
|
+
.InovuaReactDataGrid__cell.cell-word-wrap div,
|
|
33
|
+
.InovuaReactDataGrid__cell.cell-word-wrap span {
|
|
34
|
+
white-space: normal !important; /* Allow text wrapping */
|
|
35
|
+
word-wrap: break-word !important; /* Break long words */
|
|
36
|
+
overflow-wrap: break-word !important; /* Modern alternative to word-wrap */
|
|
37
|
+
text-overflow: unset !important; /* Disable text truncation */
|
|
38
|
+
overflow: visible !important; /* Show wrapped content */
|
|
39
|
+
height: auto !important; /* Allow cell to expand vertically */
|
|
40
|
+
min-height: 32px !important; /* Maintain minimum height */
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Default cell behavior - no word wrap */
|
|
44
|
+
.InovuaReactDataGrid__cell:not(.cell-word-wrap) {
|
|
45
|
+
white-space: nowrap !important;
|
|
46
|
+
text-overflow: ellipsis !important;
|
|
47
|
+
overflow: hidden !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
29
50
|
/* Reduce header cell padding as well */
|
|
30
51
|
.InovuaReactDataGrid__header-cell {
|
|
31
52
|
padding: 6px 8px !important;
|
package/src/index.js
CHANGED
|
@@ -22,6 +22,12 @@ import SelectList from './components/crm/SelectList';
|
|
|
22
22
|
import Select from './components/crm/Select';
|
|
23
23
|
import Table from './components/crm/DataGrid';
|
|
24
24
|
import TableFilter from './components/crm/TableFilter';
|
|
25
|
+
import CellWithTooltip from './components/crm/cells/CellWithTooltip';
|
|
26
|
+
import DataGridSearch from './components/crm/controls/DataGridSearch';
|
|
27
|
+
import AutoRefreshControls from './components/crm/controls/AutoRefreshControls';
|
|
28
|
+
import AudioPlayer from './components/crm/controls/AudioPlayer';
|
|
29
|
+
import GalleryModal from './components/crm/modals/GalleryModal';
|
|
30
|
+
export * from './components/crm/columns/ColumnRenderers.jsx';
|
|
25
31
|
|
|
26
32
|
/** Auth Specific Components */
|
|
27
33
|
import Login from './components/crm/auth/Login';
|
|
@@ -57,12 +63,15 @@ import NotificationList from './components/crm/generic/NotificationList';
|
|
|
57
63
|
|
|
58
64
|
export {
|
|
59
65
|
AsyncSelect,
|
|
66
|
+
AudioPlayer,
|
|
60
67
|
AuditLog,
|
|
61
68
|
AuditLogs,
|
|
62
69
|
Autocomplete,
|
|
70
|
+
AutoRefreshControls,
|
|
63
71
|
Breadcrumb,
|
|
64
72
|
BusinessCardOcr,
|
|
65
73
|
Call,
|
|
74
|
+
CellWithTooltip,
|
|
66
75
|
ClientLogin,
|
|
67
76
|
ClientOTPVerify,
|
|
68
77
|
ClientPortal,
|
|
@@ -73,10 +82,12 @@ export {
|
|
|
73
82
|
CmsSort,
|
|
74
83
|
CustomFetch,
|
|
75
84
|
DataGrid,
|
|
85
|
+
DataGridSearch,
|
|
76
86
|
Download,
|
|
77
87
|
DropZone,
|
|
78
88
|
Field,
|
|
79
89
|
Form,
|
|
90
|
+
GalleryModal,
|
|
80
91
|
GenericAuth,
|
|
81
92
|
GenericClientPortal,
|
|
82
93
|
GenericDashboard,
|