akku-kit 1.0.0-alpha.1 → 1.0.0-alpha.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.
Files changed (32) hide show
  1. package/dist/arrowRightBlack.png +0 -0
  2. package/dist/assets/arrowRightBlack.png +0 -0
  3. package/dist/assets/images/arrowRightBlack.png +0 -0
  4. package/dist/assets/images/nodata.png +0 -0
  5. package/dist/assets/images/upload-cloud-10ca378ec1b464ed.png +0 -0
  6. package/dist/assets/nodata.png +0 -0
  7. package/dist/components/FileUploader/CloseIcon.d.ts +8 -0
  8. package/dist/components/FileUploader/FileUploader.d.ts +15 -0
  9. package/dist/components/FileUploader/FileUploader.stories.d.ts +9 -0
  10. package/dist/components/FileUploader/index.d.ts +1 -0
  11. package/dist/components/Form/RadioButtonField/RadioButtonField.d.ts +4 -0
  12. package/dist/components/Form/RadioButtonField/RadioButtonField.types.d.ts +14 -0
  13. package/dist/components/Form/RadioButtonField/index.d.ts +2 -0
  14. package/dist/index.cjs.js +3 -3
  15. package/dist/index.cjs.js.map +1 -1
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.esm.js +3 -3
  18. package/dist/index.esm.js.map +1 -1
  19. package/dist/nodata.png +0 -0
  20. package/dist/styles.css +1 -1
  21. package/package.json +1 -1
  22. package/dist/components/Input.d.ts +0 -1
  23. package/dist/components/Modal/Modal.d.ts +0 -5
  24. package/dist/components/Modal/Modal.stories.d.ts +0 -12
  25. package/dist/components/Modal/Modal.types.d.ts +0 -56
  26. package/dist/components/Modal/index.d.ts +0 -2
  27. package/dist/storybook/Button.d.ts +0 -15
  28. package/dist/storybook/Button.stories.d.ts +0 -23
  29. package/dist/storybook/Header.d.ts +0 -12
  30. package/dist/storybook/Header.stories.d.ts +0 -18
  31. package/dist/storybook/Page.d.ts +0 -3
  32. package/dist/storybook/Page.stories.d.ts +0 -12
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface CloseIconProps {
3
+ width?: number;
4
+ height?: number;
5
+ color?: string;
6
+ }
7
+ declare const CloseIcon: React.FC<CloseIconProps>;
8
+ export default CloseIcon;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import "./FileUploader.scss";
3
+ export interface FileUploaderProps {
4
+ onFileUpload: (file: File, previewUrl: string | null) => void;
5
+ acceptedTypes?: string[];
6
+ maxFileSizeInMB?: number;
7
+ customDescription?: string;
8
+ customFileName?: string;
9
+ className?: string;
10
+ icon?: React.ReactNode;
11
+ previewImage?: string;
12
+ onClear?: () => void;
13
+ }
14
+ declare const FileUploader: React.FC<FileUploaderProps>;
15
+ export default FileUploader;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import FileUploader from "./FileUploader";
3
+ declare const meta: Meta<typeof FileUploader>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof FileUploader>;
6
+ export declare const Default: Story;
7
+ export declare const WithCustomIcon: Story;
8
+ export declare const WithExternalPreview: Story;
9
+ export declare const WithCustomDescription: Story;
@@ -0,0 +1 @@
1
+ export { default } from "./FileUploader";
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RadioButtonFieldProps } from "./RadioButtonField.types";
3
+ declare const RadioButtonField: React.FC<RadioButtonFieldProps>;
4
+ export default RadioButtonField;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ export interface RadioButtonFieldProps {
3
+ id: string;
4
+ name: string;
5
+ options: {
6
+ label: string;
7
+ value: string;
8
+ }[];
9
+ selectedValue: string;
10
+ onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
11
+ error?: string;
12
+ required?: boolean;
13
+ disabled?: boolean;
14
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './RadioButtonField';
2
+ export * from './RadioButtonField.types';