hi-tm 0.0.1-beta-0.0.310 → 0.0.1-beta-0.0.312
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.
|
@@ -84,7 +84,7 @@ mobileCardConfig = {
|
|
|
84
84
|
defaultColumns: 'grid-cols-1',
|
|
85
85
|
gap: 'gap-4',
|
|
86
86
|
},
|
|
87
|
-
}, actionButtonsStyle }) => {
|
|
87
|
+
}, actionButtonsStyle, }) => {
|
|
88
88
|
// Track which rows are expanded to show their children
|
|
89
89
|
const [expandedRows, setExpandedRows] = (0, react_1.useState)([]);
|
|
90
90
|
const [activeModal, setActiveModal] = (0, react_1.useState)(null);
|
|
@@ -427,7 +427,7 @@ mobileCardConfig = {
|
|
|
427
427
|
activeModal === row.id && (react_1.default.createElement("div", { ref: modalRef, className: "modal-content fixed z-[9999] w-40 rounded-md bg-white shadow-lg", style: {
|
|
428
428
|
position: 'fixed',
|
|
429
429
|
top: `${mousePosition.y}px`,
|
|
430
|
-
left: `${mousePosition.x
|
|
430
|
+
left: `${mousePosition.x}`,
|
|
431
431
|
}, onClick: (e) => e.stopPropagation() }, modalActions.map((action) => (react_1.default.createElement("button", { key: action.id, className: `w-full text-right px-4 py-2 text-sm hover:bg-gray-100 ${action.class === 'delete' ? 'text-red-600' : ''}`, onClick: (e) => handleActionClick(action.id, row.id, e) }, action.text))))))))))),
|
|
432
432
|
row.hasChildren &&
|
|
433
433
|
expandedRows.includes(row.id) &&
|