@flamingo-stack/openframe-frontend-core 0.0.591 → 0.0.592
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/dist/{chunk-BQE4HTDR.js → chunk-2JNCZDJR.js} +2 -2
- package/dist/{chunk-YEKPHSWC.cjs → chunk-3JOBM57M.cjs} +22 -22
- package/dist/{chunk-YEKPHSWC.cjs.map → chunk-3JOBM57M.cjs.map} +1 -1
- package/dist/{chunk-WKOJL6A2.cjs → chunk-5LJZWTOE.cjs} +10 -10
- package/dist/{chunk-WKOJL6A2.cjs.map → chunk-5LJZWTOE.cjs.map} +1 -1
- package/dist/{chunk-NXYOUBOL.cjs → chunk-5MHDMDPX.cjs} +21 -21
- package/dist/{chunk-NXYOUBOL.cjs.map → chunk-5MHDMDPX.cjs.map} +1 -1
- package/dist/{chunk-U2XRBHBX.js → chunk-6GMMR667.js} +9 -9
- package/dist/{chunk-WIMGAPVH.js → chunk-ASFEUMFW.js} +4 -4
- package/dist/{chunk-4UP2SGSO.js → chunk-AUA6OSU7.js} +3 -3
- package/dist/{chunk-YMAHVHCX.cjs → chunk-BZEWPW5A.cjs} +3 -3
- package/dist/{chunk-YMAHVHCX.cjs.map → chunk-BZEWPW5A.cjs.map} +1 -1
- package/dist/{chunk-SW3CZ2KS.cjs → chunk-COY57SZP.cjs} +129 -84
- package/dist/chunk-COY57SZP.cjs.map +1 -0
- package/dist/{chunk-VGBTCUPG.js → chunk-CRW4WRMH.js} +2 -2
- package/dist/{chunk-E455M3WJ.js → chunk-F543W3F2.js} +4 -4
- package/dist/{chunk-ZZF6Z7KB.cjs → chunk-FKXDDJEQ.cjs} +11 -11
- package/dist/{chunk-ZZF6Z7KB.cjs.map → chunk-FKXDDJEQ.cjs.map} +1 -1
- package/dist/{chunk-RGCBUNMJ.js → chunk-FSCQOWXI.js} +2 -2
- package/dist/{chunk-USDG6IWK.cjs → chunk-FVADHGDP.cjs} +7 -7
- package/dist/{chunk-USDG6IWK.cjs.map → chunk-FVADHGDP.cjs.map} +1 -1
- package/dist/{chunk-OKWGSJAI.js → chunk-GGQZBSFN.js} +1 -1
- package/dist/chunk-GGQZBSFN.js.map +1 -0
- package/dist/{chunk-RNXY35DZ.cjs → chunk-H64ZHSYR.cjs} +1 -1
- package/dist/chunk-H64ZHSYR.cjs.map +1 -0
- package/dist/{chunk-OS72RV57.cjs → chunk-HGEA6PW7.cjs} +3 -3
- package/dist/{chunk-OS72RV57.cjs.map → chunk-HGEA6PW7.cjs.map} +1 -1
- package/dist/{chunk-ZFHIMK4W.js → chunk-JIINHJIT.js} +5 -5
- package/dist/{chunk-CWO3YFVZ.js → chunk-LRQCKSZC.js} +2 -2
- package/dist/{chunk-LL6J6N76.js → chunk-LXD2QJFG.js} +3 -3
- package/dist/{chunk-2TJSDSXW.js → chunk-MOHSA65M.js} +2 -2
- package/dist/{chunk-JHVCH3CK.cjs → chunk-NEFNARFF.cjs} +6 -6
- package/dist/{chunk-JHVCH3CK.cjs.map → chunk-NEFNARFF.cjs.map} +1 -1
- package/dist/{chunk-XK7SLEZB.cjs → chunk-NICIJRZ4.cjs} +3 -3
- package/dist/{chunk-XK7SLEZB.cjs.map → chunk-NICIJRZ4.cjs.map} +1 -1
- package/dist/{chunk-LUWFLC3T.js → chunk-NYH3NVUF.js} +3 -3
- package/dist/{chunk-BOED5ISE.js → chunk-NZQYZKIN.js} +6 -6
- package/dist/{chunk-AZ4A4RBL.cjs → chunk-O4VGEJ7I.cjs} +60 -60
- package/dist/{chunk-AZ4A4RBL.cjs.map → chunk-O4VGEJ7I.cjs.map} +1 -1
- package/dist/{chunk-B7ZCBGUN.cjs → chunk-O4VZOA2Q.cjs} +3 -3
- package/dist/{chunk-B7ZCBGUN.cjs.map → chunk-O4VZOA2Q.cjs.map} +1 -1
- package/dist/{chunk-QVAKJB64.js → chunk-OO6AMBHV.js} +2 -2
- package/dist/{chunk-U3V4TPT5.js → chunk-R25AUM2R.js} +3 -3
- package/dist/{chunk-VGY7D6LG.cjs → chunk-STYNZ4QM.cjs} +3 -3
- package/dist/{chunk-VGY7D6LG.cjs.map → chunk-STYNZ4QM.cjs.map} +1 -1
- package/dist/{chunk-FHKP4H6N.cjs → chunk-TQMZFXWZ.cjs} +5 -5
- package/dist/{chunk-FHKP4H6N.cjs.map → chunk-TQMZFXWZ.cjs.map} +1 -1
- package/dist/{chunk-AMCARR6Y.cjs → chunk-V7RUX5CX.cjs} +15 -15
- package/dist/{chunk-AMCARR6Y.cjs.map → chunk-V7RUX5CX.cjs.map} +1 -1
- package/dist/{chunk-CXILZQFT.cjs → chunk-W2RUBABW.cjs} +19 -19
- package/dist/{chunk-CXILZQFT.cjs.map → chunk-W2RUBABW.cjs.map} +1 -1
- package/dist/{chunk-DKVNW2QD.cjs → chunk-WOGLPNK3.cjs} +3 -3
- package/dist/{chunk-DKVNW2QD.cjs.map → chunk-WOGLPNK3.cjs.map} +1 -1
- package/dist/{chunk-HV6MO4HG.cjs → chunk-WP3AVAMP.cjs} +37 -37
- package/dist/{chunk-HV6MO4HG.cjs.map → chunk-WP3AVAMP.cjs.map} +1 -1
- package/dist/{chunk-ZYA6274A.js → chunk-WVHQQ3NY.js} +87 -42
- package/dist/chunk-WVHQQ3NY.js.map +1 -0
- package/dist/{chunk-WMZ5AUTB.js → chunk-WZJOILPU.js} +2 -2
- package/dist/{chunk-ALTSOKHP.js → chunk-XHDBU5EI.js} +2 -2
- package/dist/{chunk-T6RY2MC6.js → chunk-XNGE5EE5.js} +8 -8
- package/dist/{chunk-5SJSG5RV.cjs → chunk-YBENO4XG.cjs} +8 -8
- package/dist/{chunk-5SJSG5RV.cjs.map → chunk-YBENO4XG.cjs.map} +1 -1
- package/dist/{chunk-OBJEFMOI.cjs → chunk-ZT2Z2BYH.cjs} +66 -66
- package/dist/{chunk-OBJEFMOI.cjs.map → chunk-ZT2Z2BYH.cjs.map} +1 -1
- package/dist/{chunk-BATTVHZT.js → chunk-ZZHHKE2Q.js} +3 -3
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +27 -27
- package/dist/components/help-center-pages/index.js +18 -18
- package/dist/components/index.cjs +40 -40
- package/dist/components/index.js +18 -18
- package/dist/components/meeting-scheduler/index.cjs +31 -31
- package/dist/components/meeting-scheduler/index.js +5 -5
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/ui/data-table/data-table-body.d.ts +18 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-row.d.ts +8 -1
- package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-skeleton.d.ts +8 -1
- package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/data-table/index.d.ts +1 -1
- package/dist/components/ui/entity-image.d.ts +12 -1
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +8 -8
- package/dist/index.js +7 -7
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/search-params.cjs.map +1 -1
- package/dist/utils/search-params.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/data-table-row-height.test.tsx +139 -0
- package/src/__tests__/mlg-platform-leaves.test.ts +1 -1
- package/src/components/ui/data-table/data-table-body.tsx +37 -7
- package/src/components/ui/data-table/data-table-row.tsx +24 -6
- package/src/components/ui/data-table/data-table-skeleton.tsx +24 -3
- package/src/components/ui/entity-image.tsx +19 -3
- package/src/hooks/state/__tests__/use-api-params.test.ts +1 -1
- package/src/utils/search-params.ts +4 -4
- package/dist/chunk-OKWGSJAI.js.map +0 -1
- package/dist/chunk-RNXY35DZ.cjs.map +0 -1
- package/dist/chunk-SW3CZ2KS.cjs.map +0 -1
- package/dist/chunk-ZYA6274A.js.map +0 -1
- /package/dist/{chunk-BQE4HTDR.js.map → chunk-2JNCZDJR.js.map} +0 -0
- /package/dist/{chunk-U2XRBHBX.js.map → chunk-6GMMR667.js.map} +0 -0
- /package/dist/{chunk-WIMGAPVH.js.map → chunk-ASFEUMFW.js.map} +0 -0
- /package/dist/{chunk-4UP2SGSO.js.map → chunk-AUA6OSU7.js.map} +0 -0
- /package/dist/{chunk-VGBTCUPG.js.map → chunk-CRW4WRMH.js.map} +0 -0
- /package/dist/{chunk-E455M3WJ.js.map → chunk-F543W3F2.js.map} +0 -0
- /package/dist/{chunk-RGCBUNMJ.js.map → chunk-FSCQOWXI.js.map} +0 -0
- /package/dist/{chunk-ZFHIMK4W.js.map → chunk-JIINHJIT.js.map} +0 -0
- /package/dist/{chunk-CWO3YFVZ.js.map → chunk-LRQCKSZC.js.map} +0 -0
- /package/dist/{chunk-LL6J6N76.js.map → chunk-LXD2QJFG.js.map} +0 -0
- /package/dist/{chunk-2TJSDSXW.js.map → chunk-MOHSA65M.js.map} +0 -0
- /package/dist/{chunk-LUWFLC3T.js.map → chunk-NYH3NVUF.js.map} +0 -0
- /package/dist/{chunk-BOED5ISE.js.map → chunk-NZQYZKIN.js.map} +0 -0
- /package/dist/{chunk-QVAKJB64.js.map → chunk-OO6AMBHV.js.map} +0 -0
- /package/dist/{chunk-U3V4TPT5.js.map → chunk-R25AUM2R.js.map} +0 -0
- /package/dist/{chunk-WMZ5AUTB.js.map → chunk-WZJOILPU.js.map} +0 -0
- /package/dist/{chunk-ALTSOKHP.js.map → chunk-XHDBU5EI.js.map} +0 -0
- /package/dist/{chunk-T6RY2MC6.js.map → chunk-XNGE5EE5.js.map} +0 -0
- /package/dist/{chunk-BATTVHZT.js.map → chunk-ZZHHKE2Q.js.map} +0 -0
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
useLocalStorage,
|
|
23
23
|
useNotificationPermission,
|
|
24
24
|
useToast
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MOHSA65M.js";
|
|
26
26
|
import {
|
|
27
27
|
Pagination
|
|
28
28
|
} from "./chunk-GBON2OCG.js";
|
|
@@ -9315,7 +9315,8 @@ function ListPageLayout({
|
|
|
9315
9315
|
// src/components/ui/entity-image.tsx
|
|
9316
9316
|
import React7 from "react";
|
|
9317
9317
|
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
9318
|
-
|
|
9318
|
+
var ENTITY_IMAGE_SIZE = "size-[52px] md:size-[60px]";
|
|
9319
|
+
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
9319
9320
|
const resolvedSrc = useAuthedImageSrc(src);
|
|
9320
9321
|
const [failedSrc, setFailedSrc] = React7.useState(null);
|
|
9321
9322
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
@@ -9327,7 +9328,8 @@ function EntityImage({ src, alt, fallbackText, className }) {
|
|
|
9327
9328
|
{
|
|
9328
9329
|
"aria-label": alt,
|
|
9329
9330
|
className: cn(
|
|
9330
|
-
"flex
|
|
9331
|
+
"flex shrink-0 select-none items-center justify-center rounded-md border border-ods-border bg-ods-bg text-ods-text-secondary text-h4",
|
|
9332
|
+
sizeClassName ?? ENTITY_IMAGE_SIZE,
|
|
9331
9333
|
className
|
|
9332
9334
|
),
|
|
9333
9335
|
children: initials || "?"
|
|
@@ -9341,7 +9343,8 @@ function EntityImage({ src, alt, fallbackText, className }) {
|
|
|
9341
9343
|
alt: alt ?? "",
|
|
9342
9344
|
onError: () => setFailedSrc(resolvedSrc),
|
|
9343
9345
|
className: cn(
|
|
9344
|
-
"
|
|
9346
|
+
"shrink-0 rounded-md border border-ods-border object-contain",
|
|
9347
|
+
sizeClassName ?? ENTITY_IMAGE_SIZE,
|
|
9345
9348
|
className
|
|
9346
9349
|
),
|
|
9347
9350
|
width: 60,
|
|
@@ -13936,7 +13939,7 @@ import { Fragment as Fragment18, jsx as jsx128, jsxs as jsxs98 } from "react/jsx
|
|
|
13936
13939
|
var ROW_HEIGHT_DESKTOP2 = "h-[66px] md:h-[78px]";
|
|
13937
13940
|
var ROW_HEIGHT_MOBILE2 = "h-[66px]";
|
|
13938
13941
|
var ROW_SHELL_CLASSES = "items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]";
|
|
13939
|
-
function DataTableSkeleton({ rows = 10, className, rowClassName }) {
|
|
13942
|
+
function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassName }) {
|
|
13940
13943
|
const table = useDataTableContext();
|
|
13941
13944
|
const columns = table.getVisibleFlatColumns();
|
|
13942
13945
|
const firstColumnId = columns[0]?.id;
|
|
@@ -13948,33 +13951,55 @@ function DataTableSkeleton({ rows = 10, className, rowClassName }) {
|
|
|
13948
13951
|
className
|
|
13949
13952
|
),
|
|
13950
13953
|
children: [
|
|
13951
|
-
/* @__PURE__ */ jsx128(
|
|
13952
|
-
|
|
13953
|
-
|
|
13954
|
-
|
|
13955
|
-
|
|
13956
|
-
|
|
13957
|
-
|
|
13958
|
-
|
|
13959
|
-
|
|
13960
|
-
|
|
13961
|
-
|
|
13962
|
-
|
|
13963
|
-
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
-
|
|
13971
|
-
|
|
13972
|
-
|
|
13973
|
-
|
|
13974
|
-
|
|
13975
|
-
|
|
13976
|
-
|
|
13977
|
-
|
|
13954
|
+
/* @__PURE__ */ jsx128(
|
|
13955
|
+
"div",
|
|
13956
|
+
{
|
|
13957
|
+
className: cn(
|
|
13958
|
+
"hidden py-0 md:flex",
|
|
13959
|
+
ROW_SHELL_CLASSES,
|
|
13960
|
+
rowHeightClassName ?? ROW_HEIGHT_DESKTOP2,
|
|
13961
|
+
rowClassName
|
|
13962
|
+
),
|
|
13963
|
+
children: columns.map((column) => {
|
|
13964
|
+
const meta = column.columnDef.meta;
|
|
13965
|
+
return /* @__PURE__ */ jsxs98(
|
|
13966
|
+
"div",
|
|
13967
|
+
{
|
|
13968
|
+
className: cn(
|
|
13969
|
+
"flex shrink-0 flex-col justify-center",
|
|
13970
|
+
meta?.width || "flex-1",
|
|
13971
|
+
// Same responsive hiding the real header and row apply.
|
|
13972
|
+
// Without it a `hideAt` column was drawn in the skeleton and
|
|
13973
|
+
// absent from the loaded table, so below that breakpoint the
|
|
13974
|
+
// remaining columns were sized against a different total and
|
|
13975
|
+
// the whole row re-laid-out the moment data arrived.
|
|
13976
|
+
getHideClasses2(meta?.hideAt)
|
|
13977
|
+
),
|
|
13978
|
+
children: [
|
|
13979
|
+
/* @__PURE__ */ jsx128("div", { className: "mb-[var(--spacing-system-xxs)] h-5 w-3/4 rounded-sm bg-ods-bg-surface" }),
|
|
13980
|
+
index % 2 === 0 && column.id === firstColumnId && /* @__PURE__ */ jsx128("div", { className: "h-4 w-1/2 rounded-sm bg-ods-bg-surface opacity-60" })
|
|
13981
|
+
]
|
|
13982
|
+
},
|
|
13983
|
+
column.id
|
|
13984
|
+
);
|
|
13985
|
+
})
|
|
13986
|
+
}
|
|
13987
|
+
),
|
|
13988
|
+
/* @__PURE__ */ jsx128(
|
|
13989
|
+
"div",
|
|
13990
|
+
{
|
|
13991
|
+
className: cn(
|
|
13992
|
+
"flex justify-start py-0 md:hidden",
|
|
13993
|
+
ROW_SHELL_CLASSES,
|
|
13994
|
+
rowHeightClassName ?? ROW_HEIGHT_MOBILE2,
|
|
13995
|
+
rowClassName
|
|
13996
|
+
),
|
|
13997
|
+
children: /* @__PURE__ */ jsxs98("div", { className: "flex min-w-0 flex-1 flex-col justify-center py-[var(--spacing-system-sf)]", children: [
|
|
13998
|
+
/* @__PURE__ */ jsx128("div", { className: "mb-[var(--spacing-system-xsf)] h-4 w-3/4 rounded-sm bg-ods-bg-surface" }),
|
|
13999
|
+
/* @__PURE__ */ jsx128("div", { className: "h-3 w-1/2 rounded-sm bg-ods-bg-surface opacity-60" })
|
|
14000
|
+
] })
|
|
14001
|
+
}
|
|
14002
|
+
)
|
|
13978
14003
|
]
|
|
13979
14004
|
},
|
|
13980
14005
|
index
|
|
@@ -13983,7 +14008,16 @@ function DataTableSkeleton({ rows = 10, className, rowClassName }) {
|
|
|
13983
14008
|
|
|
13984
14009
|
// src/components/ui/data-table/data-table-row.tsx
|
|
13985
14010
|
import { Fragment as Fragment19, jsx as jsx129, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
13986
|
-
function DataTableRowImpl({
|
|
14011
|
+
function DataTableRowImpl({
|
|
14012
|
+
row,
|
|
14013
|
+
onClick,
|
|
14014
|
+
href,
|
|
14015
|
+
compact,
|
|
14016
|
+
autoHeight,
|
|
14017
|
+
rowHeightClassName,
|
|
14018
|
+
className,
|
|
14019
|
+
subRow
|
|
14020
|
+
}) {
|
|
13987
14021
|
const hasSubRow = subRow != null && subRow !== false;
|
|
13988
14022
|
const isLinkMode = Boolean(href) && !onClick;
|
|
13989
14023
|
const isWholeCardLink = isLinkMode && !hasSubRow;
|
|
@@ -14015,7 +14049,7 @@ function DataTableRowImpl({ row, onClick, href, compact, autoHeight, className,
|
|
|
14015
14049
|
className: cn(
|
|
14016
14050
|
"flex",
|
|
14017
14051
|
ROW_SHELL_CLASSES,
|
|
14018
|
-
compact ? "py-[var(--spacing-system-xsf)]" : autoHeight ? "min-h-[66px] py-[var(--spacing-system-sf)] md:min-h-[78px]" : `py-0 ${ROW_HEIGHT_DESKTOP2}`,
|
|
14052
|
+
rowHeightClassName ? `py-0 ${rowHeightClassName}` : compact ? "py-[var(--spacing-system-xsf)]" : autoHeight ? "min-h-[66px] py-[var(--spacing-system-sf)] md:min-h-[78px]" : `py-0 ${ROW_HEIGHT_DESKTOP2}`,
|
|
14019
14053
|
hasSubRow && "border-b border-ods-border"
|
|
14020
14054
|
),
|
|
14021
14055
|
children: row.getVisibleCells().map((cell) => {
|
|
@@ -14091,6 +14125,7 @@ function DataTableBody({
|
|
|
14091
14125
|
rowClassName,
|
|
14092
14126
|
compact,
|
|
14093
14127
|
autoHeight,
|
|
14128
|
+
rowHeightClassName,
|
|
14094
14129
|
onRowClick,
|
|
14095
14130
|
rowHref,
|
|
14096
14131
|
minRows,
|
|
@@ -14099,13 +14134,13 @@ function DataTableBody({
|
|
|
14099
14134
|
const table = useDataTableContext();
|
|
14100
14135
|
const rows = table.getRowModel().rows;
|
|
14101
14136
|
if (loading && rows.length === 0) {
|
|
14102
|
-
return /* @__PURE__ */ jsx130("div", { className: cn("flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: /* @__PURE__ */ jsx130(DataTableSkeleton, { rows: skeletonRows }) });
|
|
14137
|
+
return /* @__PURE__ */ jsx130("div", { className: cn("flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: /* @__PURE__ */ jsx130(DataTableSkeleton, { rows: skeletonRows, rowHeightClassName }) });
|
|
14103
14138
|
}
|
|
14104
14139
|
if (rows.length === 0) {
|
|
14105
14140
|
const empty = emptyState ? /* @__PURE__ */ jsx130(DataTableEmpty, { ...emptyState }) : emptyMessage != null ? /* @__PURE__ */ jsx130(DataTableEmpty, { title: emptyMessage, description: void 0 }) : /* @__PURE__ */ jsx130(DataTableEmpty, {});
|
|
14106
14141
|
if (minRows) {
|
|
14107
14142
|
return /* @__PURE__ */ jsxs100("div", { className: cn("relative flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: [
|
|
14108
|
-
/* @__PURE__ */ jsx130(PlaceholderRows, { count: minRows }),
|
|
14143
|
+
/* @__PURE__ */ jsx130(PlaceholderRows, { count: minRows, rowHeightClassName }),
|
|
14109
14144
|
/* @__PURE__ */ jsx130("div", { className: "absolute inset-0 flex items-center justify-center", children: empty })
|
|
14110
14145
|
] });
|
|
14111
14146
|
}
|
|
@@ -14125,24 +14160,34 @@ function DataTableBody({
|
|
|
14125
14160
|
href,
|
|
14126
14161
|
compact,
|
|
14127
14162
|
autoHeight,
|
|
14163
|
+
rowHeightClassName,
|
|
14128
14164
|
className: cls,
|
|
14129
14165
|
subRow: renderSubRow?.(item)
|
|
14130
14166
|
},
|
|
14131
14167
|
row.id
|
|
14132
14168
|
);
|
|
14133
14169
|
}),
|
|
14134
|
-
padCount > 0 && /* @__PURE__ */ jsx130(PlaceholderRows, { count: padCount })
|
|
14170
|
+
padCount > 0 && /* @__PURE__ */ jsx130(PlaceholderRows, { count: padCount, rowHeightClassName })
|
|
14135
14171
|
] });
|
|
14136
14172
|
}
|
|
14137
|
-
function PlaceholderRows({ count }) {
|
|
14173
|
+
function PlaceholderRows({ count, rowHeightClassName }) {
|
|
14138
14174
|
return /* @__PURE__ */ jsx130(Fragment20, { children: Array.from({ length: count }).map((_, i) => /* @__PURE__ */ jsxs100(
|
|
14139
14175
|
"div",
|
|
14140
14176
|
{
|
|
14141
|
-
className: "pointer-events-none relative overflow-hidden rounded-md",
|
|
14177
|
+
className: "pointer-events-none relative overflow-hidden rounded-md border border-transparent",
|
|
14142
14178
|
"aria-hidden": "true",
|
|
14143
14179
|
children: [
|
|
14144
|
-
/* @__PURE__ */ jsx130("div", { className: cn("hidden py-0 md:flex", ROW_SHELL_CLASSES, ROW_HEIGHT_DESKTOP2) }),
|
|
14145
|
-
/* @__PURE__ */ jsx130(
|
|
14180
|
+
/* @__PURE__ */ jsx130("div", { className: cn("hidden py-0 md:flex", ROW_SHELL_CLASSES, rowHeightClassName ?? ROW_HEIGHT_DESKTOP2) }),
|
|
14181
|
+
/* @__PURE__ */ jsx130(
|
|
14182
|
+
"div",
|
|
14183
|
+
{
|
|
14184
|
+
className: cn(
|
|
14185
|
+
"flex justify-start py-0 md:hidden",
|
|
14186
|
+
ROW_SHELL_CLASSES,
|
|
14187
|
+
rowHeightClassName ?? ROW_HEIGHT_MOBILE2
|
|
14188
|
+
)
|
|
14189
|
+
}
|
|
14190
|
+
)
|
|
14146
14191
|
]
|
|
14147
14192
|
},
|
|
14148
14193
|
`placeholder-${i}`
|
|
@@ -30611,4 +30656,4 @@ export {
|
|
|
30611
30656
|
FilterPillRow,
|
|
30612
30657
|
LazyMount
|
|
30613
30658
|
};
|
|
30614
|
-
//# sourceMappingURL=chunk-
|
|
30659
|
+
//# sourceMappingURL=chunk-WVHQQ3NY.js.map
|