@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/providers/index.cjs
CHANGED
|
@@ -2074,8 +2074,13 @@ var init_Modal = __esm({
|
|
|
2074
2074
|
ref: modalRef,
|
|
2075
2075
|
open: true,
|
|
2076
2076
|
className: cn(
|
|
2077
|
-
// Reset browser-default dialog chrome — we own styling.
|
|
2078
|
-
|
|
2077
|
+
// Reset browser-default dialog chrome — we own styling. `static`
|
|
2078
|
+
// overrides the user-agent `position: absolute` so the parent
|
|
2079
|
+
// flex container's `justify-center` actually centers the dialog
|
|
2080
|
+
// (without this, the dialog drops out of flex flow and `m-0`
|
|
2081
|
+
// kills the user-agent's `margin: auto` centering, pinning the
|
|
2082
|
+
// dialog to top-left).
|
|
2083
|
+
"static m-0 p-0 border-0 bg-transparent",
|
|
2079
2084
|
// Pre-existing dialog frame
|
|
2080
2085
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
|
|
2081
2086
|
// Desktop sizing + viewport-aware floor.
|
|
@@ -23465,7 +23470,8 @@ function DataGrid({
|
|
|
23465
23470
|
reorderEvent,
|
|
23466
23471
|
positionEvent,
|
|
23467
23472
|
dndItemIdField,
|
|
23468
|
-
dndRoot
|
|
23473
|
+
dndRoot,
|
|
23474
|
+
look = "dense"
|
|
23469
23475
|
}) {
|
|
23470
23476
|
const eventBus = useEventBus();
|
|
23471
23477
|
const { t } = useTranslate();
|
|
@@ -23581,7 +23587,7 @@ function DataGrid({
|
|
|
23581
23587
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23582
23588
|
Box,
|
|
23583
23589
|
{
|
|
23584
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23590
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23585
23591
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23586
23592
|
children: data.map((item, index) => {
|
|
23587
23593
|
const itemData = item;
|
|
@@ -23758,7 +23764,7 @@ function DataGrid({
|
|
|
23758
23764
|
] })
|
|
23759
23765
|
);
|
|
23760
23766
|
}
|
|
23761
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23767
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23762
23768
|
var init_DataGrid = __esm({
|
|
23763
23769
|
"components/molecules/DataGrid.tsx"() {
|
|
23764
23770
|
"use client";
|
|
@@ -23793,6 +23799,13 @@ var init_DataGrid = __esm({
|
|
|
23793
23799
|
lg: "gap-6",
|
|
23794
23800
|
xl: "gap-8"
|
|
23795
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
|
+
};
|
|
23796
23809
|
DataGrid.displayName = "DataGrid";
|
|
23797
23810
|
}
|
|
23798
23811
|
});
|
|
@@ -23876,7 +23889,8 @@ function DataList({
|
|
|
23876
23889
|
reorderEvent: dndReorderEvent,
|
|
23877
23890
|
positionEvent,
|
|
23878
23891
|
dndItemIdField,
|
|
23879
|
-
dndRoot
|
|
23892
|
+
dndRoot,
|
|
23893
|
+
look = "dense"
|
|
23880
23894
|
}) {
|
|
23881
23895
|
const eventBus = useEventBus();
|
|
23882
23896
|
const { t } = useTranslate();
|
|
@@ -24141,6 +24155,7 @@ function DataList({
|
|
|
24141
24155
|
className: cn(
|
|
24142
24156
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
24143
24157
|
!isCard && gapClass,
|
|
24158
|
+
listLookStyles[look],
|
|
24144
24159
|
className
|
|
24145
24160
|
),
|
|
24146
24161
|
children: [
|
|
@@ -24178,7 +24193,7 @@ function DataList({
|
|
|
24178
24193
|
)
|
|
24179
24194
|
);
|
|
24180
24195
|
}
|
|
24181
|
-
var dataListLog;
|
|
24196
|
+
var dataListLog, listLookStyles;
|
|
24182
24197
|
var init_DataList = __esm({
|
|
24183
24198
|
"components/molecules/DataList.tsx"() {
|
|
24184
24199
|
"use client";
|
|
@@ -24197,6 +24212,13 @@ var init_DataList = __esm({
|
|
|
24197
24212
|
init_InfiniteScrollSentinel();
|
|
24198
24213
|
init_useDataDnd();
|
|
24199
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
|
+
};
|
|
24200
24222
|
DataList.displayName = "DataList";
|
|
24201
24223
|
}
|
|
24202
24224
|
});
|
|
@@ -24424,7 +24446,7 @@ var init_useQuerySingleton = __esm({
|
|
|
24424
24446
|
queryStores = /* @__PURE__ */ new Map();
|
|
24425
24447
|
}
|
|
24426
24448
|
});
|
|
24427
|
-
var resolveFilterType,
|
|
24449
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24428
24450
|
var init_FilterGroup = __esm({
|
|
24429
24451
|
"components/molecules/FilterGroup.tsx"() {
|
|
24430
24452
|
"use client";
|
|
@@ -24438,7 +24460,7 @@ var init_FilterGroup = __esm({
|
|
|
24438
24460
|
init_useEventBus();
|
|
24439
24461
|
init_useQuerySingleton();
|
|
24440
24462
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24441
|
-
|
|
24463
|
+
lookStyles6 = {
|
|
24442
24464
|
toolbar: "",
|
|
24443
24465
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24444
24466
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24515,7 +24537,7 @@ var init_FilterGroup = __esm({
|
|
|
24515
24537
|
{
|
|
24516
24538
|
gap: "md",
|
|
24517
24539
|
align: "center",
|
|
24518
|
-
className: cn("flex-wrap",
|
|
24540
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24519
24541
|
children: [
|
|
24520
24542
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24521
24543
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24574,7 +24596,7 @@ var init_FilterGroup = __esm({
|
|
|
24574
24596
|
);
|
|
24575
24597
|
}
|
|
24576
24598
|
if (variant === "vertical") {
|
|
24577
|
-
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: [
|
|
24578
24600
|
showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24579
24601
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24580
24602
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24662,7 +24684,7 @@ var init_FilterGroup = __esm({
|
|
|
24662
24684
|
{
|
|
24663
24685
|
gap: "sm",
|
|
24664
24686
|
align: "center",
|
|
24665
|
-
className: cn("flex-wrap",
|
|
24687
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24666
24688
|
children: [
|
|
24667
24689
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24668
24690
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24759,7 +24781,7 @@ var init_FilterGroup = __esm({
|
|
|
24759
24781
|
"p-4 rounded-container",
|
|
24760
24782
|
"bg-card",
|
|
24761
24783
|
"border-[length:var(--border-width)] border-border",
|
|
24762
|
-
|
|
24784
|
+
lookStyles6[look],
|
|
24763
24785
|
className
|
|
24764
24786
|
),
|
|
24765
24787
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -29233,7 +29255,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
29233
29255
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
29234
29256
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
29235
29257
|
}
|
|
29236
|
-
var
|
|
29258
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
29237
29259
|
var init_StatDisplay = __esm({
|
|
29238
29260
|
"components/molecules/StatDisplay.tsx"() {
|
|
29239
29261
|
"use client";
|
|
@@ -29245,7 +29267,7 @@ var init_StatDisplay = __esm({
|
|
|
29245
29267
|
init_Sparkline();
|
|
29246
29268
|
init_Icon();
|
|
29247
29269
|
init_useEventBus();
|
|
29248
|
-
|
|
29270
|
+
lookStyles7 = {
|
|
29249
29271
|
elevated: "",
|
|
29250
29272
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
29251
29273
|
"progress-backed": "",
|
|
@@ -29332,7 +29354,7 @@ var init_StatDisplay = __esm({
|
|
|
29332
29354
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29333
29355
|
Card,
|
|
29334
29356
|
{
|
|
29335
|
-
className: cn(padSizes[size],
|
|
29357
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
29336
29358
|
onClick: clickEvent ? handleClick : void 0,
|
|
29337
29359
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { align: "start", justify: "between", children: [
|
|
29338
29360
|
/* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -35042,7 +35064,7 @@ function DataTable({
|
|
|
35042
35064
|
{
|
|
35043
35065
|
className: cn(
|
|
35044
35066
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
35045
|
-
|
|
35067
|
+
lookStyles8[look],
|
|
35046
35068
|
className
|
|
35047
35069
|
),
|
|
35048
35070
|
children: [
|
|
@@ -35269,7 +35291,7 @@ function DataTable({
|
|
|
35269
35291
|
}
|
|
35270
35292
|
);
|
|
35271
35293
|
}
|
|
35272
|
-
var
|
|
35294
|
+
var lookStyles8;
|
|
35273
35295
|
var init_DataTable = __esm({
|
|
35274
35296
|
"components/organisms/DataTable.tsx"() {
|
|
35275
35297
|
"use client";
|
|
@@ -35283,7 +35305,7 @@ var init_DataTable = __esm({
|
|
|
35283
35305
|
init_useEventBus();
|
|
35284
35306
|
init_useTranslate();
|
|
35285
35307
|
init_types3();
|
|
35286
|
-
|
|
35308
|
+
lookStyles8 = {
|
|
35287
35309
|
dense: "",
|
|
35288
35310
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
35289
35311
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -38448,7 +38470,7 @@ var init_GraphCanvas = __esm({
|
|
|
38448
38470
|
GraphCanvas.displayName = "GraphCanvas";
|
|
38449
38471
|
}
|
|
38450
38472
|
});
|
|
38451
|
-
var
|
|
38473
|
+
var lookStyles9, Header;
|
|
38452
38474
|
var init_Header = __esm({
|
|
38453
38475
|
"components/organisms/Header.tsx"() {
|
|
38454
38476
|
"use client";
|
|
@@ -38461,7 +38483,7 @@ var init_Header = __esm({
|
|
|
38461
38483
|
init_Typography();
|
|
38462
38484
|
init_cn();
|
|
38463
38485
|
init_useTranslate();
|
|
38464
|
-
|
|
38486
|
+
lookStyles9 = {
|
|
38465
38487
|
"compact-bar": "",
|
|
38466
38488
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
38467
38489
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38501,7 +38523,7 @@ var init_Header = __esm({
|
|
|
38501
38523
|
"flex items-center px-4 justify-between bg-card",
|
|
38502
38524
|
sticky && "sticky top-0 z-50",
|
|
38503
38525
|
variant === "mobile" && "lg:hidden",
|
|
38504
|
-
|
|
38526
|
+
lookStyles9[look],
|
|
38505
38527
|
className
|
|
38506
38528
|
),
|
|
38507
38529
|
children: [
|
|
@@ -45178,7 +45200,7 @@ var init_TeamOrganism = __esm({
|
|
|
45178
45200
|
TeamOrganism.displayName = "TeamOrganism";
|
|
45179
45201
|
}
|
|
45180
45202
|
});
|
|
45181
|
-
var
|
|
45203
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
45182
45204
|
var init_Timeline = __esm({
|
|
45183
45205
|
"components/organisms/Timeline.tsx"() {
|
|
45184
45206
|
"use client";
|
|
@@ -45189,7 +45211,7 @@ var init_Timeline = __esm({
|
|
|
45189
45211
|
init_ErrorState();
|
|
45190
45212
|
init_EmptyState();
|
|
45191
45213
|
init_useTranslate();
|
|
45192
|
-
|
|
45214
|
+
lookStyles10 = {
|
|
45193
45215
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
45194
45216
|
"vertical-spacious": "",
|
|
45195
45217
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -45282,7 +45304,7 @@ var init_Timeline = __esm({
|
|
|
45282
45304
|
}
|
|
45283
45305
|
return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "md", children: [
|
|
45284
45306
|
title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
45285
|
-
/* @__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) => {
|
|
45286
45308
|
const status = item.status || "pending";
|
|
45287
45309
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
45288
45310
|
const ItemIcon = item.icon || style.icon;
|
package/dist/providers/index.js
CHANGED
|
@@ -2025,8 +2025,13 @@ var init_Modal = __esm({
|
|
|
2025
2025
|
ref: modalRef,
|
|
2026
2026
|
open: true,
|
|
2027
2027
|
className: cn(
|
|
2028
|
-
// Reset browser-default dialog chrome — we own styling.
|
|
2029
|
-
|
|
2028
|
+
// Reset browser-default dialog chrome — we own styling. `static`
|
|
2029
|
+
// overrides the user-agent `position: absolute` so the parent
|
|
2030
|
+
// flex container's `justify-center` actually centers the dialog
|
|
2031
|
+
// (without this, the dialog drops out of flex flow and `m-0`
|
|
2032
|
+
// kills the user-agent's `margin: auto` centering, pinning the
|
|
2033
|
+
// dialog to top-left).
|
|
2034
|
+
"static m-0 p-0 border-0 bg-transparent",
|
|
2030
2035
|
// Pre-existing dialog frame
|
|
2031
2036
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
|
|
2032
2037
|
// Desktop sizing + viewport-aware floor.
|
|
@@ -23416,7 +23421,8 @@ function DataGrid({
|
|
|
23416
23421
|
reorderEvent,
|
|
23417
23422
|
positionEvent,
|
|
23418
23423
|
dndItemIdField,
|
|
23419
|
-
dndRoot
|
|
23424
|
+
dndRoot,
|
|
23425
|
+
look = "dense"
|
|
23420
23426
|
}) {
|
|
23421
23427
|
const eventBus = useEventBus();
|
|
23422
23428
|
const { t } = useTranslate();
|
|
@@ -23532,7 +23538,7 @@ function DataGrid({
|
|
|
23532
23538
|
/* @__PURE__ */ jsx(
|
|
23533
23539
|
Box,
|
|
23534
23540
|
{
|
|
23535
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
23541
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
23536
23542
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
23537
23543
|
children: data.map((item, index) => {
|
|
23538
23544
|
const itemData = item;
|
|
@@ -23709,7 +23715,7 @@ function DataGrid({
|
|
|
23709
23715
|
] })
|
|
23710
23716
|
);
|
|
23711
23717
|
}
|
|
23712
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
23718
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
23713
23719
|
var init_DataGrid = __esm({
|
|
23714
23720
|
"components/molecules/DataGrid.tsx"() {
|
|
23715
23721
|
"use client";
|
|
@@ -23744,6 +23750,13 @@ var init_DataGrid = __esm({
|
|
|
23744
23750
|
lg: "gap-6",
|
|
23745
23751
|
xl: "gap-8"
|
|
23746
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
|
+
};
|
|
23747
23760
|
DataGrid.displayName = "DataGrid";
|
|
23748
23761
|
}
|
|
23749
23762
|
});
|
|
@@ -23827,7 +23840,8 @@ function DataList({
|
|
|
23827
23840
|
reorderEvent: dndReorderEvent,
|
|
23828
23841
|
positionEvent,
|
|
23829
23842
|
dndItemIdField,
|
|
23830
|
-
dndRoot
|
|
23843
|
+
dndRoot,
|
|
23844
|
+
look = "dense"
|
|
23831
23845
|
}) {
|
|
23832
23846
|
const eventBus = useEventBus();
|
|
23833
23847
|
const { t } = useTranslate();
|
|
@@ -24092,6 +24106,7 @@ function DataList({
|
|
|
24092
24106
|
className: cn(
|
|
24093
24107
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
24094
24108
|
!isCard && gapClass,
|
|
24109
|
+
listLookStyles[look],
|
|
24095
24110
|
className
|
|
24096
24111
|
),
|
|
24097
24112
|
children: [
|
|
@@ -24129,7 +24144,7 @@ function DataList({
|
|
|
24129
24144
|
)
|
|
24130
24145
|
);
|
|
24131
24146
|
}
|
|
24132
|
-
var dataListLog;
|
|
24147
|
+
var dataListLog, listLookStyles;
|
|
24133
24148
|
var init_DataList = __esm({
|
|
24134
24149
|
"components/molecules/DataList.tsx"() {
|
|
24135
24150
|
"use client";
|
|
@@ -24148,6 +24163,13 @@ var init_DataList = __esm({
|
|
|
24148
24163
|
init_InfiniteScrollSentinel();
|
|
24149
24164
|
init_useDataDnd();
|
|
24150
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
|
+
};
|
|
24151
24173
|
DataList.displayName = "DataList";
|
|
24152
24174
|
}
|
|
24153
24175
|
});
|
|
@@ -24375,7 +24397,7 @@ var init_useQuerySingleton = __esm({
|
|
|
24375
24397
|
queryStores = /* @__PURE__ */ new Map();
|
|
24376
24398
|
}
|
|
24377
24399
|
});
|
|
24378
|
-
var resolveFilterType,
|
|
24400
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
24379
24401
|
var init_FilterGroup = __esm({
|
|
24380
24402
|
"components/molecules/FilterGroup.tsx"() {
|
|
24381
24403
|
"use client";
|
|
@@ -24389,7 +24411,7 @@ var init_FilterGroup = __esm({
|
|
|
24389
24411
|
init_useEventBus();
|
|
24390
24412
|
init_useQuerySingleton();
|
|
24391
24413
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
24392
|
-
|
|
24414
|
+
lookStyles6 = {
|
|
24393
24415
|
toolbar: "",
|
|
24394
24416
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
24395
24417
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -24466,7 +24488,7 @@ var init_FilterGroup = __esm({
|
|
|
24466
24488
|
{
|
|
24467
24489
|
gap: "md",
|
|
24468
24490
|
align: "center",
|
|
24469
|
-
className: cn("flex-wrap",
|
|
24491
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24470
24492
|
children: [
|
|
24471
24493
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24472
24494
|
filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -24525,7 +24547,7 @@ var init_FilterGroup = __esm({
|
|
|
24525
24547
|
);
|
|
24526
24548
|
}
|
|
24527
24549
|
if (variant === "vertical") {
|
|
24528
|
-
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: [
|
|
24529
24551
|
showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24530
24552
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24531
24553
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -24613,7 +24635,7 @@ var init_FilterGroup = __esm({
|
|
|
24613
24635
|
{
|
|
24614
24636
|
gap: "sm",
|
|
24615
24637
|
align: "center",
|
|
24616
|
-
className: cn("flex-wrap",
|
|
24638
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
24617
24639
|
children: [
|
|
24618
24640
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24619
24641
|
filters.map((filter) => /* @__PURE__ */ jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
@@ -24710,7 +24732,7 @@ var init_FilterGroup = __esm({
|
|
|
24710
24732
|
"p-4 rounded-container",
|
|
24711
24733
|
"bg-card",
|
|
24712
24734
|
"border-[length:var(--border-width)] border-border",
|
|
24713
|
-
|
|
24735
|
+
lookStyles6[look],
|
|
24714
24736
|
className
|
|
24715
24737
|
),
|
|
24716
24738
|
children: /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -29184,7 +29206,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
29184
29206
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
29185
29207
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
29186
29208
|
}
|
|
29187
|
-
var
|
|
29209
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
29188
29210
|
var init_StatDisplay = __esm({
|
|
29189
29211
|
"components/molecules/StatDisplay.tsx"() {
|
|
29190
29212
|
"use client";
|
|
@@ -29196,7 +29218,7 @@ var init_StatDisplay = __esm({
|
|
|
29196
29218
|
init_Sparkline();
|
|
29197
29219
|
init_Icon();
|
|
29198
29220
|
init_useEventBus();
|
|
29199
|
-
|
|
29221
|
+
lookStyles7 = {
|
|
29200
29222
|
elevated: "",
|
|
29201
29223
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
29202
29224
|
"progress-backed": "",
|
|
@@ -29283,7 +29305,7 @@ var init_StatDisplay = __esm({
|
|
|
29283
29305
|
return /* @__PURE__ */ jsx(
|
|
29284
29306
|
Card,
|
|
29285
29307
|
{
|
|
29286
|
-
className: cn(padSizes[size],
|
|
29308
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
29287
29309
|
onClick: clickEvent ? handleClick : void 0,
|
|
29288
29310
|
children: /* @__PURE__ */ jsxs(HStack, { align: "start", justify: "between", children: [
|
|
29289
29311
|
/* @__PURE__ */ jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -34993,7 +35015,7 @@ function DataTable({
|
|
|
34993
35015
|
{
|
|
34994
35016
|
className: cn(
|
|
34995
35017
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
34996
|
-
|
|
35018
|
+
lookStyles8[look],
|
|
34997
35019
|
className
|
|
34998
35020
|
),
|
|
34999
35021
|
children: [
|
|
@@ -35220,7 +35242,7 @@ function DataTable({
|
|
|
35220
35242
|
}
|
|
35221
35243
|
);
|
|
35222
35244
|
}
|
|
35223
|
-
var
|
|
35245
|
+
var lookStyles8;
|
|
35224
35246
|
var init_DataTable = __esm({
|
|
35225
35247
|
"components/organisms/DataTable.tsx"() {
|
|
35226
35248
|
"use client";
|
|
@@ -35234,7 +35256,7 @@ var init_DataTable = __esm({
|
|
|
35234
35256
|
init_useEventBus();
|
|
35235
35257
|
init_useTranslate();
|
|
35236
35258
|
init_types3();
|
|
35237
|
-
|
|
35259
|
+
lookStyles8 = {
|
|
35238
35260
|
dense: "",
|
|
35239
35261
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
35240
35262
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -38399,7 +38421,7 @@ var init_GraphCanvas = __esm({
|
|
|
38399
38421
|
GraphCanvas.displayName = "GraphCanvas";
|
|
38400
38422
|
}
|
|
38401
38423
|
});
|
|
38402
|
-
var
|
|
38424
|
+
var lookStyles9, Header;
|
|
38403
38425
|
var init_Header = __esm({
|
|
38404
38426
|
"components/organisms/Header.tsx"() {
|
|
38405
38427
|
"use client";
|
|
@@ -38412,7 +38434,7 @@ var init_Header = __esm({
|
|
|
38412
38434
|
init_Typography();
|
|
38413
38435
|
init_cn();
|
|
38414
38436
|
init_useTranslate();
|
|
38415
|
-
|
|
38437
|
+
lookStyles9 = {
|
|
38416
38438
|
"compact-bar": "",
|
|
38417
38439
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
38418
38440
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -38452,7 +38474,7 @@ var init_Header = __esm({
|
|
|
38452
38474
|
"flex items-center px-4 justify-between bg-card",
|
|
38453
38475
|
sticky && "sticky top-0 z-50",
|
|
38454
38476
|
variant === "mobile" && "lg:hidden",
|
|
38455
|
-
|
|
38477
|
+
lookStyles9[look],
|
|
38456
38478
|
className
|
|
38457
38479
|
),
|
|
38458
38480
|
children: [
|
|
@@ -45129,7 +45151,7 @@ var init_TeamOrganism = __esm({
|
|
|
45129
45151
|
TeamOrganism.displayName = "TeamOrganism";
|
|
45130
45152
|
}
|
|
45131
45153
|
});
|
|
45132
|
-
var
|
|
45154
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
45133
45155
|
var init_Timeline = __esm({
|
|
45134
45156
|
"components/organisms/Timeline.tsx"() {
|
|
45135
45157
|
"use client";
|
|
@@ -45140,7 +45162,7 @@ var init_Timeline = __esm({
|
|
|
45140
45162
|
init_ErrorState();
|
|
45141
45163
|
init_EmptyState();
|
|
45142
45164
|
init_useTranslate();
|
|
45143
|
-
|
|
45165
|
+
lookStyles10 = {
|
|
45144
45166
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
45145
45167
|
"vertical-spacious": "",
|
|
45146
45168
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -45233,7 +45255,7 @@ var init_Timeline = __esm({
|
|
|
45233
45255
|
}
|
|
45234
45256
|
return /* @__PURE__ */ jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxs(VStack, { gap: "md", children: [
|
|
45235
45257
|
title && /* @__PURE__ */ jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
45236
|
-
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative",
|
|
45258
|
+
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
45237
45259
|
const status = item.status || "pending";
|
|
45238
45260
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
45239
45261
|
const ItemIcon = item.icon || style.icon;
|