@almadar/ui 5.5.3 → 5.5.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/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/runtime/index.cjs
CHANGED
|
@@ -23239,7 +23239,8 @@ function DataGrid({
|
|
|
23239
23239
|
reorderEvent,
|
|
23240
23240
|
positionEvent,
|
|
23241
23241
|
dndItemIdField,
|
|
23242
|
-
dndRoot
|
|
23242
|
+
dndRoot,
|
|
23243
|
+
look = "dense"
|
|
23243
23244
|
}) {
|
|
23244
23245
|
const eventBus = useEventBus();
|
|
23245
23246
|
const { t } = useTranslate();
|
|
@@ -23355,7 +23356,7 @@ function DataGrid({
|
|
|
23355
23356
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23356
23357
|
Box,
|
|
23357
23358
|
{
|
|
23358
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23359
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23359
23360
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23360
23361
|
children: data.map((item, index) => {
|
|
23361
23362
|
const itemData = item;
|
|
@@ -23532,7 +23533,7 @@ function DataGrid({
|
|
|
23532
23533
|
] })
|
|
23533
23534
|
);
|
|
23534
23535
|
}
|
|
23535
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23536
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23536
23537
|
var init_DataGrid = __esm({
|
|
23537
23538
|
"components/molecules/DataGrid.tsx"() {
|
|
23538
23539
|
"use client";
|
|
@@ -23567,6 +23568,13 @@ var init_DataGrid = __esm({
|
|
|
23567
23568
|
lg: "gap-6",
|
|
23568
23569
|
xl: "gap-8"
|
|
23569
23570
|
};
|
|
23571
|
+
lookStyles5 = {
|
|
23572
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
23573
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
23574
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
23575
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
23576
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
23577
|
+
};
|
|
23570
23578
|
DataGrid.displayName = "DataGrid";
|
|
23571
23579
|
}
|
|
23572
23580
|
});
|
|
@@ -23650,7 +23658,8 @@ function DataList({
|
|
|
23650
23658
|
reorderEvent: dndReorderEvent,
|
|
23651
23659
|
positionEvent,
|
|
23652
23660
|
dndItemIdField,
|
|
23653
|
-
dndRoot
|
|
23661
|
+
dndRoot,
|
|
23662
|
+
look = "dense"
|
|
23654
23663
|
}) {
|
|
23655
23664
|
const eventBus = useEventBus();
|
|
23656
23665
|
const { t } = useTranslate();
|
|
@@ -23915,6 +23924,7 @@ function DataList({
|
|
|
23915
23924
|
className: cn(
|
|
23916
23925
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
23917
23926
|
!isCard && gapClass,
|
|
23927
|
+
listLookStyles[look],
|
|
23918
23928
|
className
|
|
23919
23929
|
),
|
|
23920
23930
|
children: [
|
|
@@ -23952,7 +23962,7 @@ function DataList({
|
|
|
23952
23962
|
)
|
|
23953
23963
|
);
|
|
23954
23964
|
}
|
|
23955
|
-
var dataListLog;
|
|
23965
|
+
var dataListLog, listLookStyles;
|
|
23956
23966
|
var init_DataList = __esm({
|
|
23957
23967
|
"components/molecules/DataList.tsx"() {
|
|
23958
23968
|
"use client";
|
|
@@ -23971,6 +23981,13 @@ var init_DataList = __esm({
|
|
|
23971
23981
|
init_InfiniteScrollSentinel();
|
|
23972
23982
|
init_useDataDnd();
|
|
23973
23983
|
dataListLog = logger.createLogger("almadar:ui:data-list");
|
|
23984
|
+
listLookStyles = {
|
|
23985
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
23986
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
23987
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
23988
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
23989
|
+
"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"
|
|
23990
|
+
};
|
|
23974
23991
|
DataList.displayName = "DataList";
|
|
23975
23992
|
}
|
|
23976
23993
|
});
|
|
@@ -24134,7 +24151,7 @@ var init_FormField = __esm({
|
|
|
24134
24151
|
FormField.displayName = "FormField";
|
|
24135
24152
|
}
|
|
24136
24153
|
});
|
|
24137
|
-
var resolveFilterType,
|
|
24154
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24138
24155
|
var init_FilterGroup = __esm({
|
|
24139
24156
|
"components/molecules/FilterGroup.tsx"() {
|
|
24140
24157
|
"use client";
|
|
@@ -24148,7 +24165,7 @@ var init_FilterGroup = __esm({
|
|
|
24148
24165
|
init_useEventBus();
|
|
24149
24166
|
init_useQuerySingleton();
|
|
24150
24167
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24151
|
-
|
|
24168
|
+
lookStyles6 = {
|
|
24152
24169
|
toolbar: "",
|
|
24153
24170
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24154
24171
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24225,7 +24242,7 @@ var init_FilterGroup = __esm({
|
|
|
24225
24242
|
{
|
|
24226
24243
|
gap: "md",
|
|
24227
24244
|
align: "center",
|
|
24228
|
-
className: cn("flex-wrap",
|
|
24245
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24229
24246
|
children: [
|
|
24230
24247
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24231
24248
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24284,7 +24301,7 @@ var init_FilterGroup = __esm({
|
|
|
24284
24301
|
);
|
|
24285
24302
|
}
|
|
24286
24303
|
if (variant === "vertical") {
|
|
24287
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4",
|
|
24304
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
24288
24305
|
showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24289
24306
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24290
24307
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24372,7 +24389,7 @@ var init_FilterGroup = __esm({
|
|
|
24372
24389
|
{
|
|
24373
24390
|
gap: "sm",
|
|
24374
24391
|
align: "center",
|
|
24375
|
-
className: cn("flex-wrap",
|
|
24392
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24376
24393
|
children: [
|
|
24377
24394
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24378
24395
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24469,7 +24486,7 @@ var init_FilterGroup = __esm({
|
|
|
24469
24486
|
"p-4 rounded-container",
|
|
24470
24487
|
"bg-card",
|
|
24471
24488
|
"border-[length:var(--border-width)] border-border",
|
|
24472
|
-
|
|
24489
|
+
lookStyles6[look],
|
|
24473
24490
|
className
|
|
24474
24491
|
),
|
|
24475
24492
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -28943,7 +28960,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
28943
28960
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
28944
28961
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
28945
28962
|
}
|
|
28946
|
-
var
|
|
28963
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
28947
28964
|
var init_StatDisplay = __esm({
|
|
28948
28965
|
"components/molecules/StatDisplay.tsx"() {
|
|
28949
28966
|
"use client";
|
|
@@ -28955,7 +28972,7 @@ var init_StatDisplay = __esm({
|
|
|
28955
28972
|
init_Sparkline();
|
|
28956
28973
|
init_Icon();
|
|
28957
28974
|
init_useEventBus();
|
|
28958
|
-
|
|
28975
|
+
lookStyles7 = {
|
|
28959
28976
|
elevated: "",
|
|
28960
28977
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
28961
28978
|
"progress-backed": "",
|
|
@@ -29042,7 +29059,7 @@ var init_StatDisplay = __esm({
|
|
|
29042
29059
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29043
29060
|
Card,
|
|
29044
29061
|
{
|
|
29045
|
-
className: cn(padSizes[size],
|
|
29062
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
29046
29063
|
onClick: clickEvent ? handleClick : void 0,
|
|
29047
29064
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { align: "start", justify: "between", children: [
|
|
29048
29065
|
/* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -34614,7 +34631,7 @@ function DataTable({
|
|
|
34614
34631
|
{
|
|
34615
34632
|
className: cn(
|
|
34616
34633
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
34617
|
-
|
|
34634
|
+
lookStyles8[look],
|
|
34618
34635
|
className
|
|
34619
34636
|
),
|
|
34620
34637
|
children: [
|
|
@@ -34841,7 +34858,7 @@ function DataTable({
|
|
|
34841
34858
|
}
|
|
34842
34859
|
);
|
|
34843
34860
|
}
|
|
34844
|
-
var
|
|
34861
|
+
var lookStyles8;
|
|
34845
34862
|
var init_DataTable = __esm({
|
|
34846
34863
|
"components/organisms/DataTable.tsx"() {
|
|
34847
34864
|
"use client";
|
|
@@ -34855,7 +34872,7 @@ var init_DataTable = __esm({
|
|
|
34855
34872
|
init_useEventBus();
|
|
34856
34873
|
init_useTranslate();
|
|
34857
34874
|
init_types3();
|
|
34858
|
-
|
|
34875
|
+
lookStyles8 = {
|
|
34859
34876
|
dense: "",
|
|
34860
34877
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
34861
34878
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -38020,7 +38037,7 @@ var init_GraphCanvas = __esm({
|
|
|
38020
38037
|
GraphCanvas.displayName = "GraphCanvas";
|
|
38021
38038
|
}
|
|
38022
38039
|
});
|
|
38023
|
-
var
|
|
38040
|
+
var lookStyles9, Header;
|
|
38024
38041
|
var init_Header = __esm({
|
|
38025
38042
|
"components/organisms/Header.tsx"() {
|
|
38026
38043
|
"use client";
|
|
@@ -38033,7 +38050,7 @@ var init_Header = __esm({
|
|
|
38033
38050
|
init_Typography();
|
|
38034
38051
|
init_cn();
|
|
38035
38052
|
init_useTranslate();
|
|
38036
|
-
|
|
38053
|
+
lookStyles9 = {
|
|
38037
38054
|
"compact-bar": "",
|
|
38038
38055
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
38039
38056
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38073,7 +38090,7 @@ var init_Header = __esm({
|
|
|
38073
38090
|
"flex items-center px-4 justify-between bg-card",
|
|
38074
38091
|
sticky && "sticky top-0 z-50",
|
|
38075
38092
|
variant === "mobile" && "lg:hidden",
|
|
38076
|
-
|
|
38093
|
+
lookStyles9[look],
|
|
38077
38094
|
className
|
|
38078
38095
|
),
|
|
38079
38096
|
children: [
|
|
@@ -44769,7 +44786,7 @@ var init_TeamOrganism = __esm({
|
|
|
44769
44786
|
TeamOrganism.displayName = "TeamOrganism";
|
|
44770
44787
|
}
|
|
44771
44788
|
});
|
|
44772
|
-
var
|
|
44789
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
44773
44790
|
var init_Timeline = __esm({
|
|
44774
44791
|
"components/organisms/Timeline.tsx"() {
|
|
44775
44792
|
"use client";
|
|
@@ -44780,7 +44797,7 @@ var init_Timeline = __esm({
|
|
|
44780
44797
|
init_ErrorState();
|
|
44781
44798
|
init_EmptyState();
|
|
44782
44799
|
init_useTranslate();
|
|
44783
|
-
|
|
44800
|
+
lookStyles10 = {
|
|
44784
44801
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
44785
44802
|
"vertical-spacious": "",
|
|
44786
44803
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -44873,7 +44890,7 @@ var init_Timeline = __esm({
|
|
|
44873
44890
|
}
|
|
44874
44891
|
return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "md", children: [
|
|
44875
44892
|
title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
44876
|
-
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative",
|
|
44893
|
+
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
44877
44894
|
const status = item.status || "pending";
|
|
44878
44895
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
44879
44896
|
const ItemIcon = item.icon || style.icon;
|
package/dist/runtime/index.js
CHANGED
|
@@ -23190,7 +23190,8 @@ function DataGrid({
|
|
|
23190
23190
|
reorderEvent,
|
|
23191
23191
|
positionEvent,
|
|
23192
23192
|
dndItemIdField,
|
|
23193
|
-
dndRoot
|
|
23193
|
+
dndRoot,
|
|
23194
|
+
look = "dense"
|
|
23194
23195
|
}) {
|
|
23195
23196
|
const eventBus = useEventBus();
|
|
23196
23197
|
const { t } = useTranslate();
|
|
@@ -23306,7 +23307,7 @@ function DataGrid({
|
|
|
23306
23307
|
/* @__PURE__ */ jsx(
|
|
23307
23308
|
Box,
|
|
23308
23309
|
{
|
|
23309
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23310
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23310
23311
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23311
23312
|
children: data.map((item, index) => {
|
|
23312
23313
|
const itemData = item;
|
|
@@ -23483,7 +23484,7 @@ function DataGrid({
|
|
|
23483
23484
|
] })
|
|
23484
23485
|
);
|
|
23485
23486
|
}
|
|
23486
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23487
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23487
23488
|
var init_DataGrid = __esm({
|
|
23488
23489
|
"components/molecules/DataGrid.tsx"() {
|
|
23489
23490
|
"use client";
|
|
@@ -23518,6 +23519,13 @@ var init_DataGrid = __esm({
|
|
|
23518
23519
|
lg: "gap-6",
|
|
23519
23520
|
xl: "gap-8"
|
|
23520
23521
|
};
|
|
23522
|
+
lookStyles5 = {
|
|
23523
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
23524
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
23525
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
23526
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
23527
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
23528
|
+
};
|
|
23521
23529
|
DataGrid.displayName = "DataGrid";
|
|
23522
23530
|
}
|
|
23523
23531
|
});
|
|
@@ -23601,7 +23609,8 @@ function DataList({
|
|
|
23601
23609
|
reorderEvent: dndReorderEvent,
|
|
23602
23610
|
positionEvent,
|
|
23603
23611
|
dndItemIdField,
|
|
23604
|
-
dndRoot
|
|
23612
|
+
dndRoot,
|
|
23613
|
+
look = "dense"
|
|
23605
23614
|
}) {
|
|
23606
23615
|
const eventBus = useEventBus();
|
|
23607
23616
|
const { t } = useTranslate();
|
|
@@ -23866,6 +23875,7 @@ function DataList({
|
|
|
23866
23875
|
className: cn(
|
|
23867
23876
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
23868
23877
|
!isCard && gapClass,
|
|
23878
|
+
listLookStyles[look],
|
|
23869
23879
|
className
|
|
23870
23880
|
),
|
|
23871
23881
|
children: [
|
|
@@ -23903,7 +23913,7 @@ function DataList({
|
|
|
23903
23913
|
)
|
|
23904
23914
|
);
|
|
23905
23915
|
}
|
|
23906
|
-
var dataListLog;
|
|
23916
|
+
var dataListLog, listLookStyles;
|
|
23907
23917
|
var init_DataList = __esm({
|
|
23908
23918
|
"components/molecules/DataList.tsx"() {
|
|
23909
23919
|
"use client";
|
|
@@ -23922,6 +23932,13 @@ var init_DataList = __esm({
|
|
|
23922
23932
|
init_InfiniteScrollSentinel();
|
|
23923
23933
|
init_useDataDnd();
|
|
23924
23934
|
dataListLog = createLogger("almadar:ui:data-list");
|
|
23935
|
+
listLookStyles = {
|
|
23936
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
23937
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
23938
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
23939
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
23940
|
+
"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"
|
|
23941
|
+
};
|
|
23925
23942
|
DataList.displayName = "DataList";
|
|
23926
23943
|
}
|
|
23927
23944
|
});
|
|
@@ -24085,7 +24102,7 @@ var init_FormField = __esm({
|
|
|
24085
24102
|
FormField.displayName = "FormField";
|
|
24086
24103
|
}
|
|
24087
24104
|
});
|
|
24088
|
-
var resolveFilterType,
|
|
24105
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24089
24106
|
var init_FilterGroup = __esm({
|
|
24090
24107
|
"components/molecules/FilterGroup.tsx"() {
|
|
24091
24108
|
"use client";
|
|
@@ -24099,7 +24116,7 @@ var init_FilterGroup = __esm({
|
|
|
24099
24116
|
init_useEventBus();
|
|
24100
24117
|
init_useQuerySingleton();
|
|
24101
24118
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24102
|
-
|
|
24119
|
+
lookStyles6 = {
|
|
24103
24120
|
toolbar: "",
|
|
24104
24121
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24105
24122
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24176,7 +24193,7 @@ var init_FilterGroup = __esm({
|
|
|
24176
24193
|
{
|
|
24177
24194
|
gap: "md",
|
|
24178
24195
|
align: "center",
|
|
24179
|
-
className: cn("flex-wrap",
|
|
24196
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24180
24197
|
children: [
|
|
24181
24198
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24182
24199
|
filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24235,7 +24252,7 @@ var init_FilterGroup = __esm({
|
|
|
24235
24252
|
);
|
|
24236
24253
|
}
|
|
24237
24254
|
if (variant === "vertical") {
|
|
24238
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4",
|
|
24255
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
24239
24256
|
showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24240
24257
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24241
24258
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24323,7 +24340,7 @@ var init_FilterGroup = __esm({
|
|
|
24323
24340
|
{
|
|
24324
24341
|
gap: "sm",
|
|
24325
24342
|
align: "center",
|
|
24326
|
-
className: cn("flex-wrap",
|
|
24343
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24327
24344
|
children: [
|
|
24328
24345
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24329
24346
|
filters.map((filter) => /* @__PURE__ */ jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
@@ -24420,7 +24437,7 @@ var init_FilterGroup = __esm({
|
|
|
24420
24437
|
"p-4 rounded-container",
|
|
24421
24438
|
"bg-card",
|
|
24422
24439
|
"border-[length:var(--border-width)] border-border",
|
|
24423
|
-
|
|
24440
|
+
lookStyles6[look],
|
|
24424
24441
|
className
|
|
24425
24442
|
),
|
|
24426
24443
|
children: /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -28894,7 +28911,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
28894
28911
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
28895
28912
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
28896
28913
|
}
|
|
28897
|
-
var
|
|
28914
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
28898
28915
|
var init_StatDisplay = __esm({
|
|
28899
28916
|
"components/molecules/StatDisplay.tsx"() {
|
|
28900
28917
|
"use client";
|
|
@@ -28906,7 +28923,7 @@ var init_StatDisplay = __esm({
|
|
|
28906
28923
|
init_Sparkline();
|
|
28907
28924
|
init_Icon();
|
|
28908
28925
|
init_useEventBus();
|
|
28909
|
-
|
|
28926
|
+
lookStyles7 = {
|
|
28910
28927
|
elevated: "",
|
|
28911
28928
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
28912
28929
|
"progress-backed": "",
|
|
@@ -28993,7 +29010,7 @@ var init_StatDisplay = __esm({
|
|
|
28993
29010
|
return /* @__PURE__ */ jsx(
|
|
28994
29011
|
Card,
|
|
28995
29012
|
{
|
|
28996
|
-
className: cn(padSizes[size],
|
|
29013
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
28997
29014
|
onClick: clickEvent ? handleClick : void 0,
|
|
28998
29015
|
children: /* @__PURE__ */ jsxs(HStack, { align: "start", justify: "between", children: [
|
|
28999
29016
|
/* @__PURE__ */ jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -34565,7 +34582,7 @@ function DataTable({
|
|
|
34565
34582
|
{
|
|
34566
34583
|
className: cn(
|
|
34567
34584
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
34568
|
-
|
|
34585
|
+
lookStyles8[look],
|
|
34569
34586
|
className
|
|
34570
34587
|
),
|
|
34571
34588
|
children: [
|
|
@@ -34792,7 +34809,7 @@ function DataTable({
|
|
|
34792
34809
|
}
|
|
34793
34810
|
);
|
|
34794
34811
|
}
|
|
34795
|
-
var
|
|
34812
|
+
var lookStyles8;
|
|
34796
34813
|
var init_DataTable = __esm({
|
|
34797
34814
|
"components/organisms/DataTable.tsx"() {
|
|
34798
34815
|
"use client";
|
|
@@ -34806,7 +34823,7 @@ var init_DataTable = __esm({
|
|
|
34806
34823
|
init_useEventBus();
|
|
34807
34824
|
init_useTranslate();
|
|
34808
34825
|
init_types3();
|
|
34809
|
-
|
|
34826
|
+
lookStyles8 = {
|
|
34810
34827
|
dense: "",
|
|
34811
34828
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
34812
34829
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -37971,7 +37988,7 @@ var init_GraphCanvas = __esm({
|
|
|
37971
37988
|
GraphCanvas.displayName = "GraphCanvas";
|
|
37972
37989
|
}
|
|
37973
37990
|
});
|
|
37974
|
-
var
|
|
37991
|
+
var lookStyles9, Header;
|
|
37975
37992
|
var init_Header = __esm({
|
|
37976
37993
|
"components/organisms/Header.tsx"() {
|
|
37977
37994
|
"use client";
|
|
@@ -37984,7 +38001,7 @@ var init_Header = __esm({
|
|
|
37984
38001
|
init_Typography();
|
|
37985
38002
|
init_cn();
|
|
37986
38003
|
init_useTranslate();
|
|
37987
|
-
|
|
38004
|
+
lookStyles9 = {
|
|
37988
38005
|
"compact-bar": "",
|
|
37989
38006
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
37990
38007
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38024,7 +38041,7 @@ var init_Header = __esm({
|
|
|
38024
38041
|
"flex items-center px-4 justify-between bg-card",
|
|
38025
38042
|
sticky && "sticky top-0 z-50",
|
|
38026
38043
|
variant === "mobile" && "lg:hidden",
|
|
38027
|
-
|
|
38044
|
+
lookStyles9[look],
|
|
38028
38045
|
className
|
|
38029
38046
|
),
|
|
38030
38047
|
children: [
|
|
@@ -44720,7 +44737,7 @@ var init_TeamOrganism = __esm({
|
|
|
44720
44737
|
TeamOrganism.displayName = "TeamOrganism";
|
|
44721
44738
|
}
|
|
44722
44739
|
});
|
|
44723
|
-
var
|
|
44740
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
44724
44741
|
var init_Timeline = __esm({
|
|
44725
44742
|
"components/organisms/Timeline.tsx"() {
|
|
44726
44743
|
"use client";
|
|
@@ -44731,7 +44748,7 @@ var init_Timeline = __esm({
|
|
|
44731
44748
|
init_ErrorState();
|
|
44732
44749
|
init_EmptyState();
|
|
44733
44750
|
init_useTranslate();
|
|
44734
|
-
|
|
44751
|
+
lookStyles10 = {
|
|
44735
44752
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
44736
44753
|
"vertical-spacious": "",
|
|
44737
44754
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -44824,7 +44841,7 @@ var init_Timeline = __esm({
|
|
|
44824
44841
|
}
|
|
44825
44842
|
return /* @__PURE__ */ jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxs(VStack, { gap: "md", children: [
|
|
44826
44843
|
title && /* @__PURE__ */ jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
44827
|
-
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative",
|
|
44844
|
+
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
44828
44845
|
const status = item.status || "pending";
|
|
44829
44846
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
44830
44847
|
const ItemIcon = item.icon || style.icon;
|