@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/providers/index.cjs
CHANGED
|
@@ -23470,7 +23470,8 @@ function DataGrid({
|
|
|
23470
23470
|
reorderEvent,
|
|
23471
23471
|
positionEvent,
|
|
23472
23472
|
dndItemIdField,
|
|
23473
|
-
dndRoot
|
|
23473
|
+
dndRoot,
|
|
23474
|
+
look = "dense"
|
|
23474
23475
|
}) {
|
|
23475
23476
|
const eventBus = useEventBus();
|
|
23476
23477
|
const { t } = useTranslate();
|
|
@@ -23586,7 +23587,7 @@ function DataGrid({
|
|
|
23586
23587
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23587
23588
|
Box,
|
|
23588
23589
|
{
|
|
23589
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23590
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23590
23591
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23591
23592
|
children: data.map((item, index) => {
|
|
23592
23593
|
const itemData = item;
|
|
@@ -23763,7 +23764,7 @@ function DataGrid({
|
|
|
23763
23764
|
] })
|
|
23764
23765
|
);
|
|
23765
23766
|
}
|
|
23766
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23767
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23767
23768
|
var init_DataGrid = __esm({
|
|
23768
23769
|
"components/molecules/DataGrid.tsx"() {
|
|
23769
23770
|
"use client";
|
|
@@ -23798,6 +23799,13 @@ var init_DataGrid = __esm({
|
|
|
23798
23799
|
lg: "gap-6",
|
|
23799
23800
|
xl: "gap-8"
|
|
23800
23801
|
};
|
|
23802
|
+
lookStyles5 = {
|
|
23803
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
23804
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
23805
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
23806
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
23807
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
23808
|
+
};
|
|
23801
23809
|
DataGrid.displayName = "DataGrid";
|
|
23802
23810
|
}
|
|
23803
23811
|
});
|
|
@@ -23881,7 +23889,8 @@ function DataList({
|
|
|
23881
23889
|
reorderEvent: dndReorderEvent,
|
|
23882
23890
|
positionEvent,
|
|
23883
23891
|
dndItemIdField,
|
|
23884
|
-
dndRoot
|
|
23892
|
+
dndRoot,
|
|
23893
|
+
look = "dense"
|
|
23885
23894
|
}) {
|
|
23886
23895
|
const eventBus = useEventBus();
|
|
23887
23896
|
const { t } = useTranslate();
|
|
@@ -24146,6 +24155,7 @@ function DataList({
|
|
|
24146
24155
|
className: cn(
|
|
24147
24156
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
24148
24157
|
!isCard && gapClass,
|
|
24158
|
+
listLookStyles[look],
|
|
24149
24159
|
className
|
|
24150
24160
|
),
|
|
24151
24161
|
children: [
|
|
@@ -24183,7 +24193,7 @@ function DataList({
|
|
|
24183
24193
|
)
|
|
24184
24194
|
);
|
|
24185
24195
|
}
|
|
24186
|
-
var dataListLog;
|
|
24196
|
+
var dataListLog, listLookStyles;
|
|
24187
24197
|
var init_DataList = __esm({
|
|
24188
24198
|
"components/molecules/DataList.tsx"() {
|
|
24189
24199
|
"use client";
|
|
@@ -24202,6 +24212,13 @@ var init_DataList = __esm({
|
|
|
24202
24212
|
init_InfiniteScrollSentinel();
|
|
24203
24213
|
init_useDataDnd();
|
|
24204
24214
|
dataListLog = logger.createLogger("almadar:ui:data-list");
|
|
24215
|
+
listLookStyles = {
|
|
24216
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
24217
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
24218
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
24219
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
24220
|
+
"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"
|
|
24221
|
+
};
|
|
24205
24222
|
DataList.displayName = "DataList";
|
|
24206
24223
|
}
|
|
24207
24224
|
});
|
|
@@ -24429,7 +24446,7 @@ var init_useQuerySingleton = __esm({
|
|
|
24429
24446
|
queryStores = /* @__PURE__ */ new Map();
|
|
24430
24447
|
}
|
|
24431
24448
|
});
|
|
24432
|
-
var resolveFilterType,
|
|
24449
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24433
24450
|
var init_FilterGroup = __esm({
|
|
24434
24451
|
"components/molecules/FilterGroup.tsx"() {
|
|
24435
24452
|
"use client";
|
|
@@ -24443,7 +24460,7 @@ var init_FilterGroup = __esm({
|
|
|
24443
24460
|
init_useEventBus();
|
|
24444
24461
|
init_useQuerySingleton();
|
|
24445
24462
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24446
|
-
|
|
24463
|
+
lookStyles6 = {
|
|
24447
24464
|
toolbar: "",
|
|
24448
24465
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24449
24466
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24520,7 +24537,7 @@ var init_FilterGroup = __esm({
|
|
|
24520
24537
|
{
|
|
24521
24538
|
gap: "md",
|
|
24522
24539
|
align: "center",
|
|
24523
|
-
className: cn("flex-wrap",
|
|
24540
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24524
24541
|
children: [
|
|
24525
24542
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24526
24543
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24579,7 +24596,7 @@ var init_FilterGroup = __esm({
|
|
|
24579
24596
|
);
|
|
24580
24597
|
}
|
|
24581
24598
|
if (variant === "vertical") {
|
|
24582
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4",
|
|
24599
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
24583
24600
|
showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24584
24601
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24585
24602
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24667,7 +24684,7 @@ var init_FilterGroup = __esm({
|
|
|
24667
24684
|
{
|
|
24668
24685
|
gap: "sm",
|
|
24669
24686
|
align: "center",
|
|
24670
|
-
className: cn("flex-wrap",
|
|
24687
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24671
24688
|
children: [
|
|
24672
24689
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24673
24690
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24764,7 +24781,7 @@ var init_FilterGroup = __esm({
|
|
|
24764
24781
|
"p-4 rounded-container",
|
|
24765
24782
|
"bg-card",
|
|
24766
24783
|
"border-[length:var(--border-width)] border-border",
|
|
24767
|
-
|
|
24784
|
+
lookStyles6[look],
|
|
24768
24785
|
className
|
|
24769
24786
|
),
|
|
24770
24787
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -29238,7 +29255,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
29238
29255
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
29239
29256
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
29240
29257
|
}
|
|
29241
|
-
var
|
|
29258
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
29242
29259
|
var init_StatDisplay = __esm({
|
|
29243
29260
|
"components/molecules/StatDisplay.tsx"() {
|
|
29244
29261
|
"use client";
|
|
@@ -29250,7 +29267,7 @@ var init_StatDisplay = __esm({
|
|
|
29250
29267
|
init_Sparkline();
|
|
29251
29268
|
init_Icon();
|
|
29252
29269
|
init_useEventBus();
|
|
29253
|
-
|
|
29270
|
+
lookStyles7 = {
|
|
29254
29271
|
elevated: "",
|
|
29255
29272
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
29256
29273
|
"progress-backed": "",
|
|
@@ -29337,7 +29354,7 @@ var init_StatDisplay = __esm({
|
|
|
29337
29354
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29338
29355
|
Card,
|
|
29339
29356
|
{
|
|
29340
|
-
className: cn(padSizes[size],
|
|
29357
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
29341
29358
|
onClick: clickEvent ? handleClick : void 0,
|
|
29342
29359
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { align: "start", justify: "between", children: [
|
|
29343
29360
|
/* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -35047,7 +35064,7 @@ function DataTable({
|
|
|
35047
35064
|
{
|
|
35048
35065
|
className: cn(
|
|
35049
35066
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
35050
|
-
|
|
35067
|
+
lookStyles8[look],
|
|
35051
35068
|
className
|
|
35052
35069
|
),
|
|
35053
35070
|
children: [
|
|
@@ -35274,7 +35291,7 @@ function DataTable({
|
|
|
35274
35291
|
}
|
|
35275
35292
|
);
|
|
35276
35293
|
}
|
|
35277
|
-
var
|
|
35294
|
+
var lookStyles8;
|
|
35278
35295
|
var init_DataTable = __esm({
|
|
35279
35296
|
"components/organisms/DataTable.tsx"() {
|
|
35280
35297
|
"use client";
|
|
@@ -35288,7 +35305,7 @@ var init_DataTable = __esm({
|
|
|
35288
35305
|
init_useEventBus();
|
|
35289
35306
|
init_useTranslate();
|
|
35290
35307
|
init_types3();
|
|
35291
|
-
|
|
35308
|
+
lookStyles8 = {
|
|
35292
35309
|
dense: "",
|
|
35293
35310
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
35294
35311
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -38453,7 +38470,7 @@ var init_GraphCanvas = __esm({
|
|
|
38453
38470
|
GraphCanvas.displayName = "GraphCanvas";
|
|
38454
38471
|
}
|
|
38455
38472
|
});
|
|
38456
|
-
var
|
|
38473
|
+
var lookStyles9, Header;
|
|
38457
38474
|
var init_Header = __esm({
|
|
38458
38475
|
"components/organisms/Header.tsx"() {
|
|
38459
38476
|
"use client";
|
|
@@ -38466,7 +38483,7 @@ var init_Header = __esm({
|
|
|
38466
38483
|
init_Typography();
|
|
38467
38484
|
init_cn();
|
|
38468
38485
|
init_useTranslate();
|
|
38469
|
-
|
|
38486
|
+
lookStyles9 = {
|
|
38470
38487
|
"compact-bar": "",
|
|
38471
38488
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
38472
38489
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38506,7 +38523,7 @@ var init_Header = __esm({
|
|
|
38506
38523
|
"flex items-center px-4 justify-between bg-card",
|
|
38507
38524
|
sticky && "sticky top-0 z-50",
|
|
38508
38525
|
variant === "mobile" && "lg:hidden",
|
|
38509
|
-
|
|
38526
|
+
lookStyles9[look],
|
|
38510
38527
|
className
|
|
38511
38528
|
),
|
|
38512
38529
|
children: [
|
|
@@ -45183,7 +45200,7 @@ var init_TeamOrganism = __esm({
|
|
|
45183
45200
|
TeamOrganism.displayName = "TeamOrganism";
|
|
45184
45201
|
}
|
|
45185
45202
|
});
|
|
45186
|
-
var
|
|
45203
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
45187
45204
|
var init_Timeline = __esm({
|
|
45188
45205
|
"components/organisms/Timeline.tsx"() {
|
|
45189
45206
|
"use client";
|
|
@@ -45194,7 +45211,7 @@ var init_Timeline = __esm({
|
|
|
45194
45211
|
init_ErrorState();
|
|
45195
45212
|
init_EmptyState();
|
|
45196
45213
|
init_useTranslate();
|
|
45197
|
-
|
|
45214
|
+
lookStyles10 = {
|
|
45198
45215
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
45199
45216
|
"vertical-spacious": "",
|
|
45200
45217
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -45287,7 +45304,7 @@ var init_Timeline = __esm({
|
|
|
45287
45304
|
}
|
|
45288
45305
|
return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "md", children: [
|
|
45289
45306
|
title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
45290
|
-
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative",
|
|
45307
|
+
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
45291
45308
|
const status = item.status || "pending";
|
|
45292
45309
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
45293
45310
|
const ItemIcon = item.icon || style.icon;
|
package/dist/providers/index.js
CHANGED
|
@@ -23421,7 +23421,8 @@ function DataGrid({
|
|
|
23421
23421
|
reorderEvent,
|
|
23422
23422
|
positionEvent,
|
|
23423
23423
|
dndItemIdField,
|
|
23424
|
-
dndRoot
|
|
23424
|
+
dndRoot,
|
|
23425
|
+
look = "dense"
|
|
23425
23426
|
}) {
|
|
23426
23427
|
const eventBus = useEventBus();
|
|
23427
23428
|
const { t } = useTranslate();
|
|
@@ -23537,7 +23538,7 @@ function DataGrid({
|
|
|
23537
23538
|
/* @__PURE__ */ jsx(
|
|
23538
23539
|
Box,
|
|
23539
23540
|
{
|
|
23540
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23541
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23541
23542
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23542
23543
|
children: data.map((item, index) => {
|
|
23543
23544
|
const itemData = item;
|
|
@@ -23714,7 +23715,7 @@ function DataGrid({
|
|
|
23714
23715
|
] })
|
|
23715
23716
|
);
|
|
23716
23717
|
}
|
|
23717
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23718
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23718
23719
|
var init_DataGrid = __esm({
|
|
23719
23720
|
"components/molecules/DataGrid.tsx"() {
|
|
23720
23721
|
"use client";
|
|
@@ -23749,6 +23750,13 @@ var init_DataGrid = __esm({
|
|
|
23749
23750
|
lg: "gap-6",
|
|
23750
23751
|
xl: "gap-8"
|
|
23751
23752
|
};
|
|
23753
|
+
lookStyles5 = {
|
|
23754
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
23755
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
23756
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
23757
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
23758
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
23759
|
+
};
|
|
23752
23760
|
DataGrid.displayName = "DataGrid";
|
|
23753
23761
|
}
|
|
23754
23762
|
});
|
|
@@ -23832,7 +23840,8 @@ function DataList({
|
|
|
23832
23840
|
reorderEvent: dndReorderEvent,
|
|
23833
23841
|
positionEvent,
|
|
23834
23842
|
dndItemIdField,
|
|
23835
|
-
dndRoot
|
|
23843
|
+
dndRoot,
|
|
23844
|
+
look = "dense"
|
|
23836
23845
|
}) {
|
|
23837
23846
|
const eventBus = useEventBus();
|
|
23838
23847
|
const { t } = useTranslate();
|
|
@@ -24097,6 +24106,7 @@ function DataList({
|
|
|
24097
24106
|
className: cn(
|
|
24098
24107
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
24099
24108
|
!isCard && gapClass,
|
|
24109
|
+
listLookStyles[look],
|
|
24100
24110
|
className
|
|
24101
24111
|
),
|
|
24102
24112
|
children: [
|
|
@@ -24134,7 +24144,7 @@ function DataList({
|
|
|
24134
24144
|
)
|
|
24135
24145
|
);
|
|
24136
24146
|
}
|
|
24137
|
-
var dataListLog;
|
|
24147
|
+
var dataListLog, listLookStyles;
|
|
24138
24148
|
var init_DataList = __esm({
|
|
24139
24149
|
"components/molecules/DataList.tsx"() {
|
|
24140
24150
|
"use client";
|
|
@@ -24153,6 +24163,13 @@ var init_DataList = __esm({
|
|
|
24153
24163
|
init_InfiniteScrollSentinel();
|
|
24154
24164
|
init_useDataDnd();
|
|
24155
24165
|
dataListLog = createLogger("almadar:ui:data-list");
|
|
24166
|
+
listLookStyles = {
|
|
24167
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
24168
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
24169
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
24170
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
24171
|
+
"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"
|
|
24172
|
+
};
|
|
24156
24173
|
DataList.displayName = "DataList";
|
|
24157
24174
|
}
|
|
24158
24175
|
});
|
|
@@ -24380,7 +24397,7 @@ var init_useQuerySingleton = __esm({
|
|
|
24380
24397
|
queryStores = /* @__PURE__ */ new Map();
|
|
24381
24398
|
}
|
|
24382
24399
|
});
|
|
24383
|
-
var resolveFilterType,
|
|
24400
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24384
24401
|
var init_FilterGroup = __esm({
|
|
24385
24402
|
"components/molecules/FilterGroup.tsx"() {
|
|
24386
24403
|
"use client";
|
|
@@ -24394,7 +24411,7 @@ var init_FilterGroup = __esm({
|
|
|
24394
24411
|
init_useEventBus();
|
|
24395
24412
|
init_useQuerySingleton();
|
|
24396
24413
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24397
|
-
|
|
24414
|
+
lookStyles6 = {
|
|
24398
24415
|
toolbar: "",
|
|
24399
24416
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24400
24417
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24471,7 +24488,7 @@ var init_FilterGroup = __esm({
|
|
|
24471
24488
|
{
|
|
24472
24489
|
gap: "md",
|
|
24473
24490
|
align: "center",
|
|
24474
|
-
className: cn("flex-wrap",
|
|
24491
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24475
24492
|
children: [
|
|
24476
24493
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24477
24494
|
filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24530,7 +24547,7 @@ var init_FilterGroup = __esm({
|
|
|
24530
24547
|
);
|
|
24531
24548
|
}
|
|
24532
24549
|
if (variant === "vertical") {
|
|
24533
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4",
|
|
24550
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
24534
24551
|
showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24535
24552
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24536
24553
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24618,7 +24635,7 @@ var init_FilterGroup = __esm({
|
|
|
24618
24635
|
{
|
|
24619
24636
|
gap: "sm",
|
|
24620
24637
|
align: "center",
|
|
24621
|
-
className: cn("flex-wrap",
|
|
24638
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24622
24639
|
children: [
|
|
24623
24640
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24624
24641
|
filters.map((filter) => /* @__PURE__ */ jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
@@ -24715,7 +24732,7 @@ var init_FilterGroup = __esm({
|
|
|
24715
24732
|
"p-4 rounded-container",
|
|
24716
24733
|
"bg-card",
|
|
24717
24734
|
"border-[length:var(--border-width)] border-border",
|
|
24718
|
-
|
|
24735
|
+
lookStyles6[look],
|
|
24719
24736
|
className
|
|
24720
24737
|
),
|
|
24721
24738
|
children: /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -29189,7 +29206,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
29189
29206
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
29190
29207
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
29191
29208
|
}
|
|
29192
|
-
var
|
|
29209
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
29193
29210
|
var init_StatDisplay = __esm({
|
|
29194
29211
|
"components/molecules/StatDisplay.tsx"() {
|
|
29195
29212
|
"use client";
|
|
@@ -29201,7 +29218,7 @@ var init_StatDisplay = __esm({
|
|
|
29201
29218
|
init_Sparkline();
|
|
29202
29219
|
init_Icon();
|
|
29203
29220
|
init_useEventBus();
|
|
29204
|
-
|
|
29221
|
+
lookStyles7 = {
|
|
29205
29222
|
elevated: "",
|
|
29206
29223
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
29207
29224
|
"progress-backed": "",
|
|
@@ -29288,7 +29305,7 @@ var init_StatDisplay = __esm({
|
|
|
29288
29305
|
return /* @__PURE__ */ jsx(
|
|
29289
29306
|
Card,
|
|
29290
29307
|
{
|
|
29291
|
-
className: cn(padSizes[size],
|
|
29308
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
29292
29309
|
onClick: clickEvent ? handleClick : void 0,
|
|
29293
29310
|
children: /* @__PURE__ */ jsxs(HStack, { align: "start", justify: "between", children: [
|
|
29294
29311
|
/* @__PURE__ */ jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -34998,7 +35015,7 @@ function DataTable({
|
|
|
34998
35015
|
{
|
|
34999
35016
|
className: cn(
|
|
35000
35017
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
35001
|
-
|
|
35018
|
+
lookStyles8[look],
|
|
35002
35019
|
className
|
|
35003
35020
|
),
|
|
35004
35021
|
children: [
|
|
@@ -35225,7 +35242,7 @@ function DataTable({
|
|
|
35225
35242
|
}
|
|
35226
35243
|
);
|
|
35227
35244
|
}
|
|
35228
|
-
var
|
|
35245
|
+
var lookStyles8;
|
|
35229
35246
|
var init_DataTable = __esm({
|
|
35230
35247
|
"components/organisms/DataTable.tsx"() {
|
|
35231
35248
|
"use client";
|
|
@@ -35239,7 +35256,7 @@ var init_DataTable = __esm({
|
|
|
35239
35256
|
init_useEventBus();
|
|
35240
35257
|
init_useTranslate();
|
|
35241
35258
|
init_types3();
|
|
35242
|
-
|
|
35259
|
+
lookStyles8 = {
|
|
35243
35260
|
dense: "",
|
|
35244
35261
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
35245
35262
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -38404,7 +38421,7 @@ var init_GraphCanvas = __esm({
|
|
|
38404
38421
|
GraphCanvas.displayName = "GraphCanvas";
|
|
38405
38422
|
}
|
|
38406
38423
|
});
|
|
38407
|
-
var
|
|
38424
|
+
var lookStyles9, Header;
|
|
38408
38425
|
var init_Header = __esm({
|
|
38409
38426
|
"components/organisms/Header.tsx"() {
|
|
38410
38427
|
"use client";
|
|
@@ -38417,7 +38434,7 @@ var init_Header = __esm({
|
|
|
38417
38434
|
init_Typography();
|
|
38418
38435
|
init_cn();
|
|
38419
38436
|
init_useTranslate();
|
|
38420
|
-
|
|
38437
|
+
lookStyles9 = {
|
|
38421
38438
|
"compact-bar": "",
|
|
38422
38439
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
38423
38440
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38457,7 +38474,7 @@ var init_Header = __esm({
|
|
|
38457
38474
|
"flex items-center px-4 justify-between bg-card",
|
|
38458
38475
|
sticky && "sticky top-0 z-50",
|
|
38459
38476
|
variant === "mobile" && "lg:hidden",
|
|
38460
|
-
|
|
38477
|
+
lookStyles9[look],
|
|
38461
38478
|
className
|
|
38462
38479
|
),
|
|
38463
38480
|
children: [
|
|
@@ -45134,7 +45151,7 @@ var init_TeamOrganism = __esm({
|
|
|
45134
45151
|
TeamOrganism.displayName = "TeamOrganism";
|
|
45135
45152
|
}
|
|
45136
45153
|
});
|
|
45137
|
-
var
|
|
45154
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
45138
45155
|
var init_Timeline = __esm({
|
|
45139
45156
|
"components/organisms/Timeline.tsx"() {
|
|
45140
45157
|
"use client";
|
|
@@ -45145,7 +45162,7 @@ var init_Timeline = __esm({
|
|
|
45145
45162
|
init_ErrorState();
|
|
45146
45163
|
init_EmptyState();
|
|
45147
45164
|
init_useTranslate();
|
|
45148
|
-
|
|
45165
|
+
lookStyles10 = {
|
|
45149
45166
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
45150
45167
|
"vertical-spacious": "",
|
|
45151
45168
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -45238,7 +45255,7 @@ var init_Timeline = __esm({
|
|
|
45238
45255
|
}
|
|
45239
45256
|
return /* @__PURE__ */ jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxs(VStack, { gap: "md", children: [
|
|
45240
45257
|
title && /* @__PURE__ */ jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
45241
|
-
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative",
|
|
45258
|
+
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
45242
45259
|
const status = item.status || "pending";
|
|
45243
45260
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
45244
45261
|
const ItemIcon = item.icon || style.icon;
|