@datatechsolutions/ui 2.8.0 → 2.8.2
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/{chunk-NNYNGCT5.mjs → chunk-BMPCP2ME.mjs} +10 -5
- package/dist/chunk-BMPCP2ME.mjs.map +1 -0
- package/dist/{chunk-HVDLO6TN.js → chunk-EBSYPO4E.js} +10 -5
- package/dist/chunk-EBSYPO4E.js.map +1 -0
- package/dist/{chunk-RQMB4Q4G.js → chunk-MRKMIFVG.js} +52 -52
- package/dist/{chunk-RQMB4Q4G.js.map → chunk-MRKMIFVG.js.map} +1 -1
- package/dist/{chunk-6RXLXX5U.mjs → chunk-VYKQP6MP.mjs} +3 -3
- package/dist/{chunk-6RXLXX5U.mjs.map → chunk-VYKQP6MP.mjs.map} +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +339 -339
- package/dist/index.mjs +1 -1
- package/dist/workflow/index.js +119 -119
- package/dist/workflow/index.mjs +3 -3
- package/dist/workflow/workflow-canvas.js +3 -3
- package/dist/workflow/workflow-canvas.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-HVDLO6TN.js.map +0 -1
- package/dist/chunk-NNYNGCT5.mjs.map +0 -1
|
@@ -9628,7 +9628,8 @@ var ICON_MAP = {
|
|
|
9628
9628
|
"document": getIcon("DocumentIcon"),
|
|
9629
9629
|
"plus-circle": getIcon("PlusCircleIcon"),
|
|
9630
9630
|
"link": getIcon("LinkIcon"),
|
|
9631
|
-
"folder-open": getIcon("FolderOpenIcon")
|
|
9631
|
+
"folder-open": getIcon("FolderOpenIcon"),
|
|
9632
|
+
"fuel": getIcon("BeakerIcon")
|
|
9632
9633
|
};
|
|
9633
9634
|
var ACCENT_MAP = {
|
|
9634
9635
|
"map-pin": {
|
|
@@ -9706,9 +9707,13 @@ var ACCENT_MAP = {
|
|
|
9706
9707
|
"folder-open": {
|
|
9707
9708
|
container: "bg-slate-50/80 dark:bg-slate-900/30 border-slate-100/50 dark:border-slate-800/30",
|
|
9708
9709
|
icon: "text-slate-500 dark:text-slate-400"
|
|
9710
|
+
},
|
|
9711
|
+
"fuel": {
|
|
9712
|
+
container: "bg-emerald-50/80 dark:bg-emerald-900/30 border-emerald-100/50 dark:border-emerald-800/30",
|
|
9713
|
+
icon: "text-emerald-500 dark:text-emerald-400"
|
|
9709
9714
|
}
|
|
9710
9715
|
};
|
|
9711
|
-
function PageEmptyState({ title, message, iconName }) {
|
|
9716
|
+
function PageEmptyState({ title, message, iconName, customIcon }) {
|
|
9712
9717
|
const Icon = ICON_MAP[iconName] || FallbackIcon;
|
|
9713
9718
|
const accent = ACCENT_MAP[iconName] || ACCENT_MAP["folder-open"];
|
|
9714
9719
|
const prefersReducedMotion2 = framerMotion.useReducedMotion();
|
|
@@ -9736,7 +9741,7 @@ function PageEmptyState({ title, message, iconName }) {
|
|
|
9736
9741
|
animate: prefersReducedMotion2 ? noMotion : { scale: 1, opacity: 1 },
|
|
9737
9742
|
transition: prefersReducedMotion2 ? noTransition : springPresets.bouncy,
|
|
9738
9743
|
className: "mx-auto mb-6",
|
|
9739
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `inline-flex h-20 w-20 items-center justify-center rounded-full backdrop-blur-md border ${accent.container}`, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: `h-10 w-10 ${accent.icon}` }) })
|
|
9744
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `inline-flex h-20 w-20 items-center justify-center rounded-full backdrop-blur-md border ${accent.container}`, children: customIcon ?? /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: `h-10 w-10 ${accent.icon}` }) })
|
|
9740
9745
|
}
|
|
9741
9746
|
),
|
|
9742
9747
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -17669,5 +17674,5 @@ exports.useGeoMapState = useGeoMapState;
|
|
|
17669
17674
|
exports.useNotifications = useNotifications;
|
|
17670
17675
|
exports.usePlatformShellStore = usePlatformShellStore;
|
|
17671
17676
|
exports.usePullToRefresh = usePullToRefresh;
|
|
17672
|
-
//# sourceMappingURL=chunk-
|
|
17673
|
-
//# sourceMappingURL=chunk-
|
|
17677
|
+
//# sourceMappingURL=chunk-EBSYPO4E.js.map
|
|
17678
|
+
//# sourceMappingURL=chunk-EBSYPO4E.js.map
|