@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.
Files changed (46) hide show
  1. package/dist/index.d.ts +11 -0
  2. package/dist/index.js +6131 -3994
  3. package/dist/kit/builder/data-table/components/DataTable.d.ts +21 -2
  4. package/dist/kit/builder/upload-wizard/UploadWizard.d.ts +54 -0
  5. package/dist/kit/builder/upload-wizard/UploadWizardMappingStep.d.ts +61 -0
  6. package/dist/kit/builder/upload-wizard/UploadWizardPreviewStep.d.ts +27 -0
  7. package/dist/kit/builder/upload-wizard/UploadWizardResultStep.d.ts +15 -0
  8. package/dist/kit/builder/upload-wizard/UploadWizardStepper.d.ts +6 -0
  9. package/dist/kit/builder/upload-wizard/UploadWizardUploadStep.d.ts +43 -0
  10. package/dist/kit/builder/upload-wizard/index.d.ts +8 -0
  11. package/dist/kit/builder/upload-wizard/types.d.ts +91 -0
  12. package/dist/kit/builder/upload-wizard/useFilePreview.d.ts +50 -0
  13. package/dist/kit/components/data-display/DescriptionList.d.ts +17 -0
  14. package/dist/kit/components/data-display/EmptyState.d.ts +13 -0
  15. package/dist/kit/components/data-display/StatCard.d.ts +49 -0
  16. package/dist/kit/components/data-display/index.d.ts +4 -0
  17. package/dist/kit/components/file-action/FileAction.d.ts +38 -0
  18. package/dist/kit/components/file-action/index.d.ts +2 -0
  19. package/dist/kit/components/fileuploader/FileUploader.d.ts +1 -1
  20. package/dist/kit/components/fileuploader/types.d.ts +2 -0
  21. package/dist/kit/components/import-progress/ImportProgress.d.ts +16 -0
  22. package/dist/kit/components/import-progress/index.d.ts +2 -0
  23. package/dist/kit/components/info-tip/InfoTip.d.ts +7 -0
  24. package/dist/kit/components/info-tip/index.d.ts +2 -0
  25. package/dist/kit/components/loading-overlay/LoadingOverlay.d.ts +9 -0
  26. package/dist/kit/components/loading-overlay/index.d.ts +2 -0
  27. package/dist/kit/components/product-cell/ProductCell.d.ts +13 -0
  28. package/dist/kit/components/product-cell/index.d.ts +2 -0
  29. package/dist/kit/components/row-actions/RowActions.d.ts +53 -0
  30. package/dist/kit/components/row-actions/index.d.ts +2 -0
  31. package/dist/kit/components/setting-row/SettingRow.d.ts +12 -0
  32. package/dist/kit/components/setting-row/index.d.ts +2 -0
  33. package/dist/kit/components/status-text/StatusText.d.ts +20 -0
  34. package/dist/kit/components/status-text/index.d.ts +2 -0
  35. package/dist/kit/components/tree/Tree.d.ts +42 -0
  36. package/dist/kit/components/tree/index.d.ts +2 -0
  37. package/dist/kit/themes/base.css +3 -3
  38. package/dist/kit/themes/clean-slate.css +871 -397
  39. package/dist/kit/themes/default.css +1327 -412
  40. package/dist/kit/themes/minimal-modern.css +871 -397
  41. package/dist/kit/themes/spotify.css +871 -397
  42. package/dist/shadcn/ui/alert.d.ts +1 -1
  43. package/dist/shadcn/ui/badge.d.ts +1 -1
  44. package/dist/shadcn/ui/button.d.ts +3 -1
  45. package/dist/shadcn/ui/progress.d.ts +10 -1
  46. 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 function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k3-tech/react-kit",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",