@almadar/ui 4.53.3 → 4.53.5
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 +30 -30
- package/dist/avl/index.js +30 -30
- package/dist/components/index.cjs +29 -29
- package/dist/components/index.js +29 -29
- package/dist/marketing/index.cjs +5 -5
- package/dist/marketing/index.js +5 -5
- package/dist/providers/index.cjs +29 -29
- package/dist/providers/index.js +29 -29
- package/dist/runtime/index.cjs +29 -29
- package/dist/runtime/index.js +29 -29
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -6005,7 +6005,7 @@ var init_Overlay = __esm({
|
|
|
6005
6005
|
};
|
|
6006
6006
|
}
|
|
6007
6007
|
});
|
|
6008
|
-
var sizeClasses2,
|
|
6008
|
+
var sizeClasses2, minWidthClasses, Modal;
|
|
6009
6009
|
var init_Modal = __esm({
|
|
6010
6010
|
"components/molecules/Modal.tsx"() {
|
|
6011
6011
|
"use client";
|
|
@@ -6023,12 +6023,12 @@ var init_Modal = __esm({
|
|
|
6023
6023
|
xl: "max-w-5xl",
|
|
6024
6024
|
full: "max-w-full mx-4"
|
|
6025
6025
|
};
|
|
6026
|
-
|
|
6027
|
-
sm: "400px",
|
|
6028
|
-
md: "520px",
|
|
6029
|
-
lg: "600px",
|
|
6030
|
-
xl: "700px",
|
|
6031
|
-
full: "0"
|
|
6026
|
+
minWidthClasses = {
|
|
6027
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
6028
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
6029
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
6030
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
6031
|
+
full: "min-w-0"
|
|
6032
6032
|
};
|
|
6033
6033
|
Modal = ({
|
|
6034
6034
|
isOpen = true,
|
|
@@ -6108,10 +6108,9 @@ var init_Modal = __esm({
|
|
|
6108
6108
|
{
|
|
6109
6109
|
className: cn(
|
|
6110
6110
|
"fixed inset-0 z-50 pointer-events-none",
|
|
6111
|
-
"flex items-start justify-center px-4 pb-4",
|
|
6112
|
-
"max-sm:items-
|
|
6111
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
6112
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
6113
6113
|
),
|
|
6114
|
-
style: { paddingTop: "10vh" },
|
|
6115
6114
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6116
6115
|
Dialog,
|
|
6117
6116
|
{
|
|
@@ -6122,18 +6121,19 @@ var init_Modal = __esm({
|
|
|
6122
6121
|
"m-0 p-0 border-0 bg-transparent",
|
|
6123
6122
|
// Pre-existing dialog frame
|
|
6124
6123
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
6124
|
+
// Desktop sizing + viewport-aware floor.
|
|
6125
6125
|
sizeClasses2[size],
|
|
6126
|
-
|
|
6126
|
+
minWidthClasses[size],
|
|
6127
|
+
"max-h-[80vh]",
|
|
6128
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
6129
|
+
// full height, no rounded corners, no min-width.
|
|
6130
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
6127
6131
|
className
|
|
6128
6132
|
),
|
|
6129
|
-
style: {
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
transform: `translateY(${dragY}px)`,
|
|
6134
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
6135
|
-
}
|
|
6136
|
-
},
|
|
6133
|
+
style: dragY > 0 ? {
|
|
6134
|
+
transform: `translateY(${dragY}px)`,
|
|
6135
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
6136
|
+
} : void 0,
|
|
6137
6137
|
...title && { "aria-labelledby": "modal-title" },
|
|
6138
6138
|
children: [
|
|
6139
6139
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12713,11 +12713,11 @@ var init_SimpleGrid = __esm({
|
|
|
12713
12713
|
};
|
|
12714
12714
|
colStyles = {
|
|
12715
12715
|
1: "grid-cols-1",
|
|
12716
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
12717
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
12718
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
12719
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
12720
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
12716
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
12717
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
12718
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
12719
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
12720
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
12721
12721
|
};
|
|
12722
12722
|
SimpleGrid = ({
|
|
12723
12723
|
minChildWidth = 250,
|
|
@@ -26078,11 +26078,11 @@ function DataGrid({
|
|
|
26078
26078
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
26079
26079
|
const colsClass = cols ? {
|
|
26080
26080
|
1: "grid-cols-1",
|
|
26081
|
-
2: "sm:grid-cols-2",
|
|
26082
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
26083
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
26084
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
26085
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
26081
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
26082
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
26083
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
26084
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
26085
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
26086
26086
|
}[cols] : void 0;
|
|
26087
26087
|
if (isLoading) {
|
|
26088
26088
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "text-center py-8", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|
|
@@ -60440,7 +60440,7 @@ var OrbPreviewNodeInner = (props) => {
|
|
|
60440
60440
|
Box,
|
|
60441
60441
|
{
|
|
60442
60442
|
ref: isExpanded ? void 0 : l1SetNodeRef,
|
|
60443
|
-
className:
|
|
60443
|
+
className: `@container/preview rounded-lg border shadow-sm bg-card transition-all duration-200 overflow-hidden relative${isRunning ? " orb-preview-running" : ""}`,
|
|
60444
60444
|
style: {
|
|
60445
60445
|
borderColor: l1IsOver ? "var(--color-primary)" : borderColor,
|
|
60446
60446
|
borderWidth: l1IsOver ? "2px" : borderWidth,
|
package/dist/avl/index.js
CHANGED
|
@@ -5959,7 +5959,7 @@ var init_Overlay = __esm({
|
|
|
5959
5959
|
};
|
|
5960
5960
|
}
|
|
5961
5961
|
});
|
|
5962
|
-
var sizeClasses2,
|
|
5962
|
+
var sizeClasses2, minWidthClasses, Modal;
|
|
5963
5963
|
var init_Modal = __esm({
|
|
5964
5964
|
"components/molecules/Modal.tsx"() {
|
|
5965
5965
|
"use client";
|
|
@@ -5977,12 +5977,12 @@ var init_Modal = __esm({
|
|
|
5977
5977
|
xl: "max-w-5xl",
|
|
5978
5978
|
full: "max-w-full mx-4"
|
|
5979
5979
|
};
|
|
5980
|
-
|
|
5981
|
-
sm: "400px",
|
|
5982
|
-
md: "520px",
|
|
5983
|
-
lg: "600px",
|
|
5984
|
-
xl: "700px",
|
|
5985
|
-
full: "0"
|
|
5980
|
+
minWidthClasses = {
|
|
5981
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
5982
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
5983
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
5984
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
5985
|
+
full: "min-w-0"
|
|
5986
5986
|
};
|
|
5987
5987
|
Modal = ({
|
|
5988
5988
|
isOpen = true,
|
|
@@ -6062,10 +6062,9 @@ var init_Modal = __esm({
|
|
|
6062
6062
|
{
|
|
6063
6063
|
className: cn(
|
|
6064
6064
|
"fixed inset-0 z-50 pointer-events-none",
|
|
6065
|
-
"flex items-start justify-center px-4 pb-4",
|
|
6066
|
-
"max-sm:items-
|
|
6065
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
6066
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
6067
6067
|
),
|
|
6068
|
-
style: { paddingTop: "10vh" },
|
|
6069
6068
|
children: /* @__PURE__ */ jsxs(
|
|
6070
6069
|
Dialog,
|
|
6071
6070
|
{
|
|
@@ -6076,18 +6075,19 @@ var init_Modal = __esm({
|
|
|
6076
6075
|
"m-0 p-0 border-0 bg-transparent",
|
|
6077
6076
|
// Pre-existing dialog frame
|
|
6078
6077
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
6078
|
+
// Desktop sizing + viewport-aware floor.
|
|
6079
6079
|
sizeClasses2[size],
|
|
6080
|
-
|
|
6080
|
+
minWidthClasses[size],
|
|
6081
|
+
"max-h-[80vh]",
|
|
6082
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
6083
|
+
// full height, no rounded corners, no min-width.
|
|
6084
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
6081
6085
|
className
|
|
6082
6086
|
),
|
|
6083
|
-
style: {
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
transform: `translateY(${dragY}px)`,
|
|
6088
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
6089
|
-
}
|
|
6090
|
-
},
|
|
6087
|
+
style: dragY > 0 ? {
|
|
6088
|
+
transform: `translateY(${dragY}px)`,
|
|
6089
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
6090
|
+
} : void 0,
|
|
6091
6091
|
...title && { "aria-labelledby": "modal-title" },
|
|
6092
6092
|
children: [
|
|
6093
6093
|
/* @__PURE__ */ jsx(
|
|
@@ -12667,11 +12667,11 @@ var init_SimpleGrid = __esm({
|
|
|
12667
12667
|
};
|
|
12668
12668
|
colStyles = {
|
|
12669
12669
|
1: "grid-cols-1",
|
|
12670
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
12671
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
12672
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
12673
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
12674
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
12670
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
12671
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
12672
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
12673
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
12674
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
12675
12675
|
};
|
|
12676
12676
|
SimpleGrid = ({
|
|
12677
12677
|
minChildWidth = 250,
|
|
@@ -26032,11 +26032,11 @@ function DataGrid({
|
|
|
26032
26032
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
26033
26033
|
const colsClass = cols ? {
|
|
26034
26034
|
1: "grid-cols-1",
|
|
26035
|
-
2: "sm:grid-cols-2",
|
|
26036
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
26037
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
26038
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
26039
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
26035
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
26036
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
26037
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
26038
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
26039
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
26040
26040
|
}[cols] : void 0;
|
|
26041
26041
|
if (isLoading) {
|
|
26042
26042
|
return /* @__PURE__ */ jsx(Box, { className: "text-center py-8", children: /* @__PURE__ */ jsx(Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|
|
@@ -60394,7 +60394,7 @@ var OrbPreviewNodeInner = (props) => {
|
|
|
60394
60394
|
Box,
|
|
60395
60395
|
{
|
|
60396
60396
|
ref: isExpanded ? void 0 : l1SetNodeRef,
|
|
60397
|
-
className:
|
|
60397
|
+
className: `@container/preview rounded-lg border shadow-sm bg-card transition-all duration-200 overflow-hidden relative${isRunning ? " orb-preview-running" : ""}`,
|
|
60398
60398
|
style: {
|
|
60399
60399
|
borderColor: l1IsOver ? "var(--color-primary)" : borderColor,
|
|
60400
60400
|
borderWidth: l1IsOver ? "2px" : borderWidth,
|
|
@@ -5422,7 +5422,7 @@ var init_EntitySchemaContext = __esm({
|
|
|
5422
5422
|
EntitySchemaContext = React78.createContext(null);
|
|
5423
5423
|
}
|
|
5424
5424
|
});
|
|
5425
|
-
var sizeClasses5,
|
|
5425
|
+
var sizeClasses5, minWidthClasses; exports.Modal = void 0;
|
|
5426
5426
|
var init_Modal = __esm({
|
|
5427
5427
|
"components/molecules/Modal.tsx"() {
|
|
5428
5428
|
"use client";
|
|
@@ -5440,12 +5440,12 @@ var init_Modal = __esm({
|
|
|
5440
5440
|
xl: "max-w-5xl",
|
|
5441
5441
|
full: "max-w-full mx-4"
|
|
5442
5442
|
};
|
|
5443
|
-
|
|
5444
|
-
sm: "400px",
|
|
5445
|
-
md: "520px",
|
|
5446
|
-
lg: "600px",
|
|
5447
|
-
xl: "700px",
|
|
5448
|
-
full: "0"
|
|
5443
|
+
minWidthClasses = {
|
|
5444
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
5445
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
5446
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
5447
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
5448
|
+
full: "min-w-0"
|
|
5449
5449
|
};
|
|
5450
5450
|
exports.Modal = ({
|
|
5451
5451
|
isOpen = true,
|
|
@@ -5525,10 +5525,9 @@ var init_Modal = __esm({
|
|
|
5525
5525
|
{
|
|
5526
5526
|
className: cn(
|
|
5527
5527
|
"fixed inset-0 z-50 pointer-events-none",
|
|
5528
|
-
"flex items-start justify-center px-4 pb-4",
|
|
5529
|
-
"max-sm:items-
|
|
5528
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
5529
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
5530
5530
|
),
|
|
5531
|
-
style: { paddingTop: "10vh" },
|
|
5532
5531
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5533
5532
|
exports.Dialog,
|
|
5534
5533
|
{
|
|
@@ -5539,18 +5538,19 @@ var init_Modal = __esm({
|
|
|
5539
5538
|
"m-0 p-0 border-0 bg-transparent",
|
|
5540
5539
|
// Pre-existing dialog frame
|
|
5541
5540
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
5541
|
+
// Desktop sizing + viewport-aware floor.
|
|
5542
5542
|
sizeClasses5[size],
|
|
5543
|
-
|
|
5543
|
+
minWidthClasses[size],
|
|
5544
|
+
"max-h-[80vh]",
|
|
5545
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
5546
|
+
// full height, no rounded corners, no min-width.
|
|
5547
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
5544
5548
|
className
|
|
5545
5549
|
),
|
|
5546
|
-
style: {
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
transform: `translateY(${dragY}px)`,
|
|
5551
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
5552
|
-
}
|
|
5553
|
-
},
|
|
5550
|
+
style: dragY > 0 ? {
|
|
5551
|
+
transform: `translateY(${dragY}px)`,
|
|
5552
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
5553
|
+
} : void 0,
|
|
5554
5554
|
...title && { "aria-labelledby": "modal-title" },
|
|
5555
5555
|
children: [
|
|
5556
5556
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6770,11 +6770,11 @@ var init_SimpleGrid = __esm({
|
|
|
6770
6770
|
};
|
|
6771
6771
|
colStyles = {
|
|
6772
6772
|
1: "grid-cols-1",
|
|
6773
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
6774
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
6775
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
6776
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
6777
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
6773
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
6774
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
6775
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
6776
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
6777
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
6778
6778
|
};
|
|
6779
6779
|
exports.SimpleGrid = ({
|
|
6780
6780
|
minChildWidth = 250,
|
|
@@ -21245,11 +21245,11 @@ function DataGrid({
|
|
|
21245
21245
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
21246
21246
|
const colsClass = cols ? {
|
|
21247
21247
|
1: "grid-cols-1",
|
|
21248
|
-
2: "sm:grid-cols-2",
|
|
21249
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
21250
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
21251
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
21252
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
21248
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
21249
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
21250
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
21251
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
21252
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
21253
21253
|
}[cols] : void 0;
|
|
21254
21254
|
if (isLoading) {
|
|
21255
21255
|
return /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "text-center py-8", children: /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|
package/dist/components/index.js
CHANGED
|
@@ -5376,7 +5376,7 @@ var init_EntitySchemaContext = __esm({
|
|
|
5376
5376
|
EntitySchemaContext = createContext(null);
|
|
5377
5377
|
}
|
|
5378
5378
|
});
|
|
5379
|
-
var sizeClasses5,
|
|
5379
|
+
var sizeClasses5, minWidthClasses, Modal;
|
|
5380
5380
|
var init_Modal = __esm({
|
|
5381
5381
|
"components/molecules/Modal.tsx"() {
|
|
5382
5382
|
"use client";
|
|
@@ -5394,12 +5394,12 @@ var init_Modal = __esm({
|
|
|
5394
5394
|
xl: "max-w-5xl",
|
|
5395
5395
|
full: "max-w-full mx-4"
|
|
5396
5396
|
};
|
|
5397
|
-
|
|
5398
|
-
sm: "400px",
|
|
5399
|
-
md: "520px",
|
|
5400
|
-
lg: "600px",
|
|
5401
|
-
xl: "700px",
|
|
5402
|
-
full: "0"
|
|
5397
|
+
minWidthClasses = {
|
|
5398
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
5399
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
5400
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
5401
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
5402
|
+
full: "min-w-0"
|
|
5403
5403
|
};
|
|
5404
5404
|
Modal = ({
|
|
5405
5405
|
isOpen = true,
|
|
@@ -5479,10 +5479,9 @@ var init_Modal = __esm({
|
|
|
5479
5479
|
{
|
|
5480
5480
|
className: cn(
|
|
5481
5481
|
"fixed inset-0 z-50 pointer-events-none",
|
|
5482
|
-
"flex items-start justify-center px-4 pb-4",
|
|
5483
|
-
"max-sm:items-
|
|
5482
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
5483
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
5484
5484
|
),
|
|
5485
|
-
style: { paddingTop: "10vh" },
|
|
5486
5485
|
children: /* @__PURE__ */ jsxs(
|
|
5487
5486
|
Dialog,
|
|
5488
5487
|
{
|
|
@@ -5493,18 +5492,19 @@ var init_Modal = __esm({
|
|
|
5493
5492
|
"m-0 p-0 border-0 bg-transparent",
|
|
5494
5493
|
// Pre-existing dialog frame
|
|
5495
5494
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
5495
|
+
// Desktop sizing + viewport-aware floor.
|
|
5496
5496
|
sizeClasses5[size],
|
|
5497
|
-
|
|
5497
|
+
minWidthClasses[size],
|
|
5498
|
+
"max-h-[80vh]",
|
|
5499
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
5500
|
+
// full height, no rounded corners, no min-width.
|
|
5501
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
5498
5502
|
className
|
|
5499
5503
|
),
|
|
5500
|
-
style: {
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
transform: `translateY(${dragY}px)`,
|
|
5505
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
5506
|
-
}
|
|
5507
|
-
},
|
|
5504
|
+
style: dragY > 0 ? {
|
|
5505
|
+
transform: `translateY(${dragY}px)`,
|
|
5506
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
5507
|
+
} : void 0,
|
|
5508
5508
|
...title && { "aria-labelledby": "modal-title" },
|
|
5509
5509
|
children: [
|
|
5510
5510
|
/* @__PURE__ */ jsx(
|
|
@@ -6724,11 +6724,11 @@ var init_SimpleGrid = __esm({
|
|
|
6724
6724
|
};
|
|
6725
6725
|
colStyles = {
|
|
6726
6726
|
1: "grid-cols-1",
|
|
6727
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
6728
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
6729
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
6730
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
6731
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
6727
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
6728
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
6729
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
6730
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
6731
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
6732
6732
|
};
|
|
6733
6733
|
SimpleGrid = ({
|
|
6734
6734
|
minChildWidth = 250,
|
|
@@ -21199,11 +21199,11 @@ function DataGrid({
|
|
|
21199
21199
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
21200
21200
|
const colsClass = cols ? {
|
|
21201
21201
|
1: "grid-cols-1",
|
|
21202
|
-
2: "sm:grid-cols-2",
|
|
21203
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
21204
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
21205
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
21206
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
21202
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
21203
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
21204
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
21205
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
21206
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
21207
21207
|
}[cols] : void 0;
|
|
21208
21208
|
if (isLoading) {
|
|
21209
21209
|
return /* @__PURE__ */ jsx(Box, { className: "text-center py-8", children: /* @__PURE__ */ jsx(Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|
package/dist/marketing/index.cjs
CHANGED
|
@@ -3900,11 +3900,11 @@ var gapStyles2 = {
|
|
|
3900
3900
|
};
|
|
3901
3901
|
var colStyles = {
|
|
3902
3902
|
1: "grid-cols-1",
|
|
3903
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
3904
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
3905
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
3906
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
3907
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
3903
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
3904
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
3905
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
3906
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
3907
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
3908
3908
|
};
|
|
3909
3909
|
var SimpleGrid = ({
|
|
3910
3910
|
minChildWidth = 250,
|
package/dist/marketing/index.js
CHANGED
|
@@ -3876,11 +3876,11 @@ var gapStyles2 = {
|
|
|
3876
3876
|
};
|
|
3877
3877
|
var colStyles = {
|
|
3878
3878
|
1: "grid-cols-1",
|
|
3879
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
3880
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
3881
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
3882
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
3883
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
3879
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
3880
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
3881
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
3882
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
3883
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
3884
3884
|
};
|
|
3885
3885
|
var SimpleGrid = ({
|
|
3886
3886
|
minChildWidth = 250,
|
package/dist/providers/index.cjs
CHANGED
|
@@ -1190,7 +1190,7 @@ var init_Overlay = __esm({
|
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
1192
1192
|
});
|
|
1193
|
-
var sizeClasses2,
|
|
1193
|
+
var sizeClasses2, minWidthClasses, Modal;
|
|
1194
1194
|
var init_Modal = __esm({
|
|
1195
1195
|
"components/molecules/Modal.tsx"() {
|
|
1196
1196
|
"use client";
|
|
@@ -1208,12 +1208,12 @@ var init_Modal = __esm({
|
|
|
1208
1208
|
xl: "max-w-5xl",
|
|
1209
1209
|
full: "max-w-full mx-4"
|
|
1210
1210
|
};
|
|
1211
|
-
|
|
1212
|
-
sm: "400px",
|
|
1213
|
-
md: "520px",
|
|
1214
|
-
lg: "600px",
|
|
1215
|
-
xl: "700px",
|
|
1216
|
-
full: "0"
|
|
1211
|
+
minWidthClasses = {
|
|
1212
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
1213
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
1214
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
1215
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
1216
|
+
full: "min-w-0"
|
|
1217
1217
|
};
|
|
1218
1218
|
Modal = ({
|
|
1219
1219
|
isOpen = true,
|
|
@@ -1293,10 +1293,9 @@ var init_Modal = __esm({
|
|
|
1293
1293
|
{
|
|
1294
1294
|
className: cn(
|
|
1295
1295
|
"fixed inset-0 z-50 pointer-events-none",
|
|
1296
|
-
"flex items-start justify-center px-4 pb-4",
|
|
1297
|
-
"max-sm:items-
|
|
1296
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
1297
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
1298
1298
|
),
|
|
1299
|
-
style: { paddingTop: "10vh" },
|
|
1300
1299
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1301
1300
|
Dialog,
|
|
1302
1301
|
{
|
|
@@ -1307,18 +1306,19 @@ var init_Modal = __esm({
|
|
|
1307
1306
|
"m-0 p-0 border-0 bg-transparent",
|
|
1308
1307
|
// Pre-existing dialog frame
|
|
1309
1308
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
1309
|
+
// Desktop sizing + viewport-aware floor.
|
|
1310
1310
|
sizeClasses2[size],
|
|
1311
|
-
|
|
1311
|
+
minWidthClasses[size],
|
|
1312
|
+
"max-h-[80vh]",
|
|
1313
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
1314
|
+
// full height, no rounded corners, no min-width.
|
|
1315
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
1312
1316
|
className
|
|
1313
1317
|
),
|
|
1314
|
-
style: {
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
transform: `translateY(${dragY}px)`,
|
|
1319
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1320
|
-
}
|
|
1321
|
-
},
|
|
1318
|
+
style: dragY > 0 ? {
|
|
1319
|
+
transform: `translateY(${dragY}px)`,
|
|
1320
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1321
|
+
} : void 0,
|
|
1322
1322
|
...title && { "aria-labelledby": "modal-title" },
|
|
1323
1323
|
children: [
|
|
1324
1324
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8338,11 +8338,11 @@ var init_SimpleGrid = __esm({
|
|
|
8338
8338
|
};
|
|
8339
8339
|
colStyles = {
|
|
8340
8340
|
1: "grid-cols-1",
|
|
8341
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
8342
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
8343
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
8344
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
8345
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
8341
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
8342
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8343
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8344
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8345
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
8346
8346
|
};
|
|
8347
8347
|
SimpleGrid = ({
|
|
8348
8348
|
minChildWidth = 250,
|
|
@@ -22490,11 +22490,11 @@ function DataGrid({
|
|
|
22490
22490
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
22491
22491
|
const colsClass = cols ? {
|
|
22492
22492
|
1: "grid-cols-1",
|
|
22493
|
-
2: "sm:grid-cols-2",
|
|
22494
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
22495
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
22496
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
22497
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
22493
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
22494
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22495
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22496
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22497
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
22498
22498
|
}[cols] : void 0;
|
|
22499
22499
|
if (isLoading) {
|
|
22500
22500
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "text-center py-8", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|
package/dist/providers/index.js
CHANGED
|
@@ -1144,7 +1144,7 @@ var init_Overlay = __esm({
|
|
|
1144
1144
|
};
|
|
1145
1145
|
}
|
|
1146
1146
|
});
|
|
1147
|
-
var sizeClasses2,
|
|
1147
|
+
var sizeClasses2, minWidthClasses, Modal;
|
|
1148
1148
|
var init_Modal = __esm({
|
|
1149
1149
|
"components/molecules/Modal.tsx"() {
|
|
1150
1150
|
"use client";
|
|
@@ -1162,12 +1162,12 @@ var init_Modal = __esm({
|
|
|
1162
1162
|
xl: "max-w-5xl",
|
|
1163
1163
|
full: "max-w-full mx-4"
|
|
1164
1164
|
};
|
|
1165
|
-
|
|
1166
|
-
sm: "400px",
|
|
1167
|
-
md: "520px",
|
|
1168
|
-
lg: "600px",
|
|
1169
|
-
xl: "700px",
|
|
1170
|
-
full: "0"
|
|
1165
|
+
minWidthClasses = {
|
|
1166
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
1167
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
1168
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
1169
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
1170
|
+
full: "min-w-0"
|
|
1171
1171
|
};
|
|
1172
1172
|
Modal = ({
|
|
1173
1173
|
isOpen = true,
|
|
@@ -1247,10 +1247,9 @@ var init_Modal = __esm({
|
|
|
1247
1247
|
{
|
|
1248
1248
|
className: cn(
|
|
1249
1249
|
"fixed inset-0 z-50 pointer-events-none",
|
|
1250
|
-
"flex items-start justify-center px-4 pb-4",
|
|
1251
|
-
"max-sm:items-
|
|
1250
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
1251
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
1252
1252
|
),
|
|
1253
|
-
style: { paddingTop: "10vh" },
|
|
1254
1253
|
children: /* @__PURE__ */ jsxs(
|
|
1255
1254
|
Dialog,
|
|
1256
1255
|
{
|
|
@@ -1261,18 +1260,19 @@ var init_Modal = __esm({
|
|
|
1261
1260
|
"m-0 p-0 border-0 bg-transparent",
|
|
1262
1261
|
// Pre-existing dialog frame
|
|
1263
1262
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
1263
|
+
// Desktop sizing + viewport-aware floor.
|
|
1264
1264
|
sizeClasses2[size],
|
|
1265
|
-
|
|
1265
|
+
minWidthClasses[size],
|
|
1266
|
+
"max-h-[80vh]",
|
|
1267
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
1268
|
+
// full height, no rounded corners, no min-width.
|
|
1269
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
1266
1270
|
className
|
|
1267
1271
|
),
|
|
1268
|
-
style: {
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
transform: `translateY(${dragY}px)`,
|
|
1273
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1272
|
+
style: dragY > 0 ? {
|
|
1273
|
+
transform: `translateY(${dragY}px)`,
|
|
1274
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1275
|
+
} : void 0,
|
|
1276
1276
|
...title && { "aria-labelledby": "modal-title" },
|
|
1277
1277
|
children: [
|
|
1278
1278
|
/* @__PURE__ */ jsx(
|
|
@@ -8292,11 +8292,11 @@ var init_SimpleGrid = __esm({
|
|
|
8292
8292
|
};
|
|
8293
8293
|
colStyles = {
|
|
8294
8294
|
1: "grid-cols-1",
|
|
8295
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
8296
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
8297
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
8298
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
8299
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
8295
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
8296
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8297
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8298
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8299
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
8300
8300
|
};
|
|
8301
8301
|
SimpleGrid = ({
|
|
8302
8302
|
minChildWidth = 250,
|
|
@@ -22444,11 +22444,11 @@ function DataGrid({
|
|
|
22444
22444
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
22445
22445
|
const colsClass = cols ? {
|
|
22446
22446
|
1: "grid-cols-1",
|
|
22447
|
-
2: "sm:grid-cols-2",
|
|
22448
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
22449
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
22450
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
22451
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
22447
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
22448
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22449
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22450
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22451
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
22452
22452
|
}[cols] : void 0;
|
|
22453
22453
|
if (isLoading) {
|
|
22454
22454
|
return /* @__PURE__ */ jsx(Box, { className: "text-center py-8", children: /* @__PURE__ */ jsx(Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -1474,7 +1474,7 @@ var init_Overlay = __esm({
|
|
|
1474
1474
|
};
|
|
1475
1475
|
}
|
|
1476
1476
|
});
|
|
1477
|
-
var sizeClasses2,
|
|
1477
|
+
var sizeClasses2, minWidthClasses, Modal;
|
|
1478
1478
|
var init_Modal = __esm({
|
|
1479
1479
|
"components/molecules/Modal.tsx"() {
|
|
1480
1480
|
"use client";
|
|
@@ -1492,12 +1492,12 @@ var init_Modal = __esm({
|
|
|
1492
1492
|
xl: "max-w-5xl",
|
|
1493
1493
|
full: "max-w-full mx-4"
|
|
1494
1494
|
};
|
|
1495
|
-
|
|
1496
|
-
sm: "400px",
|
|
1497
|
-
md: "520px",
|
|
1498
|
-
lg: "600px",
|
|
1499
|
-
xl: "700px",
|
|
1500
|
-
full: "0"
|
|
1495
|
+
minWidthClasses = {
|
|
1496
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
1497
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
1498
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
1499
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
1500
|
+
full: "min-w-0"
|
|
1501
1501
|
};
|
|
1502
1502
|
Modal = ({
|
|
1503
1503
|
isOpen = true,
|
|
@@ -1577,10 +1577,9 @@ var init_Modal = __esm({
|
|
|
1577
1577
|
{
|
|
1578
1578
|
className: cn(
|
|
1579
1579
|
"fixed inset-0 z-50 pointer-events-none",
|
|
1580
|
-
"flex items-start justify-center px-4 pb-4",
|
|
1581
|
-
"max-sm:items-
|
|
1580
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
1581
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
1582
1582
|
),
|
|
1583
|
-
style: { paddingTop: "10vh" },
|
|
1584
1583
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1585
1584
|
Dialog,
|
|
1586
1585
|
{
|
|
@@ -1591,18 +1590,19 @@ var init_Modal = __esm({
|
|
|
1591
1590
|
"m-0 p-0 border-0 bg-transparent",
|
|
1592
1591
|
// Pre-existing dialog frame
|
|
1593
1592
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
1593
|
+
// Desktop sizing + viewport-aware floor.
|
|
1594
1594
|
sizeClasses2[size],
|
|
1595
|
-
|
|
1595
|
+
minWidthClasses[size],
|
|
1596
|
+
"max-h-[80vh]",
|
|
1597
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
1598
|
+
// full height, no rounded corners, no min-width.
|
|
1599
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
1596
1600
|
className
|
|
1597
1601
|
),
|
|
1598
|
-
style: {
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
transform: `translateY(${dragY}px)`,
|
|
1603
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1604
|
-
}
|
|
1605
|
-
},
|
|
1602
|
+
style: dragY > 0 ? {
|
|
1603
|
+
transform: `translateY(${dragY}px)`,
|
|
1604
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1605
|
+
} : void 0,
|
|
1606
1606
|
...title && { "aria-labelledby": "modal-title" },
|
|
1607
1607
|
children: [
|
|
1608
1608
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8226,11 +8226,11 @@ var init_SimpleGrid = __esm({
|
|
|
8226
8226
|
};
|
|
8227
8227
|
colStyles = {
|
|
8228
8228
|
1: "grid-cols-1",
|
|
8229
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
8230
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
8231
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
8232
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
8233
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
8229
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
8230
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8231
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8232
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8233
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
8234
8234
|
};
|
|
8235
8235
|
SimpleGrid = ({
|
|
8236
8236
|
minChildWidth = 250,
|
|
@@ -22259,11 +22259,11 @@ function DataGrid({
|
|
|
22259
22259
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
22260
22260
|
const colsClass = cols ? {
|
|
22261
22261
|
1: "grid-cols-1",
|
|
22262
|
-
2: "sm:grid-cols-2",
|
|
22263
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
22264
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
22265
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
22266
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
22262
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
22263
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22264
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22265
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22266
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
22267
22267
|
}[cols] : void 0;
|
|
22268
22268
|
if (isLoading) {
|
|
22269
22269
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "text-center py-8", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|
package/dist/runtime/index.js
CHANGED
|
@@ -1428,7 +1428,7 @@ var init_Overlay = __esm({
|
|
|
1428
1428
|
};
|
|
1429
1429
|
}
|
|
1430
1430
|
});
|
|
1431
|
-
var sizeClasses2,
|
|
1431
|
+
var sizeClasses2, minWidthClasses, Modal;
|
|
1432
1432
|
var init_Modal = __esm({
|
|
1433
1433
|
"components/molecules/Modal.tsx"() {
|
|
1434
1434
|
"use client";
|
|
@@ -1446,12 +1446,12 @@ var init_Modal = __esm({
|
|
|
1446
1446
|
xl: "max-w-5xl",
|
|
1447
1447
|
full: "max-w-full mx-4"
|
|
1448
1448
|
};
|
|
1449
|
-
|
|
1450
|
-
sm: "400px",
|
|
1451
|
-
md: "520px",
|
|
1452
|
-
lg: "600px",
|
|
1453
|
-
xl: "700px",
|
|
1454
|
-
full: "0"
|
|
1449
|
+
minWidthClasses = {
|
|
1450
|
+
sm: "min-w-[400px] max-sm:min-w-0",
|
|
1451
|
+
md: "min-w-[520px] max-sm:min-w-0",
|
|
1452
|
+
lg: "min-w-[600px] max-sm:min-w-0",
|
|
1453
|
+
xl: "min-w-[700px] max-sm:min-w-0",
|
|
1454
|
+
full: "min-w-0"
|
|
1455
1455
|
};
|
|
1456
1456
|
Modal = ({
|
|
1457
1457
|
isOpen = true,
|
|
@@ -1531,10 +1531,9 @@ var init_Modal = __esm({
|
|
|
1531
1531
|
{
|
|
1532
1532
|
className: cn(
|
|
1533
1533
|
"fixed inset-0 z-50 pointer-events-none",
|
|
1534
|
-
"flex items-start justify-center px-4 pb-4",
|
|
1535
|
-
"max-sm:items-
|
|
1534
|
+
"flex items-start justify-center px-4 pb-4 pt-[10vh]",
|
|
1535
|
+
"max-sm:items-stretch max-sm:p-0 max-sm:pt-0"
|
|
1536
1536
|
),
|
|
1537
|
-
style: { paddingTop: "10vh" },
|
|
1538
1537
|
children: /* @__PURE__ */ jsxs(
|
|
1539
1538
|
Dialog,
|
|
1540
1539
|
{
|
|
@@ -1545,18 +1544,19 @@ var init_Modal = __esm({
|
|
|
1545
1544
|
"m-0 p-0 border-0 bg-transparent",
|
|
1546
1545
|
// Pre-existing dialog frame
|
|
1547
1546
|
"pointer-events-auto w-full flex flex-col bg-surface border shadow-lg rounded-md",
|
|
1547
|
+
// Desktop sizing + viewport-aware floor.
|
|
1548
1548
|
sizeClasses2[size],
|
|
1549
|
-
|
|
1549
|
+
minWidthClasses[size],
|
|
1550
|
+
"max-h-[80vh]",
|
|
1551
|
+
// Mobile: take the entire screen. Override desktop max-w cap,
|
|
1552
|
+
// full height, no rounded corners, no min-width.
|
|
1553
|
+
"max-sm:max-w-none max-sm:max-h-none max-sm:w-full max-sm:h-full max-sm:rounded-none",
|
|
1550
1554
|
className
|
|
1551
1555
|
),
|
|
1552
|
-
style: {
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
transform: `translateY(${dragY}px)`,
|
|
1557
|
-
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1558
|
-
}
|
|
1559
|
-
},
|
|
1556
|
+
style: dragY > 0 ? {
|
|
1557
|
+
transform: `translateY(${dragY}px)`,
|
|
1558
|
+
transition: isDragging.current ? "none" : "transform 200ms ease-out"
|
|
1559
|
+
} : void 0,
|
|
1560
1560
|
...title && { "aria-labelledby": "modal-title" },
|
|
1561
1561
|
children: [
|
|
1562
1562
|
/* @__PURE__ */ jsx(
|
|
@@ -8180,11 +8180,11 @@ var init_SimpleGrid = __esm({
|
|
|
8180
8180
|
};
|
|
8181
8181
|
colStyles = {
|
|
8182
8182
|
1: "grid-cols-1",
|
|
8183
|
-
2: "grid-cols-1 sm:grid-cols-2",
|
|
8184
|
-
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
|
|
8185
|
-
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",
|
|
8186
|
-
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",
|
|
8187
|
-
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6"
|
|
8183
|
+
2: "grid-cols-1 sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
8184
|
+
3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8185
|
+
4: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8186
|
+
5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
8187
|
+
6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 @max-xl:!grid-cols-4 @max-lg:!grid-cols-3 @max-md:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
8188
8188
|
};
|
|
8189
8189
|
SimpleGrid = ({
|
|
8190
8190
|
minChildWidth = 250,
|
|
@@ -22213,11 +22213,11 @@ function DataGrid({
|
|
|
22213
22213
|
const gridTemplateColumns = cols ? void 0 : `repeat(auto-fit, minmax(min(${minCardWidth}px, 100%), 1fr))`;
|
|
22214
22214
|
const colsClass = cols ? {
|
|
22215
22215
|
1: "grid-cols-1",
|
|
22216
|
-
2: "sm:grid-cols-2",
|
|
22217
|
-
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
22218
|
-
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
22219
|
-
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
|
|
22220
|
-
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"
|
|
22216
|
+
2: "sm:grid-cols-2 @max-sm:!grid-cols-1",
|
|
22217
|
+
3: "sm:grid-cols-2 lg:grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22218
|
+
4: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22219
|
+
5: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1",
|
|
22220
|
+
6: "sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 @max-xl:!grid-cols-3 @max-lg:!grid-cols-2 @max-sm:!grid-cols-1"
|
|
22221
22221
|
}[cols] : void 0;
|
|
22222
22222
|
if (isLoading) {
|
|
22223
22223
|
return /* @__PURE__ */ jsx(Box, { className: "text-center py-8", children: /* @__PURE__ */ jsx(Typography, { variant: "body", color: "secondary", children: t("loading.items") || "Loading..." }) });
|