@prediktif/ui 0.1.22 → 0.1.24
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.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +49 -0
- package/dist/index.mjs +48 -0
- package/package.json +5 -2
package/dist/index.d.mts
CHANGED
|
@@ -334,6 +334,9 @@ interface HeaderTitleProps {
|
|
|
334
334
|
}
|
|
335
335
|
declare const HeaderTitle: react.NamedExoticComponent<HeaderTitleProps>;
|
|
336
336
|
|
|
337
|
+
type GoogleIconProps = ComponentProps<"svg">;
|
|
338
|
+
declare function GoogleIcon({ className, ...props }: GoogleIconProps): react.JSX.Element;
|
|
339
|
+
|
|
337
340
|
declare const buttonVariants: (props?: ({
|
|
338
341
|
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
|
|
339
342
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
@@ -353,4 +356,4 @@ interface StateEmptyProps {
|
|
|
353
356
|
}
|
|
354
357
|
declare const StateEmpty: react.NamedExoticComponent<StateEmptyProps>;
|
|
355
358
|
|
|
356
|
-
export { AppSidebar, type AppSidebarProps, AvatarUser, type AvatarUserProps, type ColumnMetaCustom, DataTable, DataTableContentBody, type DataTableContentBodyProps, DataTableContentHeader, type DataTableContentHeaderProps, type DataTableFeatures, DataTableFooterEntries, type DataTableFooterEntriesProps, DataTableFooterPagination, type DataTableFooterPaginationProps, DataTableHeaderAdd, type DataTableHeaderAddProps, DataTableHeaderDownload, type DataTableHeaderDownloadProps, DataTableHeaderFilter, type DataTableHeaderFilterProps, DataTableHeaderRefresh, DataTableHeaderSearch, type DataTableHeaderSearchProps, DataTableHeaderSort, type DataTableHeaderSortProps, DataTableHeaderToggle, type DataTableHeaderToggleProps, type DataTableProps, EmailLabel, type EmailLabelProps, EmailVerified, type EmailVerifiedProps, type FilterSelectOption, type FilterVariant, type HeaderTabItem, HeaderTabs, type HeaderTabsProps, HeaderTitle, type HeaderTitleProps, JoinedLabel, type JoinedLabelProps, type NavItem, type OrganizationItem, type RowActionItem, RowActions, type RowActionsProps, StateEmpty, type StateEmptyProps, UserRole, type UserRoleProps, UserStatus, type UserStatusProps, exportToCSV, exportToPDF, exportToXLSX, features, getTableExportData, printTable, smartFilterFn };
|
|
359
|
+
export { AppSidebar, type AppSidebarProps, AvatarUser, type AvatarUserProps, type ColumnMetaCustom, DataTable, DataTableContentBody, type DataTableContentBodyProps, DataTableContentHeader, type DataTableContentHeaderProps, type DataTableFeatures, DataTableFooterEntries, type DataTableFooterEntriesProps, DataTableFooterPagination, type DataTableFooterPaginationProps, DataTableHeaderAdd, type DataTableHeaderAddProps, DataTableHeaderDownload, type DataTableHeaderDownloadProps, DataTableHeaderFilter, type DataTableHeaderFilterProps, DataTableHeaderRefresh, DataTableHeaderSearch, type DataTableHeaderSearchProps, DataTableHeaderSort, type DataTableHeaderSortProps, DataTableHeaderToggle, type DataTableHeaderToggleProps, type DataTableProps, EmailLabel, type EmailLabelProps, EmailVerified, type EmailVerifiedProps, type FilterSelectOption, type FilterVariant, GoogleIcon, type GoogleIconProps, type HeaderTabItem, HeaderTabs, type HeaderTabsProps, HeaderTitle, type HeaderTitleProps, JoinedLabel, type JoinedLabelProps, type NavItem, type OrganizationItem, type RowActionItem, RowActions, type RowActionsProps, StateEmpty, type StateEmptyProps, UserRole, type UserRoleProps, UserStatus, type UserStatusProps, exportToCSV, exportToPDF, exportToXLSX, features, getTableExportData, printTable, smartFilterFn };
|
package/dist/index.d.ts
CHANGED
|
@@ -334,6 +334,9 @@ interface HeaderTitleProps {
|
|
|
334
334
|
}
|
|
335
335
|
declare const HeaderTitle: react.NamedExoticComponent<HeaderTitleProps>;
|
|
336
336
|
|
|
337
|
+
type GoogleIconProps = ComponentProps<"svg">;
|
|
338
|
+
declare function GoogleIcon({ className, ...props }: GoogleIconProps): react.JSX.Element;
|
|
339
|
+
|
|
337
340
|
declare const buttonVariants: (props?: ({
|
|
338
341
|
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
|
|
339
342
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
@@ -353,4 +356,4 @@ interface StateEmptyProps {
|
|
|
353
356
|
}
|
|
354
357
|
declare const StateEmpty: react.NamedExoticComponent<StateEmptyProps>;
|
|
355
358
|
|
|
356
|
-
export { AppSidebar, type AppSidebarProps, AvatarUser, type AvatarUserProps, type ColumnMetaCustom, DataTable, DataTableContentBody, type DataTableContentBodyProps, DataTableContentHeader, type DataTableContentHeaderProps, type DataTableFeatures, DataTableFooterEntries, type DataTableFooterEntriesProps, DataTableFooterPagination, type DataTableFooterPaginationProps, DataTableHeaderAdd, type DataTableHeaderAddProps, DataTableHeaderDownload, type DataTableHeaderDownloadProps, DataTableHeaderFilter, type DataTableHeaderFilterProps, DataTableHeaderRefresh, DataTableHeaderSearch, type DataTableHeaderSearchProps, DataTableHeaderSort, type DataTableHeaderSortProps, DataTableHeaderToggle, type DataTableHeaderToggleProps, type DataTableProps, EmailLabel, type EmailLabelProps, EmailVerified, type EmailVerifiedProps, type FilterSelectOption, type FilterVariant, type HeaderTabItem, HeaderTabs, type HeaderTabsProps, HeaderTitle, type HeaderTitleProps, JoinedLabel, type JoinedLabelProps, type NavItem, type OrganizationItem, type RowActionItem, RowActions, type RowActionsProps, StateEmpty, type StateEmptyProps, UserRole, type UserRoleProps, UserStatus, type UserStatusProps, exportToCSV, exportToPDF, exportToXLSX, features, getTableExportData, printTable, smartFilterFn };
|
|
359
|
+
export { AppSidebar, type AppSidebarProps, AvatarUser, type AvatarUserProps, type ColumnMetaCustom, DataTable, DataTableContentBody, type DataTableContentBodyProps, DataTableContentHeader, type DataTableContentHeaderProps, type DataTableFeatures, DataTableFooterEntries, type DataTableFooterEntriesProps, DataTableFooterPagination, type DataTableFooterPaginationProps, DataTableHeaderAdd, type DataTableHeaderAddProps, DataTableHeaderDownload, type DataTableHeaderDownloadProps, DataTableHeaderFilter, type DataTableHeaderFilterProps, DataTableHeaderRefresh, DataTableHeaderSearch, type DataTableHeaderSearchProps, DataTableHeaderSort, type DataTableHeaderSortProps, DataTableHeaderToggle, type DataTableHeaderToggleProps, type DataTableProps, EmailLabel, type EmailLabelProps, EmailVerified, type EmailVerifiedProps, type FilterSelectOption, type FilterVariant, GoogleIcon, type GoogleIconProps, type HeaderTabItem, HeaderTabs, type HeaderTabsProps, HeaderTitle, type HeaderTitleProps, JoinedLabel, type JoinedLabelProps, type NavItem, type OrganizationItem, type RowActionItem, RowActions, type RowActionsProps, StateEmpty, type StateEmptyProps, UserRole, type UserRoleProps, UserStatus, type UserStatusProps, exportToCSV, exportToPDF, exportToXLSX, features, getTableExportData, printTable, smartFilterFn };
|
package/dist/index.js
CHANGED
|
@@ -76,6 +76,7 @@ __export(index_exports, {
|
|
|
76
76
|
DataTableHeaderToggle: () => DataTableHeaderToggle,
|
|
77
77
|
EmailLabel: () => EmailLabel,
|
|
78
78
|
EmailVerified: () => EmailVerified,
|
|
79
|
+
GoogleIcon: () => GoogleIcon,
|
|
79
80
|
HeaderTabs: () => HeaderTabs,
|
|
80
81
|
HeaderTitle: () => HeaderTitle,
|
|
81
82
|
JoinedLabel: () => JoinedLabel,
|
|
@@ -3671,6 +3672,53 @@ var HeaderTitle = (0, import_react14.memo)(function HeaderTitle2({
|
|
|
3671
3672
|
children
|
|
3672
3673
|
] });
|
|
3673
3674
|
});
|
|
3675
|
+
|
|
3676
|
+
// src/components/composed/icons/google.tsx
|
|
3677
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
3678
|
+
function GoogleIcon(_a) {
|
|
3679
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
3681
|
+
"svg",
|
|
3682
|
+
__spreadProps(__spreadValues({
|
|
3683
|
+
role: "img",
|
|
3684
|
+
viewBox: "0 0 24 24",
|
|
3685
|
+
"aria-label": "Google logo",
|
|
3686
|
+
className,
|
|
3687
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3688
|
+
}, props), {
|
|
3689
|
+
children: [
|
|
3690
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3691
|
+
"path",
|
|
3692
|
+
{
|
|
3693
|
+
fill: "#4285F4",
|
|
3694
|
+
d: "M23.745 12.27c0-.7-.06-1.4-.19-2.07H12v4.51h6.6c-.29 1.52-1.14 2.82-2.4 3.68v3.05h3.88c2.27-2.09 3.665-5.17 3.665-9.17z"
|
|
3695
|
+
}
|
|
3696
|
+
),
|
|
3697
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3698
|
+
"path",
|
|
3699
|
+
{
|
|
3700
|
+
fill: "#34A853",
|
|
3701
|
+
d: "M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.88-3.05c-1.08.72-2.45 1.16-4.05 1.16-3.12 0-5.77-2.1-6.72-4.93H1.24v3.15C3.26 21.36 7.33 24 12 24z"
|
|
3702
|
+
}
|
|
3703
|
+
),
|
|
3704
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3705
|
+
"path",
|
|
3706
|
+
{
|
|
3707
|
+
fill: "#FBBC05",
|
|
3708
|
+
d: "M5.28 14.27c-.25-.72-.38-1.49-.38-2.27s.13-1.55.38-2.27V6.58H1.24C.45 8.16 0 9.97 0 12s.45 3.84 1.24 5.42l4.04-3.15z"
|
|
3709
|
+
}
|
|
3710
|
+
),
|
|
3711
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3712
|
+
"path",
|
|
3713
|
+
{
|
|
3714
|
+
fill: "#EA4335",
|
|
3715
|
+
d: "M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.33 0 3.26 2.64 1.24 6.58l4.04 3.15c.95-2.83 3.6-4.98 6.72-4.98z"
|
|
3716
|
+
}
|
|
3717
|
+
)
|
|
3718
|
+
]
|
|
3719
|
+
})
|
|
3720
|
+
);
|
|
3721
|
+
}
|
|
3674
3722
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3675
3723
|
0 && (module.exports = {
|
|
3676
3724
|
AppSidebar,
|
|
@@ -3689,6 +3737,7 @@ var HeaderTitle = (0, import_react14.memo)(function HeaderTitle2({
|
|
|
3689
3737
|
DataTableHeaderToggle,
|
|
3690
3738
|
EmailLabel,
|
|
3691
3739
|
EmailVerified,
|
|
3740
|
+
GoogleIcon,
|
|
3692
3741
|
HeaderTabs,
|
|
3693
3742
|
HeaderTitle,
|
|
3694
3743
|
JoinedLabel,
|
package/dist/index.mjs
CHANGED
|
@@ -3644,6 +3644,53 @@ var HeaderTitle = memo10(function HeaderTitle2({
|
|
|
3644
3644
|
children
|
|
3645
3645
|
] });
|
|
3646
3646
|
});
|
|
3647
|
+
|
|
3648
|
+
// src/components/composed/icons/google.tsx
|
|
3649
|
+
import { jsx as jsx41, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3650
|
+
function GoogleIcon(_a) {
|
|
3651
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3652
|
+
return /* @__PURE__ */ jsxs27(
|
|
3653
|
+
"svg",
|
|
3654
|
+
__spreadProps(__spreadValues({
|
|
3655
|
+
role: "img",
|
|
3656
|
+
viewBox: "0 0 24 24",
|
|
3657
|
+
"aria-label": "Google logo",
|
|
3658
|
+
className,
|
|
3659
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3660
|
+
}, props), {
|
|
3661
|
+
children: [
|
|
3662
|
+
/* @__PURE__ */ jsx41(
|
|
3663
|
+
"path",
|
|
3664
|
+
{
|
|
3665
|
+
fill: "#4285F4",
|
|
3666
|
+
d: "M23.745 12.27c0-.7-.06-1.4-.19-2.07H12v4.51h6.6c-.29 1.52-1.14 2.82-2.4 3.68v3.05h3.88c2.27-2.09 3.665-5.17 3.665-9.17z"
|
|
3667
|
+
}
|
|
3668
|
+
),
|
|
3669
|
+
/* @__PURE__ */ jsx41(
|
|
3670
|
+
"path",
|
|
3671
|
+
{
|
|
3672
|
+
fill: "#34A853",
|
|
3673
|
+
d: "M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.88-3.05c-1.08.72-2.45 1.16-4.05 1.16-3.12 0-5.77-2.1-6.72-4.93H1.24v3.15C3.26 21.36 7.33 24 12 24z"
|
|
3674
|
+
}
|
|
3675
|
+
),
|
|
3676
|
+
/* @__PURE__ */ jsx41(
|
|
3677
|
+
"path",
|
|
3678
|
+
{
|
|
3679
|
+
fill: "#FBBC05",
|
|
3680
|
+
d: "M5.28 14.27c-.25-.72-.38-1.49-.38-2.27s.13-1.55.38-2.27V6.58H1.24C.45 8.16 0 9.97 0 12s.45 3.84 1.24 5.42l4.04-3.15z"
|
|
3681
|
+
}
|
|
3682
|
+
),
|
|
3683
|
+
/* @__PURE__ */ jsx41(
|
|
3684
|
+
"path",
|
|
3685
|
+
{
|
|
3686
|
+
fill: "#EA4335",
|
|
3687
|
+
d: "M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.33 0 3.26 2.64 1.24 6.58l4.04 3.15c.95-2.83 3.6-4.98 6.72-4.98z"
|
|
3688
|
+
}
|
|
3689
|
+
)
|
|
3690
|
+
]
|
|
3691
|
+
})
|
|
3692
|
+
);
|
|
3693
|
+
}
|
|
3647
3694
|
export {
|
|
3648
3695
|
AppSidebar,
|
|
3649
3696
|
AvatarUser,
|
|
@@ -3661,6 +3708,7 @@ export {
|
|
|
3661
3708
|
DataTableHeaderToggle,
|
|
3662
3709
|
EmailLabel,
|
|
3663
3710
|
EmailVerified,
|
|
3711
|
+
GoogleIcon,
|
|
3664
3712
|
HeaderTabs,
|
|
3665
3713
|
HeaderTitle,
|
|
3666
3714
|
JoinedLabel,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prediktif/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@base-ui/react": "^1.8.0",
|
|
34
|
+
"@hookform/resolvers": "^5.9.1",
|
|
34
35
|
"@radix-ui/react-use-controllable-state": "^1.2.6",
|
|
35
36
|
"@rive-app/react-webgl2": "^4.34.2",
|
|
36
37
|
"@shadcn/react": "^0.3.1",
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
"react": "19.2.8",
|
|
60
61
|
"react-day-picker": "^10.0.1",
|
|
61
62
|
"react-dom": "19.2.8",
|
|
63
|
+
"react-hook-form": "^7.88.0",
|
|
62
64
|
"react-jsx-parser": "^2.4.1",
|
|
63
65
|
"react-resizable-panels": "^4.12.4",
|
|
64
66
|
"recharts": "3.8.0",
|
|
@@ -68,7 +70,8 @@
|
|
|
68
70
|
"tokenlens": "^1.3.1",
|
|
69
71
|
"tw-animate-css": "^1.4.0",
|
|
70
72
|
"use-stick-to-bottom": "^1.1.6",
|
|
71
|
-
"xlsx": "^0.18.5"
|
|
73
|
+
"xlsx": "^0.18.5",
|
|
74
|
+
"zod": "^4.6.5"
|
|
72
75
|
},
|
|
73
76
|
"devDependencies": {
|
|
74
77
|
"@biomejs/biome": "2.4.2",
|