@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/avl/index.cjs
CHANGED
|
@@ -6889,8 +6889,13 @@ var init_Modal = __esm({
|
|
|
6889
6889
|
ref: modalRef,
|
|
6890
6890
|
open: true,
|
|
6891
6891
|
className: cn(
|
|
6892
|
-
// Reset browser-default dialog chrome — we own styling.
|
|
6893
|
-
|
|
6892
|
+
// Reset browser-default dialog chrome — we own styling. `static`
|
|
6893
|
+
// overrides the user-agent `position: absolute` so the parent
|
|
6894
|
+
// flex container's `justify-center` actually centers the dialog
|
|
6895
|
+
// (without this, the dialog drops out of flex flow and `m-0`
|
|
6896
|
+
// kills the user-agent's `margin: auto` centering, pinning the
|
|
6897
|
+
// dialog to top-left).
|
|
6898
|
+
"static m-0 p-0 border-0 bg-transparent",
|
|
6894
6899
|
// Pre-existing dialog frame
|
|
6895
6900
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
|
|
6896
6901
|
// Desktop sizing + viewport-aware floor.
|
|
@@ -27053,7 +27058,8 @@ function DataGrid({
|
|
|
27053
27058
|
reorderEvent,
|
|
27054
27059
|
positionEvent,
|
|
27055
27060
|
dndItemIdField,
|
|
27056
|
-
dndRoot
|
|
27061
|
+
dndRoot,
|
|
27062
|
+
look = "dense"
|
|
27057
27063
|
}) {
|
|
27058
27064
|
const eventBus = useEventBus();
|
|
27059
27065
|
const { t } = useTranslate();
|
|
@@ -27169,7 +27175,7 @@ function DataGrid({
|
|
|
27169
27175
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27170
27176
|
Box,
|
|
27171
27177
|
{
|
|
27172
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
27178
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
27173
27179
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
27174
27180
|
children: data.map((item, index) => {
|
|
27175
27181
|
const itemData = item;
|
|
@@ -27346,7 +27352,7 @@ function DataGrid({
|
|
|
27346
27352
|
] })
|
|
27347
27353
|
);
|
|
27348
27354
|
}
|
|
27349
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
27355
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
27350
27356
|
var init_DataGrid = __esm({
|
|
27351
27357
|
"components/molecules/DataGrid.tsx"() {
|
|
27352
27358
|
"use client";
|
|
@@ -27381,6 +27387,13 @@ var init_DataGrid = __esm({
|
|
|
27381
27387
|
lg: "gap-6",
|
|
27382
27388
|
xl: "gap-8"
|
|
27383
27389
|
};
|
|
27390
|
+
lookStyles5 = {
|
|
27391
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
27392
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
27393
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
27394
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
27395
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
27396
|
+
};
|
|
27384
27397
|
DataGrid.displayName = "DataGrid";
|
|
27385
27398
|
}
|
|
27386
27399
|
});
|
|
@@ -27464,7 +27477,8 @@ function DataList({
|
|
|
27464
27477
|
reorderEvent: dndReorderEvent,
|
|
27465
27478
|
positionEvent,
|
|
27466
27479
|
dndItemIdField,
|
|
27467
|
-
dndRoot
|
|
27480
|
+
dndRoot,
|
|
27481
|
+
look = "dense"
|
|
27468
27482
|
}) {
|
|
27469
27483
|
const eventBus = useEventBus();
|
|
27470
27484
|
const { t } = useTranslate();
|
|
@@ -27729,6 +27743,7 @@ function DataList({
|
|
|
27729
27743
|
className: cn(
|
|
27730
27744
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
27731
27745
|
!isCard && gapClass,
|
|
27746
|
+
listLookStyles[look],
|
|
27732
27747
|
className
|
|
27733
27748
|
),
|
|
27734
27749
|
children: [
|
|
@@ -27766,7 +27781,7 @@ function DataList({
|
|
|
27766
27781
|
)
|
|
27767
27782
|
);
|
|
27768
27783
|
}
|
|
27769
|
-
var dataListLog;
|
|
27784
|
+
var dataListLog, listLookStyles;
|
|
27770
27785
|
var init_DataList = __esm({
|
|
27771
27786
|
"components/molecules/DataList.tsx"() {
|
|
27772
27787
|
"use client";
|
|
@@ -27785,6 +27800,13 @@ var init_DataList = __esm({
|
|
|
27785
27800
|
init_InfiniteScrollSentinel();
|
|
27786
27801
|
init_useDataDnd();
|
|
27787
27802
|
dataListLog = logger.createLogger("almadar:ui:data-list");
|
|
27803
|
+
listLookStyles = {
|
|
27804
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
27805
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
27806
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
27807
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
27808
|
+
"card-rows": "[&_[data-entity-row]>div]:shadow-elevation-card [&_[data-entity-row]>div]:rounded-container [&_[data-entity-row]>div]:!border [&_[data-entity-row]>div]:border-border [&_[data-entity-row]]:mb-2"
|
|
27809
|
+
};
|
|
27788
27810
|
DataList.displayName = "DataList";
|
|
27789
27811
|
}
|
|
27790
27812
|
});
|
|
@@ -28012,7 +28034,7 @@ var init_useQuerySingleton = __esm({
|
|
|
28012
28034
|
queryStores = /* @__PURE__ */ new Map();
|
|
28013
28035
|
}
|
|
28014
28036
|
});
|
|
28015
|
-
var resolveFilterType,
|
|
28037
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
28016
28038
|
var init_FilterGroup = __esm({
|
|
28017
28039
|
"components/molecules/FilterGroup.tsx"() {
|
|
28018
28040
|
"use client";
|
|
@@ -28026,7 +28048,7 @@ var init_FilterGroup = __esm({
|
|
|
28026
28048
|
init_useEventBus();
|
|
28027
28049
|
init_useQuerySingleton();
|
|
28028
28050
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
28029
|
-
|
|
28051
|
+
lookStyles6 = {
|
|
28030
28052
|
toolbar: "",
|
|
28031
28053
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
28032
28054
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -28103,7 +28125,7 @@ var init_FilterGroup = __esm({
|
|
|
28103
28125
|
{
|
|
28104
28126
|
gap: "md",
|
|
28105
28127
|
align: "center",
|
|
28106
|
-
className: cn("flex-wrap",
|
|
28128
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28107
28129
|
children: [
|
|
28108
28130
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28109
28131
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -28162,7 +28184,7 @@ var init_FilterGroup = __esm({
|
|
|
28162
28184
|
);
|
|
28163
28185
|
}
|
|
28164
28186
|
if (variant === "vertical") {
|
|
28165
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4",
|
|
28187
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
28166
28188
|
showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
28167
28189
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
28168
28190
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -28250,7 +28272,7 @@ var init_FilterGroup = __esm({
|
|
|
28250
28272
|
{
|
|
28251
28273
|
gap: "sm",
|
|
28252
28274
|
align: "center",
|
|
28253
|
-
className: cn("flex-wrap",
|
|
28275
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28254
28276
|
children: [
|
|
28255
28277
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28256
28278
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -28347,7 +28369,7 @@ var init_FilterGroup = __esm({
|
|
|
28347
28369
|
"p-4 rounded-container",
|
|
28348
28370
|
"bg-card",
|
|
28349
28371
|
"border-[length:var(--border-width)] border-border",
|
|
28350
|
-
|
|
28372
|
+
lookStyles6[look],
|
|
28351
28373
|
className
|
|
28352
28374
|
),
|
|
28353
28375
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -32821,7 +32843,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
32821
32843
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
32822
32844
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
32823
32845
|
}
|
|
32824
|
-
var
|
|
32846
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
32825
32847
|
var init_StatDisplay = __esm({
|
|
32826
32848
|
"components/molecules/StatDisplay.tsx"() {
|
|
32827
32849
|
"use client";
|
|
@@ -32833,7 +32855,7 @@ var init_StatDisplay = __esm({
|
|
|
32833
32855
|
init_Sparkline();
|
|
32834
32856
|
init_Icon();
|
|
32835
32857
|
init_useEventBus();
|
|
32836
|
-
|
|
32858
|
+
lookStyles7 = {
|
|
32837
32859
|
elevated: "",
|
|
32838
32860
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
32839
32861
|
"progress-backed": "",
|
|
@@ -32920,7 +32942,7 @@ var init_StatDisplay = __esm({
|
|
|
32920
32942
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32921
32943
|
Card,
|
|
32922
32944
|
{
|
|
32923
|
-
className: cn(padSizes[size],
|
|
32945
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
32924
32946
|
onClick: clickEvent ? handleClick : void 0,
|
|
32925
32947
|
children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { align: "start", justify: "between", children: [
|
|
32926
32948
|
/* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -38227,7 +38249,7 @@ function DataTable({
|
|
|
38227
38249
|
{
|
|
38228
38250
|
className: cn(
|
|
38229
38251
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
38230
|
-
|
|
38252
|
+
lookStyles8[look],
|
|
38231
38253
|
className
|
|
38232
38254
|
),
|
|
38233
38255
|
children: [
|
|
@@ -38454,7 +38476,7 @@ function DataTable({
|
|
|
38454
38476
|
}
|
|
38455
38477
|
);
|
|
38456
38478
|
}
|
|
38457
|
-
var
|
|
38479
|
+
var lookStyles8;
|
|
38458
38480
|
var init_DataTable = __esm({
|
|
38459
38481
|
"components/organisms/DataTable.tsx"() {
|
|
38460
38482
|
"use client";
|
|
@@ -38468,7 +38490,7 @@ var init_DataTable = __esm({
|
|
|
38468
38490
|
init_useEventBus();
|
|
38469
38491
|
init_useTranslate();
|
|
38470
38492
|
init_types3();
|
|
38471
|
-
|
|
38493
|
+
lookStyles8 = {
|
|
38472
38494
|
dense: "",
|
|
38473
38495
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
38474
38496
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -41633,7 +41655,7 @@ var init_GraphCanvas = __esm({
|
|
|
41633
41655
|
GraphCanvas.displayName = "GraphCanvas";
|
|
41634
41656
|
}
|
|
41635
41657
|
});
|
|
41636
|
-
var
|
|
41658
|
+
var lookStyles9, Header;
|
|
41637
41659
|
var init_Header = __esm({
|
|
41638
41660
|
"components/organisms/Header.tsx"() {
|
|
41639
41661
|
"use client";
|
|
@@ -41646,7 +41668,7 @@ var init_Header = __esm({
|
|
|
41646
41668
|
init_Typography();
|
|
41647
41669
|
init_cn();
|
|
41648
41670
|
init_useTranslate();
|
|
41649
|
-
|
|
41671
|
+
lookStyles9 = {
|
|
41650
41672
|
"compact-bar": "",
|
|
41651
41673
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
41652
41674
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -41686,7 +41708,7 @@ var init_Header = __esm({
|
|
|
41686
41708
|
"flex items-center px-4 justify-between bg-card",
|
|
41687
41709
|
sticky && "sticky top-0 z-50",
|
|
41688
41710
|
variant === "mobile" && "lg:hidden",
|
|
41689
|
-
|
|
41711
|
+
lookStyles9[look],
|
|
41690
41712
|
className
|
|
41691
41713
|
),
|
|
41692
41714
|
children: [
|
|
@@ -48382,7 +48404,7 @@ var init_TeamOrganism = __esm({
|
|
|
48382
48404
|
TeamOrganism.displayName = "TeamOrganism";
|
|
48383
48405
|
}
|
|
48384
48406
|
});
|
|
48385
|
-
var
|
|
48407
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
48386
48408
|
var init_Timeline = __esm({
|
|
48387
48409
|
"components/organisms/Timeline.tsx"() {
|
|
48388
48410
|
"use client";
|
|
@@ -48393,7 +48415,7 @@ var init_Timeline = __esm({
|
|
|
48393
48415
|
init_ErrorState();
|
|
48394
48416
|
init_EmptyState();
|
|
48395
48417
|
init_useTranslate();
|
|
48396
|
-
|
|
48418
|
+
lookStyles10 = {
|
|
48397
48419
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
48398
48420
|
"vertical-spacious": "",
|
|
48399
48421
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -48486,7 +48508,7 @@ var init_Timeline = __esm({
|
|
|
48486
48508
|
}
|
|
48487
48509
|
return /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxRuntime.jsxs(VStack, { gap: "md", children: [
|
|
48488
48510
|
title && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
48489
|
-
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative",
|
|
48511
|
+
/* @__PURE__ */ jsxRuntime.jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
48490
48512
|
const status = item.status || "pending";
|
|
48491
48513
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
48492
48514
|
const ItemIcon = item.icon || style.icon;
|
package/dist/avl/index.js
CHANGED
|
@@ -6840,8 +6840,13 @@ var init_Modal = __esm({
|
|
|
6840
6840
|
ref: modalRef,
|
|
6841
6841
|
open: true,
|
|
6842
6842
|
className: cn(
|
|
6843
|
-
// Reset browser-default dialog chrome — we own styling.
|
|
6844
|
-
|
|
6843
|
+
// Reset browser-default dialog chrome — we own styling. `static`
|
|
6844
|
+
// overrides the user-agent `position: absolute` so the parent
|
|
6845
|
+
// flex container's `justify-center` actually centers the dialog
|
|
6846
|
+
// (without this, the dialog drops out of flex flow and `m-0`
|
|
6847
|
+
// kills the user-agent's `margin: auto` centering, pinning the
|
|
6848
|
+
// dialog to top-left).
|
|
6849
|
+
"static m-0 p-0 border-0 bg-transparent",
|
|
6845
6850
|
// Pre-existing dialog frame
|
|
6846
6851
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
|
|
6847
6852
|
// Desktop sizing + viewport-aware floor.
|
|
@@ -27004,7 +27009,8 @@ function DataGrid({
|
|
|
27004
27009
|
reorderEvent,
|
|
27005
27010
|
positionEvent,
|
|
27006
27011
|
dndItemIdField,
|
|
27007
|
-
dndRoot
|
|
27012
|
+
dndRoot,
|
|
27013
|
+
look = "dense"
|
|
27008
27014
|
}) {
|
|
27009
27015
|
const eventBus = useEventBus();
|
|
27010
27016
|
const { t } = useTranslate();
|
|
@@ -27120,7 +27126,7 @@ function DataGrid({
|
|
|
27120
27126
|
/* @__PURE__ */ jsx(
|
|
27121
27127
|
Box,
|
|
27122
27128
|
{
|
|
27123
|
-
className: cn("grid", gapStyles6[gap], colsClass, className),
|
|
27129
|
+
className: cn("grid", gapStyles6[gap], colsClass, lookStyles5[look], className),
|
|
27124
27130
|
style: gridTemplateColumns ? { gridTemplateColumns } : void 0,
|
|
27125
27131
|
children: data.map((item, index) => {
|
|
27126
27132
|
const itemData = item;
|
|
@@ -27297,7 +27303,7 @@ function DataGrid({
|
|
|
27297
27303
|
] })
|
|
27298
27304
|
);
|
|
27299
27305
|
}
|
|
27300
|
-
var dataGridLog, BADGE_VARIANTS, gapStyles6;
|
|
27306
|
+
var dataGridLog, BADGE_VARIANTS, gapStyles6, lookStyles5;
|
|
27301
27307
|
var init_DataGrid = __esm({
|
|
27302
27308
|
"components/molecules/DataGrid.tsx"() {
|
|
27303
27309
|
"use client";
|
|
@@ -27332,6 +27338,13 @@ var init_DataGrid = __esm({
|
|
|
27332
27338
|
lg: "gap-6",
|
|
27333
27339
|
xl: "gap-8"
|
|
27334
27340
|
};
|
|
27341
|
+
lookStyles5 = {
|
|
27342
|
+
dense: "gap-2 [&>*]:p-card-sm",
|
|
27343
|
+
spacious: "gap-8 [&>*]:p-card-lg",
|
|
27344
|
+
striped: "[&>*:nth-child(even)]:bg-muted/30",
|
|
27345
|
+
borderless: "[&>*]:border-0 [&>*]:shadow-none",
|
|
27346
|
+
"card-rows": "[&>*]:shadow-elevation-card [&>*]:rounded-container [&>*]:border [&>*]:border-border [&>*]:p-card-md"
|
|
27347
|
+
};
|
|
27335
27348
|
DataGrid.displayName = "DataGrid";
|
|
27336
27349
|
}
|
|
27337
27350
|
});
|
|
@@ -27415,7 +27428,8 @@ function DataList({
|
|
|
27415
27428
|
reorderEvent: dndReorderEvent,
|
|
27416
27429
|
positionEvent,
|
|
27417
27430
|
dndItemIdField,
|
|
27418
|
-
dndRoot
|
|
27431
|
+
dndRoot,
|
|
27432
|
+
look = "dense"
|
|
27419
27433
|
}) {
|
|
27420
27434
|
const eventBus = useEventBus();
|
|
27421
27435
|
const { t } = useTranslate();
|
|
@@ -27680,6 +27694,7 @@ function DataList({
|
|
|
27680
27694
|
className: cn(
|
|
27681
27695
|
isCard && "bg-card rounded-xl border border-border shadow-elevation-dialog overflow-hidden",
|
|
27682
27696
|
!isCard && gapClass,
|
|
27697
|
+
listLookStyles[look],
|
|
27683
27698
|
className
|
|
27684
27699
|
),
|
|
27685
27700
|
children: [
|
|
@@ -27717,7 +27732,7 @@ function DataList({
|
|
|
27717
27732
|
)
|
|
27718
27733
|
);
|
|
27719
27734
|
}
|
|
27720
|
-
var dataListLog;
|
|
27735
|
+
var dataListLog, listLookStyles;
|
|
27721
27736
|
var init_DataList = __esm({
|
|
27722
27737
|
"components/molecules/DataList.tsx"() {
|
|
27723
27738
|
"use client";
|
|
@@ -27736,6 +27751,13 @@ var init_DataList = __esm({
|
|
|
27736
27751
|
init_InfiniteScrollSentinel();
|
|
27737
27752
|
init_useDataDnd();
|
|
27738
27753
|
dataListLog = createLogger("almadar:ui:data-list");
|
|
27754
|
+
listLookStyles = {
|
|
27755
|
+
dense: "[&_[data-entity-row]>div]:!py-1 [&_[data-entity-row]>div]:!px-3",
|
|
27756
|
+
spacious: "[&_[data-entity-row]>div]:!py-5 [&_[data-entity-row]>div]:!px-8",
|
|
27757
|
+
striped: "[&_[data-entity-row]:nth-child(even)>div]:bg-muted/30",
|
|
27758
|
+
borderless: "[&_[data-entity-row]>div]:!border-0 [&_[data-entity-row]>div]:!hover:border-transparent",
|
|
27759
|
+
"card-rows": "[&_[data-entity-row]>div]:shadow-elevation-card [&_[data-entity-row]>div]:rounded-container [&_[data-entity-row]>div]:!border [&_[data-entity-row]>div]:border-border [&_[data-entity-row]]:mb-2"
|
|
27760
|
+
};
|
|
27739
27761
|
DataList.displayName = "DataList";
|
|
27740
27762
|
}
|
|
27741
27763
|
});
|
|
@@ -27963,7 +27985,7 @@ var init_useQuerySingleton = __esm({
|
|
|
27963
27985
|
queryStores = /* @__PURE__ */ new Map();
|
|
27964
27986
|
}
|
|
27965
27987
|
});
|
|
27966
|
-
var resolveFilterType,
|
|
27988
|
+
var resolveFilterType, lookStyles6, FilterGroup;
|
|
27967
27989
|
var init_FilterGroup = __esm({
|
|
27968
27990
|
"components/molecules/FilterGroup.tsx"() {
|
|
27969
27991
|
"use client";
|
|
@@ -27977,7 +27999,7 @@ var init_FilterGroup = __esm({
|
|
|
27977
27999
|
init_useEventBus();
|
|
27978
28000
|
init_useQuerySingleton();
|
|
27979
28001
|
resolveFilterType = (filter) => filter.filterType ?? filter.type;
|
|
27980
|
-
|
|
28002
|
+
lookStyles6 = {
|
|
27981
28003
|
toolbar: "",
|
|
27982
28004
|
chips: "gap-2 [&>*]:rounded-pill [&>*]:px-3 [&>*]:py-1",
|
|
27983
28005
|
pills: "gap-2 [&>*]:rounded-pill",
|
|
@@ -28054,7 +28076,7 @@ var init_FilterGroup = __esm({
|
|
|
28054
28076
|
{
|
|
28055
28077
|
gap: "md",
|
|
28056
28078
|
align: "center",
|
|
28057
|
-
className: cn("flex-wrap",
|
|
28079
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28058
28080
|
children: [
|
|
28059
28081
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28060
28082
|
filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
@@ -28113,7 +28135,7 @@ var init_FilterGroup = __esm({
|
|
|
28113
28135
|
);
|
|
28114
28136
|
}
|
|
28115
28137
|
if (variant === "vertical") {
|
|
28116
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4",
|
|
28138
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", lookStyles6[look], className), children: [
|
|
28117
28139
|
showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
28118
28140
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
28119
28141
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
@@ -28201,7 +28223,7 @@ var init_FilterGroup = __esm({
|
|
|
28201
28223
|
{
|
|
28202
28224
|
gap: "sm",
|
|
28203
28225
|
align: "center",
|
|
28204
|
-
className: cn("flex-wrap",
|
|
28226
|
+
className: cn("flex-wrap", lookStyles6[look], className),
|
|
28205
28227
|
children: [
|
|
28206
28228
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
28207
28229
|
filters.map((filter) => /* @__PURE__ */ jsx("div", { className: "min-w-[120px]", children: resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
@@ -28298,7 +28320,7 @@ var init_FilterGroup = __esm({
|
|
|
28298
28320
|
"p-4 rounded-container",
|
|
28299
28321
|
"bg-card",
|
|
28300
28322
|
"border-[length:var(--border-width)] border-border",
|
|
28301
|
-
|
|
28323
|
+
lookStyles6[look],
|
|
28302
28324
|
className
|
|
28303
28325
|
),
|
|
28304
28326
|
children: /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: "flex-wrap", children: [
|
|
@@ -32772,7 +32794,7 @@ function composeDisplayValue(value, format, max, prefix, suffix) {
|
|
|
32772
32794
|
const withMax = max != null && max > 0 ? `${formatted} / ${max}` : formatted;
|
|
32773
32795
|
return `${prefix ?? ""}${withMax}${suffix ?? ""}`;
|
|
32774
32796
|
}
|
|
32775
|
-
var
|
|
32797
|
+
var lookStyles7, variantColor, StatDisplay;
|
|
32776
32798
|
var init_StatDisplay = __esm({
|
|
32777
32799
|
"components/molecules/StatDisplay.tsx"() {
|
|
32778
32800
|
"use client";
|
|
@@ -32784,7 +32806,7 @@ var init_StatDisplay = __esm({
|
|
|
32784
32806
|
init_Sparkline();
|
|
32785
32807
|
init_Icon();
|
|
32786
32808
|
init_useEventBus();
|
|
32787
|
-
|
|
32809
|
+
lookStyles7 = {
|
|
32788
32810
|
elevated: "",
|
|
32789
32811
|
flat: "shadow-none border-[length:var(--border-width)] border-border",
|
|
32790
32812
|
"progress-backed": "",
|
|
@@ -32871,7 +32893,7 @@ var init_StatDisplay = __esm({
|
|
|
32871
32893
|
return /* @__PURE__ */ jsx(
|
|
32872
32894
|
Card,
|
|
32873
32895
|
{
|
|
32874
|
-
className: cn(padSizes[size],
|
|
32896
|
+
className: cn(padSizes[size], lookStyles7[look], clickEvent && "cursor-pointer hover:shadow-md transition-shadow", className),
|
|
32875
32897
|
onClick: clickEvent ? handleClick : void 0,
|
|
32876
32898
|
children: /* @__PURE__ */ jsxs(HStack, { align: "start", justify: "between", children: [
|
|
32877
32899
|
/* @__PURE__ */ jsxs(VStack, { gap: "none", className: "space-y-1 flex-1", children: [
|
|
@@ -38178,7 +38200,7 @@ function DataTable({
|
|
|
38178
38200
|
{
|
|
38179
38201
|
className: cn(
|
|
38180
38202
|
"bg-card border-2 border-border rounded-none overflow-hidden",
|
|
38181
|
-
|
|
38203
|
+
lookStyles8[look],
|
|
38182
38204
|
className
|
|
38183
38205
|
),
|
|
38184
38206
|
children: [
|
|
@@ -38405,7 +38427,7 @@ function DataTable({
|
|
|
38405
38427
|
}
|
|
38406
38428
|
);
|
|
38407
38429
|
}
|
|
38408
|
-
var
|
|
38430
|
+
var lookStyles8;
|
|
38409
38431
|
var init_DataTable = __esm({
|
|
38410
38432
|
"components/organisms/DataTable.tsx"() {
|
|
38411
38433
|
"use client";
|
|
@@ -38419,7 +38441,7 @@ var init_DataTable = __esm({
|
|
|
38419
38441
|
init_useEventBus();
|
|
38420
38442
|
init_useTranslate();
|
|
38421
38443
|
init_types3();
|
|
38422
|
-
|
|
38444
|
+
lookStyles8 = {
|
|
38423
38445
|
dense: "",
|
|
38424
38446
|
spacious: "[&_tbody_tr_td]:py-5 [&_thead_tr_th]:py-4",
|
|
38425
38447
|
striped: "[&_tbody_tr:nth-child(odd)]:bg-muted/30",
|
|
@@ -41584,7 +41606,7 @@ var init_GraphCanvas = __esm({
|
|
|
41584
41606
|
GraphCanvas.displayName = "GraphCanvas";
|
|
41585
41607
|
}
|
|
41586
41608
|
});
|
|
41587
|
-
var
|
|
41609
|
+
var lookStyles9, Header;
|
|
41588
41610
|
var init_Header = __esm({
|
|
41589
41611
|
"components/organisms/Header.tsx"() {
|
|
41590
41612
|
"use client";
|
|
@@ -41597,7 +41619,7 @@ var init_Header = __esm({
|
|
|
41597
41619
|
init_Typography();
|
|
41598
41620
|
init_cn();
|
|
41599
41621
|
init_useTranslate();
|
|
41600
|
-
|
|
41622
|
+
lookStyles9 = {
|
|
41601
41623
|
"compact-bar": "",
|
|
41602
41624
|
hero: "py-section min-h-[200px] [&_h1]:text-display-1",
|
|
41603
41625
|
breadcrumb: "py-2 text-sm [&_h1]:text-base [&_h1]:font-medium",
|
|
@@ -41637,7 +41659,7 @@ var init_Header = __esm({
|
|
|
41637
41659
|
"flex items-center px-4 justify-between bg-card",
|
|
41638
41660
|
sticky && "sticky top-0 z-50",
|
|
41639
41661
|
variant === "mobile" && "lg:hidden",
|
|
41640
|
-
|
|
41662
|
+
lookStyles9[look],
|
|
41641
41663
|
className
|
|
41642
41664
|
),
|
|
41643
41665
|
children: [
|
|
@@ -48333,7 +48355,7 @@ var init_TeamOrganism = __esm({
|
|
|
48333
48355
|
TeamOrganism.displayName = "TeamOrganism";
|
|
48334
48356
|
}
|
|
48335
48357
|
});
|
|
48336
|
-
var
|
|
48358
|
+
var lookStyles10, STATUS_STYLES3, Timeline;
|
|
48337
48359
|
var init_Timeline = __esm({
|
|
48338
48360
|
"components/organisms/Timeline.tsx"() {
|
|
48339
48361
|
"use client";
|
|
@@ -48344,7 +48366,7 @@ var init_Timeline = __esm({
|
|
|
48344
48366
|
init_ErrorState();
|
|
48345
48367
|
init_EmptyState();
|
|
48346
48368
|
init_useTranslate();
|
|
48347
|
-
|
|
48369
|
+
lookStyles10 = {
|
|
48348
48370
|
"vertical-compact": "gap-1 [&>*]:py-1",
|
|
48349
48371
|
"vertical-spacious": "",
|
|
48350
48372
|
horizontal: "flex-row [&>*]:flex-row [&>*]:items-center",
|
|
@@ -48437,7 +48459,7 @@ var init_Timeline = __esm({
|
|
|
48437
48459
|
}
|
|
48438
48460
|
return /* @__PURE__ */ jsx(Card, { className: cn("p-6", className), children: /* @__PURE__ */ jsxs(VStack, { gap: "md", children: [
|
|
48439
48461
|
title && /* @__PURE__ */ jsx(Typography, { variant: "h5", weight: "semibold", children: title }),
|
|
48440
|
-
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative",
|
|
48462
|
+
/* @__PURE__ */ jsx(VStack, { gap: "none", className: cn("relative", lookStyles10[look]), children: items.map((item, idx) => {
|
|
48441
48463
|
const status = item.status || "pending";
|
|
48442
48464
|
const style = STATUS_STYLES3[status] || STATUS_STYLES3.pending;
|
|
48443
48465
|
const ItemIcon = item.icon || style.icon;
|