@k3-tech/react-kit 0.0.73 → 0.0.74
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.ts +11 -0
- package/dist/index.js +6131 -3994
- package/dist/kit/builder/data-table/components/DataTable.d.ts +21 -2
- package/dist/kit/builder/upload-wizard/UploadWizard.d.ts +54 -0
- package/dist/kit/builder/upload-wizard/UploadWizardMappingStep.d.ts +61 -0
- package/dist/kit/builder/upload-wizard/UploadWizardPreviewStep.d.ts +27 -0
- package/dist/kit/builder/upload-wizard/UploadWizardResultStep.d.ts +15 -0
- package/dist/kit/builder/upload-wizard/UploadWizardStepper.d.ts +6 -0
- package/dist/kit/builder/upload-wizard/UploadWizardUploadStep.d.ts +43 -0
- package/dist/kit/builder/upload-wizard/index.d.ts +8 -0
- package/dist/kit/builder/upload-wizard/types.d.ts +91 -0
- package/dist/kit/builder/upload-wizard/useFilePreview.d.ts +50 -0
- package/dist/kit/components/data-display/DescriptionList.d.ts +17 -0
- package/dist/kit/components/data-display/EmptyState.d.ts +13 -0
- package/dist/kit/components/data-display/StatCard.d.ts +49 -0
- package/dist/kit/components/data-display/index.d.ts +4 -0
- package/dist/kit/components/file-action/FileAction.d.ts +38 -0
- package/dist/kit/components/file-action/index.d.ts +2 -0
- package/dist/kit/components/fileuploader/FileUploader.d.ts +1 -1
- package/dist/kit/components/fileuploader/types.d.ts +2 -0
- package/dist/kit/components/import-progress/ImportProgress.d.ts +16 -0
- package/dist/kit/components/import-progress/index.d.ts +2 -0
- package/dist/kit/components/info-tip/InfoTip.d.ts +7 -0
- package/dist/kit/components/info-tip/index.d.ts +2 -0
- package/dist/kit/components/loading-overlay/LoadingOverlay.d.ts +9 -0
- package/dist/kit/components/loading-overlay/index.d.ts +2 -0
- package/dist/kit/components/product-cell/ProductCell.d.ts +13 -0
- package/dist/kit/components/product-cell/index.d.ts +2 -0
- package/dist/kit/components/row-actions/RowActions.d.ts +53 -0
- package/dist/kit/components/row-actions/index.d.ts +2 -0
- package/dist/kit/components/setting-row/SettingRow.d.ts +12 -0
- package/dist/kit/components/setting-row/index.d.ts +2 -0
- package/dist/kit/components/status-text/StatusText.d.ts +20 -0
- package/dist/kit/components/status-text/index.d.ts +2 -0
- package/dist/kit/components/tree/Tree.d.ts +42 -0
- package/dist/kit/components/tree/index.d.ts +2 -0
- package/dist/kit/themes/base.css +3 -3
- package/dist/kit/themes/clean-slate.css +871 -397
- package/dist/kit/themes/default.css +1327 -412
- package/dist/kit/themes/minimal-modern.css +871 -397
- package/dist/kit/themes/spotify.css +871 -397
- package/dist/shadcn/ui/alert.d.ts +1 -1
- package/dist/shadcn/ui/badge.d.ts +1 -1
- package/dist/shadcn/ui/button.d.ts +3 -1
- package/dist/shadcn/ui/progress.d.ts +10 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
declare const alertVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | null | undefined;
|
|
4
|
+
variant?: "default" | "destructive" | "success" | "info" | "warning" | "danger" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "info" | "warning" | "danger" | "accent" | "teal" | "pink" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
7
7
|
asChild?: boolean;
|
|
@@ -4,8 +4,10 @@ declare const buttonVariants: (props?: ({
|
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
7
|
+
declare function Button({ className, variant, size, asChild, loading, loadingText, disabled, children, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
8
8
|
asChild?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
loadingText?: React.ReactNode;
|
|
9
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
export { Button, buttonVariants };
|
|
11
13
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
3
|
-
declare
|
|
3
|
+
declare const PROGRESS_TONE_CLASS: {
|
|
4
|
+
readonly default: "bg-primary";
|
|
5
|
+
readonly success: "bg-success-fg";
|
|
6
|
+
readonly warning: "bg-warning-fg";
|
|
7
|
+
readonly danger: "bg-destructive";
|
|
8
|
+
};
|
|
9
|
+
export type ProgressTone = keyof typeof PROGRESS_TONE_CLASS;
|
|
10
|
+
declare function Progress({ className, value, tone, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root> & {
|
|
11
|
+
tone?: ProgressTone;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
4
13
|
export { Progress };
|
|
5
14
|
//# sourceMappingURL=progress.d.ts.map
|