Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d29a892f9 |
@@ -40,6 +40,7 @@
|
|||||||
"react-dom": "^19.2.0",
|
"react-dom": "^19.2.0",
|
||||||
"react-hook-form": "^7.60.0",
|
"react-hook-form": "^7.60.0",
|
||||||
"recharts": "3.8.0",
|
"recharts": "3.8.0",
|
||||||
|
"shadcn": "^4.19.0",
|
||||||
"sonner": "^1.7.0",
|
"sonner": "^1.7.0",
|
||||||
"zod": "^3.25.0"
|
"zod": "^3.25.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ describe('kitDataGridTableLayout', () => {
|
|||||||
|
|
||||||
it('kit tableClassNames совпадает с filtering-2 edgeCell', () => {
|
it('kit tableClassNames совпадает с filtering-2 edgeCell', () => {
|
||||||
expect(kitDataGridTableClassNames.edgeCell).toBe('first:ps-3 last:pe-3')
|
expect(kitDataGridTableClassNames.edgeCell).toBe('first:ps-3 last:pe-3')
|
||||||
|
expect(kitDataGridTableClassNames.base).toBe(
|
||||||
|
'[&_[data-pinned]]:bg-(--frame-panel-bg)',
|
||||||
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('именованные opts: auto + pin', () => {
|
it('именованные opts: auto + pin', () => {
|
||||||
|
|||||||
@@ -81,8 +81,9 @@ export function kitDataGridTableLayout(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** filtering-2 edge inset — единственный tableClassNames в kit, не в domain. */
|
/** filtering-2 edge inset + Frame-surface pinned cells (not page --background). */
|
||||||
export const kitDataGridTableClassNames = {
|
export const kitDataGridTableClassNames = {
|
||||||
|
base: '[&_[data-pinned]]:bg-(--frame-panel-bg)',
|
||||||
edgeCell: 'first:ps-3 last:pe-3',
|
edgeCell: 'first:ps-3 last:pe-3',
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
@import "tw-animate-css";
|
@import "tw-animate-css";
|
||||||
|
@import "shadcn/tailwind.css";
|
||||||
|
|
||||||
@source "../";
|
@source "../";
|
||||||
@source "../../../apps/web/src";
|
@source "../../../apps/web/src";
|
||||||
|
|||||||
Generated
+1326
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user