@availity/mui-file-selector 0.1.0 → 0.1.1
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/lib/FileSelector.stories.tsx +17 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.1.1](https://github.com/Availity/element/compare/@availity/mui-file-selector@0.1.0...@availity/mui-file-selector@0.1.1) (2024-10-31)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **mui-file-selector:** comment out import for temp fix ([7e2e950](https://github.com/Availity/element/commit/7e2e95083893c47adae702dde867cc8833ae01ca))
|
|
11
|
+
|
|
5
12
|
## 0.1.0 (2024-10-31)
|
|
6
13
|
|
|
7
14
|
### Dependency Updates
|
package/package.json
CHANGED
|
@@ -3,7 +3,16 @@ import type { Meta, StoryObj } from '@storybook/react';
|
|
|
3
3
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
4
4
|
import { Paper } from '@availity/mui-paper';
|
|
5
5
|
|
|
6
|
-
import { FileSelector, FileSelectorProps } from './FileSelector';
|
|
6
|
+
// import { FileSelector, FileSelectorProps } from './FileSelector';
|
|
7
|
+
|
|
8
|
+
type FileSelectorProps = {
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const FileSelector = (props: FileSelectorProps) => {
|
|
13
|
+
console.log(props);
|
|
14
|
+
return <div>placeholder</div>;
|
|
15
|
+
};
|
|
7
16
|
|
|
8
17
|
const meta: Meta<typeof FileSelector> = {
|
|
9
18
|
title: 'Components/File Selector/File Selector',
|
|
@@ -38,12 +47,12 @@ export const _FileSelector: StoryObj<typeof FileSelector> = {
|
|
|
38
47
|
),
|
|
39
48
|
args: {
|
|
40
49
|
name: 'file-selector',
|
|
41
|
-
allowedFileTypes: ['.txt'],
|
|
42
|
-
clientId: '123',
|
|
43
|
-
customerId: '456',
|
|
44
|
-
bucketId: '789',
|
|
45
|
-
maxSize: 1 * 1000 * 1000, // 1MB
|
|
46
|
-
isCloud: true,
|
|
47
|
-
multiple: true,
|
|
50
|
+
// allowedFileTypes: ['.txt'],
|
|
51
|
+
// clientId: '123',
|
|
52
|
+
// customerId: '456',
|
|
53
|
+
// bucketId: '789',
|
|
54
|
+
// maxSize: 1 * 1000 * 1000, // 1MB
|
|
55
|
+
// isCloud: true,
|
|
56
|
+
// multiple: true,
|
|
48
57
|
},
|
|
49
58
|
};
|