siam-ui-utils 2.1.9 → 2.1.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -142,5 +142,3 @@ export const DropzoneUploader = ({
142
142
  </>
143
143
  );
144
144
  };
145
-
146
- export default DropzoneUploader;
package/src/index.js CHANGED
@@ -1,8 +1,6 @@
1
- import DropzoneUploader from './dropzone-uploader';
2
- export { withRouter } from './bridges';
3
- export { Colxx, Separator } from './CustomBootstrap';
4
- export { CustomSelectInput } from './CustomSelectInput';
5
- export { IntlMessages } from './IntlMessages';
6
- export { TomarFoto } from './tomar-foto';
7
-
8
- export { DropzoneUploader };
1
+ export * from './dropzone-uploader';
2
+ export * from './bridges';
3
+ export * from './CustomBootstrap';
4
+ export * from './CustomSelectInput';
5
+ export * from './IntlMessages';
6
+ export * from './tomar-foto';
@@ -1,6 +1,6 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
2
 
3
- import { DropzoneUploader } from '.';
3
+ import { DropzoneUploader } from '../dropzone-uploader';
4
4
 
5
5
  const args = {
6
6
  onChangeFiles: () => {
@@ -1,14 +1,14 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
2
 
3
- import { TomarFoto } from '.';
3
+ import { TomarFoto } from '../tomar-foto';
4
4
 
5
5
  const meta = {
6
6
  title: 'Components/TomarFoto',
7
7
  component: TomarFoto,
8
- args: {
9
- onFilesSelectedSelfie:() => { },
10
- isMobile:false
11
- },
8
+ args: {
9
+ onFilesSelectedSelfie: () => {},
10
+ isMobile: false,
11
+ },
12
12
  } satisfies Meta<typeof TomarFoto>;
13
13
 
14
14
  export default meta;
@@ -16,14 +16,14 @@ type Story = StoryObj<typeof meta>;
16
16
 
17
17
  export const TomarFotoWebApplication: Story = {
18
18
  args: {
19
- isMobile: false
20
- },
19
+ isMobile: false,
20
+ },
21
21
  };
22
22
  export const TomarFotoMobileApplication: Story = {
23
23
  args: {
24
24
  isMobile: true,
25
- onFilesSelectedSelfie: () => {
26
- console.log('Dispatch an action')
27
- }
25
+ onFilesSelectedSelfie: () => {
26
+ console.log('Dispatch an action');
27
+ },
28
28
  },
29
29
  };