@almadar/ui 5.5.2 → 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 +47 -25
- package/dist/avl/index.js +47 -25
- package/dist/components/index.cjs +47 -25
- package/dist/components/index.js +47 -25
- package/dist/components/molecules/DataGrid.d.ts +1 -1
- package/dist/components/molecules/DataList.d.ts +1 -1
- package/dist/providers/index.cjs +47 -25
- package/dist/providers/index.js +47 -25
- package/dist/runtime/index.cjs +47 -25
- package/dist/runtime/index.js +47 -25
- package/package.json +1 -1
package/dist/runtime/index.cjs
CHANGED
|
@@ -2309,8 +2309,13 @@ var init_Modal = __esm({
|
|
|
2309
2309
|
ref: modalRef,
|
|
2310
2310
|
open: true,
|
|
2311
2311
|
className: cn(
|
|
2312
|
-
// Reset browser-default dialog chrome — we own styling.
|
|
2313
|
-
|
|
2312
|
+
// Reset browser-default dialog chrome — we own styling. `static`
|
|
2313
|
+
// overrides the user-agent `position: absolute` so the parent
|
|
2314
|
+
// flex container's `justify-center` actually centers the dialog
|
|
2315
|
+
// (without this, the dialog drops out of flex flow and `m-0`
|
|
2316
|
+
// kills the user-agent's `margin: auto` centering, pinning the
|
|
2317
|
+
// dialog to top-left).
|
|
2318
|
+
"static m-0 p-0 border-0 bg-transparent",
|
|
2314
2319
|
// Pre-existing dialog frame
|
|
2315
2320
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
|
|
2316
2321
|
// Desktop sizing + viewport-aware floor.
|
|
@@ -23234,7 +23239,8 @@ function DataGrid({
|
|
|
23234
23239
|
reorderEvent,
|
|
23235
23240
|
positionEvent,
|
|
23236
23241
|
dndItemIdField,
|
|
23237
|
-
dndRoot
|
|
23242
|
+
dndRoot,
|
|
23243
|
+
look = "dense"
|
|
23238
23244
|
}) {
|
|
23239
23245
|
const eventBus = useEventBus();
|
|
23240
23246
|
const { t } = useTranslate();
|
|
@@ -23350,7 +23356,7 @@ function DataGrid({
|
|
|
23350
23356
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23351
23357
|
Box,
|
|
23352
23358
|
{
|
|
23353
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23359
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23354
23360
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23355
23361
|
children: data.map((item, index) => {
|
|
23356
23362
|
const itemData = item;
|
|
@@ -23527,7 +23533,7 @@ function DataGrid({
|
|
|
23527
23533
|
] })
|
|
23528
23534
|
);
|
|
23529
23535
|
}
|
|
23530
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23536
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23531
23537
|
var init_DataGrid = __esm({
|
|
23532
23538
|
"components/molecules/DataGrid.tsx"() {
|
|
23533
23539
|
"use client";
|
|
@@ -23562,6 +23568,13 @@ var init_DataGrid = __esm({
|
|
|
23562
23568
|
lg: "gap-6",
|
|
23563
23569
|
xl: "gap-8"
|
|
23564
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
|
+
};
|
|
23565
23578
|
DataGrid.displayName = "DataGrid";
|
|
23566
23579
|
}
|
|
23567
23580
|
});
|
|
@@ -23645,7 +23658,8 @@ function DataList({
|
|
|
23645
23658
|
reorderEvent: dndReorderEvent,
|
|
23646
23659
|
positionEvent,
|
|
23647
23660
|
dndItemIdField,
|
|
23648
|
-
dndRoot
|
|
23661
|
+
dndRoot,
|
|
23662
|
+
look = "dense"
|
|
23649
23663
|
}) {
|
|
23650
23664
|
const eventBus = useEventBus();
|
|
23651
23665
|
const { t } = useTranslate();
|
|
@@ -23910,6 +23924,7 @@ function DataList({
|
|
|
23910
23924
|
className: cn(
|
|
23911
23925
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
23912
23926
|
!isCard && gapClass,
|
|
23927
|
+
listLookStyles[look],
|
|
23913
23928
|
className
|
|
23914
23929
|
),
|
|
23915
23930
|
children: [
|
|
@@ -23947,7 +23962,7 @@ function DataList({
|
|
|
23947
23962
|
)
|
|
23948
23963
|
);
|
|
23949
23964
|
}
|
|
23950
|
-
var dataListLog;
|
|
23965
|
+
var dataListLog, listLookStyles;
|
|
23951
23966
|
var init_DataList = __esm({
|
|
23952
23967
|
"components/molecules/DataList.tsx"() {
|
|
23953
23968
|
"use client";
|
|
@@ -23966,6 +23981,13 @@ var init_DataList = __esm({
|
|
|
23966
23981
|
init_InfiniteScrollSentinel();
|
|
23967
23982
|
init_useDataDnd();
|
|
23968
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
|
+
};
|
|
23969
23991
|
DataList.displayName = "DataList";
|
|
23970
23992
|
}
|
|
23971
23993
|
});
|
|
@@ -24129,7 +24151,7 @@ var init_FormField = __esm({
|
|
|
24129
24151
|
FormField.displayName = "FormField";
|
|
24130
24152
|
}
|
|
24131
24153
|
});
|
|
24132
|
-
var resolveFilterType,
|
|
24154
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24133
24155
|
var init_FilterGroup = __esm({
|
|
24134
24156
|
"components/molecules/FilterGroup.tsx"() {
|
|
24135
24157
|
"use client";
|
|
@@ -24143,7 +24165,7 @@ var init_FilterGroup = __esm({
|
|
|
24143
24165
|
init_useEventBus();
|
|
24144
24166
|
init_useQuerySingleton();
|
|
24145
24167
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24146
|
-
|
|
24168
|
+
lookStyles6 = {
|
|
24147
24169
|
toolbar: "",
|
|
24148
24170
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24149
24171
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24220,7 +24242,7 @@ var init_FilterGroup = __esm({
|
|
|
24220
24242
|
{
|
|
24221
24243
|
gap: "md",
|
|
24222
24244
|
align: "center",
|
|
24223
|
-
className: cn("flex-wrap",
|
|
24245
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24224
24246
|
children: [
|
|
24225
24247
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24226
24248
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24279,7 +24301,7 @@ var init_FilterGroup = __esm({
|
|
|
24279
24301
|
);
|
|
24280
24302
|
}
|
|
24281
24303
|
if (variant === "vertical") {
|
|
24282
|
-
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: [
|
|
24283
24305
|
showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24284
24306
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24285
24307
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24367,7 +24389,7 @@ var init_FilterGroup = __esm({
|
|
|
24367
24389
|
{
|
|
24368
24390
|
gap: "sm",
|
|
24369
24391
|
align: "center",
|
|
24370
|
-
className: cn("flex-wrap",
|
|
24392
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24371
24393
|
children: [
|
|
24372
24394
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24373
24395
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24464,7 +24486,7 @@ var init_FilterGroup = __esm({
|
|
|
24464
24486
|
"p-4 rounded-container",
|
|
24465
24487
|
"bg-card",
|
|
24466
24488
|
"border-[length:var(--border-width)] border-border",
|
|
24467
|
-
|
|
24489
|
+
lookStyles6[look],
|
|
24468
24490
|
className
|
|
24469
24491
|
),
|
|
24470
24492
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -28938,7 +28960,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
28938
28960
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
28939
28961
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
28940
28962
|
}
|
|
28941
|
-
var
|
|
28963
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
28942
28964
|
var init_StatDisplay = __esm({
|
|
28943
28965
|
"components/molecules/StatDisplay.tsx"() {
|
|
28944
28966
|
"use client";
|
|
@@ -28950,7 +28972,7 @@ var init_StatDisplay = __esm({
|
|
|
28950
28972
|
init_Sparkline();
|
|
28951
28973
|
init_Icon();
|
|
28952
28974
|
init_useEventBus();
|
|
28953
|
-
|
|
28975
|
+
lookStyles7 = {
|
|
28954
28976
|
elevated: "",
|
|
28955
28977
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
28956
28978
|
"progress-backed": "",
|
|
@@ -29037,7 +29059,7 @@ var init_StatDisplay = __esm({
|
|
|
29037
29059
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29038
29060
|
Card,
|
|
29039
29061
|
{
|
|
29040
|
-
className: cn(padSizes[size],
|
|
29062
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
29041
29063
|
onClick: clickEvent ? handleClick : void 0,
|
|
29042
29064
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { align: "start", justify: "between", children: [
|
|
29043
29065
|
/* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -34609,7 +34631,7 @@ function DataTable({
|
|
|
34609
34631
|
{
|
|
34610
34632
|
className: cn(
|
|
34611
34633
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
34612
|
-
|
|
34634
|
+
lookStyles8[look],
|
|
34613
34635
|
className
|
|
34614
34636
|
),
|
|
34615
34637
|
children: [
|
|
@@ -34836,7 +34858,7 @@ function DataTable({
|
|
|
34836
34858
|
}
|
|
34837
34859
|
);
|
|
34838
34860
|
}
|
|
34839
|
-
var
|
|
34861
|
+
var lookStyles8;
|
|
34840
34862
|
var init_DataTable = __esm({
|
|
34841
34863
|
"components/organisms/DataTable.tsx"() {
|
|
34842
34864
|
"use client";
|
|
@@ -34850,7 +34872,7 @@ var init_DataTable = __esm({
|
|
|
34850
34872
|
init_useEventBus();
|
|
34851
34873
|
init_useTranslate();
|
|
34852
34874
|
init_types3();
|
|
34853
|
-
|
|
34875
|
+
lookStyles8 = {
|
|
34854
34876
|
dense: "",
|
|
34855
34877
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
34856
34878
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -38015,7 +38037,7 @@ var init_GraphCanvas = __esm({
|
|
|
38015
38037
|
GraphCanvas.displayName = "GraphCanvas";
|
|
38016
38038
|
}
|
|
38017
38039
|
});
|
|
38018
|
-
var
|
|
38040
|
+
var lookStyles9, Header;
|
|
38019
38041
|
var init_Header = __esm({
|
|
38020
38042
|
"components/organisms/Header.tsx"() {
|
|
38021
38043
|
"use client";
|
|
@@ -38028,7 +38050,7 @@ var init_Header = __esm({
|
|
|
38028
38050
|
init_Typography();
|
|
38029
38051
|
init_cn();
|
|
38030
38052
|
init_useTranslate();
|
|
38031
|
-
|
|
38053
|
+
lookStyles9 = {
|
|
38032
38054
|
"compact-bar": "",
|
|
38033
38055
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
38034
38056
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38068,7 +38090,7 @@ var init_Header = __esm({
|
|
|
38068
38090
|
"flex items-center px-4 justify-between bg-card",
|
|
38069
38091
|
sticky && "sticky top-0 z-50",
|
|
38070
38092
|
variant === "mobile" && "lg:hidden",
|
|
38071
|
-
|
|
38093
|
+
lookStyles9[look],
|
|
38072
38094
|
className
|
|
38073
38095
|
),
|
|
38074
38096
|
children: [
|
|
@@ -44764,7 +44786,7 @@ var init_TeamOrganism = __esm({
|
|
|
44764
44786
|
TeamOrganism.displayName = "TeamOrganism";
|
|
44765
44787
|
}
|
|
44766
44788
|
});
|
|
44767
|
-
var
|
|
44789
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
44768
44790
|
var init_Timeline = __esm({
|
|
44769
44791
|
"components/organisms/Timeline.tsx"() {
|
|
44770
44792
|
"use client";
|
|
@@ -44775,7 +44797,7 @@ var init_Timeline = __esm({
|
|
|
44775
44797
|
init_ErrorState();
|
|
44776
44798
|
init_EmptyState();
|
|
44777
44799
|
init_useTranslate();
|
|
44778
|
-
|
|
44800
|
+
lookStyles10 = {
|
|
44779
44801
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
44780
44802
|
"vertical-spacious": "",
|
|
44781
44803
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -44868,7 +44890,7 @@ var init_Timeline = __esm({
|
|
|
44868
44890
|
}
|
|
44869
44891
|
return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "md", children: [
|
|
44870
44892
|
title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
44871
|
-
/* @__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) => {
|
|
44872
44894
|
const status = item.status || "pending";
|
|
44873
44895
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
44874
44896
|
const ItemIcon = item.icon || style.icon;
|
package/dist/runtime/index.js
CHANGED
|
@@ -2260,8 +2260,13 @@ var init_Modal = __esm({
|
|
|
2260
2260
|
ref: modalRef,
|
|
2261
2261
|
open: true,
|
|
2262
2262
|
className: cn(
|
|
2263
|
-
// Reset browser-default dialog chrome — we own styling.
|
|
2264
|
-
|
|
2263
|
+
// Reset browser-default dialog chrome — we own styling. `static`
|
|
2264
|
+
// overrides the user-agent `position: absolute` so the parent
|
|
2265
|
+
// flex container's `justify-center` actually centers the dialog
|
|
2266
|
+
// (without this, the dialog drops out of flex flow and `m-0`
|
|
2267
|
+
// kills the user-agent's `margin: auto` centering, pinning the
|
|
2268
|
+
// dialog to top-left).
|
|
2269
|
+
"static m-0 p-0 border-0 bg-transparent",
|
|
2265
2270
|
// Pre-existing dialog frame
|
|
2266
2271
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
|
|
2267
2272
|
// Desktop sizing + viewport-aware floor.
|
|
@@ -23185,7 +23190,8 @@ function DataGrid({
|
|
|
23185
23190
|
reorderEvent,
|
|
23186
23191
|
positionEvent,
|
|
23187
23192
|
dndItemIdField,
|
|
23188
|
-
dndRoot
|
|
23193
|
+
dndRoot,
|
|
23194
|
+
look = "dense"
|
|
23189
23195
|
}) {
|
|
23190
23196
|
const eventBus = useEventBus();
|
|
23191
23197
|
const { t } = useTranslate();
|
|
@@ -23301,7 +23307,7 @@ function DataGrid({
|
|
|
23301
23307
|
/* @__PURE__ */ jsx(
|
|
23302
23308
|
Box,
|
|
23303
23309
|
{
|
|
23304
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23310
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23305
23311
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23306
23312
|
children: data.map((item, index) => {
|
|
23307
23313
|
const itemData = item;
|
|
@@ -23478,7 +23484,7 @@ function DataGrid({
|
|
|
23478
23484
|
] })
|
|
23479
23485
|
);
|
|
23480
23486
|
}
|
|
23481
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23487
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23482
23488
|
var init_DataGrid = __esm({
|
|
23483
23489
|
"components/molecules/DataGrid.tsx"() {
|
|
23484
23490
|
"use client";
|
|
@@ -23513,6 +23519,13 @@ var init_DataGrid = __esm({
|
|
|
23513
23519
|
lg: "gap-6",
|
|
23514
23520
|
xl: "gap-8"
|
|
23515
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
|
+
};
|
|
23516
23529
|
DataGrid.displayName = "DataGrid";
|
|
23517
23530
|
}
|
|
23518
23531
|
});
|
|
@@ -23596,7 +23609,8 @@ function DataList({
|
|
|
23596
23609
|
reorderEvent: dndReorderEvent,
|
|
23597
23610
|
positionEvent,
|
|
23598
23611
|
dndItemIdField,
|
|
23599
|
-
dndRoot
|
|
23612
|
+
dndRoot,
|
|
23613
|
+
look = "dense"
|
|
23600
23614
|
}) {
|
|
23601
23615
|
const eventBus = useEventBus();
|
|
23602
23616
|
const { t } = useTranslate();
|
|
@@ -23861,6 +23875,7 @@ function DataList({
|
|
|
23861
23875
|
className: cn(
|
|
23862
23876
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
23863
23877
|
!isCard && gapClass,
|
|
23878
|
+
listLookStyles[look],
|
|
23864
23879
|
className
|
|
23865
23880
|
),
|
|
23866
23881
|
children: [
|
|
@@ -23898,7 +23913,7 @@ function DataList({
|
|
|
23898
23913
|
)
|
|
23899
23914
|
);
|
|
23900
23915
|
}
|
|
23901
|
-
var dataListLog;
|
|
23916
|
+
var dataListLog, listLookStyles;
|
|
23902
23917
|
var init_DataList = __esm({
|
|
23903
23918
|
"components/molecules/DataList.tsx"() {
|
|
23904
23919
|
"use client";
|
|
@@ -23917,6 +23932,13 @@ var init_DataList = __esm({
|
|
|
23917
23932
|
init_InfiniteScrollSentinel();
|
|
23918
23933
|
init_useDataDnd();
|
|
23919
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
|
+
};
|
|
23920
23942
|
DataList.displayName = "DataList";
|
|
23921
23943
|
}
|
|
23922
23944
|
});
|
|
@@ -24080,7 +24102,7 @@ var init_FormField = __esm({
|
|
|
24080
24102
|
FormField.displayName = "FormField";
|
|
24081
24103
|
}
|
|
24082
24104
|
});
|
|
24083
|
-
var resolveFilterType,
|
|
24105
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24084
24106
|
var init_FilterGroup = __esm({
|
|
24085
24107
|
"components/molecules/FilterGroup.tsx"() {
|
|
24086
24108
|
"use client";
|
|
@@ -24094,7 +24116,7 @@ var init_FilterGroup = __esm({
|
|
|
24094
24116
|
init_useEventBus();
|
|
24095
24117
|
init_useQuerySingleton();
|
|
24096
24118
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24097
|
-
|
|
24119
|
+
lookStyles6 = {
|
|
24098
24120
|
toolbar: "",
|
|
24099
24121
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24100
24122
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24171,7 +24193,7 @@ var init_FilterGroup = __esm({
|
|
|
24171
24193
|
{
|
|
24172
24194
|
gap: "md",
|
|
24173
24195
|
align: "center",
|
|
24174
|
-
className: cn("flex-wrap",
|
|
24196
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24175
24197
|
children: [
|
|
24176
24198
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24177
24199
|
filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24230,7 +24252,7 @@ var init_FilterGroup = __esm({
|
|
|
24230
24252
|
);
|
|
24231
24253
|
}
|
|
24232
24254
|
if (variant === "vertical") {
|
|
24233
|
-
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: [
|
|
24234
24256
|
showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24235
24257
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24236
24258
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24318,7 +24340,7 @@ var init_FilterGroup = __esm({
|
|
|
24318
24340
|
{
|
|
24319
24341
|
gap: "sm",
|
|
24320
24342
|
align: "center",
|
|
24321
|
-
className: cn("flex-wrap",
|
|
24343
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24322
24344
|
children: [
|
|
24323
24345
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24324
24346
|
filters.map((filter) => /* @__PURE__ */ jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
@@ -24415,7 +24437,7 @@ var init_FilterGroup = __esm({
|
|
|
24415
24437
|
"p-4 rounded-container",
|
|
24416
24438
|
"bg-card",
|
|
24417
24439
|
"border-[length:var(--border-width)] border-border",
|
|
24418
|
-
|
|
24440
|
+
lookStyles6[look],
|
|
24419
24441
|
className
|
|
24420
24442
|
),
|
|
24421
24443
|
children: /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -28889,7 +28911,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
28889
28911
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
28890
28912
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
28891
28913
|
}
|
|
28892
|
-
var
|
|
28914
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
28893
28915
|
var init_StatDisplay = __esm({
|
|
28894
28916
|
"components/molecules/StatDisplay.tsx"() {
|
|
28895
28917
|
"use client";
|
|
@@ -28901,7 +28923,7 @@ var init_StatDisplay = __esm({
|
|
|
28901
28923
|
init_Sparkline();
|
|
28902
28924
|
init_Icon();
|
|
28903
28925
|
init_useEventBus();
|
|
28904
|
-
|
|
28926
|
+
lookStyles7 = {
|
|
28905
28927
|
elevated: "",
|
|
28906
28928
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
28907
28929
|
"progress-backed": "",
|
|
@@ -28988,7 +29010,7 @@ var init_StatDisplay = __esm({
|
|
|
28988
29010
|
return /* @__PURE__ */ jsx(
|
|
28989
29011
|
Card,
|
|
28990
29012
|
{
|
|
28991
|
-
className: cn(padSizes[size],
|
|
29013
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
28992
29014
|
onClick: clickEvent ? handleClick : void 0,
|
|
28993
29015
|
children: /* @__PURE__ */ jsxs(HStack, { align: "start", justify: "between", children: [
|
|
28994
29016
|
/* @__PURE__ */ jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -34560,7 +34582,7 @@ function DataTable({
|
|
|
34560
34582
|
{
|
|
34561
34583
|
className: cn(
|
|
34562
34584
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
34563
|
-
|
|
34585
|
+
lookStyles8[look],
|
|
34564
34586
|
className
|
|
34565
34587
|
),
|
|
34566
34588
|
children: [
|
|
@@ -34787,7 +34809,7 @@ function DataTable({
|
|
|
34787
34809
|
}
|
|
34788
34810
|
);
|
|
34789
34811
|
}
|
|
34790
|
-
var
|
|
34812
|
+
var lookStyles8;
|
|
34791
34813
|
var init_DataTable = __esm({
|
|
34792
34814
|
"components/organisms/DataTable.tsx"() {
|
|
34793
34815
|
"use client";
|
|
@@ -34801,7 +34823,7 @@ var init_DataTable = __esm({
|
|
|
34801
34823
|
init_useEventBus();
|
|
34802
34824
|
init_useTranslate();
|
|
34803
34825
|
init_types3();
|
|
34804
|
-
|
|
34826
|
+
lookStyles8 = {
|
|
34805
34827
|
dense: "",
|
|
34806
34828
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
34807
34829
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -37966,7 +37988,7 @@ var init_GraphCanvas = __esm({
|
|
|
37966
37988
|
GraphCanvas.displayName = "GraphCanvas";
|
|
37967
37989
|
}
|
|
37968
37990
|
});
|
|
37969
|
-
var
|
|
37991
|
+
var lookStyles9, Header;
|
|
37970
37992
|
var init_Header = __esm({
|
|
37971
37993
|
"components/organisms/Header.tsx"() {
|
|
37972
37994
|
"use client";
|
|
@@ -37979,7 +38001,7 @@ var init_Header = __esm({
|
|
|
37979
38001
|
init_Typography();
|
|
37980
38002
|
init_cn();
|
|
37981
38003
|
init_useTranslate();
|
|
37982
|
-
|
|
38004
|
+
lookStyles9 = {
|
|
37983
38005
|
"compact-bar": "",
|
|
37984
38006
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
37985
38007
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38019,7 +38041,7 @@ var init_Header = __esm({
|
|
|
38019
38041
|
"flex items-center px-4 justify-between bg-card",
|
|
38020
38042
|
sticky && "sticky top-0 z-50",
|
|
38021
38043
|
variant === "mobile" && "lg:hidden",
|
|
38022
|
-
|
|
38044
|
+
lookStyles9[look],
|
|
38023
38045
|
className
|
|
38024
38046
|
),
|
|
38025
38047
|
children: [
|
|
@@ -44715,7 +44737,7 @@ var init_TeamOrganism = __esm({
|
|
|
44715
44737
|
TeamOrganism.displayName = "TeamOrganism";
|
|
44716
44738
|
}
|
|
44717
44739
|
});
|
|
44718
|
-
var
|
|
44740
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
44719
44741
|
var init_Timeline = __esm({
|
|
44720
44742
|
"components/organisms/Timeline.tsx"() {
|
|
44721
44743
|
"use client";
|
|
@@ -44726,7 +44748,7 @@ var init_Timeline = __esm({
|
|
|
44726
44748
|
init_ErrorState();
|
|
44727
44749
|
init_EmptyState();
|
|
44728
44750
|
init_useTranslate();
|
|
44729
|
-
|
|
44751
|
+
lookStyles10 = {
|
|
44730
44752
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
44731
44753
|
"vertical-spacious": "",
|
|
44732
44754
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -44819,7 +44841,7 @@ var init_Timeline = __esm({
|
|
|
44819
44841
|
}
|
|
44820
44842
|
return /* @__PURE__ */ jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxs(VStack, { gap: "md", children: [
|
|
44821
44843
|
title && /* @__PURE__ */ jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
44822
|
-
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative",
|
|
44844
|
+
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
44823
44845
|
const status = item.status || "pending";
|
|
44824
44846
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
44825
44847
|
const ItemIcon = item.icon || style.icon;
|