1mpacto-react-ui 0.0.14 → 0.0.16
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/style.css +1 -1
- package/dist/index.cjs +37 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +3795 -3736
- package/dist/index.mjs.map +1 -1
- package/dist/src/components/Modal/ModalDialog.d.ts +4 -0
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +1 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +13 -0
- package/dist/src/utils/common.d.ts +1 -0
- package/package.json +1 -1
@@ -0,0 +1,4 @@
|
|
1
|
+
import { IModalDialog } from '../../interfaces/components/Modal';
|
2
|
+
|
3
|
+
declare const ModalDialog: ({ children, id, idModal, withOverlay, show, size, className, classNameContainer, onClose, }: IModalDialog) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export default ModalDialog;
|
@@ -29,7 +29,8 @@ import { default as Breadcrumbs } from './Breadcrumbs/Breadcrumbs';
|
|
29
29
|
import { default as Sidebar } from './Sidebar/Sidebar';
|
30
30
|
import { ISidebarModule } from '../interfaces/components/Sidebar';
|
31
31
|
import { default as Collapse } from './Collapse/Collapse';
|
32
|
+
import { default as ModalDialog } from './Modal/ModalDialog';
|
32
33
|
|
33
34
|
import * as utilTable from '@tanstack/react-table';
|
34
|
-
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, };
|
35
|
+
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, };
|
35
36
|
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, };
|
@@ -5,6 +5,6 @@ export interface IBadges extends React.HTMLAttributes<HTMLSpanElement> {
|
|
5
5
|
children: ReactNode | ReactNode[];
|
6
6
|
className?: string | undefined;
|
7
7
|
rounded?: IBorderRadius;
|
8
|
-
variants?: 'filled-gray-600' | 'filled-green-600' | 'filled-red-500' | 'filled-blue-600' | 'filled-amber-800' | 'ghost-gray-200' | 'ghost-green-100' | 'ghost-red-100' | 'ghost-blue-100' | 'ghost-amber-100' | 'outline-gray-600' | 'outline-green-600' | 'outline-red-500' | 'outline-blue-600' | 'outline-amber-800';
|
8
|
+
variants?: 'filled-gray-600' | 'filled-green-600' | 'filled-red-500' | 'filled-blue-600' | 'filled-amber-800' | 'filled-pink-600' | 'ghost-gray-200' | 'ghost-green-100' | 'ghost-red-100' | 'ghost-blue-100' | 'ghost-amber-100' | 'outline-gray-600' | 'outline-green-600' | 'outline-red-500' | 'outline-blue-600' | 'outline-amber-800';
|
9
9
|
fonts?: 'lato' | 'inter';
|
10
10
|
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
|
3
|
+
export interface IModalDialog {
|
4
|
+
children: ReactNode | ReactNode[];
|
5
|
+
id?: string;
|
6
|
+
idModal?: string;
|
7
|
+
className?: string | undefined;
|
8
|
+
classNameContainer?: string | undefined;
|
9
|
+
size?: 'small' | 'regular' | 'large';
|
10
|
+
show: boolean;
|
11
|
+
withOverlay?: boolean;
|
12
|
+
onClose?: () => void;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function formatNumber(number: number, locale?: string, style?: 'currency' | 'decimal', currency?: string, minimumFractionDigits?: number): string;
|