1mpacto-react-ui 0.2.0-beta.8 → 0.2.0-beta.9
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/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/src/components/index.d.ts +2 -2
- package/dist/src/interfaces/components/Tabs/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/package.json.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ import { default as PortalComponent } from './PortalComponent/PortalComponent';
|
|
|
45
45
|
import { ToastContainer as AlertContainer } from 'react-toastify';
|
|
46
46
|
import { TButtonVariants, TButtonSize } from '../interfaces/components/Button';
|
|
47
47
|
import { default as UploadFile } from './Upload/UploadFile';
|
|
48
|
-
import { ITabsList } from '../interfaces/components/Tabs';
|
|
48
|
+
import { ITabsList, TTypeEventTabs } from '../interfaces/components/Tabs';
|
|
49
49
|
import { default as TruncateComponent } from './TruncateComponent/TruncateComponent';
|
|
50
50
|
import { default as UploadImage } from './Upload/UploadImage';
|
|
51
51
|
import { default as Textarea } from './Textarea/Textarea';
|
|
@@ -77,4 +77,4 @@ import * as utilTable from '@tanstack/react-table';
|
|
|
77
77
|
import type * as SelectDropdownContainerType from 'react-select';
|
|
78
78
|
import type * as FilterContainerType from '../interfaces/components/FilterContainer';
|
|
79
79
|
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, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, };
|
|
80
|
-
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, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IMasonryLayout, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, };
|
|
80
|
+
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IMasonryLayout, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IBorderRadius } from '../../../config/components/borderRadius';
|
|
2
2
|
export type TVariantTabs = 'original-laba-blue-10' | 'container-payhere-brand-base' | 'container-laba-blue-10' | 'container-laba-blue-10-bg_white';
|
|
3
3
|
export type TSizeTabs = 'tabs-m' | 'tabs-s' | 'tabs-medium' | 'tabs-small';
|
|
4
|
+
export type TTypeEventTabs = 'change' | 'mounted';
|
|
4
5
|
export interface ITabsList {
|
|
5
6
|
id: string | number;
|
|
6
7
|
label: string | number;
|
|
@@ -22,7 +23,7 @@ export interface ITabs {
|
|
|
22
23
|
disabled?: boolean;
|
|
23
24
|
animation?: boolean;
|
|
24
25
|
mountedExecuteChange?: boolean;
|
|
25
|
-
onChange?: (v: ITabsList) => void;
|
|
26
|
+
onChange?: (v: ITabsList, sourceEvent: TTypeEventTabs) => void;
|
|
26
27
|
typeButton?: 'button' | 'submit';
|
|
27
28
|
}
|
|
28
29
|
export interface IStyleTabs {
|