@almadar/ui 5.5.3 → 5.5.5
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/avl/index.cjs +40 -23
- package/dist/avl/index.js +40 -23
- package/dist/components/index.cjs +40 -23
- package/dist/components/index.js +40 -23
- package/dist/components/molecules/DataGrid.d.ts +1 -1
- package/dist/components/molecules/DataList.d.ts +1 -1
- package/dist/providers/index.cjs +40 -23
- package/dist/providers/index.js +40 -23
- package/dist/runtime/index.cjs +40 -23
- package/dist/runtime/index.js +40 -23
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -27058,7 +27058,8 @@ function DataGrid({
|
|
|
27058
27058
|
reorderEvent,
|
|
27059
27059
|
positionEvent,
|
|
27060
27060
|
dndItemIdField,
|
|
27061
|
-
dndRoot
|
|
27061
|
+
dndRoot,
|
|
27062
|
+
look = "dense"
|
|
27062
27063
|
}) {
|
|
27063
27064
|
const eventBus = useEventBus();
|
|
27064
27065
|
const { t } = useTranslate();
|
|
@@ -27174,7 +27175,7 @@ function DataGrid({
|
|
|
27174
27175
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27175
27176
|
Box,
|
|
27176
27177
|
{
|
|
27177
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
27178
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
27178
27179
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
27179
27180
|
children: data.map((item, index) => {
|
|
27180
27181
|
const itemData = item;
|
|
@@ -27351,7 +27352,7 @@ function DataGrid({
|
|
|
27351
27352
|
] })
|
|
27352
27353
|
);
|
|
27353
27354
|
}
|
|
27354
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
27355
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
27355
27356
|
var init_DataGrid = __esm({
|
|
27356
27357
|
"components/molecules/DataGrid.tsx"() {
|
|
27357
27358
|
"use client";
|
|
@@ -27386,6 +27387,13 @@ var init_DataGrid = __esm({
|
|
|
27386
27387
|
lg: "gap-6",
|
|
27387
27388
|
xl: "gap-8"
|
|
27388
27389
|
};
|
|
27390
|
+
lookStyles5 = {
|
|
27391
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
27392
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
27393
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
27394
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
27395
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
27396
|
+
};
|
|
27389
27397
|
DataGrid.displayName = "DataGrid";
|
|
27390
27398
|
}
|
|
27391
27399
|
});
|
|
@@ -27469,7 +27477,8 @@ function DataList({
|
|
|
27469
27477
|
reorderEvent: dndReorderEvent,
|
|
27470
27478
|
positionEvent,
|
|
27471
27479
|
dndItemIdField,
|
|
27472
|
-
dndRoot
|
|
27480
|
+
dndRoot,
|
|
27481
|
+
look = "dense"
|
|
27473
27482
|
}) {
|
|
27474
27483
|
const eventBus = useEventBus();
|
|
27475
27484
|
const { t } = useTranslate();
|
|
@@ -27734,6 +27743,7 @@ function DataList({
|
|
|
27734
27743
|
className: cn(
|
|
27735
27744
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
27736
27745
|
!isCard && gapClass,
|
|
27746
|
+
listLookStyles[look],
|
|
27737
27747
|
className
|
|
27738
27748
|
),
|
|
27739
27749
|
children: [
|
|
@@ -27771,7 +27781,7 @@ function DataList({
|
|
|
27771
27781
|
)
|
|
27772
27782
|
);
|
|
27773
27783
|
}
|
|
27774
|
-
var dataListLog;
|
|
27784
|
+
var dataListLog, listLookStyles;
|
|
27775
27785
|
var init_DataList = __esm({
|
|
27776
27786
|
"components/molecules/DataList.tsx"() {
|
|
27777
27787
|
"use client";
|
|
@@ -27790,6 +27800,13 @@ var init_DataList = __esm({
|
|
|
27790
27800
|
init_InfiniteScrollSentinel();
|
|
27791
27801
|
init_useDataDnd();
|
|
27792
27802
|
dataListLog = logger.createLogger("almadar:ui:data-list");
|
|
27803
|
+
listLookStyles = {
|
|
27804
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
27805
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
27806
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
27807
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
27808
|
+
"card-rows": "[&_[data-entity-row]>div]:shadow-elevation-card [&_[data-entity-row]>div]:rounded-container [&_[data-entity-row]>div]:!border [&_[data-entity-row]>div]:border-border [&_[data-entity-row]]:mb-2"
|
|
27809
|
+
};
|
|
27793
27810
|
DataList.displayName = "DataList";
|
|
27794
27811
|
}
|
|
27795
27812
|
});
|
|
@@ -28017,7 +28034,7 @@ var init_useQuerySingleton = __esm({
|
|
|
28017
28034
|
queryStores = /* @__PURE__ */ new Map();
|
|
28018
28035
|
}
|
|
28019
28036
|
});
|
|
28020
|
-
var resolveFilterType,
|
|
28037
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
28021
28038
|
var init_FilterGroup = __esm({
|
|
28022
28039
|
"components/molecules/FilterGroup.tsx"() {
|
|
28023
28040
|
"use client";
|
|
@@ -28031,7 +28048,7 @@ var init_FilterGroup = __esm({
|
|
|
28031
28048
|
init_useEventBus();
|
|
28032
28049
|
init_useQuerySingleton();
|
|
28033
28050
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
28034
|
-
|
|
28051
|
+
lookStyles6 = {
|
|
28035
28052
|
toolbar: "",
|
|
28036
28053
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
28037
28054
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -28108,7 +28125,7 @@ var init_FilterGroup = __esm({
|
|
|
28108
28125
|
{
|
|
28109
28126
|
gap: "md",
|
|
28110
28127
|
align: "center",
|
|
28111
|
-
className: cn("flex-wrap",
|
|
28128
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28112
28129
|
children: [
|
|
28113
28130
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28114
28131
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -28167,7 +28184,7 @@ var init_FilterGroup = __esm({
|
|
|
28167
28184
|
);
|
|
28168
28185
|
}
|
|
28169
28186
|
if (variant === "vertical") {
|
|
28170
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4",
|
|
28187
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
28171
28188
|
showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
28172
28189
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
28173
28190
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -28255,7 +28272,7 @@ var init_FilterGroup = __esm({
|
|
|
28255
28272
|
{
|
|
28256
28273
|
gap: "sm",
|
|
28257
28274
|
align: "center",
|
|
28258
|
-
className: cn("flex-wrap",
|
|
28275
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28259
28276
|
children: [
|
|
28260
28277
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28261
28278
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -28352,7 +28369,7 @@ var init_FilterGroup = __esm({
|
|
|
28352
28369
|
"p-4 rounded-container",
|
|
28353
28370
|
"bg-card",
|
|
28354
28371
|
"border-[length:var(--border-width)] border-border",
|
|
28355
|
-
|
|
28372
|
+
lookStyles6[look],
|
|
28356
28373
|
className
|
|
28357
28374
|
),
|
|
28358
28375
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -32826,7 +32843,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
32826
32843
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
32827
32844
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
32828
32845
|
}
|
|
32829
|
-
var
|
|
32846
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
32830
32847
|
var init_StatDisplay = __esm({
|
|
32831
32848
|
"components/molecules/StatDisplay.tsx"() {
|
|
32832
32849
|
"use client";
|
|
@@ -32838,7 +32855,7 @@ var init_StatDisplay = __esm({
|
|
|
32838
32855
|
init_Sparkline();
|
|
32839
32856
|
init_Icon();
|
|
32840
32857
|
init_useEventBus();
|
|
32841
|
-
|
|
32858
|
+
lookStyles7 = {
|
|
32842
32859
|
elevated: "",
|
|
32843
32860
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
32844
32861
|
"progress-backed": "",
|
|
@@ -32925,7 +32942,7 @@ var init_StatDisplay = __esm({
|
|
|
32925
32942
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32926
32943
|
Card,
|
|
32927
32944
|
{
|
|
32928
|
-
className: cn(padSizes[size],
|
|
32945
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
32929
32946
|
onClick: clickEvent ? handleClick : void 0,
|
|
32930
32947
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { align: "start", justify: "between", children: [
|
|
32931
32948
|
/* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -38232,7 +38249,7 @@ function DataTable({
|
|
|
38232
38249
|
{
|
|
38233
38250
|
className: cn(
|
|
38234
38251
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
38235
|
-
|
|
38252
|
+
lookStyles8[look],
|
|
38236
38253
|
className
|
|
38237
38254
|
),
|
|
38238
38255
|
children: [
|
|
@@ -38459,7 +38476,7 @@ function DataTable({
|
|
|
38459
38476
|
}
|
|
38460
38477
|
);
|
|
38461
38478
|
}
|
|
38462
|
-
var
|
|
38479
|
+
var lookStyles8;
|
|
38463
38480
|
var init_DataTable = __esm({
|
|
38464
38481
|
"components/organisms/DataTable.tsx"() {
|
|
38465
38482
|
"use client";
|
|
@@ -38473,7 +38490,7 @@ var init_DataTable = __esm({
|
|
|
38473
38490
|
init_useEventBus();
|
|
38474
38491
|
init_useTranslate();
|
|
38475
38492
|
init_types3();
|
|
38476
|
-
|
|
38493
|
+
lookStyles8 = {
|
|
38477
38494
|
dense: "",
|
|
38478
38495
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
38479
38496
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -41638,7 +41655,7 @@ var init_GraphCanvas = __esm({
|
|
|
41638
41655
|
GraphCanvas.displayName = "GraphCanvas";
|
|
41639
41656
|
}
|
|
41640
41657
|
});
|
|
41641
|
-
var
|
|
41658
|
+
var lookStyles9, Header;
|
|
41642
41659
|
var init_Header = __esm({
|
|
41643
41660
|
"components/organisms/Header.tsx"() {
|
|
41644
41661
|
"use client";
|
|
@@ -41651,7 +41668,7 @@ var init_Header = __esm({
|
|
|
41651
41668
|
init_Typography();
|
|
41652
41669
|
init_cn();
|
|
41653
41670
|
init_useTranslate();
|
|
41654
|
-
|
|
41671
|
+
lookStyles9 = {
|
|
41655
41672
|
"compact-bar": "",
|
|
41656
41673
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
41657
41674
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -41691,7 +41708,7 @@ var init_Header = __esm({
|
|
|
41691
41708
|
"flex items-center px-4 justify-between bg-card",
|
|
41692
41709
|
sticky && "sticky top-0 z-50",
|
|
41693
41710
|
variant === "mobile" && "lg:hidden",
|
|
41694
|
-
|
|
41711
|
+
lookStyles9[look],
|
|
41695
41712
|
className
|
|
41696
41713
|
),
|
|
41697
41714
|
children: [
|
|
@@ -48387,7 +48404,7 @@ var init_TeamOrganism = __esm({
|
|
|
48387
48404
|
TeamOrganism.displayName = "TeamOrganism";
|
|
48388
48405
|
}
|
|
48389
48406
|
});
|
|
48390
|
-
var
|
|
48407
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
48391
48408
|
var init_Timeline = __esm({
|
|
48392
48409
|
"components/organisms/Timeline.tsx"() {
|
|
48393
48410
|
"use client";
|
|
@@ -48398,7 +48415,7 @@ var init_Timeline = __esm({
|
|
|
48398
48415
|
init_ErrorState();
|
|
48399
48416
|
init_EmptyState();
|
|
48400
48417
|
init_useTranslate();
|
|
48401
|
-
|
|
48418
|
+
lookStyles10 = {
|
|
48402
48419
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
48403
48420
|
"vertical-spacious": "",
|
|
48404
48421
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -48491,7 +48508,7 @@ var init_Timeline = __esm({
|
|
|
48491
48508
|
}
|
|
48492
48509
|
return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "md", children: [
|
|
48493
48510
|
title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
48494
|
-
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative",
|
|
48511
|
+
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
48495
48512
|
const status = item.status || "pending";
|
|
48496
48513
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
48497
48514
|
const ItemIcon = item.icon || style.icon;
|
package/dist/avl/index.js
CHANGED
|
@@ -27009,7 +27009,8 @@ function DataGrid({
|
|
|
27009
27009
|
reorderEvent,
|
|
27010
27010
|
positionEvent,
|
|
27011
27011
|
dndItemIdField,
|
|
27012
|
-
dndRoot
|
|
27012
|
+
dndRoot,
|
|
27013
|
+
look = "dense"
|
|
27013
27014
|
}) {
|
|
27014
27015
|
const eventBus = useEventBus();
|
|
27015
27016
|
const { t } = useTranslate();
|
|
@@ -27125,7 +27126,7 @@ function DataGrid({
|
|
|
27125
27126
|
/* @__PURE__ */ jsx(
|
|
27126
27127
|
Box,
|
|
27127
27128
|
{
|
|
27128
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
27129
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
27129
27130
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
27130
27131
|
children: data.map((item, index) => {
|
|
27131
27132
|
const itemData = item;
|
|
@@ -27302,7 +27303,7 @@ function DataGrid({
|
|
|
27302
27303
|
] })
|
|
27303
27304
|
);
|
|
27304
27305
|
}
|
|
27305
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
27306
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
27306
27307
|
var init_DataGrid = __esm({
|
|
27307
27308
|
"components/molecules/DataGrid.tsx"() {
|
|
27308
27309
|
"use client";
|
|
@@ -27337,6 +27338,13 @@ var init_DataGrid = __esm({
|
|
|
27337
27338
|
lg: "gap-6",
|
|
27338
27339
|
xl: "gap-8"
|
|
27339
27340
|
};
|
|
27341
|
+
lookStyles5 = {
|
|
27342
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
27343
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
27344
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
27345
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
27346
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
27347
|
+
};
|
|
27340
27348
|
DataGrid.displayName = "DataGrid";
|
|
27341
27349
|
}
|
|
27342
27350
|
});
|
|
@@ -27420,7 +27428,8 @@ function DataList({
|
|
|
27420
27428
|
reorderEvent: dndReorderEvent,
|
|
27421
27429
|
positionEvent,
|
|
27422
27430
|
dndItemIdField,
|
|
27423
|
-
dndRoot
|
|
27431
|
+
dndRoot,
|
|
27432
|
+
look = "dense"
|
|
27424
27433
|
}) {
|
|
27425
27434
|
const eventBus = useEventBus();
|
|
27426
27435
|
const { t } = useTranslate();
|
|
@@ -27685,6 +27694,7 @@ function DataList({
|
|
|
27685
27694
|
className: cn(
|
|
27686
27695
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
27687
27696
|
!isCard && gapClass,
|
|
27697
|
+
listLookStyles[look],
|
|
27688
27698
|
className
|
|
27689
27699
|
),
|
|
27690
27700
|
children: [
|
|
@@ -27722,7 +27732,7 @@ function DataList({
|
|
|
27722
27732
|
)
|
|
27723
27733
|
);
|
|
27724
27734
|
}
|
|
27725
|
-
var dataListLog;
|
|
27735
|
+
var dataListLog, listLookStyles;
|
|
27726
27736
|
var init_DataList = __esm({
|
|
27727
27737
|
"components/molecules/DataList.tsx"() {
|
|
27728
27738
|
"use client";
|
|
@@ -27741,6 +27751,13 @@ var init_DataList = __esm({
|
|
|
27741
27751
|
init_InfiniteScrollSentinel();
|
|
27742
27752
|
init_useDataDnd();
|
|
27743
27753
|
dataListLog = createLogger("almadar:ui:data-list");
|
|
27754
|
+
listLookStyles = {
|
|
27755
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
27756
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
27757
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
27758
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
27759
|
+
"card-rows": "[&_[data-entity-row]>div]:shadow-elevation-card [&_[data-entity-row]>div]:rounded-container [&_[data-entity-row]>div]:!border [&_[data-entity-row]>div]:border-border [&_[data-entity-row]]:mb-2"
|
|
27760
|
+
};
|
|
27744
27761
|
DataList.displayName = "DataList";
|
|
27745
27762
|
}
|
|
27746
27763
|
});
|
|
@@ -27968,7 +27985,7 @@ var init_useQuerySingleton = __esm({
|
|
|
27968
27985
|
queryStores = /* @__PURE__ */ new Map();
|
|
27969
27986
|
}
|
|
27970
27987
|
});
|
|
27971
|
-
var resolveFilterType,
|
|
27988
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
27972
27989
|
var init_FilterGroup = __esm({
|
|
27973
27990
|
"components/molecules/FilterGroup.tsx"() {
|
|
27974
27991
|
"use client";
|
|
@@ -27982,7 +27999,7 @@ var init_FilterGroup = __esm({
|
|
|
27982
27999
|
init_useEventBus();
|
|
27983
28000
|
init_useQuerySingleton();
|
|
27984
28001
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
27985
|
-
|
|
28002
|
+
lookStyles6 = {
|
|
27986
28003
|
toolbar: "",
|
|
27987
28004
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
27988
28005
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -28059,7 +28076,7 @@ var init_FilterGroup = __esm({
|
|
|
28059
28076
|
{
|
|
28060
28077
|
gap: "md",
|
|
28061
28078
|
align: "center",
|
|
28062
|
-
className: cn("flex-wrap",
|
|
28079
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28063
28080
|
children: [
|
|
28064
28081
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28065
28082
|
filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -28118,7 +28135,7 @@ var init_FilterGroup = __esm({
|
|
|
28118
28135
|
);
|
|
28119
28136
|
}
|
|
28120
28137
|
if (variant === "vertical") {
|
|
28121
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4",
|
|
28138
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
28122
28139
|
showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
28123
28140
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
28124
28141
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -28206,7 +28223,7 @@ var init_FilterGroup = __esm({
|
|
|
28206
28223
|
{
|
|
28207
28224
|
gap: "sm",
|
|
28208
28225
|
align: "center",
|
|
28209
|
-
className: cn("flex-wrap",
|
|
28226
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28210
28227
|
children: [
|
|
28211
28228
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28212
28229
|
filters.map((filter) => /* @__PURE__ */ jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
@@ -28303,7 +28320,7 @@ var init_FilterGroup = __esm({
|
|
|
28303
28320
|
"p-4 rounded-container",
|
|
28304
28321
|
"bg-card",
|
|
28305
28322
|
"border-[length:var(--border-width)] border-border",
|
|
28306
|
-
|
|
28323
|
+
lookStyles6[look],
|
|
28307
28324
|
className
|
|
28308
28325
|
),
|
|
28309
28326
|
children: /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -32777,7 +32794,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
32777
32794
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
32778
32795
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
32779
32796
|
}
|
|
32780
|
-
var
|
|
32797
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
32781
32798
|
var init_StatDisplay = __esm({
|
|
32782
32799
|
"components/molecules/StatDisplay.tsx"() {
|
|
32783
32800
|
"use client";
|
|
@@ -32789,7 +32806,7 @@ var init_StatDisplay = __esm({
|
|
|
32789
32806
|
init_Sparkline();
|
|
32790
32807
|
init_Icon();
|
|
32791
32808
|
init_useEventBus();
|
|
32792
|
-
|
|
32809
|
+
lookStyles7 = {
|
|
32793
32810
|
elevated: "",
|
|
32794
32811
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
32795
32812
|
"progress-backed": "",
|
|
@@ -32876,7 +32893,7 @@ var init_StatDisplay = __esm({
|
|
|
32876
32893
|
return /* @__PURE__ */ jsx(
|
|
32877
32894
|
Card,
|
|
32878
32895
|
{
|
|
32879
|
-
className: cn(padSizes[size],
|
|
32896
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
32880
32897
|
onClick: clickEvent ? handleClick : void 0,
|
|
32881
32898
|
children: /* @__PURE__ */ jsxs(HStack, { align: "start", justify: "between", children: [
|
|
32882
32899
|
/* @__PURE__ */ jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -38183,7 +38200,7 @@ function DataTable({
|
|
|
38183
38200
|
{
|
|
38184
38201
|
className: cn(
|
|
38185
38202
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
38186
|
-
|
|
38203
|
+
lookStyles8[look],
|
|
38187
38204
|
className
|
|
38188
38205
|
),
|
|
38189
38206
|
children: [
|
|
@@ -38410,7 +38427,7 @@ function DataTable({
|
|
|
38410
38427
|
}
|
|
38411
38428
|
);
|
|
38412
38429
|
}
|
|
38413
|
-
var
|
|
38430
|
+
var lookStyles8;
|
|
38414
38431
|
var init_DataTable = __esm({
|
|
38415
38432
|
"components/organisms/DataTable.tsx"() {
|
|
38416
38433
|
"use client";
|
|
@@ -38424,7 +38441,7 @@ var init_DataTable = __esm({
|
|
|
38424
38441
|
init_useEventBus();
|
|
38425
38442
|
init_useTranslate();
|
|
38426
38443
|
init_types3();
|
|
38427
|
-
|
|
38444
|
+
lookStyles8 = {
|
|
38428
38445
|
dense: "",
|
|
38429
38446
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
38430
38447
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -41589,7 +41606,7 @@ var init_GraphCanvas = __esm({
|
|
|
41589
41606
|
GraphCanvas.displayName = "GraphCanvas";
|
|
41590
41607
|
}
|
|
41591
41608
|
});
|
|
41592
|
-
var
|
|
41609
|
+
var lookStyles9, Header;
|
|
41593
41610
|
var init_Header = __esm({
|
|
41594
41611
|
"components/organisms/Header.tsx"() {
|
|
41595
41612
|
"use client";
|
|
@@ -41602,7 +41619,7 @@ var init_Header = __esm({
|
|
|
41602
41619
|
init_Typography();
|
|
41603
41620
|
init_cn();
|
|
41604
41621
|
init_useTranslate();
|
|
41605
|
-
|
|
41622
|
+
lookStyles9 = {
|
|
41606
41623
|
"compact-bar": "",
|
|
41607
41624
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
41608
41625
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -41642,7 +41659,7 @@ var init_Header = __esm({
|
|
|
41642
41659
|
"flex items-center px-4 justify-between bg-card",
|
|
41643
41660
|
sticky && "sticky top-0 z-50",
|
|
41644
41661
|
variant === "mobile" && "lg:hidden",
|
|
41645
|
-
|
|
41662
|
+
lookStyles9[look],
|
|
41646
41663
|
className
|
|
41647
41664
|
),
|
|
41648
41665
|
children: [
|
|
@@ -48338,7 +48355,7 @@ var init_TeamOrganism = __esm({
|
|
|
48338
48355
|
TeamOrganism.displayName = "TeamOrganism";
|
|
48339
48356
|
}
|
|
48340
48357
|
});
|
|
48341
|
-
var
|
|
48358
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
48342
48359
|
var init_Timeline = __esm({
|
|
48343
48360
|
"components/organisms/Timeline.tsx"() {
|
|
48344
48361
|
"use client";
|
|
@@ -48349,7 +48366,7 @@ var init_Timeline = __esm({
|
|
|
48349
48366
|
init_ErrorState();
|
|
48350
48367
|
init_EmptyState();
|
|
48351
48368
|
init_useTranslate();
|
|
48352
|
-
|
|
48369
|
+
lookStyles10 = {
|
|
48353
48370
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
48354
48371
|
"vertical-spacious": "",
|
|
48355
48372
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -48442,7 +48459,7 @@ var init_Timeline = __esm({
|
|
|
48442
48459
|
}
|
|
48443
48460
|
return /* @__PURE__ */ jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxs(VStack, { gap: "md", children: [
|
|
48444
48461
|
title && /* @__PURE__ */ jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
48445
|
-
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative",
|
|
48462
|
+
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
48446
48463
|
const status = item.status || "pending";
|
|
48447
48464
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
48448
48465
|
const ItemIcon = item.icon || style.icon;
|