@tirth_jasoliya/ui 1.0.2 → 1.0.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/index.cjs +77 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -32
- package/dist/index.d.ts +40 -32
- package/dist/index.js +76 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -31,6 +31,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
33
|
AppMetaProvider: () => AppMetaProvider,
|
|
34
|
+
Checkmark: () => Checkmark,
|
|
34
35
|
DataTable: () => DataTable,
|
|
35
36
|
DataTableActionBar: () => DataTableActionBar,
|
|
36
37
|
DataTableActionBarAction: () => DataTableActionBarAction,
|
|
@@ -2065,7 +2066,7 @@ function DataTemplate({
|
|
|
2065
2066
|
] }) }) });
|
|
2066
2067
|
}
|
|
2067
2068
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: cn("w-full flex gap-2 flex-col h-full", gridContainerClasses), children: [
|
|
2068
|
-
header && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { className: "shadow-sm border-0
|
|
2069
|
+
header && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Card, { className: "shadow-sm border-0 py-0 text-xl font-bold", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CardContent, { className: "p-2", children: header }) }),
|
|
2069
2070
|
toolbar && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2070
2071
|
DataTemplateToolbar,
|
|
2071
2072
|
{
|
|
@@ -2132,8 +2133,8 @@ function DataTemplate({
|
|
|
2132
2133
|
);
|
|
2133
2134
|
})
|
|
2134
2135
|
}
|
|
2135
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 text-center", children: [
|
|
2136
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "text-6xl
|
|
2136
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-col gap-4 items-center justify-center py-12 text-center", children: [
|
|
2137
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "text-6xl", children: emptyIcon || "\u{1F4CB}" }),
|
|
2137
2138
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-lg font-medium text-muted-foreground mb-2", children: emptyMessage }),
|
|
2138
2139
|
(globalFilter || Object.values(fieldFilters).some((v) => v)) && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Button, { variant: "outline", onClick: handleClearFilters, children: "Clear Filters" })
|
|
2139
2140
|
] })
|
|
@@ -3149,9 +3150,82 @@ var GeneralHelper = class {
|
|
|
3149
3150
|
) });
|
|
3150
3151
|
};
|
|
3151
3152
|
};
|
|
3153
|
+
|
|
3154
|
+
// src/components/core/error.tsx
|
|
3155
|
+
var import_lucide_react19 = require("lucide-react");
|
|
3156
|
+
var import_react_router2 = require("react-router");
|
|
3157
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
3158
|
+
|
|
3159
|
+
// src/components/core/event-success.tsx
|
|
3160
|
+
var import_framer_motion3 = require("framer-motion");
|
|
3161
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
3162
|
+
function Checkmark({ size = 100, strokeWidth = 2, color = "currentColor", className = "" }) {
|
|
3163
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
3164
|
+
import_framer_motion3.motion.svg,
|
|
3165
|
+
{
|
|
3166
|
+
width: size,
|
|
3167
|
+
height: size,
|
|
3168
|
+
viewBox: "0 0 100 100",
|
|
3169
|
+
initial: "hidden",
|
|
3170
|
+
animate: "visible",
|
|
3171
|
+
className,
|
|
3172
|
+
children: [
|
|
3173
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: "Animated Checkmark" }),
|
|
3174
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3175
|
+
import_framer_motion3.motion.circle,
|
|
3176
|
+
{
|
|
3177
|
+
cx: "50",
|
|
3178
|
+
cy: "50",
|
|
3179
|
+
r: "40",
|
|
3180
|
+
stroke: color,
|
|
3181
|
+
custom: 0,
|
|
3182
|
+
style: {
|
|
3183
|
+
strokeWidth,
|
|
3184
|
+
strokeLinecap: "round",
|
|
3185
|
+
fill: "transparent"
|
|
3186
|
+
}
|
|
3187
|
+
}
|
|
3188
|
+
),
|
|
3189
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3190
|
+
import_framer_motion3.motion.path,
|
|
3191
|
+
{
|
|
3192
|
+
d: "M30 50L45 65L70 35",
|
|
3193
|
+
stroke: color,
|
|
3194
|
+
custom: 1,
|
|
3195
|
+
style: {
|
|
3196
|
+
strokeWidth,
|
|
3197
|
+
strokeLinecap: "round",
|
|
3198
|
+
strokeLinejoin: "round",
|
|
3199
|
+
fill: "transparent"
|
|
3200
|
+
}
|
|
3201
|
+
}
|
|
3202
|
+
)
|
|
3203
|
+
]
|
|
3204
|
+
}
|
|
3205
|
+
);
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
// src/components/core/loader.tsx
|
|
3209
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
3210
|
+
|
|
3211
|
+
// src/components/core/notfound.tsx
|
|
3212
|
+
var import_react_router3 = require("react-router");
|
|
3213
|
+
var import_lucide_react20 = require("lucide-react");
|
|
3214
|
+
var import_react_router4 = require("react-router");
|
|
3215
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
3216
|
+
|
|
3217
|
+
// src/components/core/offline-content.tsx
|
|
3218
|
+
var import_lucide_react21 = require("lucide-react");
|
|
3219
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3220
|
+
|
|
3221
|
+
// src/components/core/unauthorized.tsx
|
|
3222
|
+
var import_lucide_react22 = require("lucide-react");
|
|
3223
|
+
var import_react_router5 = require("react-router");
|
|
3224
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
3152
3225
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3153
3226
|
0 && (module.exports = {
|
|
3154
3227
|
AppMetaProvider,
|
|
3228
|
+
Checkmark,
|
|
3155
3229
|
DataTable,
|
|
3156
3230
|
DataTableActionBar,
|
|
3157
3231
|
DataTableActionBarAction,
|