kelt-ui-kit-react 1.8.0 → 1.8.2
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/App.d.ts +3 -0
- package/dist/App.menu.d.ts +10 -0
- package/dist/App.routes.d.ts +1 -0
- package/dist/_core/hooks/HistoryProvider.d.ts +5 -0
- package/dist/_core/hooks/ImageChecker.d.ts +7 -0
- package/dist/_core/hooks/imageExist.d.ts +7 -0
- package/dist/_core/hooks/isEAN13.d.ts +1 -0
- package/dist/_core/hooks/objectToQueryParams.d.ts +1 -0
- package/dist/_core/hooks/useCurrency.d.ts +3 -0
- package/dist/_core/hooks/useDateutils.d.ts +4 -0
- package/dist/_core/hooks/useIsMobile.d.ts +1 -0
- package/dist/_core/hooks/useToken.d.ts +3 -0
- package/dist/_core/hooks/useValidate.d.ts +5 -0
- package/dist/_core/hooks/widgetSupport.d.ts +1 -0
- package/dist/action/Action.view.d.ts +1 -0
- package/dist/action/ButtonAction.d.ts +10 -0
- package/dist/badge/Badge.d.ts +10 -0
- package/dist/badge/Badge.view.d.ts +1 -0
- package/dist/button/Button.d.ts +3 -0
- package/dist/button/Button.view.d.ts +1 -0
- package/dist/button/button.interface.d.ts +21 -0
- package/dist/button/buttonActions/ButtonActions.d.ts +14 -0
- package/dist/button/buttonFile/ButtonFile.d.ts +9 -0
- package/dist/button/buttonFile/ButtonFile.view.d.ts +1 -0
- package/dist/button/buttonFilters/ButtonFilters.d.ts +19 -0
- package/dist/card/Card.d.ts +16 -0
- package/dist/card/Card.view.d.ts +1 -0
- package/dist/card/card.interface.d.ts +10 -0
- package/dist/card/cardAction/CardAction.d.ts +16 -0
- package/dist/card/cardAction.interface.d.ts +10 -0
- package/dist/card/hook/useCardInteractions.d.ts +8 -0
- package/dist/carousel/Carousel.d.ts +16 -0
- package/dist/carousel/Carousel.view.d.ts +1 -0
- package/dist/damier/Damier.d.ts +11 -0
- package/dist/damier/Damier.view.d.ts +1 -0
- package/dist/damier/damierCell/DamierCell.d.ts +8 -0
- package/dist/damier/damierCell/damierCell.interface.d.ts +6 -0
- package/dist/dataTable/DataTable.d.ts +23 -0
- package/dist/dataTable/DataTable.view.d.ts +1 -0
- package/dist/dataTable/dataTable.interface.d.ts +33 -0
- package/dist/dataTable/dataTableActions/DataTableAction.d.ts +9 -0
- package/dist/dataTable/dataTableColumn/DataTableColumn.d.ts +9 -0
- package/dist/dataTable/dataTableLoading/DataTableLoading.d.ts +7 -0
- package/dist/dataTable/dataTableRow/DataTableRow.d.ts +9 -0
- package/dist/datePicker/DatePicker.d.ts +9 -0
- package/dist/datePicker/DatePicker.view.d.ts +1 -0
- package/dist/expands/Expands.d.ts +11 -0
- package/dist/expands/Expands.view.d.ts +1 -0
- package/dist/expands/expand/expand.d.ts +10 -0
- package/dist/expands/expand/expand.interface.d.ts +9 -0
- package/dist/favicon.ico +0 -0
- package/dist/filAriane/FilAriane.d.ts +10 -0
- package/dist/filAriane/FilAriane.view.d.ts +1 -0
- package/dist/filAriane/filAriane.interface.d.ts +6 -0
- package/dist/form/Form.d.ts +31 -0
- package/dist/form/Form.view.d.ts +1 -0
- package/dist/form/form.enum.d.ts +13 -0
- package/dist/form/form.interface.d.ts +36 -0
- package/dist/form/input/Input.d.ts +26 -0
- package/dist/form/inputNumber/InputNumber.d.ts +22 -0
- package/dist/form/inputNumber/InputNumber.view.d.ts +1 -0
- package/dist/form/inputPrice/InputPrice.d.ts +16 -0
- package/dist/form/inputPrice/InputPrice.view.d.ts +1 -0
- package/dist/form/textArea/TextArea.d.ts +15 -0
- package/dist/form/textArea/TextArea.view.d.ts +1 -0
- package/dist/grid/Grid.d.ts +9 -0
- package/dist/grid/Grid.view.d.ts +1 -0
- package/dist/grid/col/Col.d.ts +10 -0
- package/dist/grid/col/colStyled/ColStyled.d.ts +9 -0
- package/dist/grid/container/Container.d.ts +7 -0
- package/dist/grid/grid.interface.d.ts +8 -0
- package/dist/grid/row/Row.d.ts +8 -0
- package/dist/header/Header.d.ts +3 -0
- package/dist/header/Header.view.d.ts +1 -0
- package/dist/header/header.interface.d.ts +11 -0
- package/dist/home/Home.d.ts +1 -0
- package/dist/icon/Icon.d.ts +3 -0
- package/dist/icon/Icons.view.d.ts +1 -0
- package/dist/icon/icon.interface.d.ts +6 -0
- package/dist/icon/iconSize.enum.d.ts +7 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.html +18 -0
- package/dist/index.js +5354 -0
- package/dist/loader/Loader.d.ts +9 -0
- package/dist/loader/Loader.view.d.ts +1 -0
- package/dist/logo192.png +0 -0
- package/dist/logo512.png +0 -0
- package/dist/main.d.ts +1 -0
- package/dist/manifest.json +25 -0
- package/dist/menus/Menus.d.ts +7 -0
- package/dist/menus/Menus.view.d.ts +1 -0
- package/dist/menus/menu/Menu.d.ts +8 -0
- package/dist/menus/menu/menu.interface.d.ts +10 -0
- package/dist/message/Message.d.ts +7 -0
- package/dist/message/Message.view.d.ts +1 -0
- package/dist/modal/Modal.d.ts +15 -0
- package/dist/modal/Modal.view.d.ts +1 -0
- package/dist/notFound/NotFound.d.ts +1 -0
- package/dist/overlayPanel/OverlayPanel.d.ts +21 -0
- package/dist/overlayPanel/OverlayPanel.view.d.ts +1 -0
- package/dist/overlayPanel/overlay.context.d.ts +11 -0
- package/dist/overlayPanel/overlayPanelStyled/OverlayPanelStyled.d.ts +7 -0
- package/dist/pdfViewer/PdfViewer.d.ts +12 -0
- package/dist/pdfViewer/PdfViewer.view.d.ts +1 -0
- package/dist/quantity/Quantity.d.ts +12 -0
- package/dist/quantity/Quantity.view.d.ts +0 -0
- package/dist/robots.txt +3 -0
- package/dist/search/Search.d.ts +23 -0
- package/dist/search/Search.view.d.ts +1 -0
- package/dist/select/Select.d.ts +19 -0
- package/dist/select/Select.view.d.ts +1 -0
- package/dist/select/selectOption.interface.d.ts +4 -0
- package/dist/sidebar/Sidebar.d.ts +13 -0
- package/dist/sidebar/Sidebar.view.d.ts +1 -0
- package/dist/sidebarData/SidebarData.d.ts +8 -0
- package/dist/sidebarData/SidebarData.view.d.ts +1 -0
- package/dist/style.css +5 -0
- package/dist/tabs/Tabs.d.ts +18 -0
- package/dist/tabs/Tabs.view.d.ts +1 -0
- package/dist/toaster/Toaster.d.ts +2 -0
- package/dist/toaster/Toaster.view.d.ts +1 -0
- package/dist/toaster/store/useToasterStore.d.ts +19 -0
- package/package.json +1 -1
- package/src/sidebar/Sidebar.tsx +59 -7
- package/src/sidebar/sidebar.css +6 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { InputNumberProps } from '../inputNumber/InputNumber';
|
|
2
|
+
|
|
3
|
+
export type InputPriceProps = Omit<InputNumberProps, "onChange"> & {
|
|
4
|
+
locale?: string;
|
|
5
|
+
currency?: string;
|
|
6
|
+
allowDecimals?: boolean;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
value?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const InputPrice: import('react').ForwardRefExoticComponent<Omit<InputNumberProps, "onChange"> & {
|
|
11
|
+
locale?: string | undefined;
|
|
12
|
+
currency?: string | undefined;
|
|
13
|
+
allowDecimals?: boolean | undefined;
|
|
14
|
+
onChange?: ((value: string) => void) | undefined;
|
|
15
|
+
value?: string | undefined;
|
|
16
|
+
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const InputPriceView: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
export type TextAreaProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
width?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
onChange?: (value: string, name: string) => void;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
rows?: number;
|
|
12
|
+
cols?: number;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const TextArea: ({ name, id, value, disabled, width, className, onChange, placeholder, cols, rows, required, }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TextAreaView: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GridInterface } from './grid.interface';
|
|
2
|
+
|
|
3
|
+
type GridProps = {
|
|
4
|
+
items: GridInterface[];
|
|
5
|
+
className?: string;
|
|
6
|
+
scroll?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const Grid: ({ items, className, scroll }: GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GridView: () => JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ColStyledProps = {
|
|
3
|
+
$xs?: number;
|
|
4
|
+
$sm?: number;
|
|
5
|
+
$md?: number;
|
|
6
|
+
$lg?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const ColStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ColStyledProps>> & string;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HeaderView: () => JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface HeaderInterface {
|
|
3
|
+
logo?: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
positionFixed?: boolean;
|
|
6
|
+
onClickMenu?: () => void;
|
|
7
|
+
userChildren?: React.ReactNode;
|
|
8
|
+
onClickLogo?: () => void;
|
|
9
|
+
showBackNavigation?: boolean;
|
|
10
|
+
onClickBackNavigation?: () => void;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Home: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IconsView: () => JSX.Element;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
|
|
2
|
+
export { HistoryProvider, useHistoryDepth, } from './_core/hooks/HistoryProvider';
|
|
3
|
+
export { ImageChecker } from './_core/hooks/ImageChecker';
|
|
4
|
+
export { ImageExist } from './_core/hooks/imageExist';
|
|
5
|
+
export { isValidEAN13 } from './_core/hooks/isEAN13';
|
|
6
|
+
export { objectToQueryParams } from './_core/hooks/objectToQueryParams';
|
|
7
|
+
export { useCurrency } from './_core/hooks/useCurrency';
|
|
8
|
+
export { FormatDate, localDateEndToUTC, localDateStartToUTC, LocalDateStringToUTC, } from './_core/hooks/useDateutils';
|
|
9
|
+
export { useIsMobile } from './_core/hooks/useIsMobile';
|
|
10
|
+
export { useToken } from './_core/hooks/useToken';
|
|
11
|
+
export { useValidate } from './_core/hooks/useValidate';
|
|
12
|
+
export { WidgetSupport } from './_core/hooks/widgetSupport';
|
|
13
|
+
export { ButtonAction } from './action/ButtonAction';
|
|
14
|
+
export { Badge } from './badge/Badge';
|
|
15
|
+
export { Button } from './button/Button';
|
|
16
|
+
export { ButtonActions } from './button/buttonActions/ButtonActions';
|
|
17
|
+
export { ButtonFile } from './button/buttonFile/ButtonFile';
|
|
18
|
+
export { Card } from './card/Card';
|
|
19
|
+
export { Carousel } from './carousel/Carousel';
|
|
20
|
+
export { Damier } from './damier/Damier';
|
|
21
|
+
export { DataTable } from './dataTable/DataTable';
|
|
22
|
+
export { DatePicker } from './datePicker/DatePicker';
|
|
23
|
+
export { Expands } from './expands/Expands';
|
|
24
|
+
export { FilAriane } from './filAriane/FilAriane';
|
|
25
|
+
export { DynamicForm } from './form/Form';
|
|
26
|
+
export { TypeInputEnum } from './form/form.enum';
|
|
27
|
+
export { Input } from './form/input/Input';
|
|
28
|
+
export { InputNumber } from './form/inputNumber/InputNumber';
|
|
29
|
+
export { InputPrice } from './form/inputPrice/InputPrice';
|
|
30
|
+
export { TextArea } from './form/textArea/TextArea';
|
|
31
|
+
export { Grid } from './grid/Grid';
|
|
32
|
+
export { Header } from './header/Header';
|
|
33
|
+
export { Icon } from './icon/Icon';
|
|
34
|
+
export { IconSizeEnum } from './icon/iconSize.enum';
|
|
35
|
+
export { Loader } from './loader/Loader';
|
|
36
|
+
export { Menus } from './menus/Menus';
|
|
37
|
+
export { Message } from './message/Message';
|
|
38
|
+
export { Modal } from './modal/Modal';
|
|
39
|
+
export { OverlayProvider } from './overlayPanel/overlay.context';
|
|
40
|
+
export { OverlayPanel } from './overlayPanel/OverlayPanel';
|
|
41
|
+
export { PdfViewer } from './pdfViewer/PdfViewer';
|
|
42
|
+
export { Quantity } from './quantity/Quantity';
|
|
43
|
+
export { Search } from './search/Search';
|
|
44
|
+
export { Select } from './select/Select';
|
|
45
|
+
export { Sidebar } from './sidebar/Sidebar';
|
|
46
|
+
export { SidebarData } from './sidebarData/SidebarData';
|
|
47
|
+
export { Tabs } from './tabs/Tabs';
|
|
48
|
+
export { useToasterStore } from './toaster/store/useToasterStore';
|
|
49
|
+
export { Toaster } from './toaster/Toaster';
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<link rel="icon" href="/favicon.ico" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<meta name="description" content="Web site created using Vite" />
|
|
9
|
+
<link rel="apple-touch-icon" href="/logo192.png" />
|
|
10
|
+
<link rel="manifest" href="/manifest.json" />
|
|
11
|
+
<title>Vite App</title>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
15
|
+
<div id="root"></div>
|
|
16
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|