1mpacto-react-ui 0.0.94 → 0.0.96
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/assets/style.css +1 -1
- package/dist/index.cjs +71 -71
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6958 -6699
- package/dist/index.mjs.map +1 -1
- package/dist/src/components/Upload/UploadFile.stories.d.ts +24 -0
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +1 -1
- package/dist/src/components/index.d.ts +4 -3
- package/dist/src/interfaces/components/UploadFile/index.d.ts +2 -0
- package/package.json +1 -1
@@ -0,0 +1,24 @@
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
2
|
+
|
3
|
+
declare const meta: {
|
4
|
+
title: string;
|
5
|
+
component: {
|
6
|
+
(props: import('../../interfaces/components/UploadFile').IUploadFile): import("react/jsx-runtime").JSX.Element;
|
7
|
+
displayName: string;
|
8
|
+
};
|
9
|
+
parameters: {
|
10
|
+
layout: string;
|
11
|
+
};
|
12
|
+
tags: string[];
|
13
|
+
argTypes: {
|
14
|
+
error: {
|
15
|
+
type: "string";
|
16
|
+
};
|
17
|
+
};
|
18
|
+
args: {
|
19
|
+
onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
export default meta;
|
23
|
+
type Story = StoryObj<typeof meta>;
|
24
|
+
export declare const Default: Partial<Story>;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { IUploadMultipleFile } from '../../interfaces/components/UploadFile';
|
2
2
|
|
3
|
-
declare const UploadMultipleFile: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, }: IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const UploadMultipleFile: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, }: IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default UploadMultipleFile;
|
@@ -51,7 +51,7 @@ import { ITableVirtualization } from '../interfaces/components/Virtualization/Ta
|
|
51
51
|
import { default as DoughnutChart } from './Chart/DoughnutChart';
|
52
52
|
import { default as MonthYearPicker } from './DatePicker/MonthYearPicker';
|
53
53
|
import { default as CheckboxTable } from './RadioCheckbox/CheckboxTable';
|
54
|
-
import { IDataInnerLabelDoughnutChart, IDataDoughnutChart } from '../interfaces/components/Chart';
|
54
|
+
import { IDataInnerLabelDoughnutChart, IDataDoughnutChart, IDataLineChart } from '../interfaces/components/Chart';
|
55
55
|
import { default as InputNative } from './Input/InputNative';
|
56
56
|
import { default as UploadMultipleFile } from './Upload/UploadMultipleFile';
|
57
57
|
import { IUploadMultipleFileValue } from '../interfaces/components/UploadFile';
|
@@ -59,9 +59,10 @@ import { default as ErrorMessage } from './ErrorMessage/ErrorMessage';
|
|
59
59
|
import { default as TextareaFloatingInner } from './Textarea/TextareaFloatingInner';
|
60
60
|
import { default as Step } from './Step/Step';
|
61
61
|
import { IDataStepList } from '../interfaces/components/Step/index';
|
62
|
+
import { default as LineChart } from './Chart/LineChart';
|
62
63
|
|
63
64
|
import * as utilTable from '@tanstack/react-table';
|
64
65
|
import type * as SelectDropdownContainerType from 'react-select';
|
65
66
|
import type * as FilterContainerType from '../interfaces/components/FilterContainer';
|
66
|
-
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, };
|
67
|
-
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, };
|
67
|
+
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, };
|
68
|
+
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, };
|
@@ -11,6 +11,7 @@ export interface IUploadFile {
|
|
11
11
|
label?: string;
|
12
12
|
error?: string | undefined;
|
13
13
|
inputProps?: IInputReguler;
|
14
|
+
priorityError?: 'internal' | 'external';
|
14
15
|
}
|
15
16
|
export interface IUploadImage {
|
16
17
|
onChange: (v?: File | null) => void;
|
@@ -37,6 +38,7 @@ export interface IUploadMultipleFile {
|
|
37
38
|
removeElement?: (value: IUploadMultipleFileValue) => React.ReactNode | React.ReactNode[];
|
38
39
|
error?: string;
|
39
40
|
handlerDownload?: (value: IUploadMultipleFileValue) => void;
|
41
|
+
priorityError?: 'internal' | 'external';
|
40
42
|
}
|
41
43
|
export interface IUploadMultipleFileValue {
|
42
44
|
name?: string;
|
package/package.json
CHANGED